I know, it's a quite old post, but your problem is in your initialized adv_data struct.
Code: Select all
.service_uuid_len = 128
Code: Select all
.service_uuid_len = ESP_UUID_LEN_128
Code: Select all
E (1862) BT: btc128_to_bta_uuid: Unknown UUID length 0!