CayenneLPP from FreeRTOS to Zephyr

Please include the following information, in order for us to help you as effectively as possible.

  • What product do you wish to discuss? RAK4631

  • What firmware are you using? nRFConnect SDK for VS Code

  • Computer OS? Windows

  • What Computer OS version? 11

@sercan ,

I developed a FreeRTOS solution using RAK4631, RAK1904, RAK1906, RAK12500 and RAK15004, to send via LoRaWAN a payload with all sensors informations by CayenneLPP.

Now I would like to convert the FreeRTOS solution to Zephyr, including CayenneLPP.

Could you help me with some example how to migrate the libraries to Zepyr.

Cláudio Rosa

Hello @crmrosa,

To migrate a module to Zephyr, I prepared a demo before, please check rak-zephyr-app/modules at main · srcnert/rak-zephyr-app · GitHub folder. There is a demo calculator module. You must prepare your own CayenneLPP module. This is the easiest and most robust way I know.

For NCS example application, please check GitHub - nrfconnect/ncs-example-application: NCS example application, based on https://github.com/zephyrproject-rtos/example-application repo. You can use it, or you can use GitHub - srcnert/rak-zephyr-app: Example projects for Zephyr RTOS on RAK3172/RAK4631/RAK11720 repo by modifying west.yml file for NCS support.

Also, you can directly use C++ with zephyr. Please check C++ related examples at ‘…/zephyr/samples/cpp’ folder.

Best regards,
Sercan.

Hi sercan,

If you take a look at GitHub - ElectronicCats/CayenneLPP: Library for Arduino compatible with Cayenne Low Power Payload , you will see that it is not a module, but a Arduino Library.

Hi Claudio,

I named it as module but naming is not important. Briefly, you must implement this Arduino Library by yourself for Zephyr Project. I don’t know any other way. You can directly add inside your project or follow up my previous message to do this.

Best regards,
Sercan.

Thank you by your support.

I will bring new as soon as possible.

Have a nice day.

Claudio

1 Like