qmk_firmware icon indicating copy to clipboard operation
qmk_firmware copied to clipboard

Sending macros over Bluetooth

Open msvisser opened this issue 5 years ago • 1 comments

Sending macros over Bluetooth currently does not work when the macro contains more key presses than what fits in the UART transmit buffer. This issue was attempted to be solved in commit 2dde284d1738c451f98505d6b961dbf3858e224a, however this introduced other problems with the Bluetooth as described in #14. Therefore the changes were rolled back in commit e3e9355b6c825a7634b93a469f72950c3fd6429c.

Any suggestions or possible fixes are welcome!

msvisser avatar Nov 26 '19 11:11 msvisser

Mby we could create a bigger buffer of about 1024 bytes that receives the macro, then cut it in 256 sizes , so it fits in the tx buffer and transmit the 1024 in 4 times of 256 bytes. This could be a bit slow but as long as we are not able to change the uart conf , i think is the only way.

jesusvallejo avatar Dec 02 '19 12:12 jesusvallejo