/Zephyr-latest/samples/net/sockets/coap_download/src/ |
D | main.c | 34 static void on_coap_response(int16_t result_code, size_t offset, const uint8_t *payload, size_t len, in on_coap_response() argument 37 LOG_INF("CoAP response, result_code=%d, offset=%u, len=%u", result_code, offset, len); in on_coap_response() 39 if ((COAP_RESPONSE_CODE_CONTENT == result_code) && last_block) { in on_coap_response() 46 } else if (COAP_RESPONSE_CODE_CONTENT != result_code) { in on_coap_response() 47 LOG_ERR("Error during CoAP download, result_code=%d", result_code); in on_coap_response()
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | mpl.c | 1352 uint8_t result_code = MEDIA_PROXY_CMD_SUCCESS; in inactive_state_command_handler() local 1372 result_code = MEDIA_PROXY_CMD_PLAYER_INACTIVE; in inactive_state_command_handler() 1402 result_code = MEDIA_PROXY_CMD_CANNOT_BE_COMPLETED; in inactive_state_command_handler() 1426 result_code = MEDIA_PROXY_CMD_CANNOT_BE_COMPLETED; in inactive_state_command_handler() 1432 result_code = MEDIA_PROXY_CMD_NOT_SUPPORTED; in inactive_state_command_handler() 1436 return result_code; in inactive_state_command_handler() 1441 uint8_t result_code = MEDIA_PROXY_CMD_SUCCESS; in playing_state_command_handler() local 1477 result_code = MEDIA_PROXY_CMD_CANNOT_BE_COMPLETED; in playing_state_command_handler() 1511 result_code = MEDIA_PROXY_CMD_CANNOT_BE_COMPLETED; in playing_state_command_handler() 1531 result_code = MEDIA_PROXY_CMD_CANNOT_BE_COMPLETED; in playing_state_command_handler() [all …]
|
D | mcs.c | 658 .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() 1176 uint8_t result_code = client->search_control_point_result; in notify_cb() local 1178 LOG_DBG("Notifying search control point - result: %d", result_code); in notify_cb() 1179 notify(BT_UUID_MCS_SEARCH_CONTROL_POINT, &result_code, sizeof(result_code)); in notify_cb() 1185 client->cmd_ntf.requested_opcode, client->cmd_ntf.result_code); in notify_cb() 1365 void media_proxy_sctrl_search_cb(uint8_t result_code) in media_proxy_sctrl_search_cb() argument 1369 UINT_TO_POINTER(result_code)); in media_proxy_sctrl_search_cb()
|
D | media_proxy_internal.h | 71 void (*search)(uint8_t result_code);
|
D | media_proxy.c | 575 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()
|
D | mcc.c | 1118 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-latest/subsys/bluetooth/services/ots/ |
D | ots_client.c | 241 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-latest/include/zephyr/bluetooth/audio/ |
D | media_proxy.h | 77 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);
|
D | mcc.h | 373 uint8_t result_code);
|
/Zephyr-latest/include/zephyr/net/ |
D | coap_client.h | 48 typedef void (*coap_client_response_cb_t)(int16_t result_code,
|
/Zephyr-latest/samples/net/sockets/coap_download/ |
D | README.rst | 82 [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-latest/tests/bluetooth/tester/src/audio/btp/ |
D | btp_mcp.h | 320 uint8_t result_code; member 327 uint8_t result_code; member
|
/Zephyr-latest/tests/bsim/bluetooth/audio/src/ |
D | media_controller_test.c | 420 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()
|
D | mcc_test.c | 366 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-latest/tests/bluetooth/tester/src/audio/ |
D | btp_mcp.c | 383 ev.result_code = ntf->result_code; in btp_send_command_notifications_ev() 389 uint8_t result_code) in btp_send_search_notifications_ev() argument 396 ev.result_code = result_code; in btp_send_search_notifications_ev() 621 static void mcc_search_ntf_cb(struct bt_conn *conn, int err, uint8_t result_code) in mcc_search_ntf_cb() argument 626 result_code); in mcc_search_ntf_cb()
|
/Zephyr-latest/subsys/bluetooth/audio/shell/ |
D | mcc.c | 409 err, ntf->requested_opcode, ntf->result_code); in mcc_cmd_ntf_cb() 414 ntf->requested_opcode, ntf->result_code); in mcc_cmd_ntf_cb() 444 static void mcc_search_ntf_cb(struct bt_conn *conn, int err, uint8_t result_code) in mcc_search_ntf_cb() argument 449 err, result_code); in mcc_search_ntf_cb() 454 result_code); in mcc_search_ntf_cb()
|
D | media_controller.c | 322 plr, cmd_ntf->requested_opcode, cmd_ntf->result_code); in command_recv_cb() 347 static void search_recv_cb(struct media_player *plr, int err, uint8_t result_code) in search_recv_cb() argument 354 shell_print(ctx_shell, "Player: %p, Search result code: %u", plr, result_code); in search_recv_cb()
|