Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: protocol.h
- Revision:
- 0:226550611f0d
diff -r 000000000000 -r 226550611f0d protocol.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/protocol.h Mon Dec 12 23:06:58 2016 +0000 @@ -0,0 +1,22 @@ +#ifndef PROTOCOL_H +#define PROTOCOL_H + + +#define START 0x00 +#define DEVICEADDRESS 0x01 +#define SOURCEADD 0x02 +#define POLL 0x03 +#define COLLECTCOMMAND 0x04 +#define COLLECTCOUNT1 0x05 +#define COLLECTCOUNT2 0x06 +#define COLLECTPACKET 0x07 +#define COLLECTCHECKSUM 0x08 +#define HANDLEESCAPE 0x20 +#define STARTPACK 0x7F +#define STARTPOLL 0x8F +#define ESCAPE 0x8E +#define ACKCHAR 0x8D +#define NAKCHAR 0x8C +#define RESPONSE 0x8E //#SCD #RESPONSE + +#endif // PROTOCOL_H