Open olivierfavre opened 4 years ago
Not sure about 1).
The Gnat cannot enter stop mode when USB is connected.
On Mon, Apr 27, 2020 at 12:57 PM Olivier FAVRE notifications@github.com wrote:
Evening! Thanks for the great job! Two questions (GNAT):
- Is it possible to override in the sketch, not the library LORAWAN_DEFAULT_PORT ?
- The NoMotionActivityTimer and InMotionActivityTimer cycles seem to have no effect when the GNAT is powered by USB, normal? Great device !
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/CMWX1ZZABZ/issues/24, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTDLKVLDEQVVUPF4EV2SYDROXPRLANCNFSM4MSG4V6A .
Still, not sure why the noMotion functions shouldn't work. How do you know they don't, what is the symptom?
On Mon, Apr 27, 2020 at 1:54 PM Tlera Corporation tleracorp@gmail.com wrote:
Not sure about 1).
The Gnat cannot enter stop mode when USB is connected.
On Mon, Apr 27, 2020 at 12:57 PM Olivier FAVRE notifications@github.com wrote:
Evening! Thanks for the great job! Two questions (GNAT):
- Is it possible to override in the sketch, not the library LORAWAN_DEFAULT_PORT ?
- The NoMotionActivityTimer and InMotionActivityTimer cycles seem to have no effect when the GNAT is powered by USB, normal? Great device !
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/CMWX1ZZABZ/issues/24, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTDLKVLDEQVVUPF4EV2SYDROXPRLANCNFSM4MSG4V6A .
Looking at the library, I see this is what "LoRaWAN.beginPacket(3);" does. If you add this to your sketch, default port becomes "3". Valid values are 1..223. Quote from Lora dev portal: The LoRaWAN specification provides a data delivery field (FRMPayload) and a Port field (FPort) to distinguish between different types of messages. FPort 0 is reserved for MAC messages. Do not use this port to transport data fields. FPort 224 is reserved for MAC compliance testing and FPorts 225-255 are reserved for future standardized application extensions1. This leaves valid port numbers between 1 and 223.
Evening! Thanks for the great job! Two questions (GNAT):