-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bluetooth broadcast content and scan reply settings failed, returning 0x12 #526
Comments
The ESP-Hosted is responsible to transfer the bluetooth messages from controller to stack and return path. Are you facing any kind of message drop for bluetooth in this case? If this is not ESP-Hosted bug, and if it is urgent, I would suggest checking your BlueZ configuration and the commands fired are supported and cross check with BlueZ support channel https://github.com/bluez/bluez/issues From the logs shared, I can confirm there is no issue in ESP-Hosted as such. |
Hello again, Can you please attach all the logs and git commit version used:
possibly:
we will try re-assess if the issue is at esp-hosted. we can also try to get internal bt team help (high turnover time), possibly, if it is not esp-hosted issue, just as help and not as support. |
Just to be sure, @xiezhuangwei Can you reproduce this on your native laptop, if it works with this? |
The commands you have sent are responded with invalid commands (0x12) So check your full scenario first if it works on native laptop bluetooth, first. |
Serial-COM6-15_47_00.log |
异常的 正常可以设置的。发现不需要的数据要补0,底层wifi才没报0x12错误 |
I note the difference of '0x19' in your first command. is it intentional |
Length issue discussionPure esp32-c3 testingThe bluetooth team tested with following
in bleprph esp-idf example with pure esp32-c3 and it is working fine. ESP-Hosted testingSo I had cross checked on latest master of esp-hosted FG, It is again working fine at our place. Log at Raspberry Pi
In any case, you check your commands are correct. hcitool needs specific understanding of the commands. Further, The Bluetooth messages could also be tracked to and fro using traces at: Hosted debug logsSlave
Host
|
Checklist
How often does this bug occurs?
always
Expected behavior
能正常设置广播数据和扫描回复数据
Actual behavior (suspected bug)
设置广播数据或者扫描回复数据失败
Error logs or terminal output
The text was updated successfully, but these errors were encountered: