sách gpt4 ai đã đi

c# - : Azure service client and device client 之间的区别

In lại 作者:行者123 更新时间:2023-12-02 08:06:50 33 4
mua khóa gpt4 Nike

我对服务客户端和设备客户端库有点困惑。谁能解答我对此的疑问。

问题:当我通过 deviceClient 发送数据时,我无法接收数据,但当我使用服务客户端发送数据时,相同的代码可以工作。现在,xamarin 平台不支持 serviceClient 库。

此外,向物联网中心发送数据和消息之间有什么不同吗?或者两者相同。

数据 = 遥测数据

消息 = 发送至设备的消息

1 Câu trả lời

Also, Is there any different between sending data and message to iot hub. Or both are same.

Service client向您的设备发送消息,而 device client将事件数据发送到 Azure IoT 服务。

Issue: I am not able to receive data when i send it through deviceClient but same code works when i send it using service client. Now, serviceClient library is not support on xamarin platform.

那么,在本期中,谁接收数据、物联网设备或基于物联网中心的服务?

有一些官方示例您可以引用:

关于c# - : Azure service client and device client 之间的区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39853388/

33 4 0
行者123
Hồ sơ cá nhân

Tôi là một lập trình viên xuất sắc, rất giỏi!

Nhận phiếu giảm giá Didi Taxi miễn phí
Mã giảm giá Didi Taxi
Giấy chứng nhận ICP Bắc Kinh số 000000
Hợp tác quảng cáo: 1813099741@qq.com 6ren.com