hfp_hf.c (455808b32143b1e37ebc5d5ca3cdcbefb34fb97a) | hfp_hf.c (090c81feb660788a282ef81cee7bdb8ae8d35677) |
---|---|
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 --- 1338 unchanged lines hidden (view full) --- 1347 case HFP_CMD_AG_ACTIVATE_VOICE_RECOGNITION: 1348 break; 1349 case HFP_CMD_ERROR: 1350 switch (hfp_connection->state){ 1351 case HFP_SERVICE_LEVEL_CONNECTION_ESTABLISHED: 1352 switch (hfp_connection->codecs_state){ 1353 case HFP_CODECS_RECEIVED_TRIGGER_CODEC_EXCHANGE: 1354 hfp_reset_context_flags(hfp_connection); | 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 --- 1338 unchanged lines hidden (view full) --- 1347 case HFP_CMD_AG_ACTIVATE_VOICE_RECOGNITION: 1348 break; 1349 case HFP_CMD_ERROR: 1350 switch (hfp_connection->state){ 1351 case HFP_SERVICE_LEVEL_CONNECTION_ESTABLISHED: 1352 switch (hfp_connection->codecs_state){ 1353 case HFP_CODECS_RECEIVED_TRIGGER_CODEC_EXCHANGE: 1354 hfp_reset_context_flags(hfp_connection); |
1355 hfp_emit_sco_event(hfp_connection, HFP_REMOTE_REJECTS_AUDIO_CONNECTION, 0, hfp_connection->remote_addr, hfp_connection->negotiated_codec); | 1355 hfp_emit_sco_connection_established(hfp_connection, HFP_REMOTE_REJECTS_AUDIO_CONNECTION, 0, 1356 hfp_connection->remote_addr, 1357 hfp_connection->negotiated_codec, 1358 0); |
1356 return; 1357 default: 1358 break; 1359 } 1360 break; 1361 default: 1362 break; 1363 } --- 907 unchanged lines hidden --- | 1359 return; 1360 default: 1361 break; 1362 } 1363 break; 1364 default: 1365 break; 1366 } --- 907 unchanged lines hidden --- |