Skip to content

Commit

Permalink
Prepend 'BLE_GATT_' to READ and WRITE enums to avoid clashes with Ard…
Browse files Browse the repository at this point in the history
…uinoIoTCloud lib
  • Loading branch information
giulcioffi committed May 31, 2022
1 parent f074724 commit d5bc5b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/BLEProperty.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ enum BLEPermission {
#define ESP_GATT_PERM_WRITE_AUTHORIZATION (1 << 10) /* bit 10 - 0x0400 */

enum BLE_GATT_PERM_ {
READ = 1 << 0,
BLE_GATT_READ = 1 << 0,
READ_ENCRYPTED = 1 << 1,
READ_ENC_MITM = 1 << 2,
WRITE = 1 << 4,
BLE_GATT_WRITE = 1 << 4,
WRITE_ENCRYPTED = 1 << 5,
WRITE_ENC_MITM = 1 << 6,
WRITE_SIGNED = 1 << 7,
Expand Down

0 comments on commit d5bc5b8

Please sign in to comment.