This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Contiki LWM2M support on NRF52, bt0 interface not visible

Hi,

I am trying to run LWM2M support based on Contiki OS (contiki/examples/ipso-objects) on a NRF52 (PCA10040) development board. I can successfully build (make TARGET=nrf52dk) and flash the firmware into the hardware. When I am connecting the BLE link to a linux sever using steps given in the link (developer.nordicsemi.com/.../a00060.html) connection established successfully and I can see the connected board in "hcitool con". But there is no bt0 interface added in network (ifconfig).

Similar thing if I am trying on contiki hello world example (contiki/examples/hello-world) on same setup, I can connect and able to ping the board from linux server.

Any ideas for unavailability of bt0 interface in case of ipso-object example?

Parents
  • In the particular implementation of LWM2M in Contiki OS (contiki/examples/ipso-objects) NETSTACK_CONF_MAC was set to nullmac_driver (contiki/examples/ipso-objects/project-conf.h) which is overriding its original value "#define NETSTACK_CONF_MAC ble_ipsp_mac_driver" (platform/nrf52dk/contiki-conf.h). Disabling it from project-conf.h solves the purpose.

Reply
  • In the particular implementation of LWM2M in Contiki OS (contiki/examples/ipso-objects) NETSTACK_CONF_MAC was set to nullmac_driver (contiki/examples/ipso-objects/project-conf.h) which is overriding its original value "#define NETSTACK_CONF_MAC ble_ipsp_mac_driver" (platform/nrf52dk/contiki-conf.h). Disabling it from project-conf.h solves the purpose.

Children
No Data
Related