Skip to content

Commit

Permalink
Fixed list
Browse files Browse the repository at this point in the history
  • Loading branch information
EskelCz committed Dec 18, 2018
1 parent 6fdbfe7 commit 9c2cc87
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,24 +104,24 @@ https://developer.android.com/reference/android/bluetooth/BluetoothGattCharacter
the link above is for permissions and properties constants info

Permissions:
1 - Readable
2 - Readable Encrypted
4 - Readable Encrypted MITM (Man-in-the-middle) Protection
16 - Writable
32 - Writable Encrypted
64 - Writable Encrypted MITM Protection
128 - Writable Signed
256 - Writable Signed MITM
* 1 - Readable
* 2 - Readable Encrypted
* 4 - Readable Encrypted MITM (Man-in-the-middle) Protection
* 16 - Writable
* 32 - Writable Encrypted
* 64 - Writable Encrypted MITM Protection
* 128 - Writable Signed
* 256 - Writable Signed MITM

Properties:
1 - Broadcastable
2 - Readable
4 - Writable without response
8 - Writable
16 - Supports notification
32 - Supports indication
64 - Signed Write
128 - Extended properties
* 1 - Broadcastable
* 2 - Readable
* 4 - Writable without response
* 8 - Writable
* 16 - Supports notification
* 32 - Supports indication
* 64 - Signed Write
* 128 - Extended properties

```javascript
BLEPeripheral.addCharacteristicToService('XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX', 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX', 16 | 1, 8) //this is a Characteristic with read and write permissions and notify property
Expand Down

0 comments on commit 9c2cc87

Please sign in to comment.