Skip to content

Commit

Permalink
Adding a signature on the ifd file, which allows to authorize the bac…
Browse files Browse the repository at this point in the history
…kup of an Intuiface experience with this AI
  • Loading branch information
jdesportes committed Oct 11, 2019
1 parent 3068509 commit 9f7f2cd
Show file tree
Hide file tree
Showing 2 changed files with 302 additions and 280 deletions.
291 changes: 151 additions & 140 deletions Nexmosphere/InterfaceAssetDescriptor/Nexmosphere.ifd
Original file line number Diff line number Diff line change
@@ -1,148 +1,159 @@
{
"kind": "discovery#restDescription",
"discoveryVersion": "v2",
"id": "Nexmosphere",
"name": "Nexmosphere",
"version": "1.0",
"protocol": "dll",
"baseUrl": null,
"basePath": "Nexmosphere",
"auth": {},
"dependencies": [
"Nexmosphere.dll"
],
"icons": {
"x32": "Nexmosphere-icon.png"
},
"schemas": {
"Nexmosphere": {
"id": "Nexmosphere",
"type": "object",
"properties": {
"PortName": {
"title": "COM / Serial Port Name",
"type": "string",
"description": "COM / Serial Port Name (ex: COM1)."
},
"AutoReconnect": {
"title": "Auto reconnect",
"type": "boolean",
"description": "Auto reconnect option. When set to true Interface Asset will periodically attempt to reconnect to the Nexmosphere device."
},
"IsConnected": {
"title": "Is connected",
"type": "boolean",
"description": "Indicates the status of the connection between the Nexmosphere device and the Interface Asset.",
"readonly": true
},
"OutputLog": {
"title": "Activity log",
"type": "string",
"description": "Event Log of the Nexmosphere/Interface Asset activity.",
"readonly": true
}
"kind": "discovery#restDescription",
"discoveryVersion": "v2",
"id": "Nexmosphere",
"name": "Nexmosphere",
"version": "1.0",
"protocol": "dll",
"baseUrl": null,
"basePath": "Nexmosphere",
"auth": {},
"dependencies": [
"Nexmosphere.dll"
],
"icons": {
"x32": "Nexmosphere-icon.png"
},
"schemas": {
"Nexmosphere": {
"id": "Nexmosphere",
"type": "object",
"properties": {
"PortName": {
"title": "COM / Serial Port Name",
"type": "string",
"description": "COM / Serial Port Name (ex: COM1)."
},
"AutoReconnect": {
"title": "Auto reconnect",
"type": "boolean",
"description": "Auto reconnect option. When set to true Interface Asset will periodically attempt to reconnect to the Nexmosphere device."
},
"IsConnected": {
"title": "Is connected",
"type": "boolean",
"description": "Indicates the status of the connection between the Nexmosphere device and the Interface Asset.",
"readonly": true
},
"OutputLog": {
"title": "Activity log",
"type": "string",
"description": "Event Log of the Nexmosphere/Interface Asset activity.",
"readonly": true
}
}
}
},
"resources": {
"Nexmosphere": {
"isInterfaceAsset": true,
"title": "Nexmosphere",
"description": "Send commands to and receive messages from any Nexmosphere device.",
"if.templateDesignAccelerator": "Nexmosphere-DA.dax",
"methods": {
"OpenSerialPort": {
"title": "Connect the Nexmosphere device",
"description": "Try to establish a connection to the Nexmosphere device (by opening the serial port).",
"response": {
"type": "none"
}
},
"CloseSerialPort": {
"title": "Disconnect the Nexmosphere device",
"description": "Close the connection to the Nexmosphere device (Close Serial Port).",
"response": {
"type": "none"
}
},
"SendXScriptCommand_FullLine": {
"title": "Send X-Script command line",
"description": "Send a full line X-Script command",
"parameters": {
"XScriptCommand": {
"type": "string",
"description": "Full line X-Script command to send via serial port",
"default": ""
}
},
"response": {
"type": "none"
}
},
"SendXScriptCommand": {
"title": "Send X-Script command",
"description": "Send X-Script command structure for a command",
"parameters": {
"TYPE": {
"type": "string",
"description": "type of command: X= X-Talk command, G = Generic control command, S = System command, D = Diagnostic command",
"default": "X"
},
"ADDRESS": {
"type": "string",
"description": "channel address to which the command is send: value between 0-999",
"default": "002"
},
"FORMAT": {
"type": "string",
"description": "format of the command: A = short command (number between 0-65535), B = long command (string of 0-30 characters), S = setting command (custom format for each setting)",
"default": "S"
},
"COMMAND": {
"type": "string",
"description": "the command to send",
"default": ""
}
},
"response": {
"type": "none"
}
}
},
"resources": {
"Nexmosphere": {
"isInterfaceAsset": true,
"title": "Nexmosphere",
"description": "Send commands to and receive messages from any Nexmosphere device.",
"if.templateDesignAccelerator": "Nexmosphere-DA.dax",
"methods": {
"OpenSerialPort": {
"title": "Connect the Nexmosphere device",
"description": "Try to establish a connection to the Nexmosphere device (by opening the serial port).",
"response": {
"type": "none"
}
},
"CloseSerialPort": {
"title": "Disconnect the Nexmosphere device",
"description": "Close the connection to the Nexmosphere device (Close Serial Port).",
"response": {
"type": "none"
}
},
"SendXScriptCommand_FullLine": {
"title": "Send X-Script command line",
"description": "Send a full line X-Script command",
"parameters": {
"XScriptCommand": {
"type": "string",
"description": "Full line X-Script command to send via serial port",
"default": ""
}
},
"response": {
"type": "none"
}
},
"SendXScriptCommand": {
"title": "Send X-Script command",
"description": "Send X-Script command structure for a command",
"parameters": {
"TYPE": {
"type": "string",
"description": "type of command: X= X-Talk command, G = Generic control command, S = System command, D = Diagnostic command",
"default": "X"
},
"ADDRESS": {
"type": "string",
"description": "channel address to which the command is send: value between 0-999",
"default": "002"
},
"FORMAT": {
"type": "string",
"description": "format of the command: A = short command (number between 0-65535), B = long command (string of 0-30 characters), S = setting command (custom format for each setting)",
"default": "S"
},
"COMMAND": {
"type": "string",
"description": "the command to send",
"default": ""
}
},
"response": {
"type": "none"
}
}
},
"events": {
"XScriptCommand": {
"id": "X-Script Command",
"title": "X-Script command received",
"description": "Raised when a X-Script command is received.",
"properties": {
"FullLine": {
"type": "string",
"title": "X-Script command (full line)",
"description": "X-Script command (full line)"
},
"TYPE": {
"type": "string",
"title": "TYPE",
"description": "TYPE"
},
"ADDRESS": {
"type": "string",
"title": "ADDRESS",
"description": "ADDRESS"
},
"events": {
"XScriptCommand": {
"id": "X-Script Command",
"title": "X-Script command received",
"description": "Raised when a X-Script command is received.",
"properties": {
"FullLine": {
"type": "string",
"title": "X-Script command (full line)",
"description": "X-Script command (full line)"
},
"TYPE": {
"type": "string",
"title": "TYPE",
"description": "TYPE"
},
"ADDRESS": {
"type": "string",
"title": "ADDRESS",
"description": "ADDRESS"
},
"FORMAT": {
"type": "string",
"title": "FORMAT",
"description": "FORMAT"
},
"COMMAND": {
"type": "string",
"title": "COMMAND",
"description": "COMMAND"
}
}
}
"FORMAT": {
"type": "string",
"title": "FORMAT",
"description": "FORMAT"
},
"COMMAND": {
"type": "string",
"title": "COMMAND",
"description": "COMMAND"
}
}
}
}
}
},
"signature": {
"hash": "roHHP6iclE0qLE6IxpCEvGnEEYSAcsSYtV5pbLV5ceY=",
"signatureData": {
"editionLevel": "FREE",
"hostname": "CASSIS",
"v": 2,
"data": "/XGTyWMR9QZResaTGdtXzpDBPR56nc38l+shATtiFFT/bp2DA2QpuR1tVD3C8M+AIIrC5RvxopmqbxGWGZwKKyJ4FDJEW/zs+tQplQsqWkRhEaOyBnx4ped8FHXkRLivubUh/nx3rhnSRz8D2nIF+VOFbk6HrRUx5Ex/rdPh3Ym7thywEWG/0vijzZYQlumb09hvSDl2PNX1xzAnBvFsvscq/mH4TWXM6/yRQPeqKhj2bj+WefefLGNly1A7XhYMMUBjryRAUXcKV836hk79kCj7HsoV2DqAQ/8OV/UObB1F+CzPDwRwcGfeNwOVRxsrAbF2Wv/MEz3bNd7tnneXh2HZTLmhGVI6TdFnvoe1nU/xuCZ2i6EcGM2A6JQtY5J73A/09yldMsPzI2K6QOzXKliIz3iuVmsVc/XGKXdsVC0enbaAPqIq+5lu54PZoSR5kKAA/ukw6zTHmBfOVSmBEIGHnaK5/DSNZ3UpVx6SW7MzxMfMHbwT7dFOKLbXJ+9DZMM9Yek7X/igwVtZmjUnht/uFCdUZMCSu4HBW+aC2e/xV5etBU+wX4DGm1UzPmi5x1xwjN52hwWYizwjFEAA072n+0Io8bagRzWw5aCMbF9n6TGjUqbE3V94SkVLAv0J7kajH8QrLEhfp1VXcKbJlsDDbde5FkcRHyfReqMaywhDWBA9hDBZzgGveXYnDnpIS9HIsMluwRO9Y5CvLRvNye9zTVTTV+5rLXTQ3SWWKg4g8PwsEn6lVhi1rRDQm0Zygt9GITkXdc+8TrzlDlwkMTPKesQei3Et1DKNAkDhTP8dk5SrLfP4EJ0TnCXTbxQu1xNdsNEc7B03R3Q+QYKQ8/khyQfr9b/BOGK1Uicf1wYF/OMAnQi13aitkOMYvDCCIO/GjJzPRVJUiToOXNqtP9iCo3qFGVk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