Error when trying to execute AT#SGACT=1,1

I am trying to execute the basic commands in order to start data session, but get errors. I am using Nimbelink's SkyWire GSM modem (NL-SW-GPRS) mounted via shield on Arduino Leonardo. This is the code I use for the part that gives me errors:

I even tried to add a 30 seconds delay for the command AT#SGACT=1,1 to try to maybe give it a longer change to obtain IP address, but no luck. What could be the reasons for the error? Any way to debug it?

I don't see a problem with your command sequence. The ping operation should re-direct to www.aeris.com but have you tried that URL rather than ".net"? Also, have you tried pinging another URL (e.g. www.google.com)?

I tried a bunch of sites, IP addresses and various configurations of this command to no avail. Curiously, my dashboard shows lots of packets received and even some sent (see image below). I am also working with Nimbelink engineer on this problem, this is what he wrote, maybe it would make sense to you:

"AERIS is assigning a private IP address to your device, so no matter how many times you PING the device IP address, the AERIS network will block it. The only way to get a PING to work is if you can get an unrestricted Public Static IP address from AERIS."

There may be some confusion about the process you're employing. The Neo connectivity service doesn't allow external devices to access devices on the network, for security reasons. If that's what you're attempting to do it won't work. However, you can ping your device from the portal, as shown in the screen shot below. Does this answer your question?

I don't see a problem with your command sequences. One suggestion is for you to initiate a PDP context for the device so we can perform some troubleshooting on our end and capture live transactions in the logs.

I did, yes. Rerun the whole thing, here is a more detailed report (below). Nothing changed, and the device is still not pinging

11:37:03 AM$ ping 89185014080500176788no answer from 10.136.28.48

AT+CREG?+CREG: 0,5Connection successful!OK--> send command to modem to get the network information:AT+COPS?+COPS: 0,0,"T-Mobile"OK--> send command to modem to check the signal quality:AT+CSQ+CSQ: 23,0OK--> send command to modem to check a GPRS Attach:AT+CGATT?+CGATT: 1OK--> in order to ping the device it must be enabled to ECHO_reply:AT#ICMP=2OK--> list all the PDP contexts that are defined:AT+CGDCONT?+CGDCONT: 1,"IP","neo.iot.net","",0,0OK--> check if there were any issues with the PDP activation:AT+CEER=?OK--> send command to modem to enable detailed error messages:AT+CMEE=2OK--> activate first PDP context (aeris):AT+CGACT=1,1OKAT#SGACT=1,1#SGACT: 10.136.15.69OK--> ping Google:AT#PING="www.google.com";

Our network engineers don't see anything returned from your device when they ping it. All Neo network services are up and the network team is able to ping other Neo devices currently in data sessions (yours being the only one they can't). Additionally, we've eliminated the possibility of AT command set issues, PDP context, etc., so our best advice is to consider the problem to be device specific until that possibility is eliminated.

Good luck and keep the community updated as you learn more about the issue.

After a few hours of tinkering with the equipment and code I managed to get all the way to pinging, but hit the wall there, again. This time I get an error: +CME ERROR: operation not allowed so we might be very close. Here is the activation string: