g-HJY / HBluetooth

Android蓝牙开发。封装了支持Android蓝牙(经典蓝牙或低功耗蓝牙)扫描,连接,以及通信的库。附带使用例子。It encapsulates a library that supports Android Bluetooth (classic Bluetooth or low-power Bluetooth) scanning, connection and communication. Attached use examples.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

与设备进行通信

is-queen opened this issue · comments

你好,我没看明白,你这里与设备进行通信,我要发给设备的命令应该放在哪里,sender.send后面是什么?

commented

你好,sender.send就是用来发送命令的,即sender.send(cmd,callback)