Prov_Device_Set_Provisioning_Payload()
Sets the Provisioning Data that is sent to the Provisioning service.
Syntax
#include "azure-iot-sdk-c/provisioning_client/inc/azure_prov_client/prov_device_client.h"
PROV_DEVICE_RESULT Prov_Device_Set_Provisioning_Payload(
PROV_DEVICE_HANDLE handle,
const char * json
);
Parameters
handleThe handle created by a call to the create function.jsonThe json payload field that is sent to the service. Setting json to NULL will unset the value previously set
Return Value
PROV_DEVICE_RESULT_OK upon success or an error code upon failure
Saran dan Komentar
Kirim dan lihat umpan balik untuk