public class ShellCommands extends Object implements org.ogema.driverconfig.HLDriverInterface
| Constructor and Description |
|---|
ShellCommands(GenericXbeeZbDriver driver,
org.osgi.framework.BundleContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
createChannel(String interfaceId,
String deviceAddress,
String channelAddress,
long timeout,
String resourceName,
String deviceId) |
void |
deleteChannel(String interfaceId,
String deviceAddress,
String channelAddress) |
void |
deviceScan(String interfaceId) |
org.json.JSONObject |
readChannel(String interfaceId,
String deviceAddress,
String channelAddress) |
void |
showCreatedChannels() |
org.json.JSONArray |
showCreatedChannels(String deviceAddress) |
String |
whichID() |
void |
writeChannel(String interfaceId,
String deviceAddress,
String channelAddress,
String writeValue) |
public ShellCommands(GenericXbeeZbDriver driver, org.osgi.framework.BundleContext context)
public void showCreatedChannels()
public void createChannel(String interfaceId, String deviceAddress, String channelAddress, long timeout, String resourceName, String deviceId)
createChannel in interface org.ogema.driverconfig.HLDriverInterfacepublic void deleteChannel(String interfaceId, String deviceAddress, String channelAddress)
deleteChannel in interface org.ogema.driverconfig.HLDriverInterfacepublic org.json.JSONObject readChannel(String interfaceId, String deviceAddress, String channelAddress)
readChannel in interface org.ogema.driverconfig.HLDriverInterfacepublic void writeChannel(String interfaceId, String deviceAddress, String channelAddress, String writeValue)
writeChannel in interface org.ogema.driverconfig.HLDriverInterfacepublic org.json.JSONArray showCreatedChannels(String deviceAddress)
showCreatedChannels in interface org.ogema.driverconfig.HLDriverInterfacepublic String whichID()
whichID in interface org.ogema.driverconfig.HLDriverInterfaceCopyright © 2018. All rights reserved.