l2cap.c (ece97caeac91fa0aac34f3491fffdd14f687a7a6) | l2cap.c (eea99214d9ac26781f0d1c98b73909964bed9927) |
---|---|
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 --- 2027 unchanged lines hidden (view full) --- 2036 btstack_linked_list_iterator_t it; 2037#endif 2038 2039 switch(hci_event_packet_get_type(packet)){ 2040 2041 // Notify channel packet handler if they can send now 2042 case HCI_EVENT_TRANSPORT_PACKET_SENT: 2043 case HCI_EVENT_NUMBER_OF_COMPLETED_PACKETS: | 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 --- 2027 unchanged lines hidden (view full) --- 2036 btstack_linked_list_iterator_t it; 2037#endif 2038 2039 switch(hci_event_packet_get_type(packet)){ 2040 2041 // Notify channel packet handler if they can send now 2042 case HCI_EVENT_TRANSPORT_PACKET_SENT: 2043 case HCI_EVENT_NUMBER_OF_COMPLETED_PACKETS: |
2044 case BTSTACK_EVENT_NR_CONNECTIONS_CHANGED: |
|
2044 l2cap_run(); // try sending signaling packets first 2045 l2cap_notify_channel_can_send(); 2046 break; 2047 2048 case HCI_EVENT_COMMAND_STATUS: 2049#ifdef ENABLE_CLASSIC 2050 // check command status for create connection for errors 2051 if (HCI_EVENT_IS_COMMAND_STATUS(packet, hci_create_connection)){ --- 1735 unchanged lines hidden --- | 2045 l2cap_run(); // try sending signaling packets first 2046 l2cap_notify_channel_can_send(); 2047 break; 2048 2049 case HCI_EVENT_COMMAND_STATUS: 2050#ifdef ENABLE_CLASSIC 2051 // check command status for create connection for errors 2052 if (HCI_EVENT_IS_COMMAND_STATUS(packet, hci_create_connection)){ --- 1735 unchanged lines hidden --- |