
- 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}
Summary of Contents for MT 3060 R
Page 13: ...1 Introduction...
Page 17: ...5 General Commands...
Page 34: ...22 Network Commands...
Page 41: ...29 AT MDSTAT Query Modem Status 6 bad message format 7 connect fail Notes...
Page 62: ...50 ME TA Commands...
Page 69: ...57 SMS Commands...
Page 94: ...82 API Commands...
Page 95: ...83 TCP API Commands...
Page 107: ...95 Message Commands...
Page 138: ...126 Event Commands...
Page 157: ...145 RTC Commands...
Page 164: ...152 FOTA Commands...
Page 171: ...159 FTP Commands...
Page 177: ...165 AT FFS Generic Flash File System Access OK...
Page 188: ...176 IP Router Commands...
Page 192: ...180 GPS Commands...
Page 222: ...210...
Page 223: ...211 Battery Commands...
Page 227: ...215 OBD Commands...
Page 246: ...234...
Page 248: ...236 Miscellaneous Commands...
Page 256: ...244 Accelerometer Commands...
Page 269: ...257 Event Tables...
Page 284: ...272 Bit Field Tables...
Page 313: ...301 Appendix Result Codes...
Page 314: ...302 Appendix A Result Codes...
Page 318: ...306 Appendix Error Codes...
Page 319: ...307 Appendix B Error Codes...