Gemalto is now part of the Thales Group, find out more.

You are here

Thales IoT Developer Community

Cell ID based location / positioning with EHS6 and Combain

Showcase, April 5, 2016 - 1:52pm, 5911 views

This is a simple demo to show how to get location information, of your device, (similar to GNSS positioning) without any GPS / Glonass satellites.

1. Sends serving cell ID information to Combain service over 2G / 3G
Receives Combain positioning data (Latitude,Longitude)
EHS6 SMS server makes data available to users

Benefits:
 - Rough geographic position possible without GNSS
 - Use Cell ID or even WiFi MAC addresses!
 - Lower BOM costs and better battery life

Maps

SMS

.

.

.

.

.

.

.

.

.

.

.

Option 2: Below is some great work my collegaues did to get this informaiton using AT Commands:

-- AT Commands method on latest EHS6 rel 3

-- Register to the cellular network:
at+creg=2
OK
at+cgreg=2
OK
at+cops=0
OK
+CREG: 1,"5278","01126C28",2
+CGREG: 4
+CGREG: 1,"5278","01126C28",2,"80"
-- Set up Module Internet Services:
at^sics=0,"conType","GPRS0"
OK
at^sics=0,"apn","internet"
OK
at^sisx="Ping",0,"8.8.8.8",4,2000
^SISX: "Ping", 1, 0, "8.8.8.8", 55
^SISX: "Ping", 1, 0, "8.8.8.8", 56
^SISX: "Ping", 1, 0, "8.8.8.8", 51
^SISX: "Ping", 1, 0, "8.8.8.8", 56
^SISX: "Ping", 2, 0, 4, 4, 0, 0
^SISX: "Ping", 3, 0, 51, 56, 54

OK

at^sici?

^SICI: 0,2,0,"10.65.48.243“

OK

-- Set up the Module's special Combain service parameters (new!)

at^srvcfg="CBL","key","x35xxxxxxxxxxxxxm7f4"   <--- not a real key!

OK

at^srvctl="CBL","Crd"

^SRVCTL: "CBL","Crd",0,87

OK

-- Request that the module goes to the Combain service and tries to get location based on serving cell:

at^srvctl="CBL","Loc"

^SRVCTL: "CBL","Loc",0,51.507351,-0.127758       <-- location returned as (Latitude,Longitude)

OK

+CREG: 1,"5278","01121DA0",2

-- Turn on Module's special Combain URC ability to track changes:

at^srvcfg="CBL","urc",1

OK

at^srvctl="CBL","Start"

OK

+CREG: 1,"5278","011232E2",2

^SRVCTL: "CBL","Loc",0,25.07211,121.57459,122       <-- location returned as (Latitude,Longitude) series

OK

^SRVCTL: "CBL","Loc",0,25.07211,121.57459,122

OK

^SRVCTL: "CBL","Loc",0,25.07211,121.57459,122

OK

-- Turn off module's Combain tracking URC output:

at^srvctl="CBL","Stop"

OK

-- If you wonder how to build the attached Java ME source code, then please have a look at the Volcano Robot article to get you started:

"https://iot-developer.thalesgroup.com/tutorial/starting-out-java-me-volc..."

-- Java application does the same and sends position via SMS:

Combain Location via SMS demo
[Main]: Watchdog will do nothing if triggered.
[HardwareManager]: Configuration checks completed.
[Main]: Hardware interfaces allocated successfully.
[Main]:        ------------ Settings from JAD ------------
[Main]:        JAD combainKey:     x35xxxxxxxxxxxxxm7f4
[Main]:        JAD lookUpDelay:    35
[Main]:        JAD connectionAPN:  everywhere
[Main]:        JAD connectionUser: esecure
[Main]:        JAD connectionPass: null
[Main]:        ------------------- end -------------------
[Combain]:     Combain thread waiting to start.
...
[ConnManager]: Kicked watchdog.
[ConnManager]: Kicked watchdog.
[ConnManager]: Kicked watchdog.
 

Hello Simon,

Is it the same as EHS5 and EHS6 for Cell ID based Location use case?

Thanks.

Louis - TS China Gemalto

EHS5 and EHS6 will return similar results and accuracies as each other.

See also here:

Several other Java demos able to use Java sockets to access the Combain servers directly (no need for special AT Commands)

https://iot-developer.thalesgroup.com/showcase/cinterion-els61-connect-shield-java-demo

Author

mullengers's picture
mullengers