Skip to content

Commit ef60059

Browse files
espressif-botxieqinan
authored andcommitted
esp-zigbee-sdk: (79cb709a)
1 parent 72c8527 commit ef60059

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+37
-8
lines changed

components/esp-zigbee-lib/idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "1.6.7"
1+
version: "1.6.8"
22
description: esp-zigbee library component
33
url: https://github.com/espressif/esp-zigbee-sdk
44
dependencies:

components/esp-zigbee-lib/include/aps/esp_zigbee_aps.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,20 @@ esp_err_t esp_zb_aps_set_fragment_interframe_delay(uint8_t delay_ms);
271271
*/
272272
uint8_t esp_zb_aps_get_fragment_interframe_delay(void);
273273

274+
/**
275+
* @brief Set the authenticated state of the device in the APS layer.
276+
*
277+
* @param[in] authenticated The authenticated state to be set.
278+
*/
279+
void esp_zb_aps_set_authenticated(bool authenticated);
280+
281+
/**
282+
* @brief Check whether the device is authenticated.
283+
*
284+
* @return true if authenticated, otherwise false.
285+
*/
286+
bool esp_zb_aps_is_authenticated();
287+
274288
#ifdef __cplusplus
275289
}
276290
#endif

components/esp-zigbee-lib/include/esp_zigbee_version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
#endif
1616

1717
#ifndef ESP_ZB_VER_PATCH
18-
#define ESP_ZB_VER_PATCH 7
18+
#define ESP_ZB_VER_PATCH 8
1919
#endif

components/esp-zigbee-lib/include/nwk/esp_zigbee_nwk.h

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,14 +244,14 @@ void esp_zb_get_long_address(esp_zb_ieee_addr_t addr);
244244
uint16_t esp_zb_get_short_address(void);
245245

246246
/**
247-
* @brief Set the Zigbee network extended PAN ID.
247+
* @brief Set the extended PAN ID used by the Zigbee device for joining or forming a network.
248248
*
249249
* @param ext_pan_id An 64-bit of extended PAN ID, which is presented in little-endian.
250250
*/
251251
void esp_zb_set_extended_pan_id(const esp_zb_ieee_addr_t ext_pan_id);
252252

253253
/**
254-
* @brief Get the Zigbee network extended PAN ID.
254+
* @brief Get the extended PAN ID of Zigbee device.
255255
*
256256
* @note This function will return back a pointer to 64-bit of extended PAN ID.
257257
*
@@ -379,6 +379,22 @@ uint8_t esp_zb_nwk_get_link_status_period(void);
379379
*/
380380
esp_err_t esp_zb_nwk_set_link_status_period(uint8_t period);
381381

382+
/**
383+
* @brief Set the nwkExtendedPANID attribute in the NIB.
384+
*
385+
* @param[in] ext_pan_id A 64-bit extended PAN ID in little-endian format to be set in the NIB.
386+
*/
387+
void esp_zb_nwk_set_extended_pan_id(esp_zb_ext_pan_id_t ext_pan_id);
388+
389+
/**
390+
* @brief Get the nwkExtendedPANID attribute from the NIB.
391+
*
392+
* @param[out] ext_pan_id A 64-bit extended PAN ID in little-endian format retrieved from the NIB,
393+
* which represents the extended PAN ID of the network to which the device is joined.
394+
* If the value is 0x0000000000000000, the device is not connected to any network.
395+
*/
396+
void esp_zb_nwk_get_extended_pan_id(esp_zb_ext_pan_id_t ext_pan_id);
397+
382398
#ifdef __cplusplus
383399
}
384400
#endif

components/esp-zigbee-lib/include/zdo/esp_zigbee_zdo_command.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,6 @@ typedef void (*esp_zb_zdo_node_desc_callback_t)(esp_zb_zdp_status_t zdo_status,
127127
*
128128
* @note User's callback get response from the remote device that local node wants to get power descriptor response.
129129
*
130-
* @param[in] zdo_status The ZDO response status, refer to `esp_zb_zdp_status`
131-
* @param[in] addr A short address of the device response, 0xFFFF - invalid address
132130
* @param[in] power_desc A pointer to the power desc, refer to esp_zb_af_node_power_desc_t
133131
* @param[in] user_ctx User information context, set in `esp_zb_zdo_power_desc_req()`
134132
*
@@ -472,7 +470,7 @@ typedef void (*esp_zb_zdo_scan_complete_callback_t)(esp_zb_zdp_status_t zdo_stat
472470
*
473471
* @param[in] status The status of callback, refer to esp_zb_zdp_status_t
474472
* @param[in] count The size of energy detect list
475-
* @param[in] ed_list The list of energy detect information, refer to esp_zb_energy_detect_channel_info_t
473+
* @param[in] channel_info The energy detect information of channels, refer to esp_zb_energy_detect_channel_info_t
476474
*
477475
*/
478476
typedef void (*esp_zb_zdo_energy_detect_callback_t)(esp_zb_zdp_status_t status, uint16_t count,
@@ -501,7 +499,8 @@ typedef void (*esp_zb_zdo_mgmt_lqi_rsp_callback_t)(const esp_zb_zdo_mgmt_lqi_rsp
501499
*
502500
* @brief A ZDO Mgmt_NWK_Update_req callback for user to get status of request.
503501
*
504-
* @param[in] zdo_status The ZDO response status, refer to `esp_zb_zdp_status`
502+
* @param[in] notify The notification structure of ZDO mgmt nwk update, refer to esp_zb_zdo_mgmt_update_notify_t
503+
* @param[in] user_ctx User information context, set in `esp_zb_zdo_mgmt_nwk_update_req()`
505504
*
506505
*/
507506
typedef void (*esp_zb_zdo_mgmt_nwk_update_notify_callback_t)(const esp_zb_zdo_mgmt_update_notify_t *notify, void *user_ctx);
3.42 KB
Binary file not shown.
-2.12 KB
Binary file not shown.
1.04 KB
Binary file not shown.
876 Bytes
Binary file not shown.
8.94 KB
Binary file not shown.

0 commit comments

Comments
 (0)