projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
[fw/altos]
/
src
/
drivers
/
ao_rn4678.h
diff --git
a/src/drivers/ao_rn4678.h
b/src/drivers/ao_rn4678.h
index d6fea23a87ba87c26f6d3f19e2785bee7e4c2537..a4dcea38df5a060d566a99d2e95b547bb1ad7000 100644
(file)
--- a/
src/drivers/ao_rn4678.h
+++ b/
src/drivers/ao_rn4678.h
@@
-56,7
+56,7
@@
*/
*/
-#define AO_RN_REBOOT_MSG "
%REBOOT%
"
+#define AO_RN_REBOOT_MSG "
REBOOT
"
#define AO_RN_CMD_TIMEOUT AO_MS_TO_TICKS(200)
#define AO_RN_CMD_TIMEOUT AO_MS_TO_TICKS(200)
@@
-67,11
+67,14
@@
#define AO_RN_SET_NAME_CMD "SN,"
#define AO_RN_GET_NAME_CMD "GN"
#define AO_RN_SET_NAME_CMD "SN,"
#define AO_RN_GET_NAME_CMD "GN"
-#define AO_RN_SET_STATUS_STRING "
SO
,"
+#define AO_RN_SET_STATUS_STRING "
so
,"
#define AO_RN_STATUS_STRING_DISABLE " "
#define AO_RN_STATUS_STRING_DISABLE " "
+#define AO_RN_STATUS_STRING_ENABLE "%,%"
#define AO_RN_REBOOT_CMD "R,1"
#define AO_RN_REBOOT_CMD "R,1"
+#define AO_RN_VERSION_CMD "V"
+
#define AO_RN_TIMEOUT -1
#define AO_RN_ERROR 0
#define AO_RN_OK 1
#define AO_RN_TIMEOUT -1
#define AO_RN_ERROR 0
#define AO_RN_OK 1