This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

an application interface with beaglebone to access the current sample application provided with the Z-Stack Linux Gateway solution

Other Parts Discussed in Thread: CC2531, Z-STACK

Hello,

I want to develop an interface to communicate with the start_application which is provided with the Z-Stack Linux Gateway solution. I am using the Beagle Bone as ZAP and CC2531 sniffer as ZNP.

I am totally confused how to proceed.

Can anyone help me regarding this?

  • Hi,

    Can you please provide more details on what is it that you are trying to achieve?

    The sample application is a console application that runs on the linux host and interacts with the user via the terminal. It does not expose programming interface. If you wish to access the gateway functionality from your own software, you'll have to communicate directly with the gateway servers (middleware) using the gateway API, and avoid running the sample app altogether. The API is described in detail in the respective PDF under the documents directory in the installed package.

    Not sure what you are referring to as ZAP. This terminology is not used in regards to the gateway solution, and the traditional ZAP does not provide gateway functionality.

    Regarding the ZNP on the CC2531, please make sure you are using the firmware image provided in the gateway package. It has some extra required feature on top of the traditional ZNP.

    Best regards,
    OD
  • Hi OD,
    Thanks for the reply. Currently I am modifying the console application to make it work for my application. I have developed a socket for an server client application. Instead of terminal I am sending some values through server based on that I want to perform the actions (like permit join).
    I have one question while adding my socket to poll function, I have defined my own event callback function in which I am reading the values sent through server but on client side I am getting NULL value that too continuously. I am sending the value just once through server but I am getting NULL value continuously. When I remove the polling it works fine.
    Where am I making mistake?