0

Thanks in advance for all your help.

Upon scanning for services and characteristics, we find two characteristics for which we would like to receive notifications. On turning on notifications, we are getting this error:

Getting Error: CBATTErrorDomain Code=5 "Authentication is insufficient."

When: on setNotifyValue(true,

For Peripheral: E4C26309-601A-8B4B-EA7D-606703B75573

For Service: 2456E1B9-26E2-8F83-E744-F34F01E9D701

For Characteristic: 2456E1B9-26E2-8F83-E744-F34F01E9D703 and 2456E1B9-26E2-8F83-E744-F34F01E9D704

Product: u-blox ODIN-W2 Firmware: 6.0.1-004

iOS: 12.4 XCode: 10.2.1 Swift: 4.2

Logs:

central.state is .poweredOn

Connected!

2456E1B9-26E2-8F83-E744-F34F01E9D703: properties contains .notify... calling setNotifyValue(true…

2456E1B9-26E2-8F83-E744-F34F01E9D704: properties contains .notify... calling setNotifyValue(true…

ERROR_2: Error Domain=CBATTErrorDomain Code=5 "Authentication is insufficient." UserInfo={NSLocalizedDescription=Authentication is insufficient.} -

didUpdateNotificationStateFor: 2456E1B9-26E2-8F83-E744-F34F01E9D703:

ERROR_2: Error Domain=CBATTErrorDomain Code=5 "Authentication is insufficient." UserInfo={NSLocalizedDescription=Authentication is insufficient.} -

didUpdateNotificationStateFor: 2456E1B9-26E2-8F83-E744-F34F01E9D704:

migrated from superuser.com Aug 22 at 20:14

This question came from our site for computer enthusiasts and power users.

You must log in to answer this question.