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.
Diff: Indicator/RemoteCommandIndicator.cpp
- Revision:
- 6:5f31ddc17239
- Parent:
- 0:837e6c48e90d
diff -r 945b89c71902 -r 5f31ddc17239 Indicator/RemoteCommandIndicator.cpp --- a/Indicator/RemoteCommandIndicator.cpp Thu Nov 05 23:03:42 2015 +0000 +++ b/Indicator/RemoteCommandIndicator.cpp Sat Nov 14 16:42:36 2015 +0000 @@ -9,7 +9,7 @@ return data[1]; } -char * RemoteCommandIndicator::getRequestCommand() +unsigned char * RemoteCommandIndicator::getRequestCommand() { return data + 12; } @@ -24,7 +24,7 @@ return Address(data + 2); } -char * RemoteCommandIndicator::getParameter() +unsigned char * RemoteCommandIndicator::getParameter() { if (getParameterLength() <= 0) return NULL; @@ -32,7 +32,7 @@ return data + 15; } -char RemoteCommandIndicator::getParameter(int index) +unsigned char RemoteCommandIndicator::getParameter(int index) { return data[15 + index]; }