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

How to set the BLE UART and Thread MTD CoAP Client into Thread FTD

Hello every one.

I am knew with Nordic Technology and I found out the nRF52840 might suit perfectly with my application.

I am trying to play with he SDK and I would like to change the BLE_Thread MTD CoAP client example into a BLE_Thread FTD CoAP client, but I don't know exactly what to change.

Before any changed, I added the CLI in order to be able to see what is happenning.

For the record, I am using keil 5 with the nRF5SDKforThreadandZigbee20029775ac SDK.

I replaced the \libopenthread-mtd.lib with \libopenthread-ftd.lib, ibopenthread-cli-mtd.lib with ibopenthread-cli-ftd.lib in the project window, then I replaced DOPENTHREAD_MTD=1 by DOPENTHREAD_FTD=1 in the Target DEFINE options (C/C++, Asm) and even in the Misc Controls.

I rebuilt all the project but my board seems to still be a MTF device (it remains a CHILD and the comman state router return Error 13: InvalidState).

Does anyone have any ideas of what I did wrong ?

Parents Reply Children
No Data
Related