我正在尝试设置一个MQTT-SN代理(rsmb),并使用几个pi3作为客户端。
首先,我将构建一个6lowpan over ble连接。
设置pi3 (RASPBIAN JESSIE内核v4.4)
sudo su
hciconfig hci0 reset
modprobe bluetooth_6lowpan
echo 1 > /sys/kernel/debug/bluetooth/6lowpan_enable
hciconfig hci0 leadvBLE网关(Ubuntu 14.04)
sudo su
hciconfig hci0 reset
modprobe bluetooth_6lowpan
echo 35 > /sys/kernel/debug/bluetooth/6lowpan_psm
echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
echo "connect *my_pi3_bluetooth_address* 1" > /sys/kernel/debug/bluetooth/6lowpan_control
ifconfig bt0 add 2001:xxxx:xxxx:xxxx::/64
service radvd restart我的6lowpan over ble连接工作正常。
现在我想在这个连接中使用MQTT-SN协议。
如果我只使用本地连接,也没问题。
但是如果我使用6lowpan over BLE连接,我认为一些数据包会丢失。
ERROR Keep alive error: timed out while waiting for a PUBLISH gateway详细信息在这个url中。Detail
我怎样才能解决这个问题呢?
发布于 2016-10-20 15:36:23
我发现我需要拔掉网络电缆,这一切都很好。
https://stackoverflow.com/questions/40107956
复制相似问题