Skip to content

Apple notification center service for the ESP32

Notifications You must be signed in to change notification settings

Eonassis/esp32_ANCS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

I get it not through the arduino IDE, I get it through the ESP-IDF security that everyone switches to it

https://github.com/espressif/esp-idf/blob/master/examples/bluetooth/bluedroid/ble/ble_ancs/README.md

esp32_ANCS

Example of ANCS for the ESP32

original code @S-March

after a lot of trying I manage to compile for ESP32 C3, but it presents an error when sending to the board, but at least it compiles without errors

and what helped me?

oficial documentation Apple ANCS

https://developer.apple.com/library/archive/documentation/CoreBluetooth/Reference/AppleNotificationCenterServiceSpecification/Appendix/Appendix.html#//apple_ref/doc/uid/TP40013460-CH3-SW1 https://developer.apple.com/library/archive/documentation/CoreBluetooth/Reference/AppleNotificationCenterServiceSpecification/Specification/Specification.html#//apple_ref/doc/uid/TP40013460-CH1-SW7

@ParcoMolo copy #erro class MySecurity : public BLESecurityCallbacks in:

nkolban/esp32-snippets#793 (comment)

intructions for @chegewara replace path > /libraries/BLE/src in:

espressif/esp-idf#3230 (comment)

instructions for @squonk11 #erro ringbuf_type_t issue by replacing it with RingbufferType_t. in:

nkolban/esp32-snippets#933 (comment)

instructions for @vijitSingh97 #erro esp_ble_gap_update_whitelist in:

nkolban/esp32-snippets#472 (comment)

Set new Call Serial port in ESP32 C3: Serial >> to >> USBSerial

Ie ESP32 C3 Serial port:

USBSerial.begin(115200);

USBSerial.println("Hello Setup");

I uploaded the modifications made to my fork

https://github.com/Eonassis/esp32_ANCS

as i did:

1 - Download the files from this repository

2 - Delete the src folder from the path, in my case it was: C:\Users\userpc\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.7\libraries\BLE

3 - Copy the src folder from the repository to: C:\Users\userpc\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.7\libraries\BLE

3 - Delete the ESP32_BLE_Arduino folder from the path, in my case it was: C:\Users\userpc\Documents\Arduino\libraries

My arduino IDE is: 2.0.4

My esp32 libary is: 2.0.7

The ESP32 C3 is still not working, but I can already compile and send the board, when I send it here there is an error in the processor

soon more news!!!!

About

Apple notification center service for the ESP32

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 96.0%
  • C 4.0%