Get desktop application:
View/edit binary Protocol Buffers messages
Bluetooth
true = register, false = unregister
if true, try to connect to network service of remoter device given by name_mac, else open service
Bluetooth
USB gadget
USB Gadget
HIDScript / job management
FileSystem
unused
File System
Events
Events
Alive check
WiFi
Ethernet
Ethernet Interface Settings
TriggerActions
TriggerAction for cli (trigger group send and wait for group receive)
MasterTemplates
Startup Master Template
DB backup&restore
GPIO
System
Used in:
,Used in:
Used in:
Used in:
Used as request type in: P4WNP1.FireActionGroupSend
Used as field type in:
Used in:
(message has no fields)
Used in:
Used in:
could be combined into oneof with script path, to allow starting scripts from arbitrary filepath (avoids storing scripts in DB or fixed folder)
Used as request type in: P4WNP1.DeployBluetoothAgentSettings
Used as response type in: P4WNP1.DeployBluetoothAgentSettings, P4WNP1.GetBluetoothAgentSettings
Used as field type in:
Used as request type in: P4WNP1.DeployBluetoothControllerInformation
Used as response type in: P4WNP1.DeployBluetoothControllerInformation, P4WNP1.GetBluetoothControllerInformation
Used as field type in:
Used in:
Used in:
Used as request type in: P4WNP1.DeployBluetoothSettings
Used as response type in: P4WNP1.DeployBluetoothSettings, P4WNP1.DeployStoredBluetoothSettings, P4WNP1.GetStoredBluetoothSettings
Used as field type in:
Parts interpreted as settings: current_settings, name, service_network_server_nap, service_network_server_panu, service_network_server_gn
Could be used for IPv4 or IPv6 (refer dnsmasq docs), nor field for prefix length (default is 64)
Used in:
Lowest IP of DHCP range
Highest IP of DHCP range
DHCP
Used in:
if a port other thaan 0 is provided, a DNS server is bound to this port in addition to DHCP
if true, DHCP server binds to 0.0.0.0, no matter which interface is given (no restart needed on interface up/down)
Script executes when lease is added/deleted `scriptname <add|del> <MAC> <IP> <HOSTNAME>`
repeated DHCPServerOption options = 8;
Replaced by map (dealing with key duplicates is ONLY PARTIALY handled by proto3), See RFC 2132 for details of available options
Used for static leases
Used in:
Used as request type in: P4WNP1.GetAllDeployedEthernetInterfaceSettings, P4WNP1.GetAvailableGpios, P4WNP1.GetBluetoothAgentSettings, P4WNP1.GetBluetoothControllerInformation, P4WNP1.GetDeployedGadgetSetting, P4WNP1.GetDeployedTriggerActionSet, P4WNP1.GetLEDSettings, P4WNP1.GetStartupMasterTemplate, P4WNP1.GetWiFiState, P4WNP1.HIDCancelAllScriptJobs, P4WNP1.HIDGetRunningScriptJobs, P4WNP1.ListStoredBashScripts, P4WNP1.ListStoredBluetoothSettings, P4WNP1.ListStoredDBBackups, P4WNP1.ListStoredEthernetInterfaceSettings, P4WNP1.ListStoredHIDScripts, P4WNP1.ListStoredMasterTemplate, P4WNP1.ListStoredTriggerActionSets, P4WNP1.ListStoredUSBSettings, P4WNP1.ListStoredWifiSettings, P4WNP1.ListUmsImageCdrom, P4WNP1.ListUmsImageFlashdrive, P4WNP1.ListenWiFiStateChanges, P4WNP1.Reboot, P4WNP1.Shutdown
Used as response type in: P4WNP1.DBBackup, P4WNP1.DBRestore, P4WNP1.DeleteStoredBluetoothSettings, P4WNP1.DeleteStoredEthernetInterfaceSettings, P4WNP1.DeleteStoredMasterTemplate, P4WNP1.DeleteStoredTriggerActionSet, P4WNP1.DeleteStoredUSBSettings, P4WNP1.DeleteStoredWifiSettings, P4WNP1.DeployEthernetInterfaceSettings, P4WNP1.DeployMasterTemplate, P4WNP1.DeployStoredEthernetInterfaceSettings, P4WNP1.FSWriteFile, P4WNP1.FireActionGroupSend, P4WNP1.HIDCancelAllScriptJobs, P4WNP1.HIDCancelScriptJob, P4WNP1.MountUMSFile, P4WNP1.Reboot, P4WNP1.SetBluetoothNetworkService, P4WNP1.SetLEDSettings, P4WNP1.SetStartupMasterTemplate, P4WNP1.Shutdown, P4WNP1.StoreBluetoothSettings, P4WNP1.StoreDeployedBluetoothSettings, P4WNP1.StoreDeployedUSBSettings, P4WNP1.StoreDeployedWifiSettings, P4WNP1.StoreEthernetInterfaceSettings, P4WNP1.StoreMasterTemplate, P4WNP1.StoreTriggerActionSet, P4WNP1.StoreUSBSettings, P4WNP1.StoreWifiSettings, P4WNP1.WaitTriggerGroupReceive
(message has no fields)
Used as request type in: P4WNP1.DeployEthernetInterfaceSettings
Used as response type in: P4WNP1.GetDeployedEthernetInterfaceSettings, P4WNP1.GetStoredEthernetInterfaceSettings
Used as field type in:
,indicates if the given settings are applied to the interface
Used in:
Indicates that the settings aren't known, as they aren't managed by the service
Used in:
Used in:
Used in:
Used in:
Used as request type in: P4WNP1.DeployGadgetSetting
Used as response type in: P4WNP1.DeployGadgetSetting, P4WNP1.DeployStoredUSBSettings, P4WNP1.GetDeployedGadgetSetting, P4WNP1.GetStoredUSBSettings
Used as field type in:
Only applicable if RNDIS on
Only applicable if CDC ECM on
EthernetInterfaceSettings ethernet_settings = 17; //only applicable if RNDIS or CDC ECM on
Used in:
Used as request type in: P4WNP1.MountUMSFile
Used as field type in:
Used in:
values have to occur in order (other values allowed in between)
logical and ("all" values have to occur, could be unordered)
logical or ("one of" the values has to occur)
values have to occur in order (other values are NOT allowed in between)
Used as request type in: P4WNP1.HIDCancelScriptJob, P4WNP1.HIDGetRunningJobState, P4WNP1.HIDGetScriptJobResult
Used as response type in: P4WNP1.HIDRunScriptJob
Used as field type in:
HID
Used as request type in: P4WNP1.HIDRunScript, P4WNP1.HIDRunScriptJob
a timeout > 0 interrupts the HIDScript when reached, meassurement in seconds
Used as response type in: P4WNP1.HIDGetScriptJobResult, P4WNP1.HIDRunScript
string logOutput = 4; //will be used to retrieve log output of unfinished scripts, better implemented in dedicated method with stream
LED
Used as request type in: P4WNP1.SetLEDSettings
Used as response type in: P4WNP1.GetLEDSettings
MasterTemplates
Used as request type in: P4WNP1.DeployMasterTemplate
Used as response type in: P4WNP1.DeployStoredMasterTemplate, P4WNP1.GetStoredMasterTemplate
Used as field type in:
Alive check
Used as request type in: P4WNP1.DBBackup, P4WNP1.DBRestore, P4WNP1.DeleteStoredBluetoothSettings, P4WNP1.DeleteStoredEthernetInterfaceSettings, P4WNP1.DeleteStoredMasterTemplate, P4WNP1.DeleteStoredTriggerActionSet, P4WNP1.DeleteStoredUSBSettings, P4WNP1.DeleteStoredWifiSettings, P4WNP1.DeployStoredBluetoothSettings, P4WNP1.DeployStoredEthernetInterfaceSettings, P4WNP1.DeployStoredMasterTemplate, P4WNP1.DeployStoredTriggerActionSetAdd, P4WNP1.DeployStoredTriggerActionSetReplace, P4WNP1.DeployStoredUSBSettings, P4WNP1.DeployStoredWifiSettings, P4WNP1.EchoRequest, P4WNP1.GetDeployedEthernetInterfaceSettings, P4WNP1.GetStoredBluetoothSettings, P4WNP1.GetStoredEthernetInterfaceSettings, P4WNP1.GetStoredMasterTemplate, P4WNP1.GetStoredUSBSettings, P4WNP1.GetStoredWifiSettings, P4WNP1.SetStartupMasterTemplate, P4WNP1.StoreDeployedBluetoothSettings, P4WNP1.StoreDeployedUSBSettings, P4WNP1.StoreDeployedWifiSettings
Used as response type in: P4WNP1.EchoRequest, P4WNP1.GetStartupMasterTemplate
Used as response type in: P4WNP1.GetAvailableGpios, P4WNP1.ListStoredBashScripts, P4WNP1.ListStoredBluetoothSettings, P4WNP1.ListStoredDBBackups, P4WNP1.ListStoredEthernetInterfaceSettings, P4WNP1.ListStoredHIDScripts, P4WNP1.ListStoredMasterTemplate, P4WNP1.ListStoredTriggerActionSets, P4WNP1.ListStoredUSBSettings, P4WNP1.ListStoredWifiSettings, P4WNP1.ListUmsImageCdrom, P4WNP1.ListUmsImageFlashdrive
Used in:
assigned by service, used as identifier to allow deletion of trigger actions
Triggers, Actions and resulting TriggerActions
Used as request type in: P4WNP1.DeployTriggerActionSetAdd, P4WNP1.DeployTriggerActionSetRemove, P4WNP1.DeployTriggerActionSetReplace, P4WNP1.DeployTriggerActionSetUpdate, P4WNP1.StoreTriggerActionSet
Used as response type in: P4WNP1.DeployStoredTriggerActionSetAdd, P4WNP1.DeployStoredTriggerActionSetReplace, P4WNP1.DeployTriggerActionSetAdd, P4WNP1.DeployTriggerActionSetRemove, P4WNP1.DeployTriggerActionSetReplace, P4WNP1.DeployTriggerActionSetUpdate, P4WNP1.GetDeployedTriggerActionSet
Used in:
(message has no fields)
Used in:
fired when the correct value is received on the group channel
Used as request type in: P4WNP1.WaitTriggerGroupReceive
Used as field type in:
Used in:
fired when a user logs in
Used in:
Used in:
(message has no fields)
Used in:
(message has no fields)
Used in:
(message has no fields)
Used in:
(message has no fields)
Used in:
(message has no fields)
Used in:
AP uses WPA2 pre-shared key
Open System Authentication (no authentication)
Used in:
Used as request type in: P4WNP1.DeployWiFiSettings
Used as response type in: P4WNP1.GetStoredWifiSettings
Used as field type in:
,Generic
for template storage
disabled means neither hostapd, nor wpa_supplicant are running, the interface could still be enabled
Regulatory domain per ISO/IEC 3166-1 alpha2
SSID of AP to spawn + PSK if needed
SSID of Infra to join + PSK if needed
if true, SSID gets hidden for spawned AP
Used as response type in: P4WNP1.DeployStoredWifiSettings, P4WNP1.DeployWiFiSettings, P4WNP1.GetWiFiState, P4WNP1.ListenWiFiStateChanges
SSID currently connected (STA) or spawned (AP)
Used in:
acts as access point
acts as station for an existing access point
WiFi2 (distinguish state and settings)
Used in:
acts as access point
acts as station for an existing access point
acts as station, if connection to the given AP isn't possible spawns an own AP