2021-09-18 08:48 AM
I am busy creating a project using the Nucleo-wl55jc board, and am trying to modify the message transmitted to the gateway. How can I do this? I am new to LoRa and LoRaWAN, so am struggling to understand specifically the MX_LoRaWAN_Process() function and how the message is compiled.
My end goal is to build a custom board using the stm32wl55cc chip and send messages to a LoRa Gateway that will use a Raspberry Pi and LoRa module.
Any any assistance is very much appreciated, as I am struggling a lot currently!
Thanks in advance, kind internet strangers!
2021-09-20 12:30 AM
Hi @Rvan .8 ,
you should open the LoRaWAN_End_Node project (in Projects\NUCLEO-WL55JC\Applications\LoRaWAN\LoRaWAN_End_Node\)
then, in the file LoRaWAN\App\lora_app.c, you can modify the function SendTxData(void) .
The AppData.Buffer (and its length AppData.BufferSize) can be filled with your uplink datas on port AppData.Port (that you can update)
same for Rxdata, you can modify the function OnRxData(LmHandlerAppData_t *appData, LmHandlerRxParams_t *params),
hope this helps
2021-09-20 01:41 AM
Thank you very much! @YBOUV.1