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: Request/RemotePinConfigurationRequest.h
- Revision:
- 6:5f31ddc17239
- Parent:
- 4:a0f1fba6c2fb
diff -r 945b89c71902 -r 5f31ddc17239 Request/RemotePinConfigurationRequest.h --- a/Request/RemotePinConfigurationRequest.h Thu Nov 05 23:03:42 2015 +0000 +++ b/Request/RemotePinConfigurationRequest.h Sat Nov 14 16:42:36 2015 +0000 @@ -19,7 +19,7 @@ *DIGITAL_OUTPUT_DEFAULT_HIGH = 0x05, *ALTERNATE_FUNCTIONALITIES_WHERE_APPLICABLE = 0x06//0x06~0x09 */ - RemotePinConfigurationRequest(char frameID, Address * remoteAddress, Pin * pin, char function) + RemotePinConfigurationRequest(unsigned char frameID, Address * remoteAddress, Pin * pin, unsigned char function) : RemoteATCommandRequest(frameID, remoteAddress, pin->getCommand(), RemoteCommandOptions::ApplyChanges, &function, 0, 1) { } @@ -33,7 +33,7 @@ *DIGITAL_OUTPUT_DEFAULT_HIGH = 0x05, *ALTERNATE_FUNCTIONALITIES_WHERE_APPLICABLE = 0x06//0x06~0x09 */ - void setPinFunction(char function) { data[15] = function; } + void setPinFunction(unsigned char function) { data[15] = function; } }; #endif \ No newline at end of file