public interface IBluetoothData
Modifier and Type | Interface and Description |
---|---|
static interface |
IBluetoothData.OnBleDataChangeListener
接收蓝牙原始数据的接口
Interface of receiving initial data. |
Modifier and Type | Method and Description |
---|---|
int[] |
getMainboardVersion()
获取主板版本
|
boolean |
send(byte[] sendData) |
byte[] |
sendAndReceive(byte[] sendData,
int timeOut) |
void |
setOnBleDataChangeListener(IBluetoothData.OnBleDataChangeListener onDataChangeListener)
设置接收蓝牙原始数据的回调函数
setup call back function for receiving BT initial data. |
byte[] sendAndReceive(byte[] sendData, int timeOut)
boolean send(byte[] sendData)
void setOnBleDataChangeListener(IBluetoothData.OnBleDataChangeListener onDataChangeListener)
onDataChangeListener
- OnDataChangeListenerint[] getMainboardVersion()