Coder Social home page Coder Social logo

Help with Basic Command about protocols HOT 5 CLOSED

jasondaming avatar jasondaming commented on September 23, 2024
Help with Basic Command

from protocols.

Comments (5)

jasondaming avatar jasondaming commented on September 23, 2024 1

That was my whole problem that I had the node number written out rather than the node number converted to hex. 139 was the node number which when I used 8B instead everything started working

from protocols.

rwslord avatar rwslord commented on September 23, 2024

It looks like you are trying to send the ASPP3 command. This command is only supported by our very recent generation of products (G-Link-200, V-Link-200, and the WSDA-200-USB BaseStation).

Since you are mentioning a Serial BaseStation, I'm thinking you don't have the WSDA-200-USB. Therefore, can you try the Ping ASPP1 command?

from protocols.

jasondaming avatar jasondaming commented on September 23, 2024

I am now able to get some response so that is better. When I send 01 I get back 01.

I tried doing the Ping ASPP1 command (AA05 0001 3902 0002 0142) but I got back 21?

So then I tried pinging the base station (V2) which I was hoping was simpler with AA0E 3012 3402 0001 1275 and still got back 21.

I assume 21 is some sort of error message? I have confirmed that this HW works in Sensor Connect.

from protocols.

rwslord avatar rwslord commented on September 23, 2024

Is the Node Address of your Wireless Node 313 (0x0139)? Assuming that it is, your checksum is incorrect, which is likely causing the problem. It should be 0x0043 instead of 0x0142.
0x05 + 0x00 + 0x01 + 0x39 + 0x02 + 0x00 + 0x02 = 0x0043

As far as the BaseStation command you are trying to use, it may be a similar case of that command not being supported by your hardware. Can you tell me what the firmware version of your BaseStation is (from SensorConnect)?

Also, could I ask what you are trying to achieve? I'm curious if you've looked in to MSCL, as getting that up and running would save you from having to worry about how the actual protocol works at a low level. Feel free to PM me at [email protected] if you prefer to chat about your project offline.

from protocols.

rwslord avatar rwslord commented on September 23, 2024

Oh, and 0x21 is indicating that the command failed.

from protocols.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.