Serial Bluetooth Terminal is free android app which as well as being a bluetooth terminal allows buttons to be configured. I've set up buttons to mimic the ir fob and it works for postures but not gaits.
It looks like ir commands get processed by irParser() and serial ones dont. Is there a reason for this or is it historical?
updated config 28/2/21
Updated config file in original post.... rotate to landscape for extra buttons
The IR remote has limited buttons. I used some combined keys for the gaits, because the direction keys can be reused for multiple gaits.
For serial commands, I expect it to be sent by some master computer which should have the ability to combine commands.