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

Thread example for nRF52840

Hello,

I am new to thread technology, and I would like your advice. I studied thread CLI example and thread client and server examples. However, in these examples I did not find any function for sending multiple bytes in one package. Can someone please tell me if there is an example where I can see how to send a package with multiple bytes? Thank you for your time.

Parents
  • Hi again

    If you're new to Thread development, I would strongly suggest looking at nRFConnect SDK rather than nRF5 SDK, as future development and improvements of Thread example projects will be focused on NCS, and not the nRF5 SDK. It also, in my opinion has a better Thread user guide to get started with, and might help you get a better understanding of OpenThread altogether.

    If you insist on staying in the nRF5 SDK, I think you should check out the message.h header file located in ...\nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8\external\openthread\include\openthread\ which, among other things let you set message lengths in bytes and functions that manipulate OpenThread message buffers.

    Best regards,

    Simon

Reply
  • Hi again

    If you're new to Thread development, I would strongly suggest looking at nRFConnect SDK rather than nRF5 SDK, as future development and improvements of Thread example projects will be focused on NCS, and not the nRF5 SDK. It also, in my opinion has a better Thread user guide to get started with, and might help you get a better understanding of OpenThread altogether.

    If you insist on staying in the nRF5 SDK, I think you should check out the message.h header file located in ...\nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8\external\openthread\include\openthread\ which, among other things let you set message lengths in bytes and functions that manipulate OpenThread message buffers.

    Best regards,

    Simon

Children
Related