13 Jun 2019

What's new in Knox Tizen SDK for Wearables v2.3.1

By Josh (Programmer Writer)

Aligning with the new One UI updates to the Galaxy Watch, the Knox Tizen SDK for Wearables v2.3.1 is now available for download. This version includes new API calls for generating dump files, controlling the Always-On-Display (AOD) feature, and retrieving a device’s cool down mode and serial number.

 

With v2.3.1, the Knox Tizen SDK for Wearables now includes these new API methods:

 

Create a dump file

knox_result_t knox_custom_create_dump_state_log(void)

Currently, IT admins experience difficulties in organizing customers’ issues. This API lets you generate a device's dump state log file to analyze these issues and problems. This API can support both normal and ProKiosk mode.

To implement this call in your app, type:

knox_result_t ret = knox_custom_create_state_log();

 

Read a device cool down mode level

knox_result_t knox_custom_read_cool_down_mode (knox_custom_cool_down_mode* mode)

Some customers have encountered battery drain issues, leading to non-serviceable problems in their Galaxy wearables. This problem has arisen from various high battery-draining operations, such as looking for network coverage, making phone calls, and consuming large network data. Using this API, you can read the current value of the device's cool down mode to resolve, prevent, and lessen the occurrence of these battery drain issues in advance.

To implement this call in your app, type:

knox_custom_cool_down_mode mode;
knox_result_t ret;
ret = knox_custom_read_cool_down_mode(&mode);

 

Toggle Always-On-Display (AOD)

knox_result_t knox_custom_set_always_on_display_state (knox_custom_always_on_display_state_t value)

Always-On-Display (AOD) is one of the wearable’s features that requires careful battery use. In the 2.3.1 release, you can now turn the AOD mode ON or OFF on behalf of the end user to manage battery consumption and control AOD for different device scenarios.

To implement this call in your app, type:

knox_result_t ret = knox_custom_set_always_on_display_state(KNOX_CUSTOM_ALWAYS_ON_DISPLAY_STATE_ON);

 

Retrieve the serial number

mdm_data_t* mdm_get_device_serial_number(void)

Newer Samsung Galaxy wearables are identified by a serial number instead of IMEI. You can retrieve a serial number for newer devices, such as the Gear S3 BT and the Gear Sport. As a result, you can track devices in your inventory and register them for a cloud service like Knox Configure (KC) or Knox Mobile Enrollment (KME).

To implement this call in your app, type:

mdm_data_t *data = NULL;
data = mdm_get_device_serial_number();

 

Next steps