CC2541 BLE
Robotice driver for SensorTag a Bluetooth Low Engery (BLE GATT) device
Requirements
- pkg bluez
- pkg gatttool
- pip pexpect
Usage
Search device MAC
hcitool lescan
# LE Scan ...
# 78:A5:04:8C:25:A7 (unknown)
# 78:A5:04:8C:25:A7 (SensorTag)
# 78:A5:04:8C:25:A7 (unknown)
# 78:A5:04:8C:25:A7 (SensorTag)
# ...
Get sensor data
python cc2541 78:A5:04:8C:25:A7
in while cycle
python cc2541 78:A5:04:8C:25:A7 -r