Skip to content
Discussion options

You must be logged in to vote

On ESP32 it uses NimBLE. So 257 would be "invalid handle", and 261 would be "insufficient authentication" (i.e. pairing required). (I thought this might be the case, it would be privacy-very-bad if you could do unauthenticated read of those characteristics from any random phone because it would allow you to track people... I'm still kind of amazed how much they let you read from an iPhone at all... this is old news, see https://hexway.io/research/apple-bleee/ but still relevant).

Ref: https://github.com/apache/mynewt-nimble/blob/master/nimble/host/include/host/ble_att.h#L62 (NimBLE adds 0x100 to these values before returning them).

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@RaspberryPiDude314
Comment options

@jimmo
Comment options

Answer selected by RaspberryPiDude314
@RaspberryPiDude314
Comment options

@jimmo
Comment options

@RaspberryPiDude314
Comment options

@RaspberryPiDude314
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
ESP32
Labels
None yet
2 participants