test/gatt_client: extend mock

This commit is contained in:
Milanka Ringwald 2024-12-16 22:19:21 +01:00 committed by Matthias Ringwald
parent a73588f0fe
commit a68a4a7592

View File

@ -167,8 +167,14 @@ void hci_add_event_handler(btstack_packet_callback_registration_t * callback_han
void l2cap_reserve_packet_buffer(void){}
static bool _l2cap_can_send_fixed_channel_packet_now = true;
void l2cap_set_can_send_fixed_channel_packet_now(bool value){
_l2cap_can_send_fixed_channel_packet_now = value;
}
bool l2cap_can_send_fixed_channel_packet_now(uint16_t handle, uint16_t channel_id){
return true;
return _l2cap_can_send_fixed_channel_packet_now;
}
void l2cap_request_can_send_fix_channel_now_event(uint16_t handle, uint16_t channel_id){