附加信息,考虑下面的交换,使用“SN”命令作为一个例子:%ReGoo%%输入:$$$CMD>Enter:SN,AbcDeErCMD&G.AKKCMD & GT;这意味着“SN”命令执行导致“Err”,然后出现“CMD & Gt”,这意味着RNC48已经准备好下一个命令。然后我们得到“AOK”,这肯定是RN48 70作为“SN”命令的一部分输出的最后一件事,但是我们已经移动了,因为RN870已经响应“CMD & Gt”,说RN48 70准备好下一个命令,我解释说这意味着我们完成了“SN”命令。它将伪造的“AOK”和额外的“CMD & GT”转换为下一个命令的交换。此外,进一步的实验表明,“SN”命令在回响或关闭状态下的行为相同。是否有描述如何处理RN870的各种其他响应,主要是“错误”响应?以“SN”命令行为为例,显然是“AOK”一个bug出现的无序状态,还是我们必须处理一个特殊的情况?“AOK”即使在“Err”之前也应该存在吗?
以上来自于百度翻译
以下为原文
Additional info, consider the following exchange using the "SN," command as an example:
%REBOOT%
ENTER: $$$
CMD>
ENTER: SN,ABCDE
Err
CMD> AOK
CMD>
This means that the "SN," command executes resulting in "Err", then comes "CMD> " meaning the RN4870 is ready for the next command. Then we get "AOK" which must be the last thing the RN4870 outputs as a part of the "SN," command, but we have already moved on because the RN4870 has already responded "CMD> " saying that the RN4870 is ready for the next command which I interpret to mean we are DONE with the "SN," command. This rolls the bogus "AOK" and the EXTRA "CMD> " into the exchange for the next command.
Also, further experimentation indicates the "SN," command behaves the same under ECHO ON or OFF. Is there a description somewhere about how to handle the various other responses, chiefly the "Err" response, for the RN4870? Using the "SN," command behavior as an example, is the apparent out-of-order appearance of the "AOK" a bug or do we have to deal with a special case? Should the "AOK" even be there if it is preceded by "Err"?
附加信息,考虑下面的交换,使用“SN”命令作为一个例子:%ReGoo%%输入:$$$CMD>Enter:SN,AbcDeErCMD&G.AKKCMD & GT;这意味着“SN”命令执行导致“Err”,然后出现“CMD & Gt”,这意味着RNC48已经准备好下一个命令。然后我们得到“AOK”,这肯定是RN48 70作为“SN”命令的一部分输出的最后一件事,但是我们已经移动了,因为RN870已经响应“CMD & Gt”,说RN48 70准备好下一个命令,我解释说这意味着我们完成了“SN”命令。它将伪造的“AOK”和额外的“CMD & GT”转换为下一个命令的交换。此外,进一步的实验表明,“SN”命令在回响或关闭状态下的行为相同。是否有描述如何处理RN870的各种其他响应,主要是“错误”响应?以“SN”命令行为为例,显然是“AOK”一个bug出现的无序状态,还是我们必须处理一个特殊的情况?“AOK”即使在“Err”之前也应该存在吗?
以上来自于百度翻译
以下为原文
Additional info, consider the following exchange using the "SN," command as an example:
%REBOOT%
ENTER: $$$
CMD>
ENTER: SN,ABCDE
Err
CMD> AOK
CMD>
This means that the "SN," command executes resulting in "Err", then comes "CMD> " meaning the RN4870 is ready for the next command. Then we get "AOK" which must be the last thing the RN4870 outputs as a part of the "SN," command, but we have already moved on because the RN4870 has already responded "CMD> " saying that the RN4870 is ready for the next command which I interpret to mean we are DONE with the "SN," command. This rolls the bogus "AOK" and the EXTRA "CMD> " into the exchange for the next command.
Also, further experimentation indicates the "SN," command behaves the same under ECHO ON or OFF. Is there a description somewhere about how to handle the various other responses, chiefly the "Err" response, for the RN4870? Using the "SN," command behavior as an example, is the apparent out-of-order appearance of the "AOK" a bug or do we have to deal with a special case? Should the "AOK" even be there if it is preceded by "Err"?
举报