IOS core bluetooth connect via password

Hi,

We have connected with hardware device successfully without add password. We would like to use the device with password authorization. When device is connect successfully then password is required and without password device should not work.

We have tired all authentication and authorization methods in core bluetooth documentation but not work. We have also search on stack overflow we got this link https://stackoverflow.com/questions/26483669/ios-core-bluetooth-pin-code

Please guide us how can achieve with password ? https://developer.apple.com/documentation/corebluetooth/cbcharacteristicproperties/1518980-authenticatedsignedwrites

Thanks