Hello all,
I would like to understand advertisement packet more.
if I add the following to my packet my firmware causes nrf51822 to crash.
advdata.include_appearance = true;
advdata.uuids_complete.uuid_cnt = sizeof(adv_uuids) / sizeof(adv_uuids[0]);
advdata.uuids_complete.p_uuids = adv_uuids;
this only happens when I add manuf_specifi_data.
manuf_specific_data.data.p_data = (uint8_t *) m_beacon_info;
manuf_specific_data.data.size = APP_BEACON_INFO_LENGTH; // 6 bytes
advdata.p_manuf_specific_data = &manuf_specific_data; // byte_array[6]
if I allow one or the other; it does not crash only when I add both.
So I must be exceeding the packet size when I add both. How can I calculate my discovery packet size?
what happens when advdata.include_appearance = true ?
Thanks, GM