Appendix A
Script Download Sequence
Determine active script:
Issue
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,<slot>,<blocks> where slot is the slot number to script will be
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<cr><lf>' to indicated it has entered data mode followed by a single 'C'
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,<slot> to activate the new script and wait for 'OK' to be
returned.
Gx64 APPLICATION NOTE
EA Remote Download
Page: 14/22
AT*E2APD?
which
returns
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
*E2APD:
<ScriptNum>,<AvlSpace>,
where
Need help?
Do you have a question about the GR64 and is the answer not in the manual?
Questions and answers