XBee and XBee-PRO ZigBee RF modules provide cost-effective wireless connectivity to electronic devices. They are interoperable with other ZigBee PRO feature set devices, including devices from other vendors.

Dependencies:   BufferedArray

Dependents:   MBEDminiproject

Revision:
4:a0f1fba6c2fb
Parent:
3:6b205ec8624b
Child:
6:5f31ddc17239
--- a/Core/CoreAPI.h	Mon Oct 26 18:04:12 2015 +0000
+++ b/Core/CoreAPI.h	Fri Oct 30 00:38:40 2015 +0000
@@ -33,7 +33,9 @@
 #include "RouteRecordIndicator.h"
 #include "ManyToOneRouteIndicator.h"
 
-/// The core API class which responseable for processing frame data, but not the serial operation.
+/**
+* The core API class which responseable for processing frame data, but not the serial operation.
+*/
 class CoreAPI
 {
 private:
@@ -215,7 +217,7 @@
     * @returns a API frame, NULL means data not avaliable.
     */
     ManyToOneRouteIndicator * getManyToOneRoute();
-
+    
     XBeeTxStatusIndicator * sendXBeeTx16(Address * remoteAddress, OptionsBase * option, const char * payload, int offset, int length);
 
     XBeeTxStatusIndicator * sendXBeeTx64(Address * remoteAddress, OptionsBase * option, const char * payload, int offset, int length);
@@ -230,31 +232,31 @@
 
     /**
     * @param function
-    *DISABLED = 0x00,
-    *RESERVED_FOR_PIN_SPECIFIC_ALTERNATE_FUNCTIONALITIES = 0x01,
-    *ANALOG_INPUT_SINGLE_ENDED = 0x02,
-    *DIGITAL_INPUT_MONITORED = 0x03,
-    *DIGITAL_OUTPUT_DEFAULT_LOW = 0x04,
-    *DIGITAL_OUTPUT_DEFAULT_HIGH = 0x05,
-    *ALTERNATE_FUNCTIONALITIES_WHERE_APPLICABLE = 0x06//0x06~0x09
+    * DISABLED = 0x00,
+    * RESERVED_FOR_PIN_SPECIFIC_ALTERNATE_FUNCTIONALITIES = 0x01,
+    * ANALOG_INPUT_SINGLE_ENDED = 0x02,
+    * DIGITAL_INPUT_MONITORED = 0x03,
+    * DIGITAL_OUTPUT_DEFAULT_LOW = 0x04,
+    * DIGITAL_OUTPUT_DEFAULT_HIGH = 0x05,
+    * ALTERNATE_FUNCTIONALITIES_WHERE_APPLICABLE = 0x06//0x06~0x09
     */
     ATCommandIndicator * setPinFunction(Pin * pin, char function);
 
-    ATCommandIndicator * setIODetection(Pin * pins, int size);
+    ATCommandIndicator * setIODetection(Pin ** pins, int size);
 
     /**
     * @param function
-    *DISABLED = 0x00,
-    *RESERVED_FOR_PIN_SPECIFIC_ALTERNATE_FUNCTIONALITIES = 0x01,
-    *ANALOG_INPUT_SINGLE_ENDED = 0x02,
-    *DIGITAL_INPUT_MONITORED = 0x03,
-    *DIGITAL_OUTPUT_DEFAULT_LOW = 0x04,
-    *DIGITAL_OUTPUT_DEFAULT_HIGH = 0x05,
-    *ALTERNATE_FUNCTIONALITIES_WHERE_APPLICABLE = 0x06//0x06~0x09
+    * DISABLED = 0x00,
+    * RESERVED_FOR_PIN_SPECIFIC_ALTERNATE_FUNCTIONALITIES = 0x01,
+    * ANALOG_INPUT_SINGLE_ENDED = 0x02,
+    * DIGITAL_INPUT_MONITORED = 0x03,
+    * DIGITAL_OUTPUT_DEFAULT_LOW = 0x04,
+    * DIGITAL_OUTPUT_DEFAULT_HIGH = 0x05,
+    * ALTERNATE_FUNCTIONALITIES_WHERE_APPLICABLE = 0x06//0x06~0x09
     */
     RemoteCommandIndicator * setRemotePinFunction(Address * remoteAddress, Pin * pin, char function);
 
-    RemoteCommandIndicator * setRemoteIODetection(Address * remoteAddress, Pin * pins, int size);
+    RemoteCommandIndicator * setRemoteIODetection(Address * remoteAddress, Pin ** pins, int size);
 
     /// <summary>
     /// The command will immediately return an "OK" response. The data will follow in the normal API format for DIO data event.