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: Setup of the TI wiki tutorial, CC26xx sw examples.

Part Number: CC2650
Other Parts Discussed in Thread: CC2531, , CC-DEBUGGER

I have been working on a project involving a 6Lowpan network using the CC2650 sensortags using contiki flashed to the devices with a raspberry pi connected to a CC2531 usb dongle as the boarder router.

Its based on the following TI wiki tutorial linked here --> 

There are a number of questions I have about this setup.

• Does the internet router connected to the edge router have to be IPv6? If wrapsix is being used to translate IPv6 to IPv4 on the edge router then shouldn't it be ok if my home internet router is IPv4?

• Is it necessary to do the step involving the Sub-Ghz configuration if I m only using 2.4Ghz? Can it be skipped?

• In the finalising stage, the tutorial mentions the use of the sysctl commands. Am i right in saying that this is done on the PC that is connected by ethernet to the edge router? It shouldn't be run on the edge router?

• If the 6lbr boarder router is displayed as a webpage, is that confirmation that the CC2531 firmware is correctly flashed and installed?

I have managed to get the 6lbr boarder router displayed on the PC connected to the edge router ([bbbb::100]). I can navigate through the settings but i cannot view the sensor tags under sensors. The sensortags were flashed using a cc-debugger with the example contiki file cc26xx-demo.hex file. The sensor tags are set to channel 25 and so is the edge router.

There was one problem in the setup. The wrapper produces an error when starting. Unable to create listening socket shown as follows

**********************************************************************

pi@raspberrypi:~/Downloads $ wrapsix &

[1] 6698

pi@raspberrypi:~/Downloads $ [Info] WrapSix 0.2.0 is starting

[Error] Unable to create listening socket

**********************************************************************

Should I still be able to view the sensor tags in the 6lbr webpage with this error?

My wrapper configuration is as follows,

**********************************************************************

/* +++ CONFIGURATION +++ */

#define INTERFACE       "eth0"

#define PREFIX          "64:ff9b::"

#define IPV4_ADDR       "192.168.1.115" (randomly chosen)

#define HOST_IPV6_ADDR  "bbbb::101"

#define HOST_IPV4_ADDR  "192.168.1.102" (the inet of the raspberry pi)

/* --- CONFIGURATION --- */

**********************************************************************

I dont have a packet sniffer for 802.15.4 packets so is there any other way of determining if the sensor tags are transmitting anything? 

  • 1. Internet router doesn't have to support IPv6 if you have IP64 on edge router.
    2. Sub GHz steps are not necessary if you use 2.4G
    3. Yes, sysctl is done on PC side
    4. If you can see 6lbr web page. The FW of CC2531 USB dongle is correct.

    You can try to use nullrdc on cc26xx-web-demo to see if you can see it on sensor page.