Default package

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message ChangePinConfirm

zehnder.proto:293

(message has no fields)

message ChangePinRequest

zehnder.proto:288

///////////////////////////////////////////////////////////////////////////////////////////////// Used to change the Pin-code of the Gateway. The default Pin-code is 0000. The Pin-code is also reset to 0000 when a factory reset is performed. Authentication: This message is authenticated by srcuuid (must be a registered AppUUID or WebUUID). The old Pin-code is also verified /////////////////////////////////////////////////////////////////////////////////////////////////

message CloseSessionConfirm

zehnder.proto:242

(message has no fields)

message CloseSessionRequest

zehnder.proto:239

///////////////////////////////////////////////////////////////////////////////////////////////// Inform other side that the session is closed. CloseSessionConfirm is only sent back when an error occurred. Authentication: None /////////////////////////////////////////////////////////////////////////////////////////////////

(message has no fields)

message CnAlarmNotification

zehnder.proto:571

Used in: GatewayNotification

message CnFupProgramBeginConfirm

zehnder.proto:607

(message has no fields)

message CnFupProgramBeginRequest

zehnder.proto:602

Wrapper for CN_fupEraseMemoryBlock() and CN_fupProgramMemoryBlockBegin() Since the flash is erased upon a begin request, it may take several minutes before the request is confirmed.

message CnFupProgramConfirm

zehnder.proto:615

(message has no fields)

message CnFupProgramEndConfirm

zehnder.proto:622

(message has no fields)

message CnFupProgramEndRequest

zehnder.proto:619

Wrapper for CN_fupProgramMemoryBlockEnd() and CN_fupVerifyMemoryBlock()

(message has no fields)

message CnFupProgramRequest

zehnder.proto:611

Wrapper for CN_fupWriteData() and CN_fupRequestToSend()

message CnFupReadConfirm

zehnder.proto:633

One or more confirms to one CnFupReadRequest, but always ends with the last bool set to true. In case of an error, the last CnFupReadConfirm has both a GatewayOperation.result and CnFupReadConfirm.last (possibly without chunk) set.

message CnFupReadRegisterConfirm

zehnder.proto:596

message CnFupReadRegisterRequest

zehnder.proto:590

Wrapper for CN_fupReadNormalRegister() and CN_fupReadIndexedRegister()

message CnFupReadRequest

zehnder.proto:626

Wrapper for CN_fupReadBegin(), CN_fupReadData(), CN_fupClearToSend(), and CN_fupReadEnd()

message CnFupResetConfirm

zehnder.proto:643

(message has no fields)

message CnFupResetRequest

zehnder.proto:639

Wrapper for CN_fupReset()

message CnNodeNotification

zehnder.proto:503

enum CnNodeNotification.NodeModeType

zehnder.proto:508

Used in: CnNodeNotification

message CnNodeRequest

zehnder.proto:500

Wrapper for CN_nmtFindNode() / CN_nmtRegisterCallback() When a session is started, every existing node is notified to the app as soon as possible. This request (re)triggers discovery of the nodes. There is no confirm to this request, but the Gateway will respond quickly with (at least) the discovery of the Gateway itself using a CnNodeNotification.

(message has no fields)

message CnRmiAsyncConfirm

zehnder.proto:540

Confirm of receipt of CnRmiAsyncRequest After this confirmation, the actual RMI response is sent using CnRmiAsyncResponse.

message CnRmiAsyncRequest

zehnder.proto:533

Non-blocking wrapper for CN_rmiSend() The response to this request is CnRmiAsyncConfirm. Overlapped RMI requests can be achieved by issuing multiple CnRmiAsyncRequest before CnRmiAsyncResponses are received.

message CnRmiAsyncResponse

zehnder.proto:547

Out-of-order wrapper for CN_rmiRecv() When there multiple outstanding async RMI requests, these requests will finish in the same order as the requests were issued. However, the time between request/response may be large. Moreover, other protobuf messages can be processed meanwhile.

message CnRmiRequest

zehnder.proto:519

Blocking wrapper for CN_rmiSend() The Gateway stalls till the RMI operation completes.

