Home
last modified time | relevance | path

Searched refs:ret_code (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/subsys/net/lib/mqtt_sn/
Dmqtt_sn_msg.h87 enum mqtt_sn_return_code ret_code; member
109 enum mqtt_sn_return_code ret_code; member
125 enum mqtt_sn_return_code ret_code; member
155 enum mqtt_sn_return_code ret_code; member
190 enum mqtt_sn_return_code ret_code; member
194 enum mqtt_sn_return_code ret_code; member
Dmqtt_sn_decoder.c148 params->ret_code = net_buf_simple_pull_u8(buf); in decode_msg_connack()
184 params->ret_code = net_buf_simple_pull_u8(buf); in decode_msg_regack()
217 params->ret_code = net_buf_simple_pull_u8(buf); in decode_msg_puback()
269 params->ret_code = net_buf_simple_pull_u8(buf); in decode_msg_suback()
310 params->ret_code = net_buf_simple_pull_u8(buf); in decode_msg_willtopicresp()
322 params->ret_code = net_buf_simple_pull_u8(buf); in decode_msg_willmsgresp()
Dmqtt_sn.c1194 if (p->ret_code == MQTT_SN_CODE_ACCEPTED) { in handle_connack()
1211 LOG_WRN("CONNACK ret code %d", p->ret_code); in handle_connack()
1256 response.params.regack.ret_code = MQTT_SN_CODE_ACCEPTED; in handle_register()
1272 if (p->ret_code == MQTT_SN_CODE_ACCEPTED) { in handle_regack()
1277 p->ret_code); in handle_regack()
1293 response.params.puback.ret_code = MQTT_SN_CODE_ACCEPTED; in handle_publish()
1368 if (p->ret_code == MQTT_SN_CODE_ACCEPTED) { in handle_suback()
1373 LOG_WRN("SUBACK with ret code %d", p->ret_code); in handle_suback()
Dmqtt_sn_encoder.c203 net_buf_simple_add_u8(buf, params->ret_code); in mqtt_sn_encode_msg_regack()
251 net_buf_simple_add_u8(buf, params->ret_code); in mqtt_sn_encode_msg_puback()
/Zephyr-latest/tests/net/lib/mqtt_sn_packet/src/
Dmqtt_sn_packet.c128 .ret_code = MQTT_SN_CODE_ACCEPTED
137 .ret_code = MQTT_SN_CODE_REJECTED_TOPIC_ID
174 .ret_code = MQTT_SN_CODE_ACCEPTED
203 .ret_code = MQTT_SN_CODE_REJECTED_NOTSUP
242 .ret_code = MQTT_SN_CODE_REJECTED_CONGESTION
396 .ret_code = MQTT_SN_CODE_ACCEPTED
423 .ret_code = MQTT_SN_CODE_REJECTED_NOTSUP
/Zephyr-latest/drivers/peci/
Dpeci_ite_it8xxx2.c249 int cnt, ret_code; in peci_it8xxx2_transfer() local
251 ret_code = 0; in peci_it8xxx2_transfer()
276 ret_code = peci_it8xxx2_check_host_finish(dev); in peci_it8xxx2_transfer()
278 if (!ret_code) { in peci_it8xxx2_transfer()
292 return (ret_code); in peci_it8xxx2_transfer()
/Zephyr-latest/drivers/wifi/winc1500/
Dwifi_winc1500.c144 int ret_code; member
353 return w1500_data.socket_data[socket].ret_code; in winc1500_bind()
377 return w1500_data.socket_data[socket].ret_code; in winc1500_listen()
396 w1500_data.socket_data[socket].ret_code = 0; in winc1500_connect()
410 return w1500_data.socket_data[socket].ret_code; in winc1500_connect()
442 return w1500_data.socket_data[socket].ret_code; in winc1500_accept()
797 sd->ret_code = strConnMsg->s8Error; in handle_socket_msg_connect()
838 sd->ret_code = bind_msg->status; in handle_socket_msg_bind()
854 sd->ret_code = listen_msg->status; in handle_socket_msg_listen()
880 sd->ret_code = accept_msg->sock; in handle_socket_msg_accept()
[all …]
/Zephyr-latest/subsys/net/lib/mqtt/
Dmqtt_decoder.c215 uint8_t flags, ret_code; in connect_ack_decode() local
222 err_code = unpack_uint8(buf, &ret_code); in connect_ack_decode()
235 param->return_code = (enum mqtt_conn_return_code)ret_code; in connect_ack_decode()