Revision 213 trunk/common/tooltron.h
| tooltron.h (revision 213) | ||
|---|---|---|
| 28 | 28 |
|
| 29 | 29 |
// These are the bytes used in the messaage types |
| 30 | 30 |
#define TT_GET_KEY 'k' // Get a key from the keyboard |
| 31 |
#define TT_SEND_KEY 's' // Send a Key back (has 1 extra data packet) |
|
| 31 | 32 |
#define TT_ACK 'a' // Ack |
| 32 | 33 |
#define TT_NACK 'n' // Nack |
| 33 | 34 |
#define TT_ON 'o' // Turn the tool on |
| ... | ... | |
| 42 | 43 |
// Number of bytes that the PROGx packets have in the payload |
| 43 | 44 |
#define PROGM_PACKET_SIZE 2 |
| 44 | 45 |
#define PROGD_PACKET_SIZE 32 |
| 46 |
#define SEND_KEY_PACKET_SIZE 1 |
|
| 45 | 47 |
|
| 46 | 48 |
// Tool timeout? |
| 47 | 49 |
#define TIMEOUT_SECONDS 10 |
Also available in: Unified diff