mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-31 10:20:58 +00:00
mesh: add basis for better control over sequence numbers in upper transport
This commit is contained in:
parent
51b20e0121
commit
cd16791d63
@ -806,6 +806,13 @@ static void mesh_lower_transport_reset_network_pdus(btstack_linked_list_t *list)
|
||||
}
|
||||
}
|
||||
|
||||
int mesh_lower_transport_can_send_to_dest(uint16_t dest){
|
||||
return 1;
|
||||
}
|
||||
|
||||
void mesh_lower_transport_reserve_slot(void){
|
||||
}
|
||||
|
||||
void mesh_lower_transport_dump(void){
|
||||
mesh_lower_transport_dump_network_pdus("lower_transport_incoming", &lower_transport_incoming);
|
||||
}
|
||||
|
@ -68,6 +68,7 @@ typedef enum {
|
||||
} mesh_transport_callback_type_t;
|
||||
|
||||
typedef enum {
|
||||
MESH_TRANSPORT_STATUS_PARTIALLY_SEND,
|
||||
MESH_TRANSPORT_STATUS_SUCCESS,
|
||||
MESH_TRANSPORT_STATUS_SEND_FAILED,
|
||||
MESH_TRANSPORT_STATUS_SEND_ABORT_BY_REMOTE,
|
||||
@ -99,6 +100,8 @@ void mesh_lower_transport_set_higher_layer_handler(void (*pdu_handler)( mesh_tra
|
||||
|
||||
void mesh_lower_transport_message_processed_by_higher_layer(mesh_pdu_t * pdu);
|
||||
|
||||
int mesh_lower_transport_can_send_to_dest(uint16_t dest);
|
||||
void mesh_lower_transport_reserve_slot(void);
|
||||
void mesh_lower_transport_send_pdu(mesh_pdu_t * pdu);
|
||||
|
||||
// test
|
||||
|
Loading…
x
Reference in New Issue
Block a user