Start a new topic

Send special key codes (Up Arrow Down Arrow, etc.) over From PLC over Bluesnap

Hi - I have a PLC, which I can program, and I want to send data to an Application, which I can't change, on an Android device via Bluetooth.  I can send ASCII characters without a problem, but haven't figured out how to send special characters like the up and down arrows.  The app needs them, and I it all works with a Bluetooth HID keyboard, but I don't know how to send those over the serial connection.  I tried emulating it via Hyperterminal, but the arrow characters get translated to A, B, C, D or [A, [B, [C, [D depending on the terminal mode.  Can anyone give me the sequence of bytes I need to send over the serial port to make it look like the arrows keys at the App? 

Login or Signup to post a comment