Unable to connect to bluetooth accessory from bluetooth screen.

iOS Version : 11.3


Hi Team,


I have a application which will be work along with bluetooth device. Intially when we pair the device with bluetooth device it is getting paired. But after getting into background and from bluetooth settings screen if we try to connect the device it is getting paired but unable to get the paired device from the list.


NSArray* connectedAccessories = [accessoryManager connectedAccessories];

It reurns empty array and getting the Error like below,

ERROR - opening session failed as protocol (null) is not declared in Info.plist

2018-04-30 14:48:39.552326+0530 MahindraBlueSense[369:65150] ERROR - /BuildRoot/Library/Caches/com.apple.xbs/Sources/ExternalAccessory/ExternalAccessory-383.30.1/EASession.m:-[EASession dealloc] - 190 unable to close session for _accessory=0x0 and sessionID=65536


Thanks in advance.