NB-IoT lte.isattached() False even though actually attached
I'm using NB-IoT on the Vodafone NL network. I'm able to attach to the network and send UDP messages, but only using the AT command set, not using the high level api.
The AT+CEREG? command:
>>> send('AT+CEREG?') TX: AT+CEREG? RX: +CEREG: 2,5,"319E","0199B767",9 RX: OK
modlte.cactually checks that the last parameter is
7(E-UTRAN) instead of anything else. I also cannot find the
9that I'm getting in any documentation. Even so, I can succesfully send data using the following commands:
# open connection send('AT+SQNSD=1,1,5001,"22.214.171.124",0,0,1') # send data until \x1A send('AT+SQNSSEND=1') send('hello\x1A') # close connection send('AT+SQNSH=1')
I'm using NB-IoT firmware:
And using self-compiled firmware:
(sysname='FiPy', nodename='FiPy', release='1.18.1.r1', version='b0520f1-dirty on 2018-11-05', machine='FiPy with ESP32', lorawan='1.0.2', sigfox='1.0.1')
Bottom line: is this a bug in the NB1 firmware returning
9or in lte_check_attached()?
As mention this should be fixed now. if you still see it in new versions of the firmware please drop in a support ticket or email firstname.lastname@example.org and I/we will gladly help Investigate further.
@robert-hh Ah, I see there's been a lot of changes regarding this in the dev and lte* branches. Thanks!
Just leaving a link to the relevant announcement:
robert-hh last edited by
@martijns That was fixed in the recent trial versions (alpha/beta/gamma/delta/epsilon/zeta/eta/theta ...) of the firmware.