I build a wearable based on esp32 witch connects to an iOS app. It would be great if my customers could see the current battery level in the default iOS widget. To do so, you have to implement the custom at-command „HFP Command AT+XAPL“.
In Detail it is described here: 13.1 page 66:
https://developer.apple.com/accessories ... pdf#page66
Did anyone implement this? Or does this only works for bluetoooth and not Bluetooth LE?
Thanks a lot
Esp32 in iOS battery widget use HFP Command AT+XAPL
-
- Posts: 2
- Joined: Tue Apr 23, 2019 5:41 pm
Re: Esp32 in iOS battery widget use HFP Command AT+XAPL
Did you get any answer about this? I would like to do the same with BLE.
Cheers.
Cheers.
-
- Posts: 2
- Joined: Wed May 06, 2020 11:46 am
Re: Esp32 in iOS battery widget use HFP Command AT+XAPL
I have implemented AT+XAPL command. But for this you have to make changes to the ESP32 IDF framework and add functions implementing APPLE command. There is no direct function available that can be used to send custom AT commands.
Re: Esp32 in iOS battery widget use HFP Command AT+XAPL
can you please share the changes @sudhirmetaliya
-
- Posts: 2
- Joined: Wed May 06, 2020 11:46 am
Re: Esp32 in iOS battery widget use HFP Command AT+XAPL
I have attached the changes.txt file, follow the instructions mentioned in it to make the respective changes in ESP-IDF. All the details like dir, file name, line number and changes to be made are mentioned in the file.
- Attachments
-
- changes.txt
- (3.7 KiB) Downloaded 86 times
Who is online
Users browsing this forum: No registered users and 23 guests