-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
Example esp_hid_device EDR can not be found on IPAD (IDFGH-12624) #13622
Comments
@jankens |
@zhp0406 |
@zhp0406 |
@jankens |
We previously fixed compatibility issues with Android devices (before iOS 17.4.1 was released), and I tested that the fix also works for iOS 17.4.1 devices. The commit that addressed this in the release/5.1 branch is 17752f9. |
@zhp0406 here is the git log message:
commit 8d2dbd4
|
@jankens |
@zhp0406 |
@jankens |
@zhp0406 |
For your convenience in testing, I have provided the library. You can directly replace the library at the following location: esp-idf/components/esp_phy/lib/esp32/libphy.a |
@jankens |
@zhp0406 E:\Espressif\frameworks\esp-idf-v5.1.1\dev\cino_esp32>git log
commit d922d41
commit f05aef3
|
@zhp0406 Our device which could be detect by my iPad use Standard Inquiry Mode and just response data as following. I found that ESP32 can set the Inquiry Mode by the follow function: but I cound not find how to set the response data without EIR data. |
Hi @jankens, Thanks for your reporting. This may be a compatibility issue. The HID version on ESP32 is v1.0, however, the IOS requires version v1.1 or later. There are some work to upgrade the HID version. When the human resource is available, the upgrade work will be put on the agenda. |
@boblane1 |
@jankens device name can only be exposed in extended inquiry response. BTW, BTM_INQ_RESULT_STANDARD is the default inquiry mode. If you don't want to use EIR, you can disable these two macros in #define HCI_LMP_INQ_RSSI_SUPPORTED(x) (0)
#define HCI_EXT_INQ_RSP_SUPPORTED(x) (0) |
@boblane1 |
The Inquiry_Mode configuration parameter indicates whether inquiry returns Inquiry Result events in the standard format, with RSSI, or with RSSI and extended inquiry response information. This parameter doesn't affect the EIR which the peer device has sent. After disabling |
@boblane1 |
Hi @jankens, The PC captured standard inquiry response doesn't affect the peer device sending EIR response. As I said before, the Inquiry_Mode configuration parameter only change the format of the returned Inquiry Result events. BTW, is the captured data the raw data of HCI_Inquiry_Result? Can you provide the captured inquiry response data(with EIR) of both ESP32 and CSR8811? |
@boblane1 |
We will fix this issue in the second half of the year. |
…eral major class Closes #13622
…eral major class Closes #13622
…eral major class Closes #13622
…eral major class Closes #13622
Answers checklist.
IDF version.
5.1
Espressif SoC revision.
ESP32 PICO
Operating System used.
Windows
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
CMD
Development Kit.
ESP32-PICO-MINI-02
Power Supply used.
USB
What is the expected behavior?
I use example "esp_hid_device" to implement a hid keyboard device, I found that BLE device works well on all host including WIN11, Android Phone, IPhone; But the EDR device works well only on WIN11 and Android Phone, on IPHONE, the host could not discover the hid device. how can I deal with this problem?
here is the report infomation
const unsigned char keybdReportMap[] = {
0x05, 0x01, // USAGE_PAGE (Generic Desktop)
0x09, 0x06, // USAGE (Keyboard)
0xa1, 0x01, // COLLECTION (Application)
};
What is the actual behavior?
Iphone cannot discover and list the EDR hid device
Steps to reproduce.
...
Debug Logs.
No response
More Information.
No response
The text was updated successfully, but these errors were encountered: