DMS activation operations. More...

Functions

gos_result_t gos_dms_activate (const char *product_code, gos_msgpack_object_t **response_ptr)
Activate this device with the specified product. More...

Detailed Description

DMS activation operations.

Function Documentation

gos_dms_activate()

gos_result_t gos_dms_activate ( const char * product_code,
gos_msgpack_object_t ** response_ptr
)

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' with a user who has access to the product.

See the Gecko OS command documentation for more information: dms_activate

Note
The response_ptr argument, a gos_msgpack_object_t , is optional and will contain the parsed response from the server.
Parameters
[in] product_code Product's code in DMS
[out] response_ptr gos_msgpack_object_t pointer to parsed response from server, leave NULL if unused
Returns
Result of API, see gos_result_t