I am trying to use a BLED112 dongle to write characteristic on a remote BLE device. The characteristic is 500 bytes long.
Using BGLIB, I see the 'prepare_write' and 'execute_write' commands allow you to queue up 18 bytes at a time with 'prepare_write' and at the end send the 'execute_write' command.
However, it appears that I get an error 0409 - prepare write queue full when queueing up more that 5 prepare writes, in order words trying to write more than 90 bytes (18 * 5) to the characteristic.
How can I use the BLED to write to this long characteristic? Is there a version of firmware for the dongle that has a larger prepare write queue size?
Could you please tell me what version of firmware does your module run? It can be checked with the ble_cmd_get_info.
Also a log with all the commands and events you are sending and receiving would be helpful. Please post it.