Skip to content

Commit

Permalink
Updated class defs
Browse files Browse the repository at this point in the history
  • Loading branch information
grodansparadis committed Jan 19, 2025
1 parent 483342b commit 32103d0
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 5 deletions.
Binary file modified database
Binary file not shown.
Binary file modified resources/database/vscp-hashtypeevents.sqlite3
Binary file not shown.
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: 2025-01-15 20:51:50.633701
Generated: 2025-01-19 17:20:08.536812
*/

#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: 2025-01-15 20:51:51.838790
Generated: 2025-01-19 17:20:09.478528
*/

m_hashClass[ 0 ] = _("CLASS1_PROTOCOL");
Expand Down
8 changes: 7 additions & 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: 2025-01-15 20:51:52.238142
Generated: 2025-01-19 17:20:09.936142
*/


Expand Down Expand Up @@ -56,6 +56,9 @@
m_hashType[ MAKE_CLASSTYPE_LONG(0,52) ] = _("VSCP_TYPE_PROTOCOL_BLOCK_CHUNK_ACK ");
m_hashType[ MAKE_CLASSTYPE_LONG(0,53) ] = _("VSCP_TYPE_PROTOCOL_BLOCK_CHUNK_NACK");
m_hashType[ MAKE_CLASSTYPE_LONG(0,54) ] = _("VSCP_TYPE_PROTOCOL_BOOT_LOADER_CHECK");
m_hashType[ MAKE_CLASSTYPE_LONG(0,55) ] = _("VSCP_TYPE_PROTOCOL_BOOT_LOADER_ABORT");
m_hashType[ MAKE_CLASSTYPE_LONG(0,56) ] = _("VSCP_TYPE_PROTOCOL_BOOT_LOADER_ABORT_ACK");
m_hashType[ MAKE_CLASSTYPE_LONG(0,57) ] = _("VSCP_TYPE_PROTOCOL_BOOT_LOADER_ABORT_NACK");

// CLASS1.ALARM = 1 - Alarm functionality
m_hashType[ MAKE_CLASSTYPE_LONG(1,0) ] = _("VSCP_TYPE_ALARM_GENERAL");
Expand Down Expand Up @@ -1111,6 +1114,9 @@
m_hashType[ MAKE_CLASSTYPE_LONG(512,52) ] = _("VSCP_TYPE_PROTOCOL_BLOCK_CHUNK_ACK ");
m_hashType[ MAKE_CLASSTYPE_LONG(512,53) ] = _("VSCP_TYPE_PROTOCOL_BLOCK_CHUNK_NACK");
m_hashType[ MAKE_CLASSTYPE_LONG(512,54) ] = _("VSCP_TYPE_PROTOCOL_BOOT_LOADER_CHECK");
m_hashType[ MAKE_CLASSTYPE_LONG(512,55) ] = _("VSCP_TYPE_PROTOCOL_BOOT_LOADER_ABORT");
m_hashType[ MAKE_CLASSTYPE_LONG(512,56) ] = _("VSCP_TYPE_PROTOCOL_BOOT_LOADER_ABORT_ACK");
m_hashType[ MAKE_CLASSTYPE_LONG(512,57) ] = _("VSCP_TYPE_PROTOCOL_BOOT_LOADER_ABORT_NACK");

// CLASS2.LEVEL1.ALARM = 513 - Class2 Level I Alarm
// Event types is the same as CLASS1.ALARM = 1 - Alarm functionality
Expand Down
5 changes: 4 additions & 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: 2025-01-15 20:51:51.273098
Generated: 2025-01-19 17:20:08.958339
*/

#ifndef VSCP_TYPE_H
Expand Down Expand Up @@ -106,6 +106,9 @@
#define VSCP_TYPE_PROTOCOL_BLOCK_CHUNK_ACK 52 /* Block Data Chunk ACK. */
#define VSCP_TYPE_PROTOCOL_BLOCK_CHUNK_NACK 53 /* Block Data Chunk NACK. */
#define VSCP_TYPE_PROTOCOL_BOOT_LOADER_CHECK 54 /* Bootloader CHECK. */
#define VSCP_TYPE_PROTOCOL_BOOT_LOADER_ABORT 55 /* Bootloader abort */
#define VSCP_TYPE_PROTOCOL_BOOT_LOADER_ABORT_ACK 56 /* Bootloader abort ACK */
#define VSCP_TYPE_PROTOCOL_BOOT_LOADER_ABORT_NACK 57 /* Bootloader abort NACK */

/* CLASS1.ALARM = 1 - Alarm functionality */
#define VSCP_TYPE_ALARM_GENERAL 0 /* General event */
Expand Down
2 changes: 1 addition & 1 deletion src/vscp/common/vscp.h
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ typedef VSCPChannelInfo *PVSCPCHANNELINFO;

#define SET_VSCP_MULTICAST_TYPE(type, encryption) ((type << 4) | encryption)
#define GET_VSCP_MULTICAST_PACKET_TYPE(type) ((type >> 4) & 0x0f)
#define GET_VSCP_MULTICAST_PACKET_ENCRYPTION(type) ((type) &0x0f)
#define GET_VSCP_MULTICAST_PACKET_ENCRYPTION(type) ((type) & 0x0f)

/* Multicast proxy CLASS=1026, TYPE=3 */
/* https://www.vscp.org/docs/vscpspec/doku.php?id=class2.information#type_3_0x0003_level_ii_proxy_node_heartbeat
Expand Down

0 comments on commit 32103d0

Please sign in to comment.