l2cap.c (d8e8f12ab0e5ab053da36a185d2453be032b7118) | l2cap.c (63fa3374ea948e8b552c58c28010f42929b7da6e) |
---|---|
1/* 2 * Copyright (C) 2014 BlueKitchen GmbH 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright --- 950 unchanged lines hidden (view full) --- 959 l2cap_emit_channel_closed(channel); 960 l2cap_stop_rtx(channel); 961 btstack_linked_list_iterator_remove(&it); 962 btstack_memory_l2cap_channel_free(channel); 963 } 964 break; 965 966 // Notify channel packet handler if they can send now | 1/* 2 * Copyright (C) 2014 BlueKitchen GmbH 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright --- 950 unchanged lines hidden (view full) --- 959 l2cap_emit_channel_closed(channel); 960 l2cap_stop_rtx(channel); 961 btstack_linked_list_iterator_remove(&it); 962 btstack_memory_l2cap_channel_free(channel); 963 } 964 break; 965 966 // Notify channel packet handler if they can send now |
967 case DAEMON_EVENT_HCI_PACKET_SENT: | 967 case HCI_EVENT_TRANSPORT_PACKET_SENT: |
968 case HCI_EVENT_NUMBER_OF_COMPLETED_PACKETS: 969 l2cap_run(); // try sending signaling packets first 970 l2cap_notify_channel_can_send(); 971 break; 972 973 // HCI Connection Timeouts 974 case L2CAP_EVENT_TIMEOUT_CHECK: 975 handle = little_endian_read_16(packet, 2); --- 668 unchanged lines hidden --- | 968 case HCI_EVENT_NUMBER_OF_COMPLETED_PACKETS: 969 l2cap_run(); // try sending signaling packets first 970 l2cap_notify_channel_can_send(); 971 break; 972 973 // HCI Connection Timeouts 974 case L2CAP_EVENT_TIMEOUT_CHECK: 975 handle = little_endian_read_16(packet, 2); --- 668 unchanged lines hidden --- |