Device Management Server#
API and Callbacks for the Device Management Cluster Server Component.
This component implements the server-side functionality of the Smart Energy 1.2 Device Management cluster.
API#
Set tenancy.
Get tenancy.
Set supplier for the device.
Get supplier for the device.
Set global data device information.
Set device site ID.
Get device site ID.
Set device CIN.
Get device CIN.
Set device password.
Get device password.
Device management server print.
Update device site ID.
Set device provider ID.
Set device issuer event ID.
Set device tariff type.
Publish the change of tenancy.
Publish the change of supplier.
Set device pending updates.
Get device pending updates.
Update CIN for the device.
Send the request new password response.
API Documentation#
sl_zigbee_af_device_management_set_tenancy#
bool sl_zigbee_af_device_management_set_tenancy (sl_zigbee_af_device_management_tenancy_t * tenancy, bool validateOptionalFields)
Set tenancy.
N/A | tenancy | Ver.: always |
N/A | validateOptionalFields | Ver.: always |
Returns
bool true is success
48
of file app/framework/plugin/device-management-server/device-management-server.h
sl_zigbee_af_device_management_get_tenancy#
bool sl_zigbee_af_device_management_get_tenancy (sl_zigbee_af_device_management_tenancy_t * tenancy)
Get tenancy.
N/A | tenancy | tenancy Ver.: always |
Returns
bool true is success
58
of file app/framework/plugin/device-management-server/device-management-server.h
sl_zigbee_af_device_management_set_supplier#
bool sl_zigbee_af_device_management_set_supplier (uint8_t endpoint, sl_zigbee_af_device_management_supplier_t * supplier)
Set supplier for the device.
N/A | endpoint | Ver.: always |
N/A | supplier | Ver.: always |
Returns
bool true is success
68
of file app/framework/plugin/device-management-server/device-management-server.h
sl_zigbee_af_device_management_get_supplier#
bool sl_zigbee_af_device_management_get_supplier (sl_zigbee_af_device_management_supplier_t * supplier)
Get supplier for the device.
N/A | supplier | Ver.: always |
Returns
bool true is success
77
of file app/framework/plugin/device-management-server/device-management-server.h
sl_zigbee_af_device_management_set_info_global_data#
bool sl_zigbee_af_device_management_set_info_global_data (uint32_t providerId, uint32_t issuerEventId, uint8_t tariffType)
Set global data device information.
N/A | providerId | Ver.: always |
N/A | issuerEventId | Ver.: always |
N/A | tariffType | Ver.: always |
Returns
bool true is success
88
of file app/framework/plugin/device-management-server/device-management-server.h
sl_zigbee_af_device_management_set_site_id#
bool sl_zigbee_af_device_management_set_site_id (sl_zigbee_af_device_management_site_id_t * siteId)
Set device site ID.
N/A | siteId | Ver.: always |
Returns
bool true is success
99
of file app/framework/plugin/device-management-server/device-management-server.h
sl_zigbee_af_device_management_get_site_id#
bool sl_zigbee_af_device_management_get_site_id (sl_zigbee_af_device_management_site_id_t * siteId)
Get device site ID.
N/A | siteId | Ver.: always |
Returns
bool true is success
108
of file app/framework/plugin/device-management-server/device-management-server.h
sl_zigbee_af_device_management_set_cin#
bool sl_zigbee_af_device_management_set_cin (sl_zigbee_af_device_management_c_i_n_t * cin)
Set device CIN.
N/A | cin | Ver.: always |
Returns
bool true is success
117
of file app/framework/plugin/device-management-server/device-management-server.h
sl_zigbee_af_device_management_get_cin#
bool sl_zigbee_af_device_management_get_cin (sl_zigbee_af_device_management_c_i_n_t * cin)
Get device CIN.
N/A | cin | Ver.: always |
Returns
bool true is success
126
of file app/framework/plugin/device-management-server/device-management-server.h
sl_zigbee_af_device_management_set_password#
bool sl_zigbee_af_device_management_set_password (sl_zigbee_af_device_management_password_t * password)
Set device password.
N/A | password | Ver.: always |
Returns
bool true is success
135
of file app/framework/plugin/device-management-server/device-management-server.h
sl_zigbee_af_device_management_get_password#
bool sl_zigbee_af_device_management_get_password (sl_zigbee_af_device_management_password_t * password, uint8_t passwordType)
Get device password.
N/A | password | Ver.: always |
N/A | passwordType |
Returns
bool true is success
144
of file app/framework/plugin/device-management-server/device-management-server.h
sl_zigbee_af_device_management_server_print#
void sl_zigbee_af_device_management_server_print (void )
Device management server print.
N/A |
150
of file app/framework/plugin/device-management-server/device-management-server.h
sl_zigbee_af_device_management_cluster_update_site_id#
bool sl_zigbee_af_device_management_cluster_update_site_id (sl_802154_short_addr_t dstAddr, uint8_t srcEndpoint, uint8_t dstEndpoint)
Update device site ID.
N/A | dstAddr | Ver.: always |
N/A | srcEndpoint | Ver.: always |
N/A | dstEndpoint | Ver.: always |
Returns
bool true is success
161
of file app/framework/plugin/device-management-server/device-management-server.h
sl_zigbee_af_device_management_set_provider_id#
bool sl_zigbee_af_device_management_set_provider_id (uint32_t providerId)
Set device provider ID.
N/A | providerId | Ver.: always |
Returns
bool true is success
172
of file app/framework/plugin/device-management-server/device-management-server.h
sl_zigbee_af_device_management_set_issuer_event_id#
bool sl_zigbee_af_device_management_set_issuer_event_id (uint32_t issuerEventId)
Set device issuer event ID.
N/A | issuerEventId |
Returns
bool true is success
181
of file app/framework/plugin/device-management-server/device-management-server.h
sl_zigbee_af_device_management_set_tariff_type#
bool sl_zigbee_af_device_management_set_tariff_type (sl_zigbee_af_tariff_type_t tariffType)
Set device tariff type.
N/A | tariffType | Ver.: always |
Returns
bool true is success
190
of file app/framework/plugin/device-management-server/device-management-server.h
sl_zigbee_af_device_management_cluster_publish_change_of_tenancy#
bool sl_zigbee_af_device_management_cluster_publish_change_of_tenancy (sl_802154_short_addr_t dstAddr, uint8_t srcEndpoint, uint8_t dstEndpoint)
Publish the change of tenancy.
N/A | dstAddr | Ver.: always |
N/A | srcEndpoint | Ver.: always |
N/A | dstEndpoint | Ver.: always |
Returns
bool true is success
201
of file app/framework/plugin/device-management-server/device-management-server.h
sl_zigbee_af_device_management_cluster_publish_change_of_supplier#
bool sl_zigbee_af_device_management_cluster_publish_change_of_supplier (sl_802154_short_addr_t dstAddr, uint8_t srcEndpoint, uint8_t dstEndpoint)
Publish the change of supplier.
N/A | dstAddr | Ver.: always |
N/A | srcEndpoint | Ver.: always |
N/A | dstEndpoint | Ver.: always |
Returns
bool true is success
214
of file app/framework/plugin/device-management-server/device-management-server.h
sl_zigbee_af_device_management_cluster_set_pending_updates#
void sl_zigbee_af_device_management_cluster_set_pending_updates (sl_zigbee_af_device_management_change_pending_flags_t pendingUpdatesMask)
Set device pending updates.
N/A | pendingUpdatesMask | Ver.: always |
223
of file app/framework/plugin/device-management-server/device-management-server.h
sl_zigbee_af_device_management_cluster_get_pending_updates#
void sl_zigbee_af_device_management_cluster_get_pending_updates (sl_zigbee_af_device_management_change_pending_flags_t * pendingUpdatesMask)
Get device pending updates.
N/A | pendingUpdatesMask | Ver.: always |
230
of file app/framework/plugin/device-management-server/device-management-server.h
sl_zigbee_af_device_management_cluster_update_cin#
bool sl_zigbee_af_device_management_cluster_update_cin (sl_802154_short_addr_t dstAddr, uint8_t srcEndpoint, uint8_t dstEndpoint)
Update CIN for the device.
N/A | dstAddr | Ver.: always |
N/A | srcEndpoint | Ver.: always |
N/A | dstEndpoint | Ver.: always |
Returns
bool true is success
241
of file app/framework/plugin/device-management-server/device-management-server.h
sl_zigbee_af_device_management_cluster_send_request_new_password_response#
bool sl_zigbee_af_device_management_cluster_send_request_new_password_response (uint8_t passwordType, sl_802154_short_addr_t dstAddr, uint8_t srcEndpoint, uint8_t dstEndpoint)
Send the request new password response.
N/A | passwordType | Ver.: always |
N/A | dstAddr | Ver.: always |
N/A | srcEndpoint | Ver.: always |
N/A | dstEndpoint | Ver.: always |
Returns
bool true is success
255
of file app/framework/plugin/device-management-server/device-management-server.h