Example of a call waiting situation, Examples about short messages – Multi-Tech Systems CDMA Wireless Modem User Manual

Page 172

Advertising
background image

Chapter 21 – AT Command Examples

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

172

Example of a Call Waiting Situation

When the MS is Powered On.

AT+CMEE=1

Enable the reporting of mobile equipment errors

OK
ATD8585551212;

Make

a

voice

call

OK

ATD

Command

is

being

processed

+WORG:8585551212

Indication of call origination sent to the Base Station with dialing string 18001234567

+WCNT:3

Call

Connected

with

CDMA

Service Option 3, Traffic channel established.


Conversation…

Conversation

with

first

call.


+CCWA:”8582701234”,129

Indication of another incoming call. You will also hear a beep sound in the earpiece.

AT+WFSH

Send a flash to the Base Station (toggle to the second call).

OK

AT

command

is

being

executed.

+WFSH

Flash sent to the Base Station. Call switches to the second call. However, this is not 100%
guaranteed because the there is no confirmation from the Base Station.


Conversation…

Conversation

with

second

call.


Repeat as Necessary


ATH

Release

the

all

calls.

OK

ATH

command

is

being

executed.

+WEND:10

Calls

End

Examples About Short Messages

Example 1: Receive a Short Message

AT+CNMI=2,1,1,1,0

SMS-DELIVERs are stored in NV, SMS-STATUS-REPORTs are routed to TE

OK

+CMTI:"MT",0

New message received. Message store in “MT” memory at index 0.


AT+CNMI=2,2,1,1,0

SMS-DELIVERs

are

routed

to

TE


+CMT:"8585551212","02/05/17,10 :43 :07",129,1,2,0,”5550000”,17
Test

SMS

Message

Received

message.


AT+CNMA

Acknowledge the received message to the network.

OK

Example 2: Send a Short Message

AT+CNMI=2,1,1,1,0

SMS-DELIVERs

are

stored in NV, SMS-STATUS-REPORTs are routed to TE

OK

AT+CMGS=”8585551212”

Send a SMS-SUBMIT to mobile phone
Product sends a 4 characters sequence: 0x0D 0x0A 0x3E 0x20

This is the first text line

Edit first line and press carriage return (<CR>, 0x0D)

This is the last text line

Edit last line and send message by pressing <ctrl-Z> (0x1A)

+CMGS: 1

Success: message reference 1 is returned from the SMS Service Center

+CDS:2,1,"8582431439",129,"02/05/17,10 :14 :17","02/05/17,10 :14 :27",32768

Success: report of successful message delivery received. Time of sending of the message
and receiving of the acknowledgment from the SMS Service Center is reported, along with
the status code.

Advertising