-
Notifications
You must be signed in to change notification settings - Fork 222
Commit 7322196
Add BLEPermission Support to BLEStringCharacteristic
5 years ago, support for encryption was added by #156.
Currently, the BLEEncryption tag needs to be added to require proper encrypted bluetooth pairing.
It is possible to add this tag to all other kinds of characteristics except String characteristics.
BLEStringCharacteristic's constructor calls BLECharacteristic's constructor, and BLECharacteristic
uses a uint16_t instead of a uint8_t.
This PR simply changes the properties attribute of BLEStringCharacteristic to match the width of
the permissions attribute of BLECharacteristic (from 8 to 16 bits) to support the BLEPermission
tags in BLEProperty.h.1 parent c91c02c commit 7322196
2 files changed
+2
-2
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 | - | ||
22 | + | ||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 | - | ||
30 | + | ||
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
|
0 commit comments