message CnRmiResponse

zehnder.proto:525

In-order wrapper for CN_rmiRecv()

message CnRpdoConfirm

zehnder.proto:562

(message has no fields)

message CnRpdoNotification

zehnder.proto:565

message CnRpdoRequest

zehnder.proto:554

Wrapper for CN_rpdoCreate(). All RPDOs will be deleted when a session is closed.

message CnTimeConfirm

zehnder.proto:492

Wrapper for CN_clkGetTime()

message CnTimeRequest

zehnder.proto:487

Wrapper for CN_clkSetTime()

message CnWhoAmIConfirm

zehnder.proto:652

(message has no fields)

message CnWhoAmIRequest

zehnder.proto:647

Wrapper for ComfoNet WhoAmI

message DebugConfirm

zehnder.proto:466

message DebugRequest

zehnder.proto:440

///////////////////////////////////////////////////////////////////////////////////////////////// Gateway-specific debugging operations /////////////////////////////////////////////////////////////////////////////////////////////////

enum DebugRequest.DebugRequestCommand

zehnder.proto:441

Used in: DebugRequest

message DeregisterAppConfirm

zehnder.proto:277

(message has no fields)

message DeregisterAppRequest

zehnder.proto:273

///////////////////////////////////////////////////////////////////////////////////////////////// Used to deregister a mobile app from the Gateway. The Gateway removes the specified uuid from the list of registered AppUUIDs. The devicename for this uuid is also removed. Authentication: This message is authenticated by srcuuid (must be a registered AppUUID or WebUUID). SupportUUID is not allowed. /////////////////////////////////////////////////////////////////////////////////////////////////

message DiscoveryOperation

zehnder.proto:10

///////////////////////////////////////////////////////////////////////////////////////////////// Discovery messages /////////////////////////////////////////////////////////////////////////////////////////////////

message FactoryReset

zehnder.proto:163

///////////////////////////////////////////////////////////////////////////////////////////////// FactoryReset message This message is used to reset the Gateway to Factory defaults /////////////////////////////////////////////////////////////////////////////////////////////////

enum FieldType

nanopb.proto:13

Used in: NanoPBOptions

message GatewayNotification

zehnder.proto:147

///////////////////////////////////////////////////////////////////////////////////////////////// This is the base-message for all notifications. The Gateway sends this message to the Backend and the connected App (if any). The Gateway specifies the list of currently registered PushUUIDs in this message. The Backend uses this list to send out the push-notifications if needed (depending on the contents of the push-message). TODO: Tell Gateway which notifications to forward to the Backend and which to forward to the App only /////////////////////////////////////////////////////////////////////////////////////////////////

message GatewayOperation

zehnder.proto:33

///////////////////////////////////////////////////////////////////////////////////////////////// Message-type Raw value is encoded as 16-bit network-order on the wire (not default enum encoding, which is varint) /////////////////////////////////////////////////////////////////////////////////////////////////

enum GatewayOperation.GatewayResult

zehnder.proto:124

Used in: GatewayOperation

enum GatewayOperation.OperationType

zehnder.proto:34

Used in: GatewayOperation

message GetRemoteAccessIdConfirm

zehnder.proto:306

message GetRemoteAccessIdRequest

zehnder.proto:303

///////////////////////////////////////////////////////////////////////////////////////////////// This returns the currently set RemoteUUID at the Gateway or nothing if not set. Authentication: This message is authenticated by srcuuid (must be a registered AppUUID). SupportUUID/WebUUID are not allowed. /////////////////////////////////////////////////////////////////////////////////////////////////

(message has no fields)

message GetSupportIdConfirm

zehnder.proto:342

message GetSupportIdRequest

zehnder.proto:339

///////////////////////////////////////////////////////////////////////////////////////////////// This returns the currently set SupportUUID at the Gateway or nothing if not set. Authentication: This message is authenticated by srcuuid (must be a registered AppUUID or WebUUID). /////////////////////////////////////////////////////////////////////////////////////////////////

(message has no fields)

message GetWebIdConfirm

zehnder.proto:375

message GetWebIdRequest

zehnder.proto:372

