Other Parts Discussed in Thread: CC1310
I have CC1310 LaunchPad with SLIP firmware connected to BeagleBone and CC1310 LaunchPad with cc26xx-web-demo (latest versions of Contiki). In SLIP project-conf.h I commented out QUEUEBUF_CONF_NUM and UIP_CONF_BUFFER_SIZE and added RF_CORE_CONF_CHANNEL 26
UART start outputs:
SLIP:
Starting Contiki-3.x-3064-g9ef28c7 With DriverLib v0.47020 TI CC1310 LaunchPad
IEEE 802.15.4: No, Sub-GHz: Yes, BLE: No, Prop: No Net: slipnet
MAC: nullmac RDC: ContikiMAC, Channel Check Interval: 16 ticks
Channel 26 Node ID 9690
Slip Radio started...
cc26xx-web-demo:
Starting Contiki-3.x-3064-g9ef28c7 With DriverLib v0.47020 TI CC1310 LaunchPad
IEEE 802.15.4: No, Sub-GHz: Yes, BLE: No, Prop: No Net: sicslowpan
MAC: CSMA RDC: ContikiMAC, Channel Check Interval: 16 ticks
Channel 25 Node ID: 60151
CC26XX Web Demo Process CC26XX Web Server CC26XX CoAP Server
6LBR Client Process CC26XX MQTT Client Process CC26XX Net UART Process
6lbr starts well:
********************************************************************************
Thu Dec 22 12:08:51 UTC 2016 : Starting 6LBR
/usr/lib/6lbr/bin/cetic_6lbr_router -c /etc/6lbr/nvm.dat -o /etc/6lbr/nvm.conf -s /dev/ttyS4 -r -t eth0 -B 115200 -U /usr/lib/6lbr/6lbr-ifup -D /usr/lib/6lbr/6lbr-ifdown -w /usr/lib/6lbr/www -L 3 -W /var/log/6lbr.timestamp -P 60 -C /var/log/6lbr.ip -m /usr/lib/6lbr/plugins
Contiki 3.0 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
2016-12-22 12:08:51.016121: NOTICE: 6LBR: Starting 6LBR version 1.5.x (Contiki 3.0)
2016-12-22 12:08:51.016762: INFO: ETH: 6LBR watchdog started (interval: 60)
2016-12-22 12:08:51.017037: INFO: PLUGIN: Loading /usr/lib/6lbr/plugins/lwm2m.so
2016-12-22 12:08:51.017433: INFO: PLUGIN: Initialising lwm2m-client
2016-12-22 12:08:51.017464: INFO: PLUGIN: Loading /usr/lib/6lbr/plugins/dummy.so
2016-12-22 12:08:51.017769: INFO: NVM: NVM Magic : 2009
2016-12-22 12:08:51.017769: INFO: NVM: NVM Version : 5
2016-12-22 12:08:51.017800: INFO: CONFIG: Loading configuration : /etc/6lbr/nvm.conf
2016-12-22 12:08:51.017830: WARN: CONFIG: Can not open /etc/6lbr/nvm.conf : No such file or directory
2016-12-22 12:08:51.017891: NOTICE: 6LBR: Log level: 30 (services: ffffffff)
2016-12-22 12:08:51.017922: INFO: MAC: Using 'csma' mac driver
2016-12-22 12:08:51.025154: INFO: SLIP: SLIP started on /dev/ttyS4
2016-12-22 12:08:51.035774: INFO: SCMD: Started br-cmd process
2016-12-22 12:08:51.035866: INFO: BR-RDC: Reset SLIP Radio
2016-12-22 12:08:51.035896: INFO: BR-RDC: Fetching MAC address
2016-12-22 12:08:51.040108: ERROR: SLIP: Unknown command
2016-12-22 12:08:51.040291: INFO: BR-RDC: Got MAC: 00:12:4b:00:0e:09:25:da
2016-12-22 12:08:52.035225: INFO: ETH: RAW Ethernet interface init
2016-12-22 12:08:52.049324: INFO: TAP: opened device /dev/eth0
2016-12-22 12:08:52.049477: INFO: TAP: Running 6lbr-ifup script '/usr/lib/6lbr/6lbr-ifup'
eth0 Link encap:Ethernet HWaddr 20:cd:39:dd:9a:27
inet addr:169.254.2.4 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING ALLMULTI MULTICAST MTU:1500 Metric:1
RX packets:6386 errors:0 dropped:55 overruns:0 frame:0
TX packets:5212 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:663049 (647.5 KiB) TX bytes:1420138 (1.3 MiB)
2016-12-22 12:08:52.118416: INFO: TAP: Eth MAC address : 20:cd:39:dd:9a:27
2016-12-22 12:08:52.118538: INFO: ETH: Eth MAC address : 20:cd:39:dd:9a:27
2016-12-22 12:08:52.118599: INFO: LLSEC: Using 802.15.4 framer
2016-12-22 12:08:52.118630: INFO: LLSEC: Using 'nullsec' llsec driver
2016-12-22 12:08:52.118965: ERROR: SLIP: Unknown command
2016-12-22 12:08:52.119057: INFO: HTTP: Starting webserver on port 80
2016-12-22 12:08:52.119393: INFO: NODECFG: Node Config init
2016-12-22 12:08:52.119454: INFO: NODECFG: No node_config.conf file specified
2016-12-22 12:08:52.119484: INFO: 6LBR: Tentative local IPv6 address fe80::212:4b00:e09:25da
2016-12-22 12:08:52.119545: INFO: 6LBR: Tentative global IPv6 address (WSN) fd00::212:4b00:e09:25da
2016-12-22 12:08:52.119637: INFO: 6LBR: Tentative global IPv6 address (ETH) bbbb::100
2016-12-22 12:08:52.119698: INFO: 6LBR: RA Daemon enabled
2016-12-22 12:08:52.119728: INFO: 6LBR: Checking addresses duplication
2016-12-22 12:09:03.119911: INFO: 6LBR: Configured as DODAG Root fd00::212:4b00:e09:25da
2016-12-22 12:09:03.120033: INFO: 6LBR: Starting as RPL ROUTER
2016-12-22 12:09:03.120430: INFO: CONFIG: Loading configuration : /etc/6lbr/nvm.conf
2016-12-22 12:09:03.120491: WARN: CONFIG: Can not open /etc/6lbr/nvm.conf : No such file or directory
2016-12-22 12:09:03.120522: INFO: UDPS: UDP server started
CoAP push started
CoAP server started
2016-12-22 12:09:03.120644: INFO: DNS: DNS proxy started
2016-12-22 12:09:03.120674: INFO: PLUGIN: Initialising lwm2m-client
2016-12-22 12:09:03.120705: INFO: LWM2M: LWM2M Client init
2016-12-22 12:09:03.120735: INFO: PLUGIN: Initialising dummy
2016-12-22 12:09:03.120766: INFO: DUMMY: Dummy init
2016-12-22 12:09:03.120796: INFO: CONFIG: Loading configuration : /etc/6lbr/nvm.conf
2016-12-22 12:09:03.120827: WARN: CONFIG: Can not open /etc/6lbr/nvm.conf : No such file or directory
2016-12-22 12:09:03.120888: INFO: 6LBR: CETIC 6LBR Started
RD client started
nvm.dat:
Channel : 26
PAN ID : abcd
WSN network prefix : fd00::
WSN network prefix length : 64
WSN IP address : fd00::100
WSN accept RA : True
WSN IP address autoconf : True
WSN 6LoWPAN context 0 : fd00::
DNS server : ::
Eth network prefix : bbbb::
Eth network prefix length : 64
Eth IP address : bbbb::100
Eth default router : ::
Eth IP address autoconf : False
RA daemon : True
RA router lifetime : 0
RA maximum interval : 600
RA minimum interval : 200
RA minimum delay : 3
RA PIO enabled : True
RA prefix valid lifetime : 86400
RA prefix preferred lifetime : 14400
RA RIO enabled : True
RA RIO lifetime : 1800
RPL instance ID : 30
RPL DODAG ID manual : False
RPL DODAG ID : ::
RPL DODAG ID global : True
RPL Preference : 0
RPL version ID : : 10
RPL DIO interval doubling : 8
RPL DIO minimum interval : 12
RPL DIO redundancy : 10
RPL default lifetime : 30
RPL maximum rank increase : 1792
RPL minimum rank increment : 256
RPL lifetime unit : 256
MAC layer : 1
Security layer : 0
Security level : 6
Security key : 0:1:2:3:4:5:6:7:8:9:a:b:c:d:e:f
Noncoresec anti-replay disabled : False
Noncoresec anti-replay workaround : False
Filter unknown nodes : False
NAT 64 Enabled : False
NAT 64 DHCP Enabled : False
NAT 64 static port mapping Enabled : False
NAT 64 RFC-6052 prefix : False
NAT 64 address : 172.16.0.2
NAT 64 netmask : 255.255.255.0
NAT 64 gateway : 172.16.0.1
Local address rewrite : True
Smart Multi BR : False
Webserver configuration page disabled : False
Webserver port : 80
However on http://[bbbb::100] I don’t see any nodes. Moreover I don’t see CSMA Received packets:
IP
Received packets : 293
Sent packets : 265
forwarded packets : 0
Dropped packets : 0
Wrong IP version or header length : 0
Dropped IP fragments : 0
Checksum errors : 0
Unsupported protocol : 0
ICMP
Received packets : 7
Sent packets : 7
Dropped packets : 0
Unsupported type : 0
Checksum errors : 0
TCP
Received packets : 289
Sent packets : 255
Dropped packets : 0
Checksum errors : 0
Ack errors : 0
Received RST : 0
retransmitted segments : 0
Dropped SYNs : 0
SYNs for closed ports : 0
UDP
Received packets : 0
Sent packets : 0
Dropped packets : 0
Checksum errors : 0
NDP
Received packets : 7
Sent packets : 15
Dropped packets : 0
RPL
Memory overflow : 0
Local repairs : 0
Global repairs : 0
Invalid packets : 0
DIO timer resets : 1
Parent switch : 0
Forward errors : 0
Loop errors : 0
Loop warnings : 0
Root repairs : 0
CSMA
Allocated packets : 0
Allocated neighbors : 0
Packet overflow : 0
Neighbor overflow : 0
Send packets : 10
Received packets : 0
Not acked packets : 0
Collisions : 0
Retransmissions : 0
Dropped packets : 0
RDC
Callback count : 0
Ack timeout : 0
Parse error : 0
SLIP
Messages sent : 13
Messages received : 14
Bytes sent : 960
Bytes received : 642
Thanks!