Lines Matching refs:bytes_current_segment
225 uint16_t bytes_current_segment = 0; in mesh_segmented_store_payload() local
228 if (bytes_current_segment == 0){ in mesh_segmented_store_payload()
232 bytes_current_segment = MESH_NETWORK_PAYLOAD_MAX; in mesh_segmented_store_payload()
234 uint16_t bytes_to_copy = btstack_min(bytes_current_segment, payload_len - payload_offset); in mesh_segmented_store_payload()
236 bytes_current_segment -= bytes_to_copy; in mesh_segmented_store_payload()
1315 uint16_t bytes_current_segment = 0; in mesh_upper_transport_message_add_data() local
1317 bytes_current_segment = MESH_NETWORK_PAYLOAD_MAX - builder->segment->len; in mesh_upper_transport_message_add_data()
1320 if (bytes_current_segment == 0){ in mesh_upper_transport_message_add_data()
1334 bytes_current_segment = MESH_NETWORK_PAYLOAD_MAX; in mesh_upper_transport_message_add_data()
1336 uint16_t bytes_to_copy = btstack_min(bytes_current_segment, data_len); in mesh_upper_transport_message_add_data()
1339 bytes_current_segment -= bytes_to_copy; in mesh_upper_transport_message_add_data()