///////////////////////////////////////////////////////////////////////////////////////////////// This returns the currently set WebUUID at the Gateway or nothing if not set. Authentication: This message is authenticated by srcuuid (must be a registered AppUUID). /////////////////////////////////////////////////////////////////////////////////////////////////

(message has no fields)

enum IntSize

nanopb.proto:21

Used in: NanoPBOptions

message KeepAlive

zehnder.proto:156

///////////////////////////////////////////////////////////////////////////////////////////////// KeepAlive message This message is used to keep the session alive and to check for half-open TCP connections. /////////////////////////////////////////////////////////////////////////////////////////////////

(message has no fields)

message ListRegisteredAppsConfirm

zehnder.proto:256

message ListRegisteredAppsConfirm.App

zehnder.proto:257

Used in: ListRegisteredAppsConfirm

message ListRegisteredAppsRequest

zehnder.proto:253

///////////////////////////////////////////////////////////////////////////////////////////////// Used to get a list of currently registered AppUUIDs at the Gateway. Authentication: This message is authenticated by srcuuid (must be a registered AppUUID or WebUUID). SupportUUID is not allowed. /////////////////////////////////////////////////////////////////////////////////////////////////

(message has no fields)

message NanoPBOptions

nanopb.proto:32

This is the inner options message, which basically defines options for a field. When it is used in message or file scope, it applies to all fields.

message RegisterAppConfirm

zehnder.proto:211

(message has no fields)

message RegisterAppRequest

zehnder.proto:205

///////////////////////////////////////////////////////////////////////////////////////////////// Used to register an AppUUID at the Gateway. It is only handled on the local connection! The Gateway keeps a list of registered AppUUIDs and devicenames in eeprom/flash. When too many apps are registered, NO_RESOURCES is returned. Authentication: This is the only request that is not authenticated by srcuuid (since it is not yet known at the Gateway). This request is authenticated by Pin-code in the message. The uuid in this message is the same as the srcuuid in the message-header. Note: this message is only allowed on the local connection!! //////////////////////////////////////////////////////////////////////////////////////////////

message SearchGatewayRequest

zehnder.proto:15

Used in: DiscoveryOperation

(message has no fields)

message SearchGatewayResponse

zehnder.proto:18

Used in: DiscoveryOperation

enum SearchGatewayResponse.GatewayType

zehnder.proto:19

Used in: SearchGatewayResponse

message SetAddressConfirm

zehnder.proto:191

(message has no fields)

message SetAddressRequest

zehnder.proto:187

///////////////////////////////////////////////////////////////////////////////////////////////// Associates a GatewayUUID or AppUUID with a Backend-connection. This way the Backend knows on which TCP-connection the specified UUID can be reached. Authentication: The uuid in this message is the same as the srcuuid in the message-header. This message is not authenticated. /////////////////////////////////////////////////////////////////////////////////////////////////

message SetDeviceSettingsConfirm

zehnder.proto:176

(message has no fields)

message SetDeviceSettingsRequest

zehnder.proto:171

///////////////////////////////////////////////////////////////////////////////////////////////// SetDeviceSettings message This message is used to set the MAC address and serial number of the device /////////////////////////////////////////////////////////////////////////////////////////////////

message SetPushIdConfirm

zehnder.proto:410

(message has no fields)

message SetPushIdRequest

zehnder.proto:406

///////////////////////////////////////////////////////////////////////////////////////////////// The PushUUID is set at the Gateway when the user enables push-support in the App. Multiple PushUUIDs can be set at the Gateway (one per AppUUID). The Gateway stores the PushUUIDs in eeprom/flash and uses them when a notification is received from the ComfoNet-side. The notification is forwarded to the Backend and the connected App (if any) using the GatewayNotification (see TODO) messages. The PushUUID can be removed from the Gateway by keeping the uuid in the request empty (for the AppUUID indicated by the srcuuid). Authentication: This message is authenticated by srcuuid (must be a registered AppUUID). /////////////////////////////////////////////////////////////////////////////////////////////////

message SetRemoteAccessIdConfirm

zehnder.proto:330

(message has no fields)

message SetRemoteAccessIdRequest

