Ioto Services
Ioto can be compiled to include or exclude support for various services.
The optional services are:
| Name | Description |
|---|---|
| database | Local embedded Database |
| mqtt | MQTT client protocol |
| url | Url Http Client |
| web | HTTP Web server |
If a component is compiled, you can also selectively enable or disable support at runtime via the services property in the ioto.json5 file.
When Ioto starts, it will enable services as defined in the services property collection.
js
{
services: {
database: true,
mqtt: true,
url: true,
web: true,
}
}Startup Order
When Ioto starts, it will configure services (if enabled) in a specific order. If services are not enabled during compilation or are disabled in the ioto.json5 file, the step will be skipped.
The order is:
- Open the database.
- Start the embedded web server.
- Initialize MQTT communications (if configured).
Firewall Ports
If the embedded web server is enabled, Ioto will listen on the interfaces and ports specified in the listens property in the web.json5 config file.
