How To Capture Cell Broadcast from GSM Service Providers
AT+CNMI=2,2,2,0,0
OK
AT+CMGF=1
OK
AT+CSCB=1
OK
AT+CSCB=0
OK
+CBM: 50176,50,1,1,1
NORTH MAIN RD
For Capturing the above information We need to explore two Commands
1> AT+CNMI
Command syntax : AT+CNMI=< mode >,< mt >,< bm >,< ds >,< bfr >
2> AT+CSCB
Command syntax : AT+CSCB= < mode >, [ < mids >, [ < dcss > ] ]
To Capture the Cell Broadcast sent by Service Provider u need to first activate Cell Broadcast Capture command mentioned Above
Generally
- Airtel
- Idea
- BSNL
The following section describes these two commands (The following section is a part of GSM AT Command set from Wavecom, for more information please see the Wavecom’s AT Command set)
1> New message indication +CNMI
Description :
This command selects the procedure for message reception from the network.
Syntax :
Command syntax : AT+CNMI = < mode >,< mt >,< bm >,< ds >,< bfr >
Defined values :
< mode > : controls the processing of unsolicited result codes Only
< mode >
- : Buffer unsolicited result codes in the TA. If TA result code buffer is full, indications can be buffered in some other place or the oldest indications may be discarded and replaced with the new received indications
- : Discard indication and reject new received message unsolicited result codes when TA-TE link is reserved. Otherwise forward them directly to the TE
- : Buffer unsolicited result codes in the TA when TA-TE link is reserved and flush them to the TE after reservation. Otherwise forward them directly to the TE
- : Forward unsolicited result codes directly to the TE. TA-TE link specific inband used to embed result codes and data when TA is in on-line data mode
< mt > : sets the result code indication routing for
SMS-DELIVERs. Default is 0.
< mt >
- : No SMS-DELIVER indications are routed.
- : SMS-DELIVERs are routed using unsolicited code : +CMTI: “SM”,< index >
- : SMS-DELIVERs (except class 2 messages) are routed using unsolicited code : +CMT : [< alpha > , ] < length > < CR > < LF > < pdu > ( PDU mode ) or +CMT : < oa >,[< alpha >,] < scts > [,< tooa >, < fo >, < pid >, < dcs >, < sca >, < tosca >, < length >] < CR >< LF > < data > ( text mode )
- : Class 3 SMS-DELIVERS are routed directly using code in < mt >=2 ;
Message of other classes result in indication < mt >=1
< bm > : set the rules for storing received CBMs (Cell Broadcast Message) types depend on its coding scheme, the setting of Select CBM Types ( +CSCB command) and < bm >. Default is 0.
- : No CBM indications are routed to the TE. The CBMs are stored.
- : The CBM is stored and an indication of the memory location is routed to the customer application using unsolicited result code: +CBMI: “BM”, < index >
2: New CBMs are routed directly to the TE using unsolicited result code.
+CBM : < length >< CR >< LF >< pdu > ( PDU mode ) or
+CBM :< sn >,< mid >,< dcs >,< page >,< pages >(Text mode) < CR >< LF > < data >
3: Class 3 CBMs : as < bm >=2. Other classes CBMs : as < bm > =1.
< ds > for SMS-STATUS-REPORTs. Default is 0.
< ds >
- : No SMS-STATUS-REPORTs are routed.
- : SMS-STATUS-REPORTs are routed using unsolicited code : +CDS :
< length > < CR > < LF > < pdu > ( PDU mode ) or +CDS : < fo >,< mr >, [< ra >] , [< tora >], < scts >,< dt >,< st > ( Text mode )
- : SMS-STATUS-REPORTs are stored and routed using the unsolicited result code : +CDSI: “SR”,< index >
< bfr > Default is 0. < bfr >
- : TA buffer of unsolicited result codes defined within this command is flushed to the TE when
1…3 is entered (OK response shall be given before flushing the codes) - : TA buffer of unsolicited result codes defined within this command is cleared when
1…3 is entered.
Description :
This command selects which types of CBMs are to be received by the ME, This command is allowed in both PDU and text modes.
Syntax :
Command syntax : AT+CSCB= < mode >, [ < mids >, [ < dcss > ] ] The < bm > parameter of +CNMI command controls the message indication. Test read command (AT+CSCB ?) is not supported. The activation of CBM reception (< mode >=0) can select only specific Message Identifiers (list in
Last modified 2007-11-19 15:42