Stephen Davis
/
BT_Hub
Library set up as dummy module on mbed to mimic Nordic.
BTpacket.h@2:9ab591cf81b8, 2016-12-13 (annotated)
- Committer:
- Stephen_NewVistas
- Date:
- Tue Dec 13 00:20:29 2016 +0000
- Revision:
- 2:9ab591cf81b8
- Parent:
- 1:d6b18299a715
everything commented . now going to strip out mbed stuff.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Stephen_NewVistas | 2:9ab591cf81b8 | 1 | #ifndef BTPACKET_H |
Stephen_NewVistas | 2:9ab591cf81b8 | 2 | #define BTPACKET_H |
Stephen_NewVistas | 2:9ab591cf81b8 | 3 | |
Stephen_NewVistas | 1:d6b18299a715 | 4 | #pragma pack(1) |
Stephen_NewVistas | 1:d6b18299a715 | 5 | typedef struct{ |
Stephen_NewVistas | 1:d6b18299a715 | 6 | unsigned char command; |
Stephen_NewVistas | 1:d6b18299a715 | 7 | unsigned char packetLength; |
Stephen_NewVistas | 1:d6b18299a715 | 8 | unsigned char packetData[18]; |
Stephen_NewVistas | 1:d6b18299a715 | 9 | } BTpacket_t; |
Stephen_NewVistas | 2:9ab591cf81b8 | 10 | #pragma pack(0) |
Stephen_NewVistas | 2:9ab591cf81b8 | 11 | |
Stephen_NewVistas | 2:9ab591cf81b8 | 12 | #endif |