-
Is your feature request related to a problem? Please describe. I´m thinking about creating driver for a RAK3172 SoM and if it makes sense to do it or use it as user space application. The problem is that, if I understand it correctly, Zephyr is using a driver structure for the LoRa PHY and the LoRaWAN stack from Semtech which uses the LoRa PHY. But the RAK3172 (as an example) is a complete solution for LoRa and LoRaWAN. So I´m not sure if this type of device can be added properly to Zephyr and how the ideal approach looks like. Describe the solution you'd like Some brainstorming or suggestions if and how such an AT command based LoRa SoM can get integrated in Zephyr. Additional context |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
If the module supports replacing the in-built firmware then you can flash your own zephyr firmware to it, you would need to ensure you have drivers for all the parts |
Beta Was this translation helpful? Give feedback.
-
The module is pre-programmed with its own LoRaWAN stack but of course can easily be reprogrammed to support the Zephyr LoRaWAN stack. The RAK3172 is essentially an STM32WLE5 with regulator and RF antenna support circuitry. So you can essentially use the Zephyr drivers for the STM32WLE5 as a base. For example you could modify the drivers for an STM Nucleo with similar chip: https://docs.zephyrproject.org/latest/boards/st/nucleo_wl55jc/doc/nucleo_wl55jc.html with changes to account for whatever is provided on the board that is using the RAK3172. |
Beta Was this translation helpful? Give feedback.
The driver you refer to in zephyr is the stack itself, the module you link to has it's own stack, you do not use a stack to communicate with it, you would need to use UART commands so the drivers in zephyr have no relation to this at all. Hence why you would need to implement it yourself