|
Post by rrrrpa on Feb 9, 2024 18:44:52 GMT
My MEGA 2560 / Bioletics SIM7000A system sometimes gets locked up and network status is stuck at Access Denied. 1st, what does the status really mean? Is my T-Mobile Carrier denying me access? 2nd, what causes Access Denied? Am I trying to do too much too fast? 3rd, how do I programmatically resolve the problem? The only method I find that works is to physically remove the supply voltage to the Arduino/SIM7000A assembly, AND disconnect the LiPo battery that is required by the SIM7000A. Any help will be appreciated. Thanks.
|
|
|
Post by Botletics on Feb 17, 2024 15:55:02 GMT
Are you saying that it denies access later down the road, after you've been on the network already? Access denied (network status code of '3') might mean you're trying to connect to Verizon or something. Verizon specifically won't allow non-Verizon-registered hardware onto their network. You would be better off setting it to AT&T instead. Try uncommenting this in setup():
modem.setPreferredMode(38); // Use LTE only, not 2G modem.setPreferredLTEMode(1); // Use LTE CAT-M only, not NB-IoT modem.setOperatingBand("CAT-M", 12); // AT&T uses band 12
Then later check the network connection again with
modem.getNetworkInfo();
|
|
|
Post by rrrrpa on Feb 17, 2024 22:42:27 GMT
Yes, the system is runs properly for hours, then sometimes loses connection and typically re-establishes connection. On occasion it has lost connection and falls into the modem.getNetworkStatus() = 3 = access denied. I have not tried modem.getNetworkInfo() under these conditions but will add it to the sketch for future data capture.
|
|
|
Post by rrrrpa on Feb 17, 2024 22:50:23 GMT
BTW - I'm using T-Mobile
|
|
|
Post by Botletics on Feb 18, 2024 1:56:08 GMT
Oh, T-Mobile. LTE CAT-M1 or NB-IoT?
If you're not connected to the network (in the case of "Denied"), modem.getNetworkInfo(); won't really do much for you anyway.
|
|
|
Post by rrrrpa on Feb 18, 2024 23:12:16 GMT
LTE CAT-M1
18:17:01.205 -> 1 18:17:01.205 -> ---> AT+CPSI? 18:17:01.328 -> <--- +CPSI: LTE CAT-M1,Online,310-260,0x411F,21294086,47,EUTRAN-BAND12,5035,2,2,-9,-94,-72,14 18:17:01.426 -> ---> AT+COPS? 18:17:01.426 -> <--- +COPS: 0,0,"T-Mobile",7
|
|