LBS... ??location bases service | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through June 24, 2009 ⬆ |
◄ ► |
Author | Message | |||
Tommy Andersen New member Username: Enfisk Post Number: 6 Registered: 05-2009 |
hmmm in 2 ways option... is it possible to get CellID from a SMS from nowSMS i dont think soo , but want to ask...encase Do you know how to get the info ? (CellID) | |||
Tommy Andersen New member Username: Enfisk Post Number: 7 Registered: 05-2009 |
AT Commands AT+CREG=2 and then AT+CREG? This should give you a result like: +CREG: 2,1,"1030","639E" Working through the 4 returned values, the "2" reflects the current "+CREG" setting (2 means "Enables unexpected network registration and location information messages" ), "1" indicates that the phone is registered with the network, "1030" is the Location Area Code (LAC) in hex (4144 decimal), and "639E" is the CellID (CI) in hex (25502 decimal). If the cell name itself is being broadcast as a Cell Broadcast message, it can be read in PDU format and decoded. Assuming channel 50 is being used for this, the composite command to read it is AT+CNMI=1,0,2,0,1;+CSCB=0,"50","0-15" The PDU results (unsolicited for each new broadcast) can be decoded according to GSM 03.38. Please let me know if you need further info. Can i Do this in nowSMS ?????? And can i do this on recivet SMS from useres | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 785 Registered: 08-2008 |
Hi Tommy, That could tell you what cell your modem is connected to ... but it won't tell you what cell someone who is sending you an SMS message is connected to. I'm not aware of any way to query this location information over a GSM modem. Some operators sell access to be able to query for this type of information as an LBS service, but when it is available, it involves a lot of legal agreements with the mobile operator regarding privacy issues. -- Des NowSMS Support |