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
  • The dongle is connected to the MQTT broker, yes. But this works without any problem, the problem is not in the RPi broker. When running the openthread project on nrf52840 DK without freertos everything works. 

    The problem is when i try to implement FreeRTOS in the thread project on the development kit that I'm trying to connect to the thread network running on the RPi. 

    The code i attached to a previous comment explaining the problem, https://github.com/hunshamar/freertos_openthread,  I have two openthread programs that I can flash to the development kit, one using FreeRTOS which is not working, and one not using FreeRTOS that is working with openthread. 


Children
Related