Lines Matching full:data_len
215 BOOLEAN btsnd_hcic_ble_set_adv_data (UINT8 data_len, UINT8 *p_data)
233 if (p_data != NULL && data_len > 0)
235 if (data_len > HCIC_PARAM_SIZE_BLE_WRITE_ADV_DATA)
236 data_len = HCIC_PARAM_SIZE_BLE_WRITE_ADV_DATA;
238 UINT8_TO_STREAM (pp, data_len);
240 ARRAY_TO_STREAM (pp, p_data, data_len);
246 BOOLEAN btsnd_hcic_ble_set_scan_rsp_data (UINT8 data_len, UINT8 *p_scan_rsp)
264 if (p_scan_rsp != NULL && data_len > 0)
267 if (data_len > HCIC_PARAM_SIZE_BLE_WRITE_SCAN_RSP )
268 data_len = HCIC_PARAM_SIZE_BLE_WRITE_SCAN_RSP;
270 UINT8_TO_STREAM (pp, data_len);
272 ARRAY_TO_STREAM (pp, p_scan_rsp, data_len);