Lines Matching refs:service_data
1543 p_data && p_data->service_data.len != 0) in btm_ble_build_adv_data()
1545 if (len > (p_data->service_data.service_uuid.len + MIN_ADV_LENGTH)) in btm_ble_build_adv_data()
1547 if (p_data->service_data.len > (len - MIN_ADV_LENGTH)) in btm_ble_build_adv_data()
1548 cp_len = len - MIN_ADV_LENGTH- p_data->service_data.service_uuid.len; in btm_ble_build_adv_data()
1550 cp_len = p_data->service_data.len; in btm_ble_build_adv_data()
1552 *p++ = cp_len + 1 + p_data->service_data.service_uuid.len; in btm_ble_build_adv_data()
1553 if (p_data->service_data.service_uuid.len == LEN_UUID_16) in btm_ble_build_adv_data()
1556 UINT16_TO_STREAM(p, p_data->service_data.service_uuid.uu.uuid16); in btm_ble_build_adv_data()
1558 else if (p_data->service_data.service_uuid.len == LEN_UUID_32) in btm_ble_build_adv_data()
1561 UINT32_TO_STREAM(p, p_data->service_data.service_uuid.uu.uuid32); in btm_ble_build_adv_data()
1566 ARRAY_TO_STREAM(p, p_data->service_data.service_uuid.uu.uuid128, in btm_ble_build_adv_data()
1570 ARRAY_TO_STREAM(p, p_data->service_data.val, cp_len); in btm_ble_build_adv_data()
1572 len -= (cp_len + MIN_ADV_LENGTH + p_data->service_data.service_uuid.len); in btm_ble_build_adv_data()