如何对AllJoyn Explorer进行编程

本文关键字:编程 Explorer AllJoyn | 更新日期: 2023-09-27 18:22:02

我正在尝试使用C#开发一个UWP应用程序,该应用程序将发现网络上的所有AllJoyn生产者,并创建用于与设备(生产者)通信的消费者对象。它将非常像github上Windows 10 IoT核心示例中的AllJoyn Explorer一样,是一个普通消费者。

AllJoyn Explorer的源代码可供开发人员使用吗?

如果没有,我能得到一些见解或指导来编写这样的程序吗?

如何对AllJoyn Explorer进行编程

AllJoyn Explorer基于DeviceProviders代码:https://github.com/ms-iot/samples/tree/develop/AllJoyn/Platform/DeviceProviders

这是最重要的。我在这里把它打包成了一个易于使用的nuget包:http://www.nuget.org/packages/dotMorten.AllJoyn.DeviceProviders/

我在这里写了一个关于如何使用它的教程:https://www.hackster.io/dotMorten/discovering-and-interacting-with-any-alljoyn-device-0dbd86?ref=user&ref_id=31739&offset=0

还没有提供AllJoyn Explorer的源代码。https://ms-iot.github.io/content/en-US/win10/AllJoyn.htm您可以使用GitHub上提供的Universal示例作为一个良好的起点。https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/AllJoyn