Using Javascript Azure Functions Process Telemetry Message From IoT Hub And Get Device ID
使用Javascript Azure Functions 处理IoT Hub消息并解析出Device ID 创建Azure Functions 的过程可参照:Azure IoT Hub入门系列 (11)- 10分钟实现Azure Function 通过IoT Hub Trigger处理设备到云的消息(Java) - 51Azure.cloud index.js 代码参考如下: module.exports = function (context, IoTHubMessages) { context.log(`JavaScript eventhub trigger function called for message array: ${IoTHubMessages}`); for (var x = 0; x < IoTHubMessages. …