nabto_device_set_app_version()

DESCRIPTION

Set the application version the device.

DECLARATION

NABTO_DEVICE_DECL_PREFIX NabtoDeviceError NABTO_DEVICE_API
nabto_device_set_app_version(NabtoDevice* device, const char* version)

PARAMETERS

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

RETURNS

  • NABTO_DEVICE_EC_OK: on success
  • NABTO_DEVICE_EC_STRING_TOO_LOG: if string length > 32