You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Background: my ESP32 device advertises two BLE signals in turn. But the iOS device can only discover 1 of them, until it connect to the the peripheral.
Looks like Service Change is the thing I missed in my code, but I can't find an example how to implement this. Like should I create service 0x1801 and add characteristic 0x2A05, what FLAG do I need, and how to set the data (the range).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Background: my ESP32 device advertises two BLE signals in turn. But the iOS device can only discover 1 of them, until it connect to the the peripheral.
I found this. https://developer.apple.com/forums/thread/72343
https://stackoverflow.com/questions/73514239/how-do-i-use-the-service-changed-characteristic-to-invalidate-attributes-cache
Looks like Service Change is the thing I missed in my code, but I can't find an example how to implement this. Like should I create service 0x1801 and add characteristic 0x2A05, what FLAG do I need, and how to set the data (the range).
Can someone help, thanks.
Beta Was this translation helpful? Give feedback.
All reactions