cannot establish a data session

  • 1
  • Problem
  • Updated 4 years ago
  • Solved
Device shows registered on the network.  APN is set to neo.iot.net.  But I cannot establish a data session.  Tried to send an SMS from the diagnostic console but get error message.  How do I establish a data session?  Also, device doesn't seem to show any GSM activity.
Photo of Tony Valentino

Tony Valentino

  • 14 Posts
  • 0 Reply Likes
  • absolutely frustrated

Posted 4 years ago

  • 1
Photo of Bob Heckmann

Bob Heckmann, Official Rep

  • 349 Posts
  • 12 Reply Likes
Hi Tony,

What device are you using to establish a connection?

Regards,
Bob
Photo of Tony Valentino

Tony Valentino

  • 14 Posts
  • 0 Reply Likes
I am using a personal tracking device which uses a ublox lisa u120 radio.  the sim number ends in 238331
Photo of Bob Heckmann

Bob Heckmann, Official Rep

  • 349 Posts
  • 12 Reply Likes
Tony, this command should initiate a packet session with that device:

ATD*99***1#

Regards,
Bob
Photo of Tony Valentino

Tony Valentino

  • 14 Posts
  • 0 Reply Likes
Tried, but it wouldn't take the command.  Here is the log from the session:

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2015.03.26 13:27:13 =~=~=~=~=~=~=~=~=~=~=~=................................................A
ABORTED

..............AT+CGMR
11.40

OK

-[GSM Fw Ver]-[11.40]-
AT+GSN
355306040406441

OK

AT+UBANDSEL?
+UBANDSEL: 1900,850,800

OK

-[Band]-[1900,850,800]-
-[Init GSM]-[OK]-
AT+CPIN?
+CPIN: READY

OK

-[Check SIM]-[OK]-
AT+CPMS="ME","ME","ME"
+CPMS: 0,300,0,300,0,300

OK

AT+CMGF=1
OK

AT+CNMI=2,1,0,0
OK

-[Init SMS]-[OK]-
AT+USPM=0,3,0,0
OK

AT+UMGC=0,12,9843
OK

AT+USGC=3,0,0,32767,32767,32767
OK

-[Init Phone]-[OK]-
ATD*99***1#
+Sys: Command Not Find

ERROR
AT+CCLK?
+CCLK: "04/01/01,17:22:09+00"

OK

-[GSM Reset]-
-[GSM Init]-
 AT
OK

....AT&K3
OK

AT+UPSV=1,100
OK

AT+COPS=2
OK

AT+CTZU=1
OK

AT+COPS=0
.....................................................................................................................................................A
ABORTED

..............AT+CGMR
11.40

OK

-[GSM Fw Ver]-[11.40]-
AT+GSN
355306040406441

OK

AT+UBANDSEL?
+UBANDSEL: 1900,850,800

OK

-[Band]-[1900,850,800]-
-[Init GSM]-[OK]-
AT+CPIN?
+CPIN: READY

OK

-[Check SIM]-[OK]-
AT+CPMS="ME","ME","ME"
+CPMS: 0,300,0,300,0,300

OK

AT+CMGF=1
OK

AT+CNMI=2,1,0,0
OK

-[Init SMS]-[OK]-
AT+USPM=0,3,0,0
OK

AT+UMGC=0,12,9843
OK

AT+USGC=3,0,0,32767,32767,32767
OK

-[Init Phone]-[OK]-
-[GSM Reset]-
-[GSM Init]-
 AT
OK

....AT&K3
OK

AT+UPSV=1,100
OK

AT+COPS=2
OK

AT+CTZU=1
OK

AT+COPS=0
.......................


It looks like it is in a loop resetting and initializing the GSM.
Photo of Bob Heckmann

Bob Heckmann, Official Rep

  • 349 Posts
  • 12 Reply Likes
Tony,

One of our hardware engineers confirmed that either of these commands will activate a PDP context with the ublox device:

AT+CGACT=1,1
ATD*99***1#

It's possible there is a third-party application on top of the device stack that is keeping those AT commands from working (just a guess on my part as I can't be sure without knowing more about the device). It would be helpful to test the SIM in an unlocked handset or developer kit in order to isolate the bottleneck as the SIM or the device.

Regards,
Bob
Photo of Tony Valentino

Tony Valentino

  • 14 Posts
  • 0 Reply Likes
OK, I put the sim in an unlocked phone.  Sent a text message from the phone to another phone.  System shows it is sent, but it wasn't received at the other phone.  Used the other phone to send a text message to the unlocked phone with Neo Sim, and the message was received and the system.  It appears the sim is working, so the issues must be with the device.
Photo of Tony Valentino

Tony Valentino

  • 14 Posts
  • 0 Reply Likes
