![Tait TM8100 mobiles Скачать руководство пользователя страница 59](http://html2.mh-extra.com/html/tait/tm8100-mobiles/tm8100-mobiles_protocol-manual_3328466059.webp)
TM8100/TM8200 Computer-Controlled Data Interface (CCDI) Protocol Manual
CCR
59
© Tait Electronics Limited
April 2007
Effect
An ACK response is sent back when a command has been accepted, the
radio does not wait until the command has been executed. The ACK may
be delayed, in some cases, but usually it is sent back immediately.
2.7
CCR Negative Acknowledgements
The radio validates the received strings since the last command on the serial
port versus the CCR protocol when it sees an instance of the terminating
character <CR>. It returns either a positive or negative acknowledgement.
The negative acknowledgements are as follows.
2.7.1
Invalid CCR Command
If a string does not conform to the protocol, or there is something else
inhibiting its execution, it is rejected and a negative acknowledgement is
sent to the user. The negative acknowledgement has the following format.
Response
-ssrrxcc
Where:
Note
A command is only ever rejected with one error code.
Parameter
Value
+
ASCII ‘+’ character indicates that the command was accepted
ss
ASCII hex number ss is the size of the ack (always “01”)
x
echoes back the command identity, the first letter (R, T, A, B, S, M…)
cc
ASCII hex number cc is the checksum
Parameter
Value
-
ASCII ‘–’ character indicates that the command was rejected
ss
ASCII hex number ss is the number of characters for parameters
rr
indicates the reason for rejecting the command as follows:
■
‘02’ Checksum error
■
‘01’ Invalid command
■
‘03’ Parameter error in command
■
‘05’ Radio is busy
■
‘06’ Command is not accepted
x
echoes back the command identity, but only if the checksum in the
command was correct
cc
ASCII hex number cc is the checksum