Lines Matching refs:btstack_assert
197 btstack_assert(segment->pdu_header.pdu_type == MESH_PDU_TYPE_NETWORK); in mesh_segmented_pdu_flatten()
214 btstack_assert(segment->pdu_header.pdu_type == MESH_PDU_TYPE_NETWORK); in mesh_upper_pdu_flatten()
215 btstack_assert((offset + segment->len) <= buffer_len); in mesh_upper_pdu_flatten()
230 btstack_assert(network_pdu != NULL); in mesh_segmented_store_payload()
363 btstack_assert(0); in transport_segmented_setup_nonce()
382 btstack_assert((access_pdu->ctl_ttl & 0x80) == 0); in mesh_upper_transport_process_access_message_done()
464 btstack_assert(send_request != NULL); in mesh_upper_transport_schedule_send_requests()
539 btstack_assert(false); in mesh_upper_transport_validate_access_message_digest()
656 btstack_assert(upper_pdu->len < 15); in mesh_upper_transport_send_access_unsegmented()
686 btstack_assert(false); in mesh_upper_transport_send_access_ccm()
737 btstack_assert(payload_len == upper_pdu->len); in mesh_upper_transport_send_access()
807 btstack_assert((upper_pdu->flags & MESH_TRANSPORT_FLAG_TRANSMIC_64) == 0); in mesh_upper_transport_send_segmented_control_pdu()
863 btstack_assert(mesh_control_message_handler != NULL); in mesh_upper_transport_run()
911 btstack_assert(mesh_control_message_handler != NULL); in mesh_upper_transport_run()
934 btstack_assert(0); in mesh_upper_transport_run()
960 btstack_assert(mesh_pdu_ctl(pdu) != 0); in mesh_upper_transport_run()
966 btstack_assert(mesh_pdu_ctl(pdu) != 0); in mesh_upper_transport_run()
1009 btstack_assert(false); in mesh_upper_transport_run()
1053 btstack_assert(upper_pdu != NULL); in mesh_upper_transport_pdu_handler()
1071 btstack_assert(false); in mesh_upper_transport_pdu_handler()
1078 btstack_assert(upper_pdu != NULL); in mesh_upper_transport_pdu_handler()
1079 btstack_assert(upper_pdu->lower_pdu == (mesh_pdu_t *) pdu); in mesh_upper_transport_pdu_handler()
1088 btstack_assert(false); in mesh_upper_transport_pdu_handler()
1099 btstack_assert(pdu != NULL); in mesh_upper_transport_pdu_free()
1126 btstack_assert(false); in mesh_upper_transport_pdu_free()
1141 btstack_assert(0); in mesh_upper_transport_message_processed_by_higher_layer()
1152 btstack_assert(false); in mesh_upper_transport_send_access_pdu()
1156 btstack_assert(((mesh_upper_transport_pdu_t *) pdu)->lower_pdu == NULL); in mesh_upper_transport_send_access_pdu()
1167 btstack_assert( ((mesh_network_pdu_t *) pdu)->len >= 9); in mesh_upper_transport_send_control_pdu()
1170 btstack_assert(false); in mesh_upper_transport_send_control_pdu()
1181 btstack_assert(network_pdu != NULL); in mesh_upper_transport_setup_unsegmented_control_pdu()
1182 btstack_assert(control_pdu_len <= 11); in mesh_upper_transport_setup_unsegmented_control_pdu()
1255 btstack_assert(false); in mesh_upper_transport_setup_access_pdu_header()
1291 btstack_assert(builder != NULL); in mesh_upper_transport_message_init()
1309 btstack_assert(builder != NULL); in mesh_upper_transport_message_add_data()