XBee modules

Dependencies:   DigiLogger

Fork of XBeeLib by Digi International Inc.

Revision:
8:b5f4a0e92249
Parent:
6:06522f3a6642
Child:
9:780db84ce891
--- a/XBee802/XBee802.h	Thu Jul 28 15:36:36 2016 +0200
+++ b/XBee802/XBee802.h	Fri Jul 29 12:10:38 2016 +0200
@@ -141,6 +141,16 @@
          */
         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
          *