Module mqtt
MQTT module
Functions
client (...) | Create new MQTT client instance |
get_ioloop () | Returns default ioloop instance |
run_ioloop (...) | Run default ioloop for given MQTT clients or functions |
run_sync (cl) | Run synchronous input/output loop for only one given MQTT client. |
Tables
mqtt | Module table |
Functions
- client (...)
-
Create new MQTT client instance
Parameters:
- ... Same as for mqtt.client.create(...)
See also:
- get_ioloop ()
- Returns default ioloop instance
- run_ioloop (...)
-
Run default ioloop for given MQTT clients or functions
Parameters:
- ... MQTT clients or lopp functions to add to ioloop
See also:
- run_sync (cl)
-
Run synchronous input/output loop for only one given MQTT client.
Provided client's connection will be opened.
Client reconnect feature will not work, and keep_alive too.
Parameters:
- cl MQTT client instance to run