NIErrorCodeInvalidConfiguration error code using the function NINearbyAccessoryConfiguration(Accessory:BluetoothPeerIdentifier)

Ranging is working great when I'm removing the BluetoothPeerIdentifier parameter but if I want to do some background ranging, I need to be able to use the removed parameter. Somehow when I'm both AccessoryData and BluetoothPeerIdentifier parameters, I got the NIErrorCodeInvalidConfiguration error code and i can't range anymore. Do you guys have a fix for that? The parameter BluetoothPeerIdentifier is not NULL so it should work properly...

Thank you,

Marc