WolkLoRa
1.0.0
Wolklora Repo组成了Arduino IDE示例,该示例与事物网络建立了连接。它基于RN2483-Arduino-Library。设备测量Hearbeat事件中的环境温度数据。可以使用Apropiated解码器(以下为应用程序解码器)和Wolkabout IoT Platform向导将此数据从TTN到Wolkabout IoT平台。
二手硬件:
固件依赖性:
安装以下Arduino libs(如何):
包括文件:

要将数据从TTN路由到Wolkabout IoT平台在Wolkabout IoT Platofrm上创建设备,然后将Dexoder的副本复制到TTN应用程序上的有效负载格式中。请注意,Methode'.T '的名称在VAR解码上是从Wolkabout IoT平台上的设备表现出来的。
function Decoder(bytes, port) {
// Decode an uplink message from a buffer
// (array) of bytes to an object of fields.
var decoded = {};
var type = bytes[0];
switch (type) {
case 1:
decoded.T = bytes[1] + bytes[2]/100;
break;
default:
decoded.T = bytes[0];
}
return decoded;
}