
- 98 -
AT$APIOPT
Enable API Optional Header Fields
<SendParam3>
0 = Disable sending of Parameter 3 data in the optional header
1 = Enable sending of Parameter 3 data in the optional header
Notes
When a message is formatted for transmission via the event engine (UDP, TCP,
SMS, or serial), we call the function to retrieve/increment the sequence number.
The sequence number is passed to the task that actually makes the decision
about what to do with the message. If the message is SMS or serial, the sequence
number doesn't actually get used in the end, but does get incremented.
To support the hex modem ID feature, each MDMID character must be a decimal
character between '0' and '9'. If the MDMID contains a character outside of this
range, the hex MDMID will be the NULL string. If all MDMID characters are
decimal characters, then the decimal MDMID is converted into the hexadecimal
equivalent value.
Examples
This example will disable the sending of the MDMID, enable the Msg Event Format
and enable the full Event Sequence Number.
AT$APIOPT=0,1,4
This example will disable the sending of the MDMID, enable the Msg Event
Format, enable the full Event Sequence Number, and enable sending of Parameter
3 data in the optional header
AT$APIOPT=0,1,4,0,0,0,0,1
This example will enable the sending of the MDMID and the least two significant
bytes of the Event Sequence Number. The state of the Enable Msg Event Format
will remain unchanged
AT$APIOPT=1,,2
This example will enable the sending of the MDMID and disable the Msg Event
Format. The state of the Event Seq Num will remain unchanged
AT$APIOPT=1,0
Hex Modem ID Examples:
AT$APIOPT=0,,,,,1
MDMID - "001036000211071"
{07}{07}{F1}{36}{6C}{B0}{7F}
Содержание MT 3060 R
Страница 13: ...1 Introduction...
Страница 17: ...5 General Commands...
Страница 34: ...22 Network Commands...
Страница 41: ...29 AT MDSTAT Query Modem Status 6 bad message format 7 connect fail Notes...
Страница 62: ...50 ME TA Commands...
Страница 69: ...57 SMS Commands...
Страница 94: ...82 API Commands...
Страница 95: ...83 TCP API Commands...
Страница 107: ...95 Message Commands...
Страница 111: ...99 AT APIOPT Enable API Optional Header Fields MDMID 99 03 07 63 MDMID 999999999999999999A 03 07 00...
Страница 138: ...126 Event Commands...
Страница 157: ...145 RTC Commands...
Страница 164: ...152 FOTA Commands...
Страница 171: ...159 FTP Commands...
Страница 177: ...165 AT FFS Generic Flash File System Access OK...
Страница 188: ...176 IP Router Commands...
Страница 192: ...180 GPS Commands...
Страница 222: ...210...
Страница 223: ...211 Battery Commands...
Страница 227: ...215 OBD Commands...
Страница 246: ...234...
Страница 248: ...236 Miscellaneous Commands...
Страница 256: ...244 Accelerometer Commands...
Страница 269: ...257 Event Tables...
Страница 284: ...272 Bit Field Tables...
Страница 313: ...301 Appendix Result Codes...
Страница 314: ...302 Appendix A Result Codes...
Страница 318: ...306 Appendix Error Codes...
Страница 319: ...307 Appendix B Error Codes...