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

Openthread with FreeRTOS

Hi!
I've successfully set op an OpenThread MQTT broker using a Rasperry Pi and nrf52 dongle and I am able to publish and subscribe to and from my computer by flashing the mqttsn_client_subscriber and mqttsn_client_publisher examples to my nrf52840 DK.

I want to incorporate thread communication into a larger project on the nrf52840 DK using FreeRTOS. My first step has been trying to modify the mqttsn_client_subscriber example to incorporate FreeRTOS. However I have not had much success.

Does the SDK provide examples of OpenThread with FreeRTOS or are there other sources I can consult?






Parents Reply
  • Yes. It was probably what it said earlier as well, but I guess it wasn't an error:

    So, I am currently working from home, and can't monitor the LEDs, because the DK is connected in my work computer in the office, so I added the line:

    NRF_LOG_INFO("led task"); right before toggling the led in the while loop.

    I saw that it was only printed once, and I wanted to debug, so I had to port the segger project that you provided. However, running that, I see that it is printed regularly (LED1_BLINK_INTERVAL).

    Can you try the attached project (unzip in the same location as you had your project) and check if it behaves the same, or if the LED keeps blinking in your case?

    6281.freertos_coap_server.zip

Children
Related