Skip to content

Instantly share code, notes, and snippets.

@mplewis
Last active May 15, 2023 17:45
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mplewis/6689ea724def5dc7a275 to your computer and use it in GitHub Desktop.
Save mplewis/6689ea724def5dc7a275 to your computer and use it in GitHub Desktop.
A cheat sheet for the bits in the bitmask of Android characteristic properties.

Characteristic Property Cheat Sheet

for Android Bluetooth Low Energy

Tired of remembering which properties go with which bits in the properties bitmask of a BluetoothGattCharacteristic? Me too. Here's an easy-to-read table. Source.

BluetoothGattCharacteristic

Properties

Bit Value Meaning
1 Broadcast
2 Read
4 Write Without Response
8 Write
16 Notify
32 Indicate
64 Write with Signature
128 Has Extended Properties
256 Write with Signature and MITM Protection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment