Gatt Write error

Hello Sir,

     I hope you are doing well. I am working with two DA14531 Bluetooth modules (Central and Multi-Com Peripheral) to send data via the GATT write function using UART. The communication works fine when the Mobile Bluetooth LightBlue app is used as the central device, but when using the DA14531 as the central device, the write operation fails after approximately 40-50 seconds. It returns the following error codes:

  • 0x43 (GAP_ERR_COMMAND_DISALLOWED): Command disallowed.
  • 0x45 (GAP_ERR_TIMEOUT): Requested operation timeout.

I am working on resolving these issues and have attached the code file for further reference.

2275.central.zip