I checked with the manufacturer and yes that is the case.  There is an app on top of the device stack.  That app only accepts certain commands and those commands are limited to application settings.  One other thing comes to mind.  In talking with the device manufacturer, I discovered that their 3G bands are limited to 850/1900.  I don't think T-mobile uses these bands for 3G, so that may be why I cannot connect.  The radio is supposed to be able to fall back to 2G, but it may not be doing that.  Can you verify if the 850/1900 band (probably only the 1900 band) is supported on your network (which I think is Tmobile).
Photo of Bob Heckmann

Bob Heckmann, Official Rep

  • 349 Posts
  • 12 Reply Likes
Hi Tony,

Glad to hear you sorted out the AT command issue. Yes, Neo supports the 850/1900 bands.

Regards,
Bob
Photo of Tony Valentino

Tony Valentino

  • 14 Posts
  • 0 Reply Likes
Ok.  So there may be some other issue.  I stuck in a sim card from Simple Mobile.  here is the log.  The socket error is because right now, the device is pointing to a non-existent server address.  Not worried about that.  Just notice that when the device doesn't connect to 3G it does roll over to 2G, generates a fix (AGPS for now) and tries to send that data to the server.  When I replace the simple mobile sim with your sim, then it doesn't even get that far, it just goes into a never ending loop of trying to connect.  So here is the log:


ERROR

-[GSM Fw Ver]-[11.40]-
-[Band]-[1900,850,800]-
-[Init GSM]-[OK]-
-[Check SIM]-[OK]-
-[Init SMS]-[OK]-
-[Init Phone]-[OK]-
-[GSM Reset]-
-[GSM Init]-
-[GSM Fw Ver]-[11.40]-
-[Band]-[1900,850,800]-
-[Init GSM]-[OK]-
-[Check SIM]-[OK]-
-[Init SMS]-[OK]-
-[Init Phone]-[OK]-
--- Start AGPS ---
-[Network Reg]-[NG]-
--- End AGPS - ERR-CONN ---
--- Start AGPS ---
-[Network Reg]-[NG]-
--- End AGPS - ERR-CONN ---
-[GSM Reset]-
-[GSM Init]-

ERROR

-[GSM Fw Ver]-[11.40]-
-[Band]-[1900,850,800]-
-[Init GSM]-[OK]-
-[Check SIM]-[OK]-
-[Init SMS]-[OK]-
-[Init Phone]-[OK]-
-[GSM Reset]-
-[GSM Init]-
-[GSM Fw Ver]-[11.40]-
-[Band]-[900,1800,1900,850]-
-[Init GSM]-[OK]-
-[Check SIM]-[OK]-
-[Init SMS]-[OK]-
-[Init Phone]-[OK]-
--- Start AGPS ---
-[Network Reg]-[OK]-
--- End AGPS ---

-<Real Pos>-
$POS,MT900C,000000,000000,09148.7926,W,4429.5228,N,0.0,0.0,12320,4216*11

+CSQ: 3

=== Conn:SKT_ID = [0] ===
-[Try Build Conn]-
+Conn: T,0,114.32.236.11,4000
+Conn: Build ERROR

ERROR

+UUSOCL: 0

-[Close Socket]<71>(0)-
-[Send]-[201]{74}(0)-

-<Real Pos>-
$POS,MT900C,000000,000000,09130.3849,W,4421.3180,N,0.0,0.0,12320,4228*10

+CSQ: 6

=== Conn:SKT_ID = [0] ===
-[Try Build Conn]-
+Conn: T,0,114.32.236.11,4000
+Conn: Build ERROR

ERROR

+UUSOCL: 0

-[Close Socket]<71>(0)-
-[Send]-[201]{74}(0)-

-<Real Pos>-
$POS,MT900C,000000,000000,09155.5840,W,4435.6592,N,0.0,0.0,12320,4211*11

+CSQ: 3

=== Conn:SKT_ID = [0] ===
-[Try Build Conn]-
+Conn: T,0,114.32.236.11,4000
+Conn: Build ERROR
-[Close Socket]<71>(0)-
-[Send]-[201]{74}(0)-

ERROR

+UUSOCL: 0
AT+CCLK?
+CCLK: "15/03/27,10:30:10-20"

OK


-<Real Pos>-
$POS,MT900C,000000,000000,09137.7959,W,4427.2944,N,0.0,0.0,12320,4206*18

+CSQ: 4

=== Conn:SKT_ID = [0] ===
-[Try Build Conn]-
+Conn: T,0,114.32.236.11,4000
+Conn: Build ERROR
Photo of Bob Heckmann

Bob Heckmann, Official Rep

  • 349 Posts
  • 12 Reply Likes
Hi Tony,

A couple questions to help me better understand your situation:
  • is the server you're attempting to connect to publicly accessible or is it private?
  • are you able to ping a common public address, e.g. google.com or cnn.com, with the Neo SIM?

Regards,
Bob
Photo of Tony Valentino

Tony Valentino

  • 14 Posts
  • 0 Reply Likes
Right now it's private.  I will try to see if i can ping a public address with the neo sim.