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 Reply Children
  • Hello Simonr,

    I am using nRF SDK and the microcontroller is nRF52840. I am trying to understand thread_simple_coap_client_example and thread_simple_coap_server example because they work in conjuction. The way I see it, at the beginning of the program the pheripherals are being initiated and then the thread_process() funtion. I do not yet understand how thread_process() function works. 

    The way I understand the functions, thread_coap_provisioning_request_send() from the clients side is actually a request for pairing devices. If the server responds, a connection is made. If that is the case, then the client should be able to send one byte by calling the function thread_coap_utils_unicast_light_request_send( byte size data type argument ). I would like to send more then one byte so I am looking for an alternative function.

    Thank you for your time and help,
    Best regards

Related