如何将数据从设备发送到物联网HUB? [英] How to send data from a device to IOT HUB?

查看:178
本文介绍了如何将数据从设备发送到物联网HUB?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Cloud Technology的新手,我想使用Android Studio将数据从Android设备发送到IoT中心,我可以通过参考

I am new to Cloud Technology and I want to send the data from Android Device to IoT Hub using Android Studio, I am able to send data using device to IoT Hub by referring to the https://docs.microsoft.com i.e; "Send device-to-cloud messages to IoT Hub"

我能够从Android Studio获取特定设备的设备ID,并希望使用Android Studio在IoT中心中显示它,

I am able to get the device ID of a particular device from Android Studio and I want it to be displayed in IoT Hub using Android Studio,

请帮助我或向某些站点推荐特定的Android设备到IOT集线器连接和数据传输

Kindly help me or refer some site for specific Android Device to IOT Hub Connectivity and Data transfer

推荐答案

在Android设备上,有两种解决方案可实现IoT中心连接和数据传输.

On Android Device,there are two solutions to implement IoT Hub Connectivity and Data transfer.

  1. 直接将数据发送到IoT中心(从设备到云)并从IoT中心(从云到设备)接收数据.您可以使用将设备连接到您的使用Java的IoT中心,在本指南中,教程向您展示了如何创建设备身份和关联的安全密钥来连接设备应用.
  2. 使用适用于Android的Node.JS应用 ="https://github.com/Azure/azure-iot-sdk-node/tree/master/device" rel ="nofollow noreferrer">用于Node.js的Azure IoT设备SDK .请注意,方式目前仅支持ARM64.
  1. Directly sending data to IoT Hub(device-to-cloud) and receiving data from IoT Hub(cloud-to-device).You can use Azure IoT Hub for Java, the Device SDK can be used on Android with the API version 17 and higher. And please refer to Connect your device to your IoT hub using Java,in this guide,tutorial shows you how to creates a device identity and associated security key to connect your device app.
  2. Make Node.JS apps for Android with Azure IoT device SDK for Node.js.Please note that this way only supports ARM64 Currently.

任何一种方法都可以满足您的需要.

Either way can implement your needs as long as you like.

这篇关于如何将数据从设备发送到物联网HUB?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