mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-05-04 15:35:42 -04:00
System-reserved channel message types
- a message handler can return logical True to prevent subsequent message handlers from running - Message types >= 0xff00 are reserved for system/framework messages
This commit is contained in:
parent
e005826151
commit
c00b592ed9
3 changed files with 22 additions and 2 deletions
|
@ -46,7 +46,8 @@ class StringMessage(RNS.MessageBase):
|
|||
# message arrives over the channel.
|
||||
#
|
||||
# MSGTYPE must be unique across all message types we
|
||||
# register with the channel
|
||||
# register with the channel. MSGTYPEs >= 0xff00 are
|
||||
# reserved for the system.
|
||||
MSGTYPE = 0x0101
|
||||
|
||||
# The constructor of our object must be callable with
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue