I collected the project according to the source code I remade to fit my needs. And it became necessary to send data more than 20 bits. I know that BLE transmits only 20 bits, but it seems you can send more. Who can tell how?

  • 3
    Well, show the code in which you have problems. It is advisable to leave the minimum amount of code necessary to understand what your question is. - Viacheslav Vedenin

1 answer 1

I shared data and sent it in portions of 20 bytes after a certain period of time (50 ms). Plus, I had to make a primitive protocol for assembling / disassembling data.

  • In general, everything worked for me with the addition of BluetoothGattCharacteristic.WRITE_TYPE_DEFAULT - timer