Skip to content

Commit d5bc5b8

Browse files
committed
Prepend 'BLE_GATT_' to READ and WRITE enums to avoid clashes with ArduinoIoTCloud lib
1 parent f074724 commit d5bc5b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/BLEProperty.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ enum BLEPermission {
6363
#define ESP_GATT_PERM_WRITE_AUTHORIZATION (1 << 10) /* bit 10 - 0x0400 */
6464

6565
enum BLE_GATT_PERM_ {
66-
READ = 1 << 0,
66+
BLE_GATT_READ = 1 << 0,
6767
READ_ENCRYPTED = 1 << 1,
6868
READ_ENC_MITM = 1 << 2,
69-
WRITE = 1 << 4,
69+
BLE_GATT_WRITE = 1 << 4,
7070
WRITE_ENCRYPTED = 1 << 5,
7171
WRITE_ENC_MITM = 1 << 6,
7272
WRITE_SIGNED = 1 << 7,

0 commit comments

Comments
 (0)