Files
devicemanager/ts/protocols/index.ts

65 lines
1.3 KiB
TypeScript

/**
* Protocol implementations
* All network communication protocols for device interaction
*/
// eSCL/AirScan scanner protocol
export { EsclProtocol } from './protocol.escl.js';
// SANE network scanner protocol
export { SaneProtocol } from './protocol.sane.js';
// IPP printer protocol
export {
IppProtocol,
type IIppPrinterCapabilities,
type IIppJob,
type IIppPrintOptions,
} from './protocol.ipp.js';
// SNMP query protocol
export {
SnmpProtocol,
SNMP_OIDS,
type TSnmpValueType,
type ISnmpVarbind,
type ISnmpOptions,
} from './protocol.snmp.js';
// Network UPS Tools protocol
export {
NutProtocol,
NUT_VARIABLES,
NUT_COMMANDS,
type TNutStatusFlag,
type INutUpsInfo,
type INutVariable,
} from './protocol.nut.js';
// UPnP/DLNA SOAP protocol
export {
UpnpSoapClient,
UPNP_SERVICE_TYPES,
UPNP_DEVICE_TYPES,
type TDlnaTransportState,
type TDlnaTransportStatus,
type IDlnaPositionInfo,
type IDlnaTransportInfo,
type IDlnaMediaInfo,
type IDlnaContentItem,
type IDlnaBrowseResult,
} from './protocol.upnp.js';
// UPS SNMP (UPS-MIB RFC 1628)
export {
UpsSnmpHandler,
UPS_SNMP_OIDS,
type TUpsBatteryStatus,
type TUpsOutputSource,
type TUpsTestResult,
type IUpsSnmpStatus,
} from './protocol.upssnmp.js';
// Home Assistant WebSocket protocol
export { HomeAssistantProtocol } from './protocol.homeassistant.js';