Ticket Created
over 2 years ago

CIQQA-1014

BLE: Long Writes are not supported

I'm trying to send a command to a peripheral that is 24 bytes long. I don't know too much about how BLE works, but when I try to write to the device I get the error "Long Writes are not supported". Has this just not been implemented yet? Or are there different write types (e.g. write with response vs. write without response) that I can use to do a write over 20 bytes?

In Python on my computer, I can do this write as

peripheral.write_command(
            SERVICE_UUID, CHAR_WRITE_UUID, msg)
and this works even if the message is over 20 bytes in length.