Cannot get AB02S to connect to TTN

Hi everyone,

I recently received a HTCC-AB02S. I installed the libraries in the Arduino dev. To do a quick test I used the example LoRaWan sketch. I changed the appEUI and appKey to what TTN provided me and uploaded. It never connect to TTN. It keeps timing out.

I have at the house a RakWireless LoraWan gateway setup and registered with TTN. There is another one about 1/2 mile from here as well.

Looking at the gateways, they never receive or transmit a message when it is trying to connect. I am not sure what I am doing wrong.

I took some screen shots of the configurations and will include them below. Any help would be greatly appreciated.

59%20PM

hi,

Based on the information you have provided, I can’t find the problem.

Could you show your ab02s’ Serial print log? Or more information.

You’re altering the subband used? TTN is on the 2nd band on US915 (similar to AU915), some instructions to change it for the cubecell are here (nice work Heltec), with a very full and comprehensive explanation but basically the userChannelsMask first parameter changes from 0x00FF to 0xFF00

That should be all you need, good luck.

Here is the log. I have debugging turn on.

Copyright @ 2019 Heltec Automation.All rights reserved.
RX on freq 923900000 Hz at DR 10
Event : Rx Timeout
RX on freq 923300000 Hz at DR 8
Event : Rx Timeout
TX on freq 902700000 Hz at DR 3 power 20 dBm
Event : Tx Done
RX on freq 924500000 Hz at DR 13
Event : Rx Timeout
RX on freq 923300000 Hz at DR 8
Event : Rx Timeout
TX on freq 902300000 Hz at DR 0 power 20 dBm
Event : Tx Done
RX on freq 923300000 Hz at DR 10
Event : Rx Timeout
RX on freq 923300000 Hz at DR 8
Event : Rx Timeout
TX on freq 903300000 Hz at DR 3 power 20 dBm
Event : Tx Done
RX on freq 926300000 Hz at DR 13
Event : Rx Timeout
RX on freq 923300000 Hz at DR 8
Event : Rx Timeout
TX on freq 902900000 Hz at DR 0 power 20 dBm
Event : Tx Done
RX on freq 925100000 Hz at DR 10
Event : Rx Timeout
RX on freq 923300000 Hz at DR 8
Event : Rx Timeout
TX on freq 903700000 Hz at DR 3 power 20 dBm
Event : Tx Done
RX on freq 927500000 Hz at DR 13
Event : Rx Timeout
RX on freq 923300000 Hz at DR 8
Event : Rx Timeout
TX on freq 903500000 Hz at DR 0 power 20 dBm
Event : Tx Done

Yep, you’re sending on the wrong subband - your highest TX in that log is below the lowest TTN frequency for US915 (903.9).

Please fix the user band definition.

ok, I understand. As I mentioned I am using the example that came with the Arduino library. I assume I have to change:

uint16_t userChannelsMask[6]={ 0x00FF,0x0000,0x0000,0x0000,0x0000,0x0000 };

What is the proper mask for the US Frequencies?

Second question… If I told it US915 why is it going outside of the defined band? I assumed if I set it up for the US915 it would say within bounds.