jpmeijers / RN2483-Arduino-Library

Arduino C++ code to communicate with a Microchip RN2483 module
Apache License 2.0
84 stars 60 forks source link

Adding some Aussie flavour to this library #61

Closed ElectronicallyE closed 2 years ago

ElectronicallyE commented 5 years ago

Let's get some Aussie support for the RN2903!

As we discussed, for the RN2903 to work in Australia, minor adjustments must be done to the library.

ElectronicallyE commented 5 years ago

I have just noticed something to do with the first transmission in the setup part of the examples. Will keep you informed as to what the issue is.

ElectronicallyE commented 5 years ago

Okay, so I've done some testing. I am unable to send to more than 24 bytes, or 11 characters in myLoRa.tx(). If I try to transmit anymore, the board keeps printing that it is transmitting, much quicker it normally does (About half a second versus 3 seconds). Is there any reason behind this* and how do we go about resolving it?

This means that the initialisation message in the setup() does not work, which has led me to removing it from any code that I have been using. It also means that the amount of data and be transmitted is much lower than what is possible and permitted with LoRaWAN. For example, if I wanted to send a GPS coordinate, I would not have enough space.

*I'll do some investigating in the library and try to figure out what is up, but in the meantime, if you had anything to add, it would be greatly appreciated.

ElectronicallyE commented 5 years ago

The error is due to invalid_data_len. It is documented here on page 19. Is there anyway to sort this out?

jpmeijers commented 2 years ago

Not sure about the value of these changes anymore. It's also not a trivial merge, so will need a refactor. Please open again if needed.