At first I was having an issue that my Teensy 4.1 crashes with the R5 library examples, if we enable debugging this is the output:
init: Begin module init.
sendCommandWithResponse: Command: E0
init: Module failed echo test.
init: Begin module init.
init: Attempting autobaud connection to module.
sendCommandWithResponse: Command: +IPR=115200
sendCommandWithResponse: Command:
This isn’t really the issue I’m trying to address though. I’m instead having issues communicating over the modem - I cannot text, access the internet, or place calls. Here are some AT commands I’ve sent, with the outputs from them, and some annotations for easier readability:
AT+CEER
+CEER: "EMM cause",0,"No cause information available"
OK
AT+CREG?
+CREG: 0,6
OK
AT+CGMR (gets the firmware version)
02.05
OK
AT+CFUN=1
OK
AT+CEREG?
+CEREG: 0,1
OK
AT+CGDCONT?
+CGDCONT: 0,"IP","phone","0.0.0.0",0,0,0,0,0,0,0,0,0,0
nc410.mcc310.gprs","10.93.97.42",0,0,0,2,0,0,0,0,0,0 (it appears that some data was dropped on the serial bus here)
OK
AT+CPIN?
+CPIN: READY (SIM card is inserted, working normally, and not pin locked)
OK
AT+CGDCONT=1,"IP","phone"
ERROR
AT+CMEE=2 (verbose errors)
OK
AT+CGACT=1,1
OK
AT+CGDCONT=1,"IP","phone"
+CME ERROR: operation not allowed
AT+CGPADDR=1
+CGPADDR: 1,"10.93.97.42"
OK
AT+CIPSTART="UDP","8.8.8.8","12345"
+CME ERROR: unknown
AT+CIPSEND
+CME ERROR: unknown
ATD+1234567890;
+CME ERROR: operation not supported
AT+CMGS="<redacted>"
+CMS ERROR: operation not supported
As you can see, I am getting error messages with many of the things I’m doing - text, call, trying to send UDP packets, even setting the APN. However, from commands I’ve issued, it does seem like its talking with AT&T’s network. So, I’m not sure what the deal is. I’m in a city so coverage is not an issue. I’ve really never had this many issues initializing a modem like this, SIM900 was a breeze back when I used that. Any ideas here?