Skip to content

Commit

Permalink
GUID types added
Browse files Browse the repository at this point in the history
  • Loading branch information
grodansparadis committed Feb 21, 2020
1 parent b5a28b7 commit e36927e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions src/vscp/common/vscp.h
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ extern "C"
0x3000 /* GUID is RFC 4122 Version 4 */

#define VSCP_MASK_PRIORITY 0xE0
#define VSCP_MASK_GUID_TYPE 0x8000
#define VSCP_MASK_HARDCODED 0x10
#define VSCP_MASK_NOCRCCALC 0x08

Expand Down Expand Up @@ -399,8 +400,8 @@ extern "C"
#define VSCP_MASK_DATACODING_UNIT 0x18 /* Bits 3,4 */
#define VSCP_MASK_DATACODING_INDEX 0x07 /* Bits 0,1,2 */

/* These bits are coded in the three MSB bytes of the first data byte */
/* in a packet and tells the type of the data that follows. */
/* These bits are coded in the three MSB bits of the first data byte */
/* of measurement data and tells the type of the data that follows. */
#define VSCP_DATACODING_BIT 0x00
#define VSCP_DATACODING_BYTE 0x20
#define VSCP_DATACODING_STRING 0x40
Expand Down
2 changes: 1 addition & 1 deletion src/vscp/common/vscp_class.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
!!!!!!!!!!!!!!!!!!!! W A R N I N G !!!!!!!!!!!!!!!!!!!!
This file is auto-generated
see https://github.com/grodansparadis/vscp-classes
Generated: 2020-02-19 17:52:49.804727
Generated: 2020-02-20 23:04:23.878322
*/

#ifndef VSCP_CLASS_H
Expand Down
2 changes: 1 addition & 1 deletion src/vscp/common/vscp_hashclass.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
!!!!!!!!!!!!!!!!!!!! W A R N I N G !!!!!!!!!!!!!!!!!!!!
This file is auto-generated
see https://github.com/grodansparadis/vscp-classes
Generated: 2020-02-19 17:52:50.955217
Generated: 2020-02-20 23:04:25.097283
*/

m_hashClass[ 0 ] = _("CLASS1_PROTOCOL");
Expand Down
2 changes: 1 addition & 1 deletion src/vscp/common/vscp_hashtype.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
!!!!!!!!!!!!!!!!!!!! W A R N I N G !!!!!!!!!!!!!!!!!!!!
This file is auto-generated
see https://github.com/grodansparadis/vscp-classes
Generated: 2020-02-19 17:52:51.503163
Generated: 2020-02-20 23:04:25.670093
*/


Expand Down
2 changes: 1 addition & 1 deletion src/vscp/common/vscp_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
!!!!!!!!!!!!!!!!!!!! W A R N I N G !!!!!!!!!!!!!!!!!!!!
This file is auto-generated
see https://github.com/grodansparadis/vscp-classes
Generated: 2020-02-19 17:52:50.376925
Generated: 2020-02-20 23:04:24.501111
*/

#ifndef VSCP_TYPE_H
Expand Down

0 comments on commit e36927e

Please sign in to comment.