Users Guide

: 有关蓝牙配对的更多信息请参阅 https://blog.bluetooth.com/bluetooth-pairing-part-4
[bluetooth]# agent on
[bluetooth]# default-agent
[bluetooth]# pairable on
[bluetooth]# pair XX:XX:XX:XX:XX:XX <MAC Address of Device to Pair>
[bluetooth]# connect XX:XX:XX:XX:XX:XX [CHG] Device XX:XX:XX:XX:XX:XX Connected: yes
[bluetooth]# exit
4. 配置 SPP
服务器设备
$ bluez.sdptool add --channel=22 SP
$ ./rfcomm -r listen /dev/rfcomm0 22
Waiting for connection on channel 22
Connection from XX:XX:XX:XX:XX:XX to /dev/rfcomm0 <These lines will be seen when client
comes>
Press CTRL-C for hangup
然后创建新的终端实例以屏蔽蓝牙串行上的数据。
$ cat /dev/rfcomm0
客户端设备
$ bluez.sdptool add --channel=22 SP
$ ./rfcomm -r connect /dev/rfcomm0 YY:YY:YY:YY:YY:YY 22
然后创建新的终端实例以发送数据例如新的 ssh 实例。
$ echo "test" > /dev/rfcomm0
: rfcomm 命令在此命令中不可用。如果需要您可以将二进制文件从运行 Ubuntu 16.04 或更高版本且基于 AMD64 的系统
复制到 Edge Gateway
安全性
可信平台模块 (TPM)
: 有关 TPM 的更多信息请参阅 https://developer.ubuntu.com/en/snappy/guides/security-whitepaper/
TPM 仅在安装了 TPM 硬件的产品上以及那些提供 Snappy 增强型安全支持的设备上受支持。可在 BIOS 中配置 TPM /关设置
且可在操作系统中管理。
如果 TPM 处于关闭状态设备节点 (/dev/tpm0) 不存在。
(plano)ubuntu@localhost:~$ ls /dev/tpm0
ls: cannot access /dev/tpm0: No such file or directory
如果 TPM 处于打开状态那么设备节点 (/dev/tpm0) 存在。
(plano)ubuntu@localhost:~$ ls /dev/tpm0
/dev/tpm0
Watchdog Timer (WDT)
: 有关 Watchdog Timer (WDT) 命令的更多信息请参阅 www.sat.dundee.ac.uk/~psc/watchdog/Linux-Watchdog.html
Dell 建议您默认启用 WDT以激活故障保险电路。Snappy 是一个兼容 WDT 的操作系统提供检测并从故障或意外崩溃中恢复的功
能。
设置操作系统
55