Under-Resource Value in Core Bluetooth

Most often, when setting up a notification about a characteristic ( setNotifyValue:forCharacteristic: I get an error message CBATTErrorInsufficientResources (Code = 17, "Not enough resources"). The only documentation for this code is: "Resources are not enough to complete the ATT request." It is unclear what resources are insufficient, and whether this error applies to the phone or peripherals. Around the same time, I am writing specifications ( writeValue:forCharacteristic:type ), and they are successful, just setting up a notification fails.

What does CBATTErrorInsufficientResources mean in this case?

+5
source share

Source: https://habr.com/ru/post/1259554/


All Articles