zehnder.proto:326

///////////////////////////////////////////////////////////////////////////////////////////////// The RemoteUUID is set at the Gateway when the user enables remote access from the App. The Gateway stores the RemoteUUID in eeprom/flash and uses it to set its address at the Backend. When the Gateway has not received a RemoteUUID yet, it cannot set the address at the Backend and therefore there is no need to setup the connection to the Backend. The App uses this RemoteUUID to gain access to the Gateway via the Backend. The Backend routes messages from the App to the Gateway that registered this id with SetAddress. Setting the RemoteUUID to a new value requires other Apps that still use the old value (or no value) to get an updated RemoteAccessId. Remote access can be disabled by keeping the uuid in the request empty. In this case the Gateway will remove the current RemoteUUID (if any) and close the connection to the Backend. Authentication: This message is authenticated by srcuuid (must be a registered AppUUID). Note: this message is only allowed on the local connection!! /////////////////////////////////////////////////////////////////////////////////////////////////

message SetSupportIdConfirm

zehnder.proto:363

(message has no fields)

message SetSupportIdRequest

zehnder.proto:358

///////////////////////////////////////////////////////////////////////////////////////////////// The SupportUUID is set at the Gateway when the user enables remote support from the App. The Gateway stores the SupportUUID in eeprom/flash and uses it to authenticate incoming requests (same way as AppUUID, WebUUID). The SupportUUID is only valid for a limited time (to be determined). The Gateway is responsible from removing the SupportUUID when the time is expired. The SupportUUID can be removed from the Gateway by keeping the uuid in the request empty. Authentication: This message is authenticated by srcuuid (must be a registered AppUUID). /////////////////////////////////////////////////////////////////////////////////////////////////

message SetWebIdConfirm

zehnder.proto:391

(message has no fields)

message SetWebIdRequest

zehnder.proto:387

///////////////////////////////////////////////////////////////////////////////////////////////// The WebUUID is set at the Gateway when the user enables remote login for the Web-portal (from a registered App). The Gateway stores the WebUUID in eeprom/flash and uses it to authenticate incoming requests (same way as AppUUID). The WebUUID can be removed from the Gateway by keeping the uuid in the request empty. Authentication: This message is authenticated by srcuuid (must be a registered AppUUID). /////////////////////////////////////////////////////////////////////////////////////////////////

message StartSessionConfirm

zehnder.proto:227

message StartSessionRequest

zehnder.proto:223

///////////////////////////////////////////////////////////////////////////////////////////////// Starts a new session at the Gateway. If the Gateway currently already has an active session it responds with result OTHER_SESSION, and fill in the devicename. The client asks the user if it want to close the old session and start a new one. In this case the takeover-flag is set to True Authentication: This message is authenticated by srcuuid /////////////////////////////////////////////////////////////////////////////////////////////////

message UpgradeConfirm

zehnder.proto:434

(message has no fields)

message UpgradeRequest

zehnder.proto:423

enum UpgradeRequest.UpgradeRequestCommand

zehnder.proto:424

Used in: UpgradeRequest

message VersionConfirm

zehnder.proto:480

message VersionRequest

zehnder.proto:477

(message has no fields)

message WiFiJoinNetworkConfirm

zehnder.proto:708

(message has no fields)

message WiFiJoinNetworkRequest

zehnder.proto:701

enum WiFiMode

zehnder.proto:664

Used in: WiFiJoinNetworkRequest, WiFiSettingsConfirm

message WiFiNetwork

zehnder.proto:669

Used in: WiFiNetworksConfirm, WiFiSettingsConfirm

message WiFiNetworksConfirm

zehnder.proto:696

message WiFiNetworksRequest

zehnder.proto:692

enum WiFiSecurity

zehnder.proto:656

WiFi config

Used in: WiFiJoinNetworkRequest, WiFiNetwork

message WiFiSettingsConfirm

zehnder.proto:678

enum WiFiSettingsConfirm.WiFiJoinResult

zehnder.proto:679

Used in: WiFiSettingsConfirm

message WiFiSettingsRequest

zehnder.proto:675

(message has no fields)