View Single Post
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#6
to query Local-Area-Code and Cell-Identifier of your base station:
at+creg? (watch first digit, for later restoring)
at+creg=2
at+creg?
>> n, stat, lac, ci
Code:
<n>:
0 disable network registration unsolicited result code
1 enable network registration unsolicited result code +CREG: <stat>
2 enable network registration and location information unsolicited result code +CREG:
<stat>[,<lac>,<ci>]
<stat>:
0 not registered, ME is not currently searching a new operator to register to
1 registered, home network
2 not registered, but ME is currently searching a new operator to register to
3 registration denied
4 unknown
5 registered, roaming
<lac>: string type; two byte location area code in hexadecimal format (e.g. "00C3" equals 195 in decimal)
<ci>: string type; two byte cell ID in hexadecimal format
restore to original state (much recommended):
at+creg=0 (if your state <n> been 0 in your first at+creg?)
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N
 

The Following User Says Thank You to joerg_rw For This Useful Post: