Crate iobc_supervisor_service[][src]

Kubos Service for interacting with the ISIS-OBC Supervisor

Configuration

The service must be configured in /home/system/etc/config.toml with the following fields:

For example:

[iobc-supervisor-service.addr]
ip = "0.0.0.0"
port = 8006

Starting the Service

The service should be started automatically by its init script, but may also be started manually:

$ iobc-supervisor-service
Kubos antenna systems service started
Listening on: 0.0.0.0:8006

Available Fields

query {
    supervisor: {
        version: {
            dummy,
            spiCommandStatus,
            indexOfSubsystem,
            majorVersion,
            minorVersion,
            patchVersion,
            gitHeadVersion,
            serialNumber,
            compileInformation,
            clockSpeed,
            codeType,
            crc
        },
        housekeeping: {
            dummy,
            spiCommandStatus,
            enableStatus: {
                powerObc,
                powerRtc,
                supervisorMode,
                busyRtc,
                powerOffRtc
            },
            supervisorUptime,
            iobcUptime,
            iobcResetCount,
            adcData,
            adcUpdateFlag,
            crc8
        }
    }
}

mutation {
    reset,
    emergencyReset,
    powercycle
}