avdtp_source.c (485c0a4c6802e1ae610e2fbeed45dd85c4399e03) | avdtp_source.c (45a58b3093f5320b8ffda59b52081d2b540d3217) |
---|---|
1 2/* 3 * Copyright (C) 2016 BlueKitchen GmbH 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * --- 158 unchanged lines hidden (view full) --- 167 return; 168 } 169 avdtp_source_context = avdtp_context; 170 avdtp_source_context->stream_endpoints = NULL; 171 avdtp_source_context->connections = NULL; 172 avdtp_source_context->stream_endpoints_id_counter = 0; 173 avdtp_source_context->packet_handler = packet_handler; 174 | 1 2/* 3 * Copyright (C) 2016 BlueKitchen GmbH 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * --- 158 unchanged lines hidden (view full) --- 167 return; 168 } 169 avdtp_source_context = avdtp_context; 170 avdtp_source_context->stream_endpoints = NULL; 171 avdtp_source_context->connections = NULL; 172 avdtp_source_context->stream_endpoints_id_counter = 0; 173 avdtp_source_context->packet_handler = packet_handler; 174 |
175 l2cap_register_service(&packet_handler, BLUETOOTH_PROTOCOL_AVDTP, 0xffff, LEVEL_0); | 175 l2cap_register_service(&packet_handler, BLUETOOTH_PROTOCOL_AVDTP, 0xffff, LEVEL_2); |
176} 177 | 176} 177 |