mxchip

Sending Cloud to Device Messages using IoT DevKit and Azure IoT Hub - Device Code

坚强是说给别人听的谎言 提交于 2020-01-25 07:20:08
问题 I need to send a message from the IoT Hub to the DevKit Device. Based on https://docs.microsoft.com/en-au/azure/iot-hub/iot-hub-devguide-c2d-guidance I want to send a Direct Method as I need to manage a bank of relays. I have an IoT DevKit and have successfully configured it and are able to send device to IoT Hub messages but am looking for a sample to do this the other way. I currently can only find samples that set the device twin properties, not send direct methods. On the server-side I

An error occurred Send Events: Azure Function Output Adapter failed to write events Azure Function as Stream Analytics Job Output

╄→尐↘猪︶ㄣ 提交于 2019-12-24 21:06:05
问题 I have an Azure IoT Dev Kit MXChip and I am sending the sensor data to the IoT Hub. I have also set up the Stream Analytics Job with Input as IoT Hub and Output as SQL Server and Azure Function. The output is getting written to the SQL Database, so I am confirming that the Query is correct. When I check my stream analytics job log, I am seeing some error as below. { "channels": "Operation", "correlationId": "4a9c9b61-631a-4f4f-a403-c2869b2af66c", "description": "", "eventDataId": "97250faf