Products used: Seeed studio xiao nrf52840
Development environment: ArduinoIDE 1.8.19
Board manager: seeed nrf52 boards
Libraries used: Bluefruit52Lib
Hi.
I am creating firmware for BLE communication between an iPhone and an MCU.
The properties used are “notify” and “indicate”,
but it seems that “indicate” is not notifying properly.
So I would like to forcibly enable “indicate” from the peripheral side.
Is there an API that enables notify and indicate on the MCU side?
In ESP32, there is the following code.
((BLE2902*)TestCharacteristic->getDescriptorByUUID((uint16_t)0x2902))->setIndications(true);
((BLE2902*)TestCharacteristic->getDescriptorByUUID((uint16_t)0x2902))->setNotifications(true);
I am looking for an API with similar functionality to the above.
best regards.