public class ShellCommands extends Object implements org.ogema.driverconfig.LLDriverInterface
| Constructor and Description |
|---|
ShellCommands(ZWaveDriver driver,
org.osgi.framework.BundleContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConnection(String hardwareIdentifier) |
void |
addConnectionViaPort(String portName) |
org.json.JSONObject |
cacheDevices() |
void |
enableExclusion(String interfaceId) |
void |
enableInclusion(String interfaceId,
String nodeName) |
void |
resetController(String interfaceId) |
org.json.JSONObject |
scanForDevices() |
org.json.JSONArray |
showAllCreatedChannels() |
org.json.JSONObject |
showClusterDetails(String interfaceId,
String device,
String endpoint,
String clusterId) |
org.json.JSONArray |
showConfigs(String interfaceId,
short deviceAddress) |
org.json.JSONArray |
showDeviceDetails(String interfaceId,
String nodeName) |
org.json.JSONObject |
showHardware() |
org.json.JSONObject |
showNetwork() |
org.json.JSONObject |
showNetwork(String option) |
String |
whichID() |
String |
whichTech() |
void |
writeConfig(String channelAddress,
String value) |
public ShellCommands(ZWaveDriver driver, org.osgi.framework.BundleContext context)
public void enableExclusion(String interfaceId)
public void resetController(String interfaceId)
public org.json.JSONObject showHardware()
showHardware in interface org.ogema.driverconfig.LLDriverInterfacepublic org.json.JSONObject showNetwork()
public org.json.JSONArray showDeviceDetails(String interfaceId, String nodeName)
showDeviceDetails in interface org.ogema.driverconfig.LLDriverInterfacepublic org.json.JSONArray showAllCreatedChannels()
showAllCreatedChannels in interface org.ogema.driverconfig.LLDriverInterfacepublic void addConnection(String hardwareIdentifier)
addConnection in interface org.ogema.driverconfig.LLDriverInterfacepublic void addConnectionViaPort(String portName)
addConnectionViaPort in interface org.ogema.driverconfig.LLDriverInterfacepublic org.json.JSONObject showClusterDetails(String interfaceId, String device, String endpoint, String clusterId)
showClusterDetails in interface org.ogema.driverconfig.LLDriverInterfacepublic org.json.JSONObject showNetwork(String option)
showNetwork in interface org.ogema.driverconfig.LLDriverInterfacepublic String whichTech()
whichTech in interface org.ogema.driverconfig.LLDriverInterfacepublic String whichID()
whichID in interface org.ogema.driverconfig.LLDriverInterfacepublic org.json.JSONObject cacheDevices()
cacheDevices in interface org.ogema.driverconfig.LLDriverInterfacepublic org.json.JSONObject scanForDevices()
scanForDevices in interface org.ogema.driverconfig.LLDriverInterfacepublic org.json.JSONArray showConfigs(String interfaceId, short deviceAddress)
Copyright © 2019. All rights reserved.