Start - Gateway configuration

Editing other parameters than listed below are not necessary!
Most of the 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.

MQTT messaging

IQRF gateway daemon MQTT client configuration. Multiple MQTT connections are possible. Configuration wizards for the well-known cloud platforms are provided in Webapp menu Clouds.

Websocket messaging

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

UDP messaging

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

Scheduler

Using Add button any gateway JSON request is added as scheduler’s task. There are 3 options to schedule task:
  • Cron format (e.g. every 5s -> */5 * * * * * *)
  • Exact time (one shot task at specific time in format dd.mm.rrrr mm:ss)
  • Period (periodic task at defined period)
There are 3 options to direct JSON response (result of scheduled JSON request task) to:
  • MqMessaging
  • MqttMessaging
  • WebsocketMessaging
There is also possibility to export and then import exported tasks.
Task JSON file example 1551266261.json for the import:
{
	"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
			}
		}
	}
}
Task ZIP file example iqrf-gateway-scheduler_2020-05-09T19_57_40+02_00.zip for the import. There is a task to schedule IQRF Standard FRC every 3m over MqttMessaging.
Read more about the scheduler and its tasks here.

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 timestamp. Logs without timestamp overwrite itself after reaching set size.

Migration

Migration gives possibility to handle export and import of the IQRF gateway configuration.

Controller

IQRF Gateway controller is responsible for the functionality of the gateway button and led.
Following parameters can be configured:
  • websocket servers (well configured for default gateway daemon)
  • button API call to the gateway daemon (no call, discovery, autonetwork)
  • logger severity level (trace, debug … error)
  • factory reset level (coordinator, daemon, IP network, web application)
Elaboration on factory reset levels:
  • Coordinator (performs Clear all bonds, sets Access Password to 16x0, sets TX power and RF filter to 7)
  • Daemon (default daemon’s package configuration is set, any custom setting is deleted)
  • IP network (default image DHCP Ethernet is set, any custom setting is deleted)
  • Web application (deletion of all webapp users)