nabto_device_set_app_name()

DESCRIPTION

Set the application name of the device. This is used to identify a group of devices in the basestation and the Nabto Cloud Console to ease debugging after deployment.

DECLARATION

NABTO_DEVICE_DECL_PREFIX NabtoDeviceError NABTO_DEVICE_API
nabto_device_set_app_name(NabtoDevice* device, const char* name)

PARAMETERS

device:
[in] The device instance to perform action on
name:
[in] The application name to set

RETURN VALUES

NABTO_DEVICE_EC_OK on success NABTO_DEVICE_EC_STRING_TOO_LOG if string length > 32

EXAMPLES

None.