HBluetooth icon indicating copy to clipboard operation
HBluetooth copied to clipboard

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

Results 11 HBluetooth issues
Sort by recently updated
recently updated
newest added

经典蓝牙调连接方法没有反应

你好,为什么我添加了依赖却找不到HBluetooth这个类呢?

手机蓝牙可以搜索到,通过程序不行,Android 11

有Flutter版本的吗?

你好,最近在尝试使用这个蓝牙库,有几个问题想请教一下,期待大佬回复。 第一个,低功耗蓝牙的 UUID 怎么传,需要进行蓝牙通信。 第二个,通信时,传输 JSON 数据,应该怎么写。Demo 中的看不太明白。 sender.send(new byte[]{0x01, 0x02}, new SendCallBack() { @Override public void onSending() { Log.i(TAG, "命令发送中..."); } Demo 中 通信时,在 log 中也没看到 onSending() 和 onReceived()...

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

代码拉下来然后再三星手机上运行,扫描完成之后点击设备没有任何反应

Android14连接后收不到消息

我通过代码搜索到了经典蓝牙设备,连接的时候报错,信息是广播为被注册成功 java.lang.IllegalArgumentException: Receiver not registered: com.hjy.bluetooth.operator.impl.BluetoothScanner$2@b40af20

Receiver not registered: com.hjy.bluetooth.operator.impl.BluetoothScanner这个问题怎么能解决呢?连接connect的时候报错