Go to file
suguo.yao fed9e709dd 增加x3测试手环 2021-12-17 09:56:02 +08:00
influx 准备引及influxdb 2021-12-16 21:07:57 +08:00
model 使用sqlite记录数据,同时交叉编译有问题,在arm上编译 2021-12-16 16:28:54 +08:00
sqlite 使用sqlite记录数据,同时交叉编译有问题,在arm上编译 2021-12-16 16:28:54 +08:00
.gitignore 使用sqlite记录数据,同时交叉编译有问题,在arm上编译 2021-12-16 16:28:54 +08:00
Makefile init 2021-12-16 10:59:48 +08:00
go.mod 准备引及influxdb 2021-12-16 21:07:57 +08:00
main.go 增加x3测试手环 2021-12-17 09:56:02 +08:00
readme.md init 2021-12-16 10:59:48 +08:00

readme.md

蓝牙通讯例子

概述

希望用于通过蓝牙RSSI值判断距离的研究。

组件

  • github.com/paypal/gatt

部署

  • sudo hciconfig hci0 down
  • sudo service bluetooth stop

QA

  • Failed to open device, err:no supported devices available

    执行权限不够导致设备找不到记得sudo

  • 查看raspberrypi几位系统

    getconf LONG_BIT

  • 查看操作系统信息

    lsb_release -a

  • 直接查看系统的架构

    arch