Start - Gateway configuration

Editing other parameters than listed below are not necessary!
Most parameters are already well tuned for this gateway.

IQRF Repository

IQRF Gateway daemon periodically downloads state of IQRF repository and caches all the data.
Download period can be configured via this page.
IQRF Repository configuration

MQTT messaging

IQRF Gateway daemon MQTT client configuration. Multiple MQTT connections are possible.
A configuration for the well-known cloud platforms are handled in Webapp menu Clouds.
MQTT client configuration

Websocket messaging

IQRF Gateway daemon Websocket server configuration. Default port matches setting in Webapp.

Websocket server configuration

UDP messaging

IQRF Gateway daemon UDP ports configuration. Default ports match setting in IQRF IDE.

UDP configuration

Scheduler

Using import button prepared scheduler’s task file is copied to the gateway. The daemon restart is needed in order to activate imported task. Read more about scheduler and its tasks here.
Task JSON file example 1551266261.json:
{
	"taskId": 1551266261,
	"clientId": "SchedulerMessaging",
	"timeSpec": {
		"cronTime": [
			"*/5",
			"*",
			"*",
			"*",
			"*",
			"*",
			"*"
		],
		"exactTime": false,
		"periodic": false,
		"period": 0,
		"startTime": ""
	},
	"task": {
		"messaging": "MqttMessaging",
		"message": {
			"mType": "iqrfEmbedLedr_Pulse",
			"data": {
				"msgId": "testEmbedLedr",
				"req": {
					"nAdr": 0,
					"param": {}
				},
				"returnVerbose": true
			}
		}
	}
}
Scheduler configuration
Import JSON task file from above:
Task import configuration
Hit import button and restart the daemon.
Scheduler configuration
There is also possibility to add tasks via gateway API.

Tracer

IQRF Gateway daemon logging can be configured via Tracer page. A communication with IQRF repository has been separated into its own log file.
It is possible to set log verbosity, sizes and names with or without timestamps. Logs without timestamps overwrite itself after reaching set size.
Tracer configuration

Migration

It is possible to handle export/import of IQRF Gateway daemon configuration and Scheduler tasks setting.

Configuration export/import