Home
last modified time | relevance | path

Searched refs:read_result (Results 1 – 10 of 10) sorted by relevance

/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/src/ble/profile/client/
A Dgaps_client.c387 cb_data.cb_content.read_result.cause = cause; in gaps_client_read_result_cb()
393 cb_data.cb_content.read_result.type = GAPS_READ_APPEARANCE; in gaps_client_read_result_cb()
403 cb_data.cb_content.read_result.data.appearance = appearance; in gaps_client_read_result_cb()
408 cb_data.cb_content.read_result.type = GAPS_READ_DEVICE_NAME; in gaps_client_read_result_cb()
411 cb_data.cb_content.read_result.data.device_name.value_size = value_size; in gaps_client_read_result_cb()
412 cb_data.cb_content.read_result.data.device_name.p_value = p_value; in gaps_client_read_result_cb()
417 cb_data.cb_content.read_result.type = GAPS_READ_CENTRAL_ADDR_RESOLUTION; in gaps_client_read_result_cb()
420 cb_data.cb_content.read_result.data.central_addr_res = *p_value; in gaps_client_read_result_cb()
A Dsimple_ble_client.c514 cb_data.cb_content.read_result.cause = cause; in simp_ble_client_read_result_cb()
518 cb_data.cb_content.read_result.type = SIMP_READ_V1_READ; in simp_ble_client_read_result_cb()
521 cb_data.cb_content.read_result.data.v1_read.p_value = p_value; in simp_ble_client_read_result_cb()
522 cb_data.cb_content.read_result.data.v1_read.value_size = value_size; in simp_ble_client_read_result_cb()
526 cb_data.cb_content.read_result.data.v1_read.value_size = 0; in simp_ble_client_read_result_cb()
531 cb_data.cb_content.read_result.type = SIMP_READ_V3_NOTIFY_CCCD; in simp_ble_client_read_result_cb()
544 cb_data.cb_content.read_result.data.v3_notify_cccd = true; in simp_ble_client_read_result_cb()
548 cb_data.cb_content.read_result.data.v3_notify_cccd = false; in simp_ble_client_read_result_cb()
554 cb_data.cb_content.read_result.type = SIMP_READ_V4_INDICATE_CCCD; in simp_ble_client_read_result_cb()
567 cb_data.cb_content.read_result.data.v4_indicate_cccd = true; in simp_ble_client_read_result_cb()
[all …]
A Dbas_client.c472 cb_data.cb_content.read_result.cause = cause; in bas_client_read_result_cb()
476 cb_data.cb_content.read_result.type = BAS_READ_NOTIFY; in bas_client_read_result_cb()
489 cb_data.cb_content.read_result.data.notify = true; in bas_client_read_result_cb()
493 cb_data.cb_content.read_result.data.notify = false; in bas_client_read_result_cb()
499 cb_data.cb_content.read_result.type = BAS_READ_BATTERY_LEVEL; in bas_client_read_result_cb()
507 cb_data.cb_content.read_result.data.battery_level = *p_value; in bas_client_read_result_cb()
A Dgcs_client.c301 cb_data.cb_content.read_result.cause = cause; in gcs_client_read_result_cb()
302 cb_data.cb_content.read_result.handle = handle; in gcs_client_read_result_cb()
303 cb_data.cb_content.read_result.value_size = value_size; in gcs_client_read_result_cb()
304 cb_data.cb_content.read_result.p_value = p_value; in gcs_client_read_result_cb()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/example/ble_central/
A Dble_central_client_app.c1003 p_gcs_cb_data->cb_content.read_result.cause, in ble_central_gcs_client_callback()
1004 p_gcs_cb_data->cb_content.read_result.handle, in ble_central_gcs_client_callback()
1005 p_gcs_cb_data->cb_content.read_result.value_size); in ble_central_gcs_client_callback()
1007 p_gcs_cb_data->cb_content.read_result.cause, in ble_central_gcs_client_callback()
1008 p_gcs_cb_data->cb_content.read_result.handle, in ble_central_gcs_client_callback()
1009 p_gcs_cb_data->cb_content.read_result.value_size); in ble_central_gcs_client_callback()
1011 if (p_gcs_cb_data->cb_content.read_result.cause == GAP_SUCCESS) in ble_central_gcs_client_callback()
1015 p_gcs_cb_data->cb_content.read_result.p_value)); in ble_central_gcs_client_callback()
1018 for(int i=0; i< p_gcs_cb_data->cb_content.read_result.value_size; i++) in ble_central_gcs_client_callback()
1019 BLE_PRINT("0x%2X", *(p_gcs_cb_data->cb_content.read_result.p_value + i)); in ble_central_gcs_client_callback()
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/inc/bluetooth/profile/client/
A Dbas_client.h162 T_BAS_READ_RESULT read_result; member
A Dgaps_client.h141 T_GAPS_READ_RESULT read_result; member
A Dsimple_ble_client.h170 T_SIMP_READ_RESULT read_result; member
A Dgcs_client.h144 T_GCS_READ_RESULT read_result; member
/AliOS-Things-master/components/http/src/
A Dhttp_client.c595 int read_result; in httpclient_response_parse() local
648read_result = httpclient_recv_data(client, data + len, 1, HTTPCLIENT_CHUNK_SIZE - len - 1, &new_tr… in httpclient_response_parse()
652 … if ((read_result == HTTP_ECONN) || (read_result == HTTP_ECLSD && new_trf_len == 0)) { in httpclient_response_parse()
653 return read_result; in httpclient_response_parse()
655 http_debug("in loop %s %d ret %d len %d", __func__, __LINE__, read_result, len); in httpclient_response_parse()

Completed in 21 milliseconds