l2cap.c (c80ea152d7489176d054ea06e2f42e7b88b4b079) | l2cap.c (273692f2743f64e67eea206f9b00bbbbd387460f) |
---|---|
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 --- 1807 unchanged lines hidden (view full) --- 1816#endif 1817 1818// MARK: L2CAP_RUN 1819// process outstanding signaling tasks 1820static void l2cap_run(void){ 1821 1822 // log_info("l2cap_run: entered"); 1823 l2cap_run_signaling_response(); | 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 --- 1807 unchanged lines hidden (view full) --- 1816#endif 1817 1818// MARK: L2CAP_RUN 1819// process outstanding signaling tasks 1820static void l2cap_run(void){ 1821 1822 // log_info("l2cap_run: entered"); 1823 l2cap_run_signaling_response(); |
1824 1825 bool done; 1826 | 1824 |
1827#ifdef ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE | 1825#ifdef ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE |
1828 done = l2ap_run_ertm(); | 1826 bool done = l2ap_run_ertm(); |
1829 if (done) return; 1830#endif 1831 1832#if defined(ENABLE_CLASSIC) || defined(ENABLE_BLE) 1833 btstack_linked_list_iterator_t it; 1834#endif 1835 1836#ifdef ENABLE_CLASSIC --- 2276 unchanged lines hidden --- | 1827 if (done) return; 1828#endif 1829 1830#if defined(ENABLE_CLASSIC) || defined(ENABLE_BLE) 1831 btstack_linked_list_iterator_t it; 1832#endif 1833 1834#ifdef ENABLE_CLASSIC --- 2276 unchanged lines hidden --- |