Skip to content

Change LORAWAN_RFSWITCH_RFO_LP_VALUES to LOW,HIGH#3002

Open
mhmayyan wants to merge 1 commit into
stm32duino:mainfrom
mhmayyan:Seeed-LORA-E5-transmission-power-bug-tix
Open

Change LORAWAN_RFSWITCH_RFO_LP_VALUES to LOW,HIGH#3002
mhmayyan wants to merge 1 commit into
stm32duino:mainfrom
mhmayyan:Seeed-LORA-E5-transmission-power-bug-tix

Conversation

@mhmayyan

Copy link
Copy Markdown

I am working on a LoRaWAN project using a Seeed LoRA-E5 module. So, I used the LORA_E5_MINI variant. I noticed that the module stopped transmitting after about 24 messages. I read the Seeed Wio E5 HF documentation, and it says that this module transmits at high power only.

The suspect line of code was in the file
variants/STM32WLxx/WL54JCI_WL55JCI_WLE4J(8-B-C)I_WLE5J(8-B-C)I/variant_LORA_E5_MINI.h

It has

#define LORAWAN_RFSWITCH_RFO_LP_VALUES HIGH,HIGH

I modified the line as follows

#define LORAWAN_RFSWITCH_RFO_LP_VALUES LOW,HIGH

This is to prevent the LoRaWAN stack from configuring the node to use low transmission power, as the module does not support this capability.

It now works for me with this modification.

The Seeed LORA-E5 supports only high-power transmission.

Signed-off-by: Mohammad Mayyan <mhmayyan@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant