@@ -51,7 +51,7 @@ otMessage *otUdpNewMessage(otInstance *aInstance, const otMessageSettings *aSett
5151
5252 key = nrf_rpc_decode_uint (& ctx );
5353 if (!nrf_rpc_decoding_done_and_check (& ot_group , & ctx )) {
54- ot_rpc_report_decoding_error (OT_RPC_CMD_UDP_NEW_MESSAGE );
54+ ot_rpc_report_rsp_decoding_error (OT_RPC_CMD_UDP_NEW_MESSAGE );
5555 return msg ;
5656 }
5757
@@ -70,7 +70,7 @@ void otMessageFree(otMessage *aMessage)
7070 nrf_rpc_cbor_cmd_rsp_no_err (& ot_group , OT_RPC_CMD_MESSAGE_FREE , & ctx );
7171
7272 if (!nrf_rpc_decoding_done_and_check (& ot_group , & ctx )) {
73- ot_rpc_report_decoding_error (OT_RPC_CMD_MESSAGE_FREE );
73+ ot_rpc_report_rsp_decoding_error (OT_RPC_CMD_MESSAGE_FREE );
7474 }
7575}
7676
@@ -88,7 +88,7 @@ uint16_t otMessageGetLength(const otMessage *aMessage)
8888 ret = nrf_rpc_decode_uint (& ctx );
8989
9090 if (!nrf_rpc_decoding_done_and_check (& ot_group , & ctx )) {
91- ot_rpc_report_decoding_error (OT_RPC_CMD_MESSAGE_GET_LENGTH );
91+ ot_rpc_report_rsp_decoding_error (OT_RPC_CMD_MESSAGE_GET_LENGTH );
9292 return 0 ;
9393 }
9494
@@ -109,7 +109,7 @@ uint16_t otMessageGetOffset(const otMessage *aMessage)
109109 ret = nrf_rpc_decode_uint (& ctx );
110110
111111 if (!nrf_rpc_decoding_done_and_check (& ot_group , & ctx )) {
112- ot_rpc_report_decoding_error (OT_RPC_CMD_MESSAGE_GET_OFFSET );
112+ ot_rpc_report_rsp_decoding_error (OT_RPC_CMD_MESSAGE_GET_OFFSET );
113113 return 0 ;
114114 }
115115
@@ -142,7 +142,7 @@ uint16_t otMessageRead(const otMessage *aMessage, uint16_t aOffset, void *aBuf,
142142 }
143143
144144 if (!nrf_rpc_decoding_done_and_check (& ot_group , & ctx )) {
145- ot_rpc_report_decoding_error (OT_RPC_CMD_MESSAGE_READ );
145+ ot_rpc_report_rsp_decoding_error (OT_RPC_CMD_MESSAGE_READ );
146146 return 0 ;
147147 }
148148
0 commit comments