Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: DigiLogger
Dependents: WaterLogger XbeeGateway XBee_Cooker ProjetReceiver ... more
Revision 9:780db84ce891, committed 2016-07-29
- Comitter:
- hbujanda
- Date:
- Fri Jul 29 13:10:07 2016 +0200
- Parent:
- 8:b5f4a0e92249
- Commit message:
- Automatic upload
Changed in this revision
--- a/DigiLogger.lib Fri Jul 29 12:10:38 2016 +0200 +++ b/DigiLogger.lib Fri Jul 29 13:10:07 2016 +0200 @@ -1,1 +1,1 @@ -http://developer.mbed.org/teams/Digi-International-Inc/code/DigiLogger/#58c5158b5120 +http://developer.mbed.org/teams/Digi-International-Inc/code/DigiLogger/#
--- a/XBee802/XBee802.cpp Fri Jul 29 12:10:38 2016 +0200
+++ b/XBee802/XBee802.cpp Fri Jul 29 13:10:07 2016 +0200
@@ -137,17 +137,6 @@
return Success;
}
-RadioStatus XBee802::set_tc_link_key(const uint8_t * const key, const uint16_t length)
-{
- if (key == NULL || length == 0 || length > 16) {
- return Failure;
- }
- AtCmdFrame::AtCmdResp cmdresp;
-
- cmdresp = set_param("KY", key, length);
- return cmdresp == AtCmdFrame::AtCmdRespOk ? Success : Failure;
-}
-
RadioStatus XBee802::get_node_discovery_timeout(uint16_t * const timeout_ms)
{
AtCmdFrame::AtCmdResp cmdresp;
--- a/XBee802/XBee802.h Fri Jul 29 12:10:38 2016 +0200
+++ b/XBee802/XBee802.h Fri Jul 29 13:10:07 2016 +0200
@@ -141,16 +141,6 @@
*/
RadioStatus set_network_address(uint16_t addr);
- /** set_tc_link_key - Sets key used for encryption and decryption (ZigBee trust center link key).
- * It is not recommended to set the key programmatically, because it could be read through the raw serial port bits.
- * @param key pointer to the 128-bit AES key
- * @param length size of the buffer pointed by 'key'
- * @returns
- * Success if the operation was successful,
- * Failure otherwise
- */
- RadioStatus set_tc_link_key(const uint8_t * const key, const uint16_t length);
-
/** register_node_discovery_cb - registers the callback function that will be called
* when the responses to the node discovery command arrive
*
--- a/XBeeDM/XBeeDM.cpp Fri Jul 29 12:10:38 2016 +0200
+++ b/XBeeDM/XBeeDM.cpp Fri Jul 29 13:10:07 2016 +0200
@@ -102,17 +102,6 @@
return Success;
}
-RadioStatus XBeeDM::set_tc_link_key(const uint8_t * const key, const uint16_t length)
-{
- if (key == NULL || length == 0 || length > 16) {
- return Failure;
- }
- AtCmdFrame::AtCmdResp cmdresp;
-
- cmdresp = set_param("KY", key, length);
- return cmdresp == AtCmdFrame::AtCmdRespOk ? Success : Failure;
-}
-
RadioStatus XBeeDM::get_node_discovery_timeout(uint16_t * const timeout_ms)
{
AtCmdFrame::AtCmdResp cmdresp;
--- a/XBeeDM/XBeeDM.h Fri Jul 29 12:10:38 2016 +0200
+++ b/XBeeDM/XBeeDM.h Fri Jul 29 13:10:07 2016 +0200
@@ -104,16 +104,6 @@
*/
RadioStatus get_network_id(uint16_t * const network_id);
- /** set_tc_link_key - Sets key used for encryption and decryption (ZigBee trust center link key).
- * It is not recommended to set the key programmatically, because it could be read through the raw serial port bits.
- * @param key pointer to the 128-bit AES key
- * @param length size of the buffer pointed by 'key'
- * @returns
- * Success if the operation was successful,
- * Failure otherwise
- */
- RadioStatus set_tc_link_key(const uint8_t * const key, const uint16_t length);
-
/** register_node_discovery_cb - registers the callback function that will be called
* when the responses to the node discovery command arrive
*
--- a/XBeeLib.h Fri Jul 29 12:10:38 2016 +0200 +++ b/XBeeLib.h Fri Jul 29 13:10:07 2016 +0200 @@ -16,7 +16,7 @@ #ifndef __XBEE_H_ #define __XBEE_H_ -#define XB_LIBRARY_VERSION 0x01010100U +#define XB_LIBRARY_VERSION 0x01010200U #define XB_MAJOR_VERSION ((XB_LIBRARY_VERSION >> 24) & 0xFFU) #define XB_MINOR_VERSION ((XB_LIBRARY_VERSION >> 16) & 0xFFU) #define XB_PATCH_LEVEL ((XB_LIBRARY_VERSION >> 8) & 0xFFU)
--- a/XBeeZB/XBeeZB.cpp Fri Jul 29 12:10:38 2016 +0200
+++ b/XBeeZB/XBeeZB.cpp Fri Jul 29 13:10:07 2016 +0200
@@ -261,17 +261,6 @@
return cmdresp == AtCmdFrame::AtCmdRespOk ? Success : Failure;
}
-RadioStatus XBeeZB::set_tc_link_key(const uint8_t * const key, const uint16_t length)
-{
- if (key == NULL || length == 0 || length > 16) {
- return Failure;
- }
- AtCmdFrame::AtCmdResp cmdresp;
-
- cmdresp = set_param("KY", key, length);
- return cmdresp == AtCmdFrame::AtCmdRespOk ? Success : Failure;
-}
-
void XBeeZB::radio_status_update(AtCmdFrame::ModemStatus modem_status)
{
/* Update the radio status variables */
--- a/XBeeZB/XBeeZB.h Fri Jul 29 12:10:38 2016 +0200
+++ b/XBeeZB/XBeeZB.h Fri Jul 29 13:10:07 2016 +0200
@@ -211,16 +211,6 @@
*/
RadioStatus set_encryption_options(const uint8_t options);
- /** set_tc_link_key - Sets key used for encryption and decryption (ZigBee trust center link key).
- * It is not recommended to set the key programmatically, because it could be read through the raw serial port bits.
- * @param key pointer to the 128-bit AES key
- * @param length size of the buffer pointed by 'key'
- * @returns
- * Success if the operation was successful,
- * Failure otherwise
- */
- RadioStatus set_tc_link_key(const uint8_t * const key, const uint16_t length);
-
/** register_node_discovery_cb - registers the callback function that will be called
* when the responses to the node discovery command arrive
*