John Bailey / XBeeApi

Dependencies:   CircularBuffer FixedLengthList

Dependents:   XBeeApiTest XBeeApiSimpleATCmdsExample XBeeApiBroadcastExample XBeeApiBroadcastExampleRTOS ... more

Revision:
30:9532b01a1ae1
Parent:
29:c6d037cceb02
Child:
31:c144106e55b5
diff -r c6d037cceb02 -r 9532b01a1ae1 Utility/XBeeApiCmdAt.cpp
--- a/Utility/XBeeApiCmdAt.cpp	Thu Feb 06 21:25:17 2014 +0000
+++ b/Utility/XBeeApiCmdAt.cpp	Thu Feb 06 21:26:48 2014 +0000
@@ -31,8 +31,15 @@
 #define CMD_RESPONSE_SET_PID '9'
 #define CMD_RESPONSE_GET_PID '0'
 
-extern Serial pc;
+/** Lowest channel supported by the XBee S1 */
+#define XBEE_CHAN_MIN 0x0b
+/** Highest channel supported by the XBee S1 */
+#define XBEE_CHAN_MAX 0x1a
 
+/** Lowest channel supported by the XBee S1 Pro */
+#define XBEE_PRO_CHAN_MIN 0x0c
+/** Highest channel supported by the XBee S1 Pro */
+#define XBEE_PRO_CHAN_MAX 0x17
 
 /* Content for the various commands - value of 0 indicates a value to be populated (i.e. variable) */
 
@@ -194,13 +201,6 @@
     return ret_val;
 }
 
-#define XBEE_CHAN_MIN 0x0b
-#define XBEE_CHAN_MAX 0x1a
-
-/* TODO - support XBee Pro */
-#define XBEE_PRO_CHAN_MIN 0x0c
-#define XBEE_PRO_CHAN_MAX 0x17
-
 bool XBeeApiCmdAt::setChannel( uint8_t const p_chan )
 {
     bool ret_val = false;