Select broadcast messages +cscb, Message status modification +wmsc – Multi-Tech Systems CDMA Wireless Modem User Manual

Page 65

Advertising
background image

Chapter 8 – Short Messages Commands

Multi-Tech Systems, Inc. CDMA Wireless AT Commands - PN S000294C

65

Select Broadcast Messages +CSCB

Description: This command turns on/off the reception of Broadcast SMS messages.

Values: The

<bm> parameter of +CNMI command controls the indication of an incoming BC SMS

message

.

<mode>:

0: Activates reception of BC SMS.
1: Turns off reception of BC SMS. Emergency BC SMS will be received in this mode.

Syntax:

Command syntax: AT+CSCB=<mode>

Command

Possible Responses

AT+CSCB=0
Note: Turn on reception of BC SMS

OK
Note: BC SMS can be received

+CBMI: “BC”,5
Note: A BC SMS was received, and stored in slot 5

AT+CSCB=1
Note: Turn off reception of BC SMS

OK
Note: Only Emergency BC SMS can be received.
Reception of all other BC SMS will be stopped.

Message Status Modification +WMSC

Description: This command is used to change the status of one message from preferred message

storage.


Values:

<loc> Location number of the stored message (integer)

<status> new status to be stored, as for +CMGL command :

Text Mode
“UREAD”
“READ”
“USENT”
“SENT”

Possible

responses:

OK

Location is valid and has been changed

+CMS ERROR: 341

Non-volatile memory error

+CMS ERROR: 321

Invalid index (out of range or no SMS stored)

+CMS ERROR: 302

if attempting to change Status Report SMS or if syntax is
incorrect

Note: Status of SENT or USENT indicate changing MO memory SMS. Status of READ or
UREAD implies using preferred memory. Changes are not accepted when preferred memory
is set to Status Report (all status reports are always assumed to be READ and cannot be
changed).


Syntax:

Command syntax: AT+WMSC= <loc>, <status>

Command

Possible Responses

AT+WMSC=4,”UREAD”

OK
Note: Message stored in preferred memory index 4 status
changed to NOT READ

AT+WMSC=8,”USENT”

+CMS ERROR: 321
Note: Invalid index, no message at location 8 of MO memory

AT+CPMS=”SR”
Note: Change preferred memory to Status
Report

+CPMS:1,10,4,10
OK

AT+WMSC=0,”UREAD”

+CMS ERROR: 302
Note: Cannot change Status Report messages

Advertising