I have a couple of SARA AFF modules, which I want to use with Vodafone SIM cards in the Netherlands. I am able to work through the example AT commands presented here for Vodafone: http://support.sodaq.com/sodaq-one/at/, except for the last one (AT+NSOSTF=…), for which I get an error. With AT+CMEE=1, I can see that it is Error 4, which according to the AT commands manual is “Operation not supported”.
If I exchange the Vodafone SIM card for a T-mobile card, I am able to send a UDP datagram, and I have verified data arriving at my server. In one occasion, when taking both a new AFF board and a new Vodafone SIM card, I was able to send data. However, a few days later also this combination didn’t work any more.
Any ideas what may be wrong?
Can you check if you have the firmware version mentioned on this page or newer?
What does the module say about these AT commands?:
If you have an N2 module:
If you have an R4 module
Thanks for your response. The response to the ATI9 message is 06.57,A07.03 on module 02X-00 as mentioned on the webpage.
I had tried the NSOST command before, and verified again today. I get the same error: +CME ERROR: 4 (operation not supported)
If we test this on one of our boards, it works without problems:
and it all goes fine. Can you maybe give us your complete AT sequence?
Which sim card are you using? (Did youy get it through SODAQ?)
My full sequence is just like described on the AT Commands webpage:
+CME ERROR: 4
Where I used your ip address to see if that would change anything, but no luck. The sim card is from Vodafone, but is acquired as part of an NB-IoT evaluation pack and not through SODAQ. Here is a photograph of my setup:
I was able to reproduce your issue.
When I am using an other Vodafone simcard with a different APN the sim is able to connect to the network.
I could open a socket but I also got the +CME ERROR: 4 when sending a packet.
- Do you use the correct APN?
- Is our IP whitelisted for your SIM?
Thanks for your message! Indeed I was not using the correct APN, it should be ep.inetd.gdsp instead. Good catch, thanks! Now the module returns
Which should indicate a successfully sent datagram. In the Vodafone m2m portal I can now see that the module was indeed connected (only after several hours), but it says zero bytes are transmitted. At my server, I receive nothing, while I verified that I can connect to the specified port via UDP from my laptop.
On the Vodafone portal, under History/Activiity list I can see several datasessions on one day, seemingly one for each message I tried to send, ending only when the next one starts, all with zero bytes:
The IP address of my server should be whitelisted, but perhaps something is wrong there? Any clues?