hfp_hf.c (667ec0681a813a0001e50d9fdab463d265807e4e) | hfp_hf.c (a5bdcda89a13d85a2d6e095a87c45c0fca9a01a2) |
---|---|
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 --- 1322 unchanged lines hidden (view full) --- 1331 hfp_run_for_context(connection); 1332} 1333 1334 1335void hfp_hf_activate_calling_line_notification(bd_addr_t bd_addr){ 1336 hfp_hf_establish_service_level_connection(bd_addr); 1337 hfp_connection_t * connection = get_hfp_connection_context_for_bd_addr(bd_addr); 1338 | 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 --- 1322 unchanged lines hidden (view full) --- 1331 hfp_run_for_context(connection); 1332} 1333 1334 1335void hfp_hf_activate_calling_line_notification(bd_addr_t bd_addr){ 1336 hfp_hf_establish_service_level_connection(bd_addr); 1337 hfp_connection_t * connection = get_hfp_connection_context_for_bd_addr(bd_addr); 1338 |
1339 connection->hf_deactivate_calling_line_notification = 1; | 1339 connection->hf_activate_calling_line_notification = 1; |
1340 hfp_run_for_context(connection); 1341} 1342 1343/* 1344 * @brief 1345 */ 1346void hfp_hf_deactivate_calling_line_notification(bd_addr_t bd_addr){ 1347 hfp_hf_establish_service_level_connection(bd_addr); --- 6 unchanged lines hidden (view full) --- 1354 1355/* 1356 * @brief 1357 */ 1358void hfp_hf_activate_echo_canceling_and_noise_reduction(bd_addr_t bd_addr){ 1359 hfp_hf_establish_service_level_connection(bd_addr); 1360 hfp_connection_t * connection = get_hfp_connection_context_for_bd_addr(bd_addr); 1361 | 1340 hfp_run_for_context(connection); 1341} 1342 1343/* 1344 * @brief 1345 */ 1346void hfp_hf_deactivate_calling_line_notification(bd_addr_t bd_addr){ 1347 hfp_hf_establish_service_level_connection(bd_addr); --- 6 unchanged lines hidden (view full) --- 1354 1355/* 1356 * @brief 1357 */ 1358void hfp_hf_activate_echo_canceling_and_noise_reduction(bd_addr_t bd_addr){ 1359 hfp_hf_establish_service_level_connection(bd_addr); 1360 hfp_connection_t * connection = get_hfp_connection_context_for_bd_addr(bd_addr); 1361 |
1362 connection->hf_deactivate_echo_canceling_and_noise_reduction = 1; | 1362 connection->hf_activate_echo_canceling_and_noise_reduction = 1; |
1363 hfp_run_for_context(connection); 1364} 1365 1366/* 1367 * @brief 1368 */ 1369void hfp_hf_deactivate_echo_canceling_and_noise_reduction(bd_addr_t bd_addr){ 1370 hfp_hf_establish_service_level_connection(bd_addr); --- 162 unchanged lines hidden --- | 1363 hfp_run_for_context(connection); 1364} 1365 1366/* 1367 * @brief 1368 */ 1369void hfp_hf_deactivate_echo_canceling_and_noise_reduction(bd_addr_t bd_addr){ 1370 hfp_hf_establish_service_level_connection(bd_addr); --- 162 unchanged lines hidden --- |