Archived:IsWiredAccConnected() of BluetoothEngineAPI doesnt give the status of the Wired Accessory Connectivity (Known Issue)
The Bluetooth Engine API from SDK API Plug-in for S60 3rd Edition, Feature Pack 1 contains a method for retrieving the connection status of a wired accessory. This method does not work properly.
The following function from the Bluetooth Engine API is documented to retrieve the connection status of a wired accessory:
TInt CBTMCMSettings::IsWiredAccConnected( TBool& aAnswer );
However, it does not work properly - the return value is always KErrNone (indicating success), but the value of the aAnswer parameter remains unmodified.
There is no solution available with the public SDK or APIs from the Plug-in package.