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.

Linux/CC2650MODA: SLIP RADIO - 6LBR Configuartion

Part Number: CC2650MODA

Tool/software: Linux

Hi All,

We are working on 6lowpan modules, below is the complete application design-

1. iMx8QM custom hardware- We need to port 6lbr and it has been done in yocto environment. We add meta-6lbr layer in boot up log we can see the "Started 6LowPAN Boarder Router.

But in /var/log/6lbr.ip is not available and content of 6lbr.log is as below-

hu Feb 21 13:17:21 UTC 2019 : Starting 6LBR
/usr/lib/6lbr/bin/cetic_6lbr_router -c /etc/6lbr/nvm.dat -o /etc/6lbr/nvm.conf -s /dev/ttyLP0 -R -t tap0  -U /usr/lib/6lbr/6lbr-ifup -D /usr/lib/6lbr/6lbr-ifdown -w /usr/lib/6lbr/www -L 3  -W /var/log/6l
Contiki-contiki-merge-20160622-28-g56f8407 started with IPV6, RPL
Rime started with address 1.2.3.4.5.6.7.8
MAC mac_wrapper RDC br-rdc SEC llsec-wrapper NETWORK sicslowpan
2019-02-21 13:17:21.237238: NOTICE: 6LBR: Starting 6LBR version 1.5.x (Contiki-contiki-merge-20160622-28-g56f8407)
2019-02-21 13:17:21.237514: INFO: ETH: 6LBR watchdog started (interval: 60)
2019-02-21 13:17:21.238317: INFO: PLUGIN: Loading /usr/lib/6lbr/plugins/lwm2m.so
2019-02-21 13:17:21.239512: ERROR: PLUGIN: Could not open /usr/lib/6lbr/plugins/lwm2m.so : /usr/lib/6lbr/plugins/lwm2m.so: undefined symbol: resource_batch_get_handler
2019-02-21 13:17:21.239567: INFO: PLUGIN: Loading /usr/lib/6lbr/plugins/dummy.so
2019-02-21 13:17:21.240241: INFO: NVM: NVM Magic : 2009
2019-02-21 13:17:21.240252: INFO: NVM: NVM Version : 5
2019-02-21 13:17:21.240263: INFO: CONFIG: Loading configuration : /etc/6lbr/nvm.conf
2019-02-21 13:17:21.240289: WARN: CONFIG: Can not open /etc/6lbr/nvm.conf : No such file or directory
2019-02-21 13:17:21.240307: NOTICE: 6LBR: Log level: 30 (services: ffffffff)
2019-02-21 13:17:21.240316: INFO: MAC: Using 'csma' mac driver
2019-02-21 13:17:21.242650: INFO: SLIP: SLIP started on /dev/ttyLP0
2019-02-21 13:17:21.256617: INFO: SCMD: Started br-cmd process
2019-02-21 13:17:21.256648: INFO: BR-RDC: Reset SLIP Radio
2019-02-21 13:17:21.256670: INFO: BR-RDC: Fetching MAC address
2019-02-21 13:17:22.256438: INFO: BR-RDC: Fetching MAC address
2019-02-21 13:17:23.256428: INFO: BR-RDC: Fetching MAC address
2019-02-21 13:17:24.256434: INFO: BR-RDC: Fetching MAC address
2019-02-21 13:17:25.256495: INFO: BR-RDC: Fetching MAC address
2019-02-21 13:17:26.256433: INFO: BR-RDC: Fetching MAC address
2019-02-21 13:17:27.256432: INFO: BR-RDC: Fetching MAC address
2019-02-21 13:17:28.256493: INFO: BR-RDC: Fetching MAC address
2019-02-21 13:17:29.256446: INFO: BR-RDC: Fetching MAC address

content  of  /etc/6lbr/6lbr.conf file is as below-

#This file contains a default configuration for Raspberry PI platform using
#a Telos SLIP Radio
#The full list of parameters and their meaning can be found in 6lbr.conf.example

MODE=ROUTER
#MODE=SMART-BRIDGE
#MODE=RPL-RELAY
#MODE=FULL-TRANSPARENT-BRIDGE
#MODE=NDP-ROUTER
#MODE=6LR
#MODE=RPL-ROOT

BRIDGE=1
DEV_BRIDGE=br0
DEV_ETH=eth0
RAW_ETH_FCS=0

DEV_RADIO=/dev/ttyLP0

LOG_LEVEL=3 #INFO and above only
~
~
~
- /etc/6lbr/6lbr.conf 1/20 5%

2. We are having CC2650MODA chip running as slip radio connected with UART with target hardware. We build the slip radio from contiki OS set using below commad-

make TARGET=srf06-cc26xx BOARD=srf06/cc26xx all slip-radio.bin

So request you to please check, why we are not able to read MAC address. Same activity we have performed on ubuntu-pc as 6lbr and in log file we are able to read MAC address as well as slip radio connectivity

Thanks & Regards,

Ravi Pichholiya