AN93
Rev. 1.4
251
To set up the modem for Protocol 2 SMS:
In either protocol, the host must wait for the “CONNECT”
response before it sends data. Transmission of data
before this message can result in loss of information.
After the host receives “CONNECT “, it sends the frame data followed by <DLE><ETX>.
A frame includes type,
length, payload and checksum. The frame data can contain anything, including <DLE><ETX>. No DLE shielding
is needed. <DLE><ETX> with no data for about 8ms is treated as the end of frame.
After a frame has been sent, the modem response will be: <CR><LF>OK<CR><LF>
If the host sends AT+FRM=200 immediately after the modem’s OK response to AT+FTM=201, the command may
be ignored. The host should delay at least 5 ms after <CR><LF>OK<CR><LF> and send an AT command, such as
AT+FRM=200.
On the answer modem side, the command AT+FRM=200 causes the receiver to look for at least 32 bits of CS and
for at least 60 bits of marks. The answer modem detects the
protocol of the transaction by whether CS comes
before the marks.
There can be several responses to AT+FRM=200, depending on the received data.
9.2.2.2. Response 1
If the frame had not been received within the time specified in RxTimeout, the modem response to the host would
be:
<DLE><ETX><CR><LF>NO CARRIER<CR><LF>
9.2.2.3. Response 2
If the frame had been received with a mark segment at beginning of frame, the modem would respond to the host
with:
CONNECT 1<CR><LF>
<Frame Data Received><DLE><ETX>
<CR><LF>OK <CR><LF>
No frame checking would be done by the modem; all of that would be left to the host. As shown above,
<DLE><ETX> marks the end of frame. After sending OK to the host, the modem goes back into command mode.
9.2.2.4. Response 3
If the frame had been received with channel seizure and mark segment detected at beginning of frame, the modem
would send one of the responses below to the host:
CONNECT 2<CR><LF>1<CR><LF><CR><LF>
<Frame Data Received><DLE><ETX>
<CR><LF>OK <CR><LF>
The Host does all upper level frame validations, since the modem does not do any frame checking. As shown
above, <DLE><ETX> signifies the end of frame. After the modem sends OK, it goes back to command mode.
AT:UCA,0,12C,4E
This sets up the modem for Bell 103 modulation, Protocol 2,
300 bit Channel Seizure, 78 Mark bits in the message header.
AT+FTM=202
Transmit a Protocol 2 SMS frame
<CR><LF>CONNECT <CR><LF>
Modem response to the host
AT+FRM=200
Receive an SMS frame
AT:UD2,<RxTimeout>
Set RxTimeout:
Содержание Si2404
Страница 2: ...AN93 2 Rev 1 4 ...
Страница 27: ...AN93 Rev 1 4 27 Figure 7 Parallel Interface Read Timing Figure 8 Parallel Interface Write Timing ...
Страница 200: ...AN93 200 Rev 1 4 Figure 31 TAM Handset and Speakerphone Voice Paths ...
Страница 201: ...AN93 Rev 1 4 201 Figure 32 Si3000 Codec Gain and Signal Selection Options ...
Страница 290: ...AN93 290 Rev 1 4 Figure 57 256 Band Spectral Display Figure 58 2048 Band Spectral Display ...
Страница 305: ...AN93 Rev 1 4 305 Figure 76 Parallel or SPI Port Interrupt Service Flowchart ...