error in using iothub handles
This commit is contained in:
Родитель
5299610529
Коммит
0e0ba3bace
|
@ -11,7 +11,7 @@ extern "C"
|
|||
|
||||
int
|
||||
IotComms_RegisterPnPInterfaces(
|
||||
MX_IOT_HANDLE_TAG IotHandle,
|
||||
MX_IOT_HANDLE_TAG* IotHandle,
|
||||
const char* ModelRepoId,
|
||||
DIGITALTWIN_INTERFACE_CLIENT_HANDLE* interfaces,
|
||||
int InterfaceCount
|
||||
|
|
|
@ -315,7 +315,7 @@ DiscoveryAdapter_PublishInterfaces() {
|
|||
PnpAdapterManager_GetAllInterfaces(pnpBridge->PnpMgr, &interfaces, &interfaceCount);
|
||||
|
||||
LogInfo("Publishing Azure Pnp Interface, count %d", interfaceCount);
|
||||
IotComms_RegisterPnPInterfaces(pnpBridge->IotHandle,
|
||||
IotComms_RegisterPnPInterfaces(&pnpBridge->IotHandle,
|
||||
pnpBridge->Configuration.ConnParams->DeviceCapabilityModelUri,
|
||||
interfaces, interfaceCount);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче