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.

6lowpan cc2538 example application

Other Parts Discussed in Thread: CC2538

Hi all

I try to set up a 6lowpan connection between two cc2538dk (smart RF06 & cc2538EM).

To include the 6lowpan stack i decided to use Contiki OS, it's a good OS (i succeed to use the SPI link with a sensor)

In the Github and thingsquare i found some examples to connect a cc2538dk on a 6lowpan network, BUT never for create a 6lowpan network.

Someone can help me please ? (an internet user ou TI employee)

(Ps : Sorry for the mistakes, English is not my first language)

  • Hi,

    I interpret your question as "How do I build an Edge Router for a 6LoWPAN network using Contiki / Thingsquare"? 

    The Edge Router software is in the examples/router folder. FOr the hardware you have some options, I suggest that you use a SmartRF06EB board and a small Ethernet DK (link on the wiki below) to create a low cost Edge Router. This platforms is already supported in the 1.1.0 release of the Thingsquare sw, and is called eth2538.

    so, standing in the above dir:

    make TARGET=eth2538 router-webserver-node.bin 

    will build a Edge Router.

    All information regarding runnin Contiki/Thingsquare on TI HW is found here:

    http://processors.wiki.ti.com/index.php/Thingsquare-6LOWPAN

    Cheers,

    Jonas

  • It's almost that.

    I don't want make a gateway 6lowpan/IPv4.

    On this part of my system i'm going to connect a power sensor and a NFC tag, both by SPI connection. And now i worked on the communication 6lowpan on the sensor (i have almost a solution with the 6lowpan/IP router).

    Edit : I search How to create a 6lowpan connexion (TCP) between two cc2538dk , it's only that

  • Jonas,


    What is the best starting point for setting up a TCP connection between 2 CC2538?

    Something similar to this but for TCP

    I pointed clement to this but apparently it's not updated and can only be used for example.