random device address queries.
Posted: Wed Jul 20, 2022 11:57 am
Hi to All,
Regarding BLE5.0 multi advertising >> https://github.com/espressif/esp-idf/bl ... adv_demo.c
line 50 - 53
uint8_t addr_1m[6] = {0xc0, 0xde, 0x52, 0x00, 0x00, 0x01};
uint8_t addr_2m[6] = {0xc0, 0xde, 0x52, 0x00, 0x00, 0x02};
uint8_t addr_legacy[6] = {0xc0, 0xde, 0x52, 0x00, 0x00, 0x03};
uint8_t addr_coded[6] = {0xc0, 0xde, 0x52, 0x00, 0x00, 0x04};
1) 1 device with 1 mac address, how to have different mac address like the above?
does it mean that we use the mac address for our device but just increment the last number base on the device address we need?
2) shouldn't this random device address auto generate? why is it written in code , shouldn't it be auto generated by the function.
pls advise where can i read more about it ? gone thru documentation, still not clear. Thanks.
Regarding BLE5.0 multi advertising >> https://github.com/espressif/esp-idf/bl ... adv_demo.c
line 50 - 53
uint8_t addr_1m[6] = {0xc0, 0xde, 0x52, 0x00, 0x00, 0x01};
uint8_t addr_2m[6] = {0xc0, 0xde, 0x52, 0x00, 0x00, 0x02};
uint8_t addr_legacy[6] = {0xc0, 0xde, 0x52, 0x00, 0x00, 0x03};
uint8_t addr_coded[6] = {0xc0, 0xde, 0x52, 0x00, 0x00, 0x04};
1) 1 device with 1 mac address, how to have different mac address like the above?
does it mean that we use the mac address for our device but just increment the last number base on the device address we need?
2) shouldn't this random device address auto generate? why is it written in code , shouldn't it be auto generated by the function.
pls advise where can i read more about it ? gone thru documentation, still not clear. Thanks.