Closed
Description
with Log Level set to Verbose, I'm trying to add 5 characteristics, each with their own unique UUID. Each characteristic is initialized to an 8-byte NULL sequence with:
BLECharacteristic *characteristic = service->createCharacteristic(
UUID, perms
);
char value[8] = {0};
characteristic->setValue((uint8_t*)&value, 8);
Interestingly, only 4 characteristics show up at any given time.
As @chegewara found, characteristics 5+ generate an error:
D (1566) BLEDevice: gattServerEventHandler [esp_gatt_if: 3] ... ESP_GATTS_ADD_CHAR_EVT
D (1574) BLEUtils: GATT ServerEvent: ESP_GATTS_ADD_CHAR_EVT
D (1580) BLEUtils: [status: ESP_GATT_ERROR, attr_handle: 0 0x00, service_handle: 40 0x28, char_uuid: 00006234-0000-1000-8000-00805f9b34fb]