\App\GatewayModule\ModelsDiagnosticsManager

Gateway diagnostics tool

Summary

Methods
Properties
Constants
__construct()
download()
addConfiguration()
addMetadata()
addScheduler()
addDaemonLog()
addDmesg()
addInfo()
addServices()
addSpi()
addUsb()
addWebappLog()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(  confDir,   logDir, \App\GatewayModule\Models\CommandManager  commandManager, \App\GatewayModule\Models\InfoManager  infoManager, \App\GatewayModule\Models\MainManager  mainManager, \App\GatewayModule\Models\NetworkManager  networkManager, \App\GatewayModule\Models\VersionManager  versionManager) : 

Constructor

Parameters

confDir

Path to a directory with IQRF Gateway Daemon's configuration

logDir

Path to a directory with log files of IQRF Gateway Daemon

\App\GatewayModule\Models\CommandManager commandManager

Command manager

\App\GatewayModule\Models\InfoManager infoManager

Gateway Info manager

\App\GatewayModule\Models\MainManager mainManager

Main configuration manager

\App\GatewayModule\Models\NetworkManager networkManager

Network manager

\App\GatewayModule\Models\VersionManager versionManager

Version manager

Returns

download()

download() : \App\GatewayModule\Models\FileResponse

Downloads a diagnostic data

Throws

\App\GatewayModule\Models\BadRequestException
\App\GatewayModule\Models\JsonException

Returns

\App\GatewayModule\Models\FileResponse —

HTTP response with the diagnostic data

addConfiguration()

addConfiguration() : 

Adds a configuration of IQRF Gateway Daemon

Returns

addMetadata()

addMetadata() : 

Adds IQRF Gateway Daemon's metadata

Returns

addScheduler()

addScheduler() : 

Adds a configuration of IQRF Gateway Daemon's scheduler

Returns

addDaemonLog()

addDaemonLog() : 

Adds logs of IQRF Gateway Daemon

Returns

addDmesg()

addDmesg() : 

Adds information from dmesg command

Returns

addInfo()

addInfo() : 

Adds basic information about the gateway

Throws

\App\GatewayModule\Models\JsonException

Returns

addServices()

addServices() : 

Adds information about services

Returns

addSpi()

addSpi() : 

Adds information about available SPI interfaces

Returns

addUsb()

addUsb() : 

Adds information from lsusb about USB gateways and programmers

Returns

addWebappLog()

addWebappLog() : 

Adds logs of IQRF Gateway Webapp

Returns