Characteristics for NI service returns error

Hello Together

I am trying to create an iOS App with the NI Framework to connect to a device from the All-in-One Ultra Wideband Demo Kit QM33120WDK2.
I’ll get the correct Service (2E938FD0-6A61-11ED-A1EB-0242AC120002) but when I want to send a write to the characteristics I always get this error back: Encryption is insufficient.
I read about this problem but did not get a solution that works.
Does someone know whats the problem here?

Thanks and kind regards

Samuel

Update: The problem was, that I needed to accept the device bluetooth connection on the IPhone. Now I struggle with the accessory configuration characteristics, because I get 59 bytes and this matches not the defined NINearbyAccessoryConfiguration data and I always get this error: NIERROR_INVALID_CONFIGURATION_DESCRIPTION
Where can I find the documentation, how this 59 bytes are defined?

Update: The app works now fine and I get the distance from UWB per BLE. To get the AccessoryConfigurationData 0x0A needs to be sent and to start the ranging 0x0B needs to be sent.