When configuring the AVAudioSession, application can specify whether it allows Bluetooth devices like below
success = [[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayAndRecord withOptions:AVAudioSessionCategoryOptionAllowBluetooth error:nil];
if (!success) {
NSLog(@"setCategoryError");
}
The list of Bluetooth profiles supported by the application is given below in the table by Apple
The major profiles are below
Handsfree profile (HFP 1.6)
Phonebook Access profile (PBAP)
Advanced Audio Distribution Profile (A2DP)
Audio Video Remote Control Profile (AVRCP 1.4)
Personal Area Network Profile (PAN)
Human Interface Device Profile (HID)
Message Access Profile (MAP)
There is a bluetoothe Apple developer portal which gives Application accelerator. But this is more about testing and verifying the profile implementations.
References:
http://stackoverflow.com/questions/20896528/how-to-find-bluetooth-audio-devices-in-ios
No comments:
Post a Comment