Library set up as dummy module on mbed to mimic Nordic.

Dependencies:   mbed-rtos mbed

protocol.h

Committer:
Stephen_NewVistas
Date:
2016-12-13
Revision:
2:9ab591cf81b8
Parent:
0:226550611f0d

File content as of revision 2:9ab591cf81b8:

#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