@@ -77,12 +77,9 @@ typedef struct link_configuration {
77
77
uint8_t extented_pan_id [8 ]; /**< Extended pan id*/
78
78
uint8_t channel_mask [8 ]; /**< channel page and mask only supported is page 0*/
79
79
uint8_t channel_page ;/**< channel page supported pages 0*/
80
- char * PSKc_ptr ; /**< Commissioning credentials. TODO! think if we need the actual credentials*/
81
- uint8_t PSKc_len ; /**< Length of PSKc */
82
80
uint16_t key_rotation ; /**< Key rotation time in hours*/
83
81
uint32_t key_sequence ; /**< Key sequence counter */
84
82
uint16_t panId ; /**< network id*/
85
- uint8_t Protocol_id ; /**< current protocol id*/
86
83
uint8_t version ; /**< current protocol version*/
87
84
uint16_t rfChannel ; /**< current rf channel*/
88
85
uint8_t securityPolicy ; /**< Commission Security Policy*/
@@ -200,6 +197,22 @@ link_configuration_s *thread_management_configuration_get(int8_t interface_id);
200
197
*/
201
198
int thread_management_link_configuration_store (int8_t interface_id , link_configuration_s * link_config );
202
199
200
+ /** Configure extra TLVs in nanostack .
201
+ *
202
+ * Storing is asynchronous operation and this method makes a request to store link
203
+ * configuration settings. Operation will be completed in the background.
204
+ * Once settings has been stored the Thread network will be restarted with new
205
+ * configuration settings.
206
+ *
207
+ * /param interface Id of network interface. -1 if interface_id is not available.
208
+ * /param additional_ptr Pointer to the extra TLV that is to be configured in nanostack
209
+ * /param additional_len Length of the additional TLV
210
+ *
211
+ * /return 0 if store request is successful.
212
+ * /return < 0 if request is failed.
213
+ */
214
+ int thread_management_link_configuration_add (int8_t interface_id , uint8_t * additional_ptr , uint8_t additional_len );
215
+
203
216
/** Delete Thread network link configuration settings.
204
217
*
205
218
* Deletion is asynchronous operation and this method makes a request to delete link
0 commit comments