I have a setup with Arduino and Mikroe gsm2 which has a M95.
I can easily connect to my servers, and send data using post and then read the data.
I can also easily do GET and read data.
I can even send SMS, so I think we can rule out problems between the Arduino and the M95 module
But receiving SMS is a completely different thing. I simply cannot get it to work.
AT+CPMS? and there are 3 messages on SM
I then do:
both respond OK
I then do:
And I get:
+CMGR: “REC READ”,"+45xxxxxx","","2020/12/23 10:23 10:3
I’m aware there are newlines etc so I try to keep reading until I get OK or timeout after 12 seconds (just defined 12, I know it should not take this long)
So, I get information about the message, but not the content. Why?
Have you solved your problem?
I have a similar situation on BG96.
There is no way I can get my BG96 to send the +CMTI message after receiving the SMS.
No parameter configuration in the AT+CNMI command helps.
My BG96 firmware version: BG96MAR02A07M1G_01.017.01.017
I think you are not able to receive the complete data(message strings) from the modem to Arduino. Can you send AT commands to M95 directly through any serial terminal tool instead of the Arduino and test it.
You were right. It was necessary to use the command AT+QURCCFG = “urcport”, "uart1"
to switch the destination port of incoming URC messages.
But there is still something wrong with the +CMTI notification. I don’t get it when SMS comes in. I can see the incoming SMS in the modem’s memory with the AT+CMGL command. I don’t know why +CMTI doesn’t come.
But what is strange: the +CMTI message comes at the end of the ringer (regular voice call). Then it shouldn’t.
So it still doesn’t work for me.
My firmware BG96MAR02A07M1G_01.018.01.018