Wavecom GR64 Application Note - page 14
Appendix A
Script Download Sequence
Determine active script:
Issue AT*E2APD? which returns *E2APD:
ScriptNum is the slot number of the currently active script so the other slot should
be used for the download.
Initiate Xmodem download:
Issue AT*E2APD=0,
downloaded to and blocks is the number of 128 byte blocks required for the script
(note this value does not include the header block). The module returns
‘CONNECT
character when it is ready to accept Xmodem blocks.
Download Blocks:
Send each block in turn waiting for an acknowledgment before sending the next
block. After receiving each block the module will return one of the following:
ACK character (6) – positive acknowledge, ready for next block.
NAK character (21) – negative acknowledge, previous block should be resent.
CAN character (24) – Cancel, download has failed.
End of Transmission:
Send EOT character (4) – indicates there are no more blocks to send. Module returns
ACK, NAK or CAN as above. Once the module has returned ACK to an AOT
transmission it will send ‘OK’ to indicate a successful download.
Activate new Script:
Issue AT*E2APD=3,
returned.
Gx64 APPLICATION NOTE
EA Remote Download
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement.
Ce document est la propriété exclusive de WAVECOM. Il ne peut être communiqué ou divulgué à des tiers sans son autorisation préalable
Page: 14/22