Stephen Davis
/
BT_Hub
Library set up as dummy module on mbed to mimic Nordic.
Embed:
(wiki syntax)
Show/hide line numbers
protocol.h
00001 #ifndef PROTOCOL_H 00002 #define PROTOCOL_H 00003 00004 00005 #define START 0x00 00006 #define DEVICEADDRESS 0x01 00007 #define SOURCEADD 0x02 00008 #define POLL 0x03 00009 #define COLLECTCOMMAND 0x04 00010 #define COLLECTCOUNT1 0x05 00011 #define COLLECTCOUNT2 0x06 00012 #define COLLECTPACKET 0x07 00013 #define COLLECTCHECKSUM 0x08 00014 #define HANDLEESCAPE 0x20 00015 #define STARTPACK 0x7F 00016 #define STARTPOLL 0x8F 00017 #define ESCAPE 0x8E 00018 #define ACKCHAR 0x8D 00019 #define NAKCHAR 0x8C 00020 #define RESPONSE 0x8E //#SCD #RESPONSE 00021 00022 #endif // PROTOCOL_H
Generated on Tue Jul 12 2022 22:58:49 by 1.7.2