Home
last modified time | relevance | path

Searched refs:result_code (Results 1 – 22 of 22) sorted by relevance

/Zephyr-4.3.0/samples/net/sockets/coap_download/src/
Dmain.c39 LOG_INF("CoAP response, result_code=%d, offset=%u, len=%u", data->result_code, data->offset, in on_coap_response()
42 if ((COAP_RESPONSE_CODE_CONTENT == data->result_code) && data->last_block) { in on_coap_response()
49 } else if (COAP_RESPONSE_CODE_CONTENT != data->result_code) { in on_coap_response()
50 LOG_ERR("Error during CoAP download, result_code=%d", data->result_code); in on_coap_response()
/Zephyr-4.3.0/samples/net/sockets/coap_upload/src/
Dmain.c31 if (data->result_code < 0) { in response_cb()
38 if (data->result_code != COAP_RESPONSE_CODE_CHANGED) { in response_cb()
47 if (data->result_code != COAP_RESPONSE_CODE_CONTINUE) { in response_cb()
58 LOG_ERR("Error during CoAP upload, result_code=%d", data->result_code); in response_cb()
/Zephyr-4.3.0/subsys/bluetooth/audio/
Dmpl.c1353 uint8_t result_code = MEDIA_PROXY_CMD_SUCCESS; in inactive_state_command_handler() local
1373 result_code = MEDIA_PROXY_CMD_PLAYER_INACTIVE; in inactive_state_command_handler()
1403 result_code = MEDIA_PROXY_CMD_CANNOT_BE_COMPLETED; in inactive_state_command_handler()
1427 result_code = MEDIA_PROXY_CMD_CANNOT_BE_COMPLETED; in inactive_state_command_handler()
1433 result_code = MEDIA_PROXY_CMD_NOT_SUPPORTED; in inactive_state_command_handler()
1437 return result_code; in inactive_state_command_handler()
1442 uint8_t result_code = MEDIA_PROXY_CMD_SUCCESS; in playing_state_command_handler() local
1478 result_code = MEDIA_PROXY_CMD_CANNOT_BE_COMPLETED; in playing_state_command_handler()
1512 result_code = MEDIA_PROXY_CMD_CANNOT_BE_COMPLETED; in playing_state_command_handler()
1532 result_code = MEDIA_PROXY_CMD_CANNOT_BE_COMPLETED; in playing_state_command_handler()
[all …]
Dmcs.c658 .result_code = BT_MCS_OPC_NTF_NOT_SUPPORTED, in write_control_point()
674 .result_code = BT_MCS_OPC_NTF_CANNOT_BE_COMPLETED, in write_control_point()
744 const uint8_t result_code = BT_MCS_SCP_NTF_FAILURE; in write_search_control_point() local
748 notify(BT_UUID_MCS_SEARCH_CONTROL_POINT, &result_code, sizeof(result_code)); in write_search_control_point()
1170 uint8_t result_code = client->search_control_point_result; in notify_cb() local
1172 LOG_DBG("Notifying search control point - result: %d", result_code); in notify_cb()
1173 notify(BT_UUID_MCS_SEARCH_CONTROL_POINT, &result_code, sizeof(result_code)); in notify_cb()
1179 client->cmd_ntf.requested_opcode, client->cmd_ntf.result_code); in notify_cb()
1359 void media_proxy_sctrl_search_cb(uint8_t result_code) in media_proxy_sctrl_search_cb() argument
1363 UINT_TO_POINTER(result_code)); in media_proxy_sctrl_search_cb()
Dmedia_proxy_internal.h71 void (*search)(uint8_t result_code);
Dmedia_proxy.c575 ntf->requested_opcode, ntf->result_code); in mcc_cmd_ntf_cb()
614 static void mcc_search_ntf_cb(struct bt_conn *conn, int err, uint8_t result_code) in mcc_search_ntf_cb() argument
617 LOG_ERR("Search notification error (%d), result code: %d", err, result_code); in mcc_search_ntf_cb()
621 mprx.ctrlr.cbs->search_recv(&mprx.remote_player, err, result_code); in mcc_search_ntf_cb()
2140 void media_proxy_pl_search_cb(uint8_t result_code) in media_proxy_pl_search_cb() argument
2142 mprx.sctrlr.cbs->search(result_code); in media_proxy_pl_search_cb()
2145 mprx.ctrlr.cbs->search_recv(&mprx.local_player, 0, result_code); in media_proxy_pl_search_cb()
Dmcc.c1118 if (length == sizeof(ntf.requested_opcode) + sizeof(ntf.result_code)) { in mcs_notify_handler()
1120 ntf.result_code = *((uint8_t *)data + in mcs_notify_handler()
1123 ntf.requested_opcode, ntf.result_code); in mcs_notify_handler()
1144 uint8_t result_code = 0; in mcs_notify_handler() local
1147 if (length == sizeof(result_code)) { in mcs_notify_handler()
1148 result_code = *(uint8_t *)data; in mcs_notify_handler()
1149 LOG_DBG("Result: %d", result_code); in mcs_notify_handler()
1156 mcc_cb->search_ntf(conn, cb_err, result_code); in mcs_notify_handler()
/Zephyr-4.3.0/subsys/bluetooth/services/ots/
Dots_client.c241 enum bt_gatt_ots_oacp_res_code result_code) in print_oacp_response() argument
244 LOG_DBG("Result Code : %s", lit_result[result_code]); in print_oacp_response()
248 enum bt_gatt_ots_olcp_res_code result_code) in print_olcp_response() argument
251 LOG_DBG("Result Code : %s", lit_olcp_result[result_code]); in print_olcp_response()
321 enum bt_gatt_ots_olcp_res_code result_code = in olcp_ind_handler() local
324 print_olcp_response(req_opcode, result_code); in olcp_ind_handler()
329 on_object_selected(conn, result_code, otc_inst); in olcp_ind_handler()
333 on_object_selected(conn, result_code, otc_inst); in olcp_ind_handler()
337 on_object_selected(conn, result_code, otc_inst); in olcp_ind_handler()
341 on_object_selected(conn, result_code, otc_inst); in olcp_ind_handler()
[all …]
/Zephyr-4.3.0/include/zephyr/bluetooth/audio/
Dmedia_proxy.h77 uint8_t result_code; member
816 void (*search_recv)(struct media_player *player, int err, uint8_t result_code);
1782 void media_proxy_pl_search_cb(uint8_t result_code);
Dmcc.h373 uint8_t result_code);
/Zephyr-4.3.0/include/zephyr/net/
Dcoap_client.h43 int16_t result_code; member
/Zephyr-4.3.0/samples/net/sockets/coap_download/
DREADME.rst82 [00:00:00.180,000] <inf> coap_download: CoAP response, result_code=69, offset=0, len=100
85 [00:00:00.300,000] <inf> coap_download: CoAP response, result_code=69, offset=0, len=100
/Zephyr-4.3.0/tests/bluetooth/tester/src/audio/btp/
Dbtp_mcp.h326 uint8_t result_code; member
333 uint8_t result_code; member
/Zephyr-4.3.0/doc/connectivity/networking/api/
Dcoap_client.rst71 if (data->result_code >= 0) {
72 LOG_INF("CoAP response from server %d", data->result_code);
77 LOG_ERR("Error in sending request %d", data->result_code);
/Zephyr-4.3.0/tests/bluetooth/tester/src/audio/
Dbtp_mcp.c384 ev.result_code = ntf->result_code; in btp_send_command_notifications_ev()
390 uint8_t result_code) in btp_send_search_notifications_ev() argument
397 ev.result_code = result_code; in btp_send_search_notifications_ev()
622 static void mcc_search_ntf_cb(struct bt_conn *conn, int err, uint8_t result_code) in mcc_search_ntf_cb() argument
627 result_code); in mcc_search_ntf_cb()
/Zephyr-4.3.0/tests/bsim/bluetooth/audio/src/
Dmedia_controller_test.c420 g_command_result = cmd_ntf->result_code; in command_recv_cb()
457 static void search_recv_cb(struct media_player *plr, int err, uint8_t result_code) in search_recv_cb() argument
460 FAIL("Search failed (%d), result code: %u", err, result_code); in search_recv_cb()
469 g_search_control_point_result_code = result_code; in search_recv_cb()
Dmcc_test.c366 err, ntf->requested_opcode, ntf->result_code); in mcc_cmd_ntf_cb()
370 g_command_result = ntf->result_code; in mcc_cmd_ntf_cb()
397 static void mcc_search_ntf_cb(struct bt_conn *conn, int err, uint8_t result_code) in mcc_search_ntf_cb() argument
401 err, result_code); in mcc_search_ntf_cb()
405 g_search_result = result_code; in mcc_search_ntf_cb()
/Zephyr-4.3.0/subsys/bluetooth/audio/shell/
Dmcc.c402 err, ntf->requested_opcode, ntf->result_code); in mcc_cmd_ntf_cb()
407 ntf->requested_opcode, ntf->result_code); in mcc_cmd_ntf_cb()
435 static void mcc_search_ntf_cb(struct bt_conn *conn, int err, uint8_t result_code) in mcc_search_ntf_cb() argument
439 err, result_code); in mcc_search_ntf_cb()
443 bt_shell_print("Search notification result code: %d", result_code); in mcc_search_ntf_cb()
Dmedia_controller.c323 plr, cmd_ntf->requested_opcode, cmd_ntf->result_code); in command_recv_cb()
348 static void search_recv_cb(struct media_player *plr, int err, uint8_t result_code) in search_recv_cb() argument
355 bt_shell_print("Player: %p, Search result code: %u", plr, result_code); in search_recv_cb()
/Zephyr-4.3.0/tests/net/lib/coap_client/src/
Dmain.c461 LOG_INF("CoAP response callback, %d", data->result_code); in coap_callback()
462 last_response_code = data->result_code; in coap_callback()
/Zephyr-4.3.0/subsys/net/lib/coap/
Dcoap_client.c536 .result_code = error_code, in report_callback_error()
1031 .result_code = response_code, in handle_response()
/Zephyr-4.3.0/tests/bsim/bluetooth/tester/src/
Dbsim_btp.h1086 TEST_ASSERT(ev->result_code == BT_MCS_OPC_NTF_SUCCESS); in bsim_btp_wait_for_mcp_cmd_ntf()