Home
last modified time | relevance | path

Searched refs:msg_type (Results 1 – 11 of 11) sorted by relevance

/btstack/src/mesh/
H A Dgatt_bearer.c75 static mesh_msg_type_t msg_type; variable
131 sar_buffer.segmentation_buffer[0] = (segmentation_state << 6) | msg_type; in gatt_bearer_start_sending()
142 gatt_bearer_emit_message_sent(msg_type); in gatt_bearer_start_sending()
173 msg_type = packet[pos] & 0x3F; in packet_handler()
176 switch (msg_type){ in packet_handler()
180 if (!client_callbacks[msg_type]){ in packet_handler()
186 log_info("gatt bearer: message type %d not supported", msg_type); in packet_handler()
230 switch (msg_type){ in packet_handler()
234 if ((*client_callbacks[msg_type])){ in packet_handler()
235 …(*client_callbacks[msg_type])(MESH_PROXY_DATA_PACKET, 0, sar_buffer.reassembly_buffer, reassembly_… in packet_handler()
[all …]
H A Dpb_gatt.c82 mesh_msg_type_t msg_type; in packet_handler() local
92 msg_type = (mesh_msg_type_t) (packet[pos] & 0x3F); in packet_handler()
94 if (msg_type != MESH_MSG_TYPE_PROVISIONING_PDU) return; in packet_handler()
/btstack/src/mesh/gatt-service/
H A Dmesh_provisioning_service_server.c137 mesh_msg_type_t msg_type = buffer[0] & 0x3f; in mesh_provisioning_service_write_callback() local
138 switch (msg_type){ in mesh_provisioning_service_write_callback()
140 log_info("data_in_client_value_handle not handled, msg_type %d", msg_type); in mesh_provisioning_service_write_callback()
146 log_info("data_in_client_value_handle not written, wrong msg_type %d", msg_type); in mesh_provisioning_service_write_callback()
/btstack/chipset/csr/
H A Dconvert_psr.py29 msg_type = 0x0002
33 msg = [msg_type, msg_len, msg_seqno, varid, msg_status] + msg_payload
/btstack/3rd-party/lwip/core/src/core/ipv6/
H A Ddhcp6.c74 #define LWIP_HOOK_DHCP6_APPEND_OPTIONS(netif, dhcp6, state, msg, msg_type, options_len_ptr, max_len) argument
77 #define LWIP_HOOK_DHCP6_PARSE_OPTION(netif, dhcp6, state, msg, msg_type, option, len, pbuf, offset)… argument
703 u8_t msg_type; in dhcp6_recv() local
746 msg_type = reply_msg->msgtype; in dhcp6_recv()
748 if (msg_type == DHCP6_REPLY) { in dhcp6_recv()
H A Dnd6.c293 u8_t msg_type; in nd6_input() local
299 msg_type = *((u8_t *)p->payload); in nd6_input()
300 switch (msg_type) { in nd6_input()
/btstack/src/classic/
H A Davdtp_util.h64 …8_t avdtp_header(uint8_t tr_label, avdtp_packet_type_t packet_type, avdtp_message_type_t msg_type){ in avdtp_header() argument
65 return (tr_label<<4) | ((uint8_t)packet_type<<2) | (uint8_t)msg_type; in avdtp_header()
/btstack/3rd-party/lwip/core/src/apps/mqtt/
H A Dmqtt.c153 mqtt_msg_type_to_str(u8_t msg_type) in mqtt_msg_type_to_str() argument
155 if (msg_type >= LWIP_ARRAYSIZE(mqtt_message_type_str)) { in mqtt_msg_type_to_str()
156 msg_type = 0; in mqtt_msg_type_to_str()
158 return mqtt_message_type_str[msg_type]; in mqtt_msg_type_to_str()
494 mqtt_output_append_fixed_header(struct mqtt_ringbuf_t *rb, u8_t msg_type, u8_t fdup, in mqtt_output_append_fixed_header() argument
498 …mqtt_output_append_u8(rb, (((msg_type & 0x0f) << 4) | ((fdup & 1) << 3) | ((fqos & 3) << 1) | (fre… in mqtt_output_append_fixed_header()
/btstack/3rd-party/lwip/dhcp-server/
H A Ddhserver.c159 uint8_t msg_type, in fill_options() argument
171 *ptr++ = msg_type; in fill_options()
/btstack/3rd-party/lwip/core/src/core/ipv4/
H A Ddhcp.c90 #define LWIP_HOOK_DHCP_APPEND_OPTIONS(netif, dhcp, state, msg, msg_type, options_len_ptr) argument
93 #define LWIP_HOOK_DHCP_PARSE_OPTION(netif, dhcp, state, msg, msg_type, option, len, pbuf, offset) d… argument
1731 u8_t msg_type; in dhcp_recv() local
1793 msg_type = (u8_t)dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_MSG_TYPE); in dhcp_recv()
1795 if (msg_type == DHCP_ACK) { in dhcp_recv()
1822 else if ((msg_type == DHCP_NAK) && in dhcp_recv()
1829 else if ((msg_type == DHCP_OFFER) && (dhcp->state == DHCP_STATE_SELECTING)) { in dhcp_recv()
/btstack/3rd-party/lwip/core/src/include/lwip/
H A Dopt.h3154 #define LWIP_HOOK_DHCP_APPEND_OPTIONS(netif, dhcp, state, msg, msg_type, options_len_ptr) argument
3182 #define LWIP_HOOK_DHCP_PARSE_OPTION(netif, dhcp, state, msg, msg_type, option, len, pbuf, offset) argument
3210 #define LWIP_HOOK_DHCP6_APPEND_OPTIONS(netif, dhcp6, state, msg, msg_type, options_len_ptr, max_len) argument