T_advEvent = advInterval + advDelay
advInterval = 5000/0.625 = 8000,
I put this into the
Code: Select all
struct ble_hs_adv_fields fields
Code: Select all
...
fields.adv_itvl_is_present = 1;
fields.adv_itvl = (uint16_t) 8000;
...
int rc = ble_gap_adv_set_fields(&fields);
printf("ERROR CHECK IS %d", rc)
p.s. i'm tried with idf 4.3 and 4.2.2