I have been trying for a while to get the nbiot board working with a crowdino and with the serial pass through we get it running but when I use the library it never connects
I looked in the code and added some debug and the problem is that checkAndApplyNconfig() always returns false.
I looked into checkAndApplyNconfig and it sends AT+NCONFIG? but when it checks the response for “OK” is always fails
bool Sodaq_nbIOT::checkAndApplyNconfig()
{
bool applyParam[nConfigCount];
println("AT+NCONFIG?");
debugPrint("I am enthusiastic that I am about to set up the modem parameters for my NBIOT project :-)");
if (readResponse<bool, uint8_t>(_nconfigParser, applyParam, NULL) == ResponseOK) {
debugPrint("I am very sad because I never get to execute because Mr IF always says NO :-( ");
Ideas ???
here is the output with debug enabled everywhere (and some extra debug added by me --)
Initializing and connecting... [rdResp]: �
[rdResp]: timed out
[rdResp]: REBOOT_CAUSE_SECURITY_RESET_UNKNOWN
Ublox [rdResp]: Ublox
OK[rdResp]: OK
[rdResp]: AAAAAA
[rdResp]: timed out
>> AT+CFUN=0
ERROR[rdResp]: ERROR
Failed to connect!
alive
>> AT+CGATT=0
ERROR[rdResp]: ERROR
Pending Messages: >> AT+NQMGS
PENDING=0,SENT=0,ERROR=0[rdResp]: PENDING=0,SENT=0,ERROR=0
OK[rdResp]: OK
0 | Failed Messages: >> AT+NQMGS
PENDING=0,SENT=0,ERROR=0[rdResp]: PENDING=0,SENT=0,ERROR=0
OK[rdResp]: OK
0
>> AT+CSQ
+CSQ:99,99[rdResp]: +CSQ:99,99
OK[rdResp]: OK
0
0
>> AT+CGATT?
+CGATT:0[rdResp]: +CGATT:0
OK[rdResp]: OK
Attempting reconnect ... [rdResp]: AAAAAA
[rdResp]: timed out
>> AT+CFUN=0
OK[rdResp]: OK
[rdResp]: AAAAAA 1
>> AT+NCONFIG?
I am enthusiatic that I am about to set up the modem parameters for my NBIOT project :-)
+NCONFIG:AUTOCONNECT,FALSE[rdResp]: +NCONFIG:AUTOCONNECT,FALSE
... OK NOT OK2
Failed to connect!
[rdResp]: +NCONFIG:CR_0354_0338_SCRAMBLING,FALSE
+NCONFIG:CR_0859_SI_AVOID,FALSE[rdResp]: +NCONFIG:CR_0859_SI_AVOID,FALSE
+NCONFIG:COMBINE_ATTACH,FALSE[rdResp]: +NCONFIG:COMBINE_ATTACH,FALSE
+NCONFIG:CELL_RESELECTION,FALSE[rdResp]: +NCONFIG:CELL_RESELECTION,FALSE
+NCONFIG:ENABLE_BIP,FALSE[rdResp]: +NCONFIG:ENABLE_BIP,FALSE
OK[rdResp]: OK
alive
>> AT+CGATT=0