Closed feed4rz closed 2 years ago
Dear @feed4rz oh sorry thats of course not good. We don't have any AppleSilicon HW to test, but I will test this with an older iPad. It's always the same, as soon as a new iOS version appears, Apple's Bluetooth policy and requirements are changing :-1:
Greetings
Have you been able to reproduce the issue?
Dear @feed4rz ,
sorry it took me so long, all our iPads were used in lectures. I've tested the current esp32_mouse_keyboard firmware (v0.3) on an iPad 6th gen with following results:
I can test it with iOS 15, but as you are requesting iOS 14.7.1, I don't think there will be a difference here.
what version of the code are you using? If you are using the master branch, would it be possible for you to test the v0.3 release?
Greetings
Hi @feed4rz , I've got another hint: Is it possible that your iPhone 12 does not support BLE4.0 devices? According to the BT-SIG FAQs there should be compatibility between a 5.0 central and a 4.0 peripheral, but you never now.
If it is possible, could you try a BLE example of the esp-idf to test if the ESP is discoverable with this firmware?
Greetings
Is it possible that your iPhone 12 does not support BLE4.0 devices? According to the BT-SIG FAQs there should be compatibility between a 5.0 central and a 4.0 peripheral, but you never now.
Oh sorry, I missed that you tried it with an iPhone8 too. Is updating iOS an option for you? According to the Apple community, ~170 people have issues with discovering BLE devices: https://discussions.apple.com/thread/253031699 Here are some suggestions to fix this problem, but I'm not an Apple expert to rate the quality of those: https://wccftech.com/how-to/how-to-fix-bluetooth-issues-after-updating-to-ios-14-and-ipados-14/
Greetings
Dear @feed4rz
I finally found an iPhone to reproduce this issue, but I'm not quite sure if it would be helpful:
iPhone 6
iOS 12.5.1
I try to have regular access to this phone, but cannot promise anything.
@benjaminaigner I would like to add same behaviour in Fire Tv as well. I am using this firmware on C3F.
@manimathma THX for the report, this was a quick build :-).
If it is possible: could you please test if your device is discoverable with the new Espressif example:
esp-idf/examples/bluetooth/esp_hid_device/
If this works, I have at least the possibility to check differences (@feed4rz Would this be possible for you too?)
THX, Greetings
@benjaminaigner it didn't work in both (this and esp official example). But by changing the appearance to keyboard i was able to get it to connect with this firmware. Seems like Fire Tv ignore device with generic appearance.
@manimathma
Thank you very much for this hint!!!
@feed4rz
Could you please try to change the appearance number:
To e.g.:
0x03C1
(keyboard) or
0x03C2
(mouse)
to see if it works for you?
All possible GAP appearances for HID devices are listed on page 8 in this document: https://specificationrefs.bluetooth.com/assigned-values/Appearance%20Values.pdf
Dear @manimathma & @feed4rz
is this issue resolved for you or is there something I can do?
I think if this fix works for you, I will change the appearance in general to mouse.
Greetings
@benjaminaigner
changing appearance to x03c1 or x03c2 worked for me.
Btw really appreciate everything you are doing on this project.
Also note if you are planning to migrate to esp-idf APIs, you can count me in on the work.
@manimathma
THX, we/I try our best for this repository. It is vital to have a working BLE mouse/keyboard implementation on all platforms for our FABI/FLipMouse devices. Of course I would like to thank you for the bug report and hint to fix it, otherwise we would not fix this error.
it's not working with ios 17.1
I am using ESP WROOM 32 DEVKIT V1 and when I run the program the device does not appear in the list of bluetooth devices on my iPhone.
esp logs
I ve also tried it with an older iPhone 8 but with the same iOS installed and a Macbook Pro on the Apple Silicon running Big Sur 11.6 with no luck.
Seems to be working on some old Lenovo laptop running Win10 tho.