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.

CC2650: Configuring zigbee for easy communication with C++ software running in windows

Part Number: CC2650
Other Parts Discussed in Thread: Z-STACK

Hello,

I have been looking into using the CC2650 as a wireless, battery powered MCU that sends sensor data to a C++ software program running on windows 10. I first looked into using the BLE protocol, but although it is possible to establish a connection with a BLE-enabled peripheral using the windows bluetooth GUI, I am unable to write software in C++ due to the lack of proper documentation or examples that use the windows sdk (i.e. Bluetoothleapis.h). I have come to the conclusion that setting up a BLE connection between a computer and a wireless peripheral is too difficult for a newbie like me (unless you have examples that you could point me to!)

My understanding is that the CC2650 also can use the zigbee protocol, which I understand is essentially like communicating with the serial port on a computer. I have the CC2650DK (two smartRF06 boards) and would like to see if I can develop a computer software program from scratch that is able to communicate with a wireless peripheral through the zigbee protocol. I understand that my computer might not support this protocol, so I believe I could connect one smartRF06 board to the usb port, and perhaps use TI's Z-stack to bridge the wireless peripheral with the computer program. I want to make sure my understanding with this is correct, and if someone could please point me in the right direction for software development on the computer end of things, I would appreciate it very much!

There are so many protocols and different methods of communication that it is a little overwhelming, so I could really use the advice of an expert :)

Best,

Andrew

  • Hi,

    Is the plan to have a network of Zigbee devices, and then have one of the devices plugged into the PC which can communicate with the host PC? If so, you can use Z-Stack Home 1.2.2a for CC2650 and use the ZNP (Zigbee network processor) project. This project can be configured in a ZAP-ZNP architecture (ZAP = zigbee application processor, can be host PC), and we have an example host PC application called the ZNP host framework, which can be run on a linux PC, available here:

    git.ti.com/.../znp-host-framework

    Communication is via serial USB. There is also a tool provided with Z-Stack called ZTool that acts as a host processor on Windows, but this tool is provided as a compiled program, not source like the znp-host-framework is.

    What you would probably want to do is use the CC2650 as a ZNP Zigbee Coordinator device, and connect that to a host PC and use one of the above host applications to act as the ZAP. There is more information about this in the documentation provided with Z-Stack.