Gentlemen,
We are trying some specific Lora channels with a couple of gateways, and need to setup a set of not continuous channels, so that those gateways can receive the transmissions.
One gateway is setup to receive first set of channels from 0 to 7, the other have channels 8, 10, 22, 31, 36, 40, 43 and 51.
This is done just to avoid interference from nearby transmitters.
Is there a way to set up channels at will with the TTN Node?, or at least change their original setup?
Does the Arduino TTN Node and TTN libraries allow to do this?
I used the pass through sketch to talk directly to the RN2903 module and set channels at will, but when reloading an sketch this configuration is lost.
I haven’t found any reference to commands on the libraries to perform the channel set up.
This is a capture of the port:
22:51:31.839 -> Sending: mac save
22:51:32.558 -> Sending: mac set ch status 0 off
22:51:32.558 -> Sending: mac set ch status 1 off
22:51:32.605 -> Sending: mac set ch status 2 off
22:51:32.605 -> Sending: mac set ch status 3 off
22:51:32.605 -> Sending: mac set ch status 4 off
22:51:32.605 -> Sending: mac set ch status 5 off
22:51:32.605 -> Sending: mac set ch status 6 off
22:51:32.605 -> Sending: mac set ch status 7 off
22:51:32.652 -> Sending: mac set ch status 8 on
22:51:32.652 -> Sending: mac set ch drrange 8 0 3
22:51:32.652 -> Sending: mac set ch status 9 on
22:51:32.652 -> Sending: mac set ch drrange 9 0 3
22:51:32.652 -> Sending: mac set ch status 10 on
22:51:32.652 -> Sending: mac set ch drrange 10 0 3
22:51:32.699 -> Sending: mac set ch status 11 on
22:51:32.699 -> Sending: mac set ch drrange 11 0 3
22:51:32.699 -> Sending: mac set ch status 12 on
22:51:32.699 -> Sending: mac set ch drrange 12 0 3
22:51:32.699 -> Sending: mac set ch status 13 on
22:51:32.699 -> Sending: mac set ch drrange 13 0 3
22:51:32.746 -> Sending: mac set ch status 14 on
22:51:32.746 -> Sending: mac set ch drrange 14 0 3
22:51:32.746 -> Sending: mac set ch status 15 on
22:51:32.746 -> Sending: mac set ch drrange 15 0 3
22:51:32.746 -> Sending: mac set ch status 16 off
.
.
.
22:51:33.127 -> Sending: mac set ch status 64 off
22:51:33.160 -> Sending: mac set ch status 65 on
22:51:33.160 -> Sending: mac set ch status 66 off
22:51:33.160 -> Sending: mac set ch status 67 off
22:51:33.160 -> Sending: mac set ch status 68 off
22:51:33.194 -> Sending: mac set ch status 69 off
22:51:33.194 -> Sending: mac set ch status 70 off
22:51:33.194 -> Sending: mac set ch status 71 off
22:51:33.194 -> Sending: mac set pwridx 5
22:51:33.194 -> Sending: mac set retx 7
22:51:33.228 -> Sending: mac set dr 3
22:51:33.228 -> Sending: mac join otaa
22:51:38.890 -> Join accepted. Status: 0001
So we can see that channels 8 to 15 and 65 are enabled, whereas all other disabled, this indicates that when starting the Node this configuration is applied eliminating any tother.
So one option will be to modify the library and/or setup, or configure after initial loading.
Any help will be greatly appreciated.
Thanks.