Skip to content

Testing issues with compliance-otaa-halconfig with AU915  #340

Open
@paulalting

Description

@paulalting

With a gateway setup for AU915 sub band 3 and using the compliance-otaa-halconfig.ino I am still running into problems it appears.

With a Rocket Scream Mini Ultra Pro V2 board, (similar to Feather M0) I have configured an additional pin map for it and using the basic compliance-otaa-halconfig example with lmic project config set for AU921, using sub band 3, by LMIC_selectSubBand(2).

What I notice is that it connects right way with joinRequest and getting joinAccept, but what I think is not correct is that it appears to use other channels outside of Sub Band 3 as well as the channels in the band. If the Gateway is setup for using only sub band 3, then many data packets are ignored.

As a test, I re-configured everything to use US915, the gateway and the Rocket Scream board, again, using the compliance-otaa-halconfig example set for sub band 1. It works without any fault at all, absolutely perfect data coming into the LoRaServer.

I re-configure back to AU921, with same code, but for AU921 and sub band 3 and the problem presents itself.

The only real way I seem to be able to makes sure only selected channels are used is to set LMIC_setAdrMode(false). I will need ADR enabled as part of the projects underway.

I guess my question is, has the library been fully tested with AU921, (sometimes as AU915) ?
What other data or information can I provide ?

Below is a sample of the serial data output:
Channels for sub band 3 are 16 to 23, so why are there transmissions on channels such as 5 and 9, where you can see the txrxflags is 0x20 rather than when the correct channel is used and txrxflags is 0x21.

Starting
Packet queued
349102: EV_JOINING
349198: EV_TXSTART: ch 22 rps=0x4 (SF10 BW125 CR 4/5 Crc IH=0), datarate 2, opmode 88C
669366: EV_RXSTART: freq=926.9 rps=0x94 (SF10 BW500 CR 4/5 NoCrc IH=0), datarate 2, opmode 88C, txend 372415, delta ms 4751
690200: EV_JOINED: ch 22
netid: 0
devaddr: 15243C7
artKey: 7-E7-84-91-65-83-7C-13-11-77-A3-D1-6D-FF-32-58
nwkKey: C4-A5-E7-96-A-77-79-F4-86-FB-F4-52-92-69-B2-29
690351: EV_TXSTART: ch 18 rps=0x4 (SF10 BW125 CR 4/5 Crc IH=0), datarate 2, opmode 888
775625: EV_RXSTART: freq=924.5 rps=0x94 (SF10 BW500 CR 4/5 NoCrc IH=0), datarate 2, opmode 888, txend 716129, delta ms 951
783940: EV_TXCOMPLETE: ch 18 rps=0x94 (SF10 BW500 CR 4/5 NoCrc IH=0) txrxflags 0x21
Packet queued
1721585: EV_TXSTART: ch 5 rps=0x1 (SF7 BW125 CR 4/5 Crc IH=0), datarate 5, opmode 888
1786211: EV_RXSTART: freq=926.3 rps=0x91 (SF7 BW500 CR 4/5 NoCrc IH=0), datarate 5, opmode 888, txend 1725811, delta ms 966
1845311: EV_RXSTART: freq=923.3 rps=0x96 (SF12 BW500 CR 4/5 NoCrc IH=0), datarate 5, opmode 888, txend 1725811, delta ms 1912
1923349: EV_TXCOMPLETE: ch 5 rps=0x96 (SF12 BW500 CR 4/5 NoCrc IH=0) txrxflags 0x20
Packet queued
2860995: EV_TXSTART: ch 21 rps=0x1 (SF7 BW125 CR 4/5 Crc IH=0), datarate 5, opmode 888
2925300: EV_RXSTART: freq=926.3 rps=0x91 (SF7 BW500 CR 4/5 NoCrc IH=0), datarate 5, opmode 888, txend 2864900, delta ms 966
2928221: EV_TXCOMPLETE: ch 21 rps=0x91 (SF7 BW500 CR 4/5 NoCrc IH=0) txrxflags 0x21
Packet queued
3865866: EV_TXSTART: ch 19 rps=0x1 (SF7 BW125 CR 4/5 Crc IH=0), datarate 5, opmode 888
3930491: EV_RXSTART: freq=925.1 rps=0x91 (SF7 BW500 CR 4/5 NoCrc IH=0), datarate 5, opmode 888, txend 3870092, delta ms 966
3933419: EV_TXCOMPLETE: ch 19 rps=0x91 (SF7 BW500 CR 4/5 NoCrc IH=0) txrxflags 0x21
Packet queued
4871064: EV_TXSTART: ch 9 rps=0x1 (SF7 BW125 CR 4/5 Crc IH=0), datarate 5, opmode 888
4935688: EV_RXSTART: freq=923.9 rps=0x91 (SF7 BW500 CR 4/5 NoCrc IH=0), datarate 5, opmode 888, txend 4875289, delta ms 966
4994788: EV_RXSTART: freq=923.3 rps=0x96 (SF12 BW500 CR 4/5 NoCrc IH=0), datarate 5, opmode 888, txend 4875289, delta ms 1911
5123226: EV_TXCOMPLETE: ch 9 rps=0x96 (SF12 BW500 CR 4/5 NoCrc IH=0) txrxflags 0x20

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions