At+mask command support?

the docs say that for us915:

  • For US915 / AU915 / LA915, the default value is 01FF.

however (w/ the breakout board) i see something like:

u.write(‘at+mask=?\r\n’) ; p.poll(-1) ; u.read()
b’AT+MASK=00FF\r\nOK\r\n’
u.write(‘at+mask=01ff\r\n’) ; p.poll(-1) ; u.read()
b’AT_PARAM_ERROR\r\n’
u.write(‘at+mask=?\r\n’) ; p.poll(-1) ; u.read()
b’AT+MASK=00FF\r\nOK\r\n’

is there an interaction w/ some other commands that i missed inteh docs?

If you look into the manual for AT+MASK, it is obvious that the “default” value makes no sense. 0x01FF is only possible for CN470.

To enable all 16 channels, the parameter would be 0x00FF.

ok the docs are wrong (and maybe should be fixed) but the region doc for us915

2.5.5 US902-928 LinkADRReq Command
The US902-928 channel plan of LoRaWAN supports a minimum of 72 and a maximum of 80 channels.

i read bit 4 in this mask as ‘enabling’ parts of the the 500khz range and that the at+mask==1ff would enable this range.

I am not 100% familiar with US915 but each mask enables eight (8) 125kHz channels and one (1) 500kHz channel.
E.g. Mask 0001 enables 125kHz channels 0 - 7 and the 500kHz channel 64.

right, so that the at+mask doc is wrong means that the ‘max’ channels isn’t supported? that’s fine but was why i started looking at the at+mask command (i didn’t make this explicit).

anwyay, thanks for clarifying this condition.