====== GATT Caching ====== First read: *[[https://punchthrough.com/attribute-caching-in-ble-advantages-and-pitfalls/|Attribute Caching in BLE: Advantages and Pitfalls]] Some references: * [[https://github.com/bluez/bluez/issues/191|bluetoothctl remove XX:XX:XX:XX:XX:XX does not remove cache file #191]] * [[https://community.st.com/s/question/0D50X00009XkekCSAR/service-changed-indication|Service changed indication]] * [[https://jimmywongiot.com/2021/05/25/service-change-on-ble-gatt-table/|Service Change on BLE GATT Table]] * [[https://stackoverflow.com/questions/43446918/bluez-showing-old-cached-data-on-dbus]] * ESP-IDF: * [[https://github.com/nkolban/esp32-snippets/issues/451|How to Indicate BLE 'Service Changed' (0x2A05) #451]] * [[https://github.com/espressif/esp-idf/issues/1777|How to Indicate BLE 'Service Changed' (0x2A05) #1777 ]] * [[https://github.com/espressif/esp-idf/files/1859163/service_change_demo.zip|service_change_demo.zip]] * [[https://esp32.com/viewtopic.php?t=4348|Generating Indications for Service Changed Characteristic (0x2A05) for Gatt Attribute Service (0x1801)]] * NRF * [[https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/service_gatts_c.html?cp=8_5_0_3_3_14_0#service_gatts_c_service|Service Changed indications]]