l2cap.c (787071125c0ce7868f6249c10a43bdd6755f13c7) | l2cap.c (5611a760af48d1ce1beea59c7908be73bd2393f1) |
---|---|
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 --- 907 unchanged lines hidden (view full) --- 916 while (btstack_linked_list_iterator_has_next(&it)){ 917 l2cap_channel_t * channel = (l2cap_channel_t *) btstack_linked_list_iterator_next(&it); 918 if (channel->handle != handle) continue; 919 l2cap_handle_remote_supported_features_received(channel); 920 break; 921 } 922 break; 923 | 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 --- 907 unchanged lines hidden (view full) --- 916 while (btstack_linked_list_iterator_has_next(&it)){ 917 l2cap_channel_t * channel = (l2cap_channel_t *) btstack_linked_list_iterator_next(&it); 918 if (channel->handle != handle) continue; 919 l2cap_handle_remote_supported_features_received(channel); 920 break; 921 } 922 break; 923 |
924 case GAP_SECURITY_LEVEL: | 924 case GAP_EVENT_SECURITY_LEVEL: |
925 handle = READ_BT_16(packet, 2); 926 log_info("l2cap - security level update"); 927 btstack_linked_list_iterator_init(&it, &l2cap_channels); 928 while (btstack_linked_list_iterator_has_next(&it)){ 929 l2cap_channel_t * channel = (l2cap_channel_t *) btstack_linked_list_iterator_next(&it); 930 if (channel->handle != handle) continue; 931 932 log_info("l2cap - state %u", channel->state); --- 665 unchanged lines hidden --- | 925 handle = READ_BT_16(packet, 2); 926 log_info("l2cap - security level update"); 927 btstack_linked_list_iterator_init(&it, &l2cap_channels); 928 while (btstack_linked_list_iterator_has_next(&it)){ 929 l2cap_channel_t * channel = (l2cap_channel_t *) btstack_linked_list_iterator_next(&it); 930 if (channel->handle != handle) continue; 931 932 log_info("l2cap - state %u", channel->state); --- 665 unchanged lines hidden --- |