assistant
0.1.0Assistant: IOT based infrastructure for building house assistants.
Table of Contents
System Information
Definition Index
-
MQTT
No documentation provided.-
EXTERNAL FUNCTION PUBLISH
- TOPIC
- MSG
- &KEY
- HOST
- PORT
- QOS
- RETAIN
Publish MESSAGE to TOPIC via the mosquitto_pub CLI.
-
EXTERNAL FUNCTION SUBSCRIBE
- TOPIC
- CALLBACK
- &KEY
- HOST
- PORT
- QOS
Subscribe to TOPIC via mosquitto_sub CLI. Every time a message arrives, CALLBACK is called with two args: topic and payload.
-
-
AGENTS
No documentation provided. -
A-UTILS
No documentation provided. -
MESSAGE
Docstring
-
EXTERNAL FUNCTION ADD-MESSAGE
- MSG
- FROM-ID
- CONTENT
Append a message part with FROM-ID and CONTENT to MSG.
-
EXTERNAL FUNCTION DE-SERIALIZE
- STR
Deserialize a serialized message string STR into a message object.
-
EXTERNAL FUNCTION MESSAGE-ID
- INSTANCE
No documentation provided. -
EXTERNAL FUNCTION (SETF MESSAGE-ID)
- VALUE
- INSTANCE
No documentation provided. -
EXTERNAL FUNCTION MESSAGE-PART-CONTENT
- INSTANCE
No documentation provided. -
EXTERNAL FUNCTION (SETF MESSAGE-PART-CONTENT)
- VALUE
- INSTANCE
No documentation provided. -
EXTERNAL FUNCTION MESSAGE-PART-FROM-ID
- INSTANCE
No documentation provided. -
EXTERNAL FUNCTION (SETF MESSAGE-PART-FROM-ID)
- VALUE
- INSTANCE
No documentation provided. -
EXTERNAL FUNCTION MESSAGE-PARTS
- INSTANCE
No documentation provided. -
EXTERNAL FUNCTION (SETF MESSAGE-PARTS)
- VALUE
- INSTANCE
No documentation provided. -
EXTERNAL FUNCTION NEW-MESSAGE
- ID
Create a new message object with the given ID and no parts.
-
EXTERNAL FUNCTION SERIALIZE
- MSG
A serialized message has the following structure: +--------+----------+----------------+----------------+----------------+-------------- | Header | ID | Part Header | From-ID Data | Content Data | Rest parts... +-------------------+----------------+----------------+----------------+-------------- | 8 | Variable | 20 | Variable | Variable | ... Field | Width (chars) | Description ------------------------------------------------------------ Header | 8 | 4 Hex digits for the size of the message ID and 4 for the amount of message parts ID | Variable | ASCII string of the message ID Part Header | 20 | 4 hex digits for from-id length followed by 16 hex digits for content length From-ID Data | Variable | ASCII string of the sender’s ID Content Data | Variable | UTF-8 encoded message content After the count field, each message part’s header and data are concatenated sequentially.
-
EXTERNAL SOURCE-TRANSFORM MESSAGE-ID
No documentation provided. -
EXTERNAL SOURCE-TRANSFORM (SETF MESSAGE-ID)
No documentation provided. -
EXTERNAL SOURCE-TRANSFORM MESSAGE-PART-CONTENT
No documentation provided. -
EXTERNAL SOURCE-TRANSFORM (SETF MESSAGE-PART-CONTENT)
No documentation provided. -
EXTERNAL SOURCE-TRANSFORM MESSAGE-PART-FROM-ID
No documentation provided. -
EXTERNAL SOURCE-TRANSFORM (SETF MESSAGE-PART-FROM-ID)
No documentation provided. -
EXTERNAL SOURCE-TRANSFORM MESSAGE-PARTS
No documentation provided. -
EXTERNAL SOURCE-TRANSFORM (SETF MESSAGE-PARTS)
No documentation provided.
-