mirror of
https://github.com/esphome/esphome.git
synced 2024-06-26 10:35:18 +02:00
Change suggested by CI
This commit is contained in:
parent
600cd40439
commit
ebecee7bd8
|
@ -35,7 +35,7 @@ static esp_ble_adv_params_t ble_adv_params = {
|
||||||
.adv_filter_policy = ADV_FILTER_ALLOW_SCAN_ANY_CON_ANY,
|
.adv_filter_policy = ADV_FILTER_ALLOW_SCAN_ANY_CON_ANY,
|
||||||
};
|
};
|
||||||
|
|
||||||
#define ENDIAN_CHANGE_U16(x) ((((x) & 0xFF00) >> 8) + (((x) & 0xFF) << 8))
|
#define ENDIAN_CHANGE_U16(x) ((((x) &0xFF00) >> 8) + (((x) &0xFF) << 8))
|
||||||
|
|
||||||
static const esp_ble_ibeacon_head_t IBEACON_COMMON_HEAD = {
|
static const esp_ble_ibeacon_head_t IBEACON_COMMON_HEAD = {
|
||||||
.flags = {0x02, 0x01, 0x06}, .length = 0x1A, .type = 0xFF, .company_id = {0x4C, 0x00}, .beacon_type = {0x02, 0x15}};
|
.flags = {0x02, 0x01, 0x06}, .length = 0x1A, .type = 0xFF, .company_id = {0x4C, 0x00}, .beacon_type = {0x02, 0x15}};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user