|Type||Topic||Plugin||Version||macOS||Windows||Linux||Console & Web||iOS|
|class||Phidgets||MBS USB Plugin||7.7||Yes||Yes||Yes||Yes||No|
The Webservice maintains a centralized dictionary of key-value pairs that can be accessed and changed from any number of clients through the CPhidgetDictionary interface available in phidget21.
Note that the Webservice uses this dictionary to control access to Phidgets through the openRemote and openRemoteIP interfaces, and as such, you should never add or modify a key that starts with /PSK/ or /PCK/, unless you want to explicitly modify Phidget specific data – and this is highly discouraged, as it's very easy to break things. Listening to these keys is fine if so desired.
The intended use for the dictionary is as a central repository for communication and persistent storage of data between several client applications. As an example - a higher level interface exposed by one application – which controls the Phidgets, for others to access – rather then every client talking directly to the Phidgets themselves.
The dictionary makes use of extended regular expressions for key matching. See the end of this document for the rules of regular expressions.
See the Phidget manuals for help on regular expressions.
- 4 events
- 2 properties
- 11 methods
- method addKey(key as string, value as string, persistent as Integer)
- method Close
- method Constructor
- method Constructor(pattern as string)
- method GetDeviceStatus as Integer
- method getServerAddress(byref port as Integer) as string
- method getServerID as string
- method GetServerStatus as Integer
- method openRemote(serverID as string, password as string)
- method openRemoteIP(addr as string, port as Integer, password as string)
- method removeKey(pattern as string)
This class has no sub classes.
The items on this page are in the following plugins: MBS USB Plugin.
MBS Xojo Plugins