1

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

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

如果没有,我能否获得一些见解或指南来编写这样的程序?

4

2 回答 2

1

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

于 2016-03-25T04:04:10.207 回答
1

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

于 2015-12-01T13:28:07.247 回答