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.

LAUNCHXL-CC1350: CC1350+TM4C1294 as 6Lowpan Router in Contiki

Part Number: LAUNCHXL-CC1350
Other Parts Discussed in Thread: CC1350, TM4C1294NCPDT

Hello,

I am using CC1350 which is running cetic-6lbr program in 6lbr/examples/6lbr directory in Contiki . It is successfully running upto getting the MAC ID. In order to have IP address it needs to have one Ethernet device interfaced with it. I refereed following blog post which interfaces cc1350 with ENC28J60 and together they act as a router with 6lbr running.

http://sunmaysky.blogspot.in/2017/03/spi-connection-between-launchxl.html?m=1

But instead of  ENC28J60 I want to use  tm4c1294ncpdt's Ethernet to give cc1350 IP address. I want cc1350 interface with   tm4c1294ncpdt using uart. 

How it would be possible to take IP address from  tm4c1294ncpdt uart and give it to  cc1350 running cetic-6lbr application?

Is it possible to do so? If yes kindly suggest the guidelines.

Thanks.

  • I won't say it's not possible. However, There's no such example to do so and it won't be easy.
  • Hello,

    Thanks for your reply.

    I was trying to understand cetic_6lbr_router.c file. For the above task to be made possible I want "IP address" acquiring part in the cetic_6lbr_router.c code to be replaced with fix IP address read from UART. This IP address will be assigned by the TM4C129 launchpad board which is running a program to acquire IP address and send to UART.

    But I am confused about which function in cetic_6lbr_router.c is acquiring IP address. The program is also seems to be difficult to understand. Is there any help that could be done on this first part?
  • As I know, there is no related document or information about this part. You have to study source code by yourself.