DMS activation operations. More...
|zos_result_t||zn_dms_activate (const char *product_code, zos_buffer_t *server_msg)|
|Activate this device with the specified product. More...|
DMS activation operations.
Activate this device with the specified product.
Once activated, device updates with get this product's firmware.
Before the device can activate to a product it needs to be 'claimed' by your DMS account. The device is automatically claimed when developing with the SDK. In the field, a device should be claimed during manufacturing.
See the ZentriOS command documentation for more information: dms
server_msgargument, a zos_buffer_t, should be pre-configured to point to a buffer that will be populated with a message from the server. The
.datamember should point to a string buffer. The
sizeto be the size of the string buffer.
Product's code in DMS [out]
zos_buffer_t pointer to buffer to hold message from server, leave NULL if unused
- Result of API, see zos_result_t