Wavenet Technology Pty Ltd. BM2900D 用户手册
Boomer II User Manual & Integrator’s Guide ________________________________ Appendix A - NCL INTERFACE
BM210012WT37
93
Copyright Wavenet Technology © November 2003
WN_GET_PROFILE_LIST Response Format:
Number of profiles (n) [1 byte]
Active profile number [1 byte]
Profile Name 1 (up to 24 byte null terminated string)
Profile Name 2 (up to 24 byte null terminated string)
.
.
.
Profile Name n (null terminated string) [24 bytes]
Active profile number [1 byte]
Profile Name 1 (up to 24 byte null terminated string)
Profile Name 2 (up to 24 byte null terminated string)
.
.
.
Profile Name n (null terminated string) [24 bytes]
Where:
Number of profiles:
Unsigned byte giving the current number of
profiles in configuration sector. The number
of profiles may change.
profiles in configuration sector. The number
of profiles may change.
Active profile number:
Unsigned byte giving the number (or index) of
the currently active profile.
Profile name:
Null terminated string of 24 bytes of length
(the string may be shorter than the 24 bytes as
long as it is followed immediately by the null
termination character). The 24 bytes do not
include the null termination character.
(the string may be shorter than the 24 bytes as
long as it is followed immediately by the null
termination character). The 24 bytes do not
include the null termination character.
NCL Label Values
Please note the following additions/clarifications to the NCL Label
Values Table:
Values Table:
CMND
ASCII
'A'
RESP
ASCII
'C'
SUCCESS ASCII
'1'
VENDOR ASCII
'Z'
VEND_MOTOROLA ASCII
'0'
VEND_WAVENET ASCII
'F'
WN_GET_STATUS ASCII
'?'
WN_GET_RADIO
ASCII 'r '
(eg NCL command ZF?r)
WN_GET_BATT_VOLT ASCII 'v'
(eg NCL command ZF?v)
WN_GET_TIME
ASCII 't'
(eg NCL command ZF?t)
WN_GET_SETTINGS
ASCII 'u'
(eg NCL command ZF?u)
WN_GET_SERIAL
ASCII ‘s’
(eg NCL command ZFts)
WN_SET_PARAM
ASCII ‘^’
(eg NCL cmd ZF^\04\00\00\01\09)
WN_GET_PARAM
ASCII ‘$’
(eg NCL commandS ZF$..)
WN_PWR_SAVE_MODE
0x7000 (eg NCL cmd ZF$\70\00 = ZF$p\00)
WN_PROFILE
0x6600 (eg NCL cmd ZF$\66\00 = ZF$f\00)
WN_MSG_RX_NOTIF_TMR
0x6E00 (eg NCL cmd ZF$\6E\00 = ZF$n\00)
WN_CMD
ASCII '*'
(eg NCL commands ZF*..)
WN_LEDS_OFF
0x45
(eg NCL cmd ZF5F\45\00\00)