Azure 服务总线消息传递
Azure Service bus messaging
我想将 windows phone 8.1 应用程序连接到我的 raspberry pi 运行 windows IoT (UWP)。我想知道如何实现 azure 服务总线以将数据从我的 phone 传输到 windows 物联网。我发现 this documentation
但我似乎无法安装金块包。我是否遵循了错误的文档?我需要帮助。谢谢
根据我的理解,您的需求是从 Windows Phone 发送消息并在 Respberry Pi 设备上接收它们,并通过 Azure Service Bus 等消息队列服务进行消息转置。这是一个物联网项目。
据我所知,Azure 通过 Azure IoTHub 服务支持物联网。物联网项目官方推荐的方式
因此,为了帮助您开始使用 IoTHub,请按照以下步骤操作。
- 在 Azure 上设置 IoTHub 服务,请参阅文档 Get started with Azure IoT Hub for .NET
- 从WindowsPhone发送消息,我想你可以尝试按照the blog to connect the IoTHub service and send messages. The other way is using the REST API for sending device-to-cloud message to IoTHub via HttpClient, you can refer to the UWP sample for HttpClient and the tutorial去做。
- 关于在Raspberry Pi设备上接收消息,官方有一个使用IoTHub SDK的设备示例代码,您可以参考,请参见https://github.com/Azure/azure-iot-sdks/blob/master/doc/get_started/windows10-iotcore-csharp.md。
如有任何疑问,请随时告诉我。
我想将 windows phone 8.1 应用程序连接到我的 raspberry pi 运行 windows IoT (UWP)。我想知道如何实现 azure 服务总线以将数据从我的 phone 传输到 windows 物联网。我发现 this documentation 但我似乎无法安装金块包。我是否遵循了错误的文档?我需要帮助。谢谢
根据我的理解,您的需求是从 Windows Phone 发送消息并在 Respberry Pi 设备上接收它们,并通过 Azure Service Bus 等消息队列服务进行消息转置。这是一个物联网项目。
据我所知,Azure 通过 Azure IoTHub 服务支持物联网。物联网项目官方推荐的方式
因此,为了帮助您开始使用 IoTHub,请按照以下步骤操作。
- 在 Azure 上设置 IoTHub 服务,请参阅文档 Get started with Azure IoT Hub for .NET
- 从WindowsPhone发送消息,我想你可以尝试按照the blog to connect the IoTHub service and send messages. The other way is using the REST API for sending device-to-cloud message to IoTHub via HttpClient, you can refer to the UWP sample for HttpClient and the tutorial去做。
- 关于在Raspberry Pi设备上接收消息,官方有一个使用IoTHub SDK的设备示例代码,您可以参考,请参见https://github.com/Azure/azure-iot-sdks/blob/master/doc/get_started/windows10-iotcore-csharp.md。
如有任何疑问,请随时告诉我。