I'm working with a robot that accepts serial commands (byte commands) via bluetooth. The Mac OS X bluetooth utility virtualizes connections to bluetooth serial devices so that terminals can treat the connection as they would a normal hardwired serial cable connection. I've managed to make a serial connection to the robot, but I can't manage to send it commands. All of the terminal programs I've used will only send files as commands (each new byte is sent individually).
ANYWHO... The whole point is, I need a way to write custom bytes to a file, but I don't know of any utility or unix command that does that. Writing the corresponding characters in order to use ASCII doesn't work because certain bytes are not represented by characters. Any ideas?
ANYWHO... The whole point is, I need a way to write custom bytes to a file, but I don't know of any utility or unix command that does that. Writing the corresponding characters in order to use ASCII doesn't work because certain bytes are not represented by characters. Any ideas?