\App\GatewayModule\ModelsDiagnosticsManager

Gateway diagnostics tool

Summary

Methods
Properties
Constants
__construct()
download()
addConfiguration()
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) : 

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

Returns

download()

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

Download 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() : 

Add configuration of IQRF Gateway Daemon

Returns

addDaemonLog()

addDaemonLog() : 

Add log of IQRF Gateway daemon

Returns

addDmesg()

addDmesg() : 

Add information from dmesg command

Returns

addInfo()

addInfo() : 

Add basic information about the gateway

Throws

\App\GatewayModule\Models\JsonException

Returns

addServices()

addServices() : 

Add information about services

Returns

addSpi()

addSpi() : 

Add information about available SPI interfaces

Returns

addUsb()

addUsb() : 

Add information from lsusb about USB gateways and programmers

Returns

addWebappLog()

addWebappLog() : 

Add log of IQRF Gateway daemon webapp

Returns