- getAddress() - Method in class me.legrange.panstamp.PanStamp
-
Get the address of this device.
- getBaud() - Method in class me.legrange.swap.SerialModem
-
Get the serial speed this modem connects at
- getBitPos() - Method in class me.legrange.panstamp.definition.Position
-
Get the bit offset of the position.
- getBits() - Method in class me.legrange.panstamp.definition.Size
-
Get the number of bits defined by this size.
- getBytePos() - Method in class me.legrange.panstamp.definition.Position
-
Get the byte offset of the position.
- getBytes() - Method in class me.legrange.panstamp.definition.Size
-
Get the number of bytes defined by this size.
- getByteSize() - Method in interface me.legrange.panstamp.definition.RegisterDefinition
-
Get the size in bytes of this register.
- getChannel() - Method in class me.legrange.panstamp.Network
-
Get the frequency channel
- getChannel() - Method in class me.legrange.panstamp.PanStamp
-
Return the network channel
- getChannel() - Method in class me.legrange.swap.ModemSetup
-
- getDefault() - Method in interface me.legrange.panstamp.definition.ParameterDefinition
-
Get the default value of the parameter as per XML.
- getDefault() - Method in interface me.legrange.panstamp.Parameter
-
returns the default value of the parameter as defined in XML.
- getDeveloper() - Method in interface me.legrange.panstamp.definition.DeviceDefinition
-
Get the developer owning this device definition
- getDevice(int) - Method in class me.legrange.panstamp.Network
-
return the device with the given name
- getDevice() - Method in class me.legrange.panstamp.Register
-
Get the device to which this register belongs.
- getDeviceAddress() - Method in class me.legrange.panstamp.Network
-
get the gateway panStamp's address
- getDeviceAddress() - Method in class me.legrange.swap.ModemSetup
-
- getDeviceDefinition(int, int) - Method in class me.legrange.panstamp.definition.CompoundDeviceLibrary
-
- getDeviceDefinition(int, int) - Method in interface me.legrange.panstamp.DeviceLibrary
-
get the device definition based on the supplied manufacturer ID and product ID.
- getDeviceLibrary() - Method in class me.legrange.panstamp.Network
-
Return the device library being used to lookup device definitions.
- getDevices() - Method in class me.legrange.panstamp.Network
-
return all the devices associated with this network
- getDeviceStore() - Method in class me.legrange.panstamp.Network
-
Return the device store used to save device state.
- getDirection() - Method in interface me.legrange.panstamp.definition.EndpointDefinition
-
Get the direction of data flow for this endpoint.
- getDirectory() - Method in class me.legrange.panstamp.xml.FileLibrary
-
Return the directory used for loading by this file loader.
- getEndpoint(String) - Method in class me.legrange.panstamp.Register
-
return the endpoint for the given name
- getEndpoints() - Method in interface me.legrange.panstamp.definition.RegisterDefinition
-
Get the endpoint definitions defined for this register definition.
- getEndpoints() - Method in class me.legrange.panstamp.Register
-
return the endpoints defined for this register
- getFactor() - Method in class me.legrange.panstamp.definition.Unit
-
The multiplication factor for the data.
- getFunction() - Method in class me.legrange.swap.SerialMessage
-
- getFunction() - Method in interface me.legrange.swap.SwapMessage
-
Get the SWAP function code for this message.
- getFunction() - Method in class me.legrange.swap.UserMessage
-
- getGateway() - Method in class me.legrange.panstamp.PanStamp
-
Get the gateway this device is attached to.
- getHops() - Method in class me.legrange.swap.SerialMessage
-
- getHops() - Method in interface me.legrange.swap.SwapMessage
-
- getHops() - Method in class me.legrange.swap.UserMessage
-
- getHost() - Method in class me.legrange.swap.tcp.TcpModem
-
Get the host the modem is connected to.
- getId() - Method in interface me.legrange.panstamp.definition.DeveloperDefinition
-
Get the developer ID.
- getId() - Method in interface me.legrange.panstamp.definition.DeviceDefinition
-
Get the definition ID (product ID)
- getId() - Method in interface me.legrange.panstamp.definition.RegisterDefinition
-
Get the register ID of the register defined by this defintion.
- getId() - Method in class me.legrange.panstamp.Register
-
return the register ID
- getLabel() - Method in interface me.legrange.panstamp.definition.DeviceDefinition
-
Get the label (more informative description / human readable description) of the
device / product.
- getLqi() - Method in class me.legrange.swap.SerialMessage
-
- getLqi() - Method in interface me.legrange.swap.SwapMessage
-
- getLqi() - Method in class me.legrange.swap.UserMessage
-
- getManufacturerId() - Method in class me.legrange.panstamp.PanStamp
-
Get the device manufacturer id.
- getName() - Method in interface me.legrange.panstamp.definition.DeveloperDefinition
-
Get the developer name
- getName() - Method in interface me.legrange.panstamp.definition.DeviceDefinition
-
Get the name of the device or product
- getName() - Method in interface me.legrange.panstamp.definition.EndpointDefinition
-
Get the name of the endpoint.
- getName() - Method in interface me.legrange.panstamp.definition.ParameterDefinition
-
Get then name of the parameter (as per XML).
- getName() - Method in interface me.legrange.panstamp.definition.RegisterDefinition
-
Get the name of the register.
- getName() - Method in class me.legrange.panstamp.definition.Unit
-
The name of the unit.
- getName() - Method in interface me.legrange.panstamp.Endpoint
-
Return the name of this endpoint.
- getName() - Method in class me.legrange.panstamp.PanStamp
-
Get the device name (as defined by the endpoint definition).
- getName() - Method in interface me.legrange.panstamp.Parameter
-
Return the name of the parameter (as defined by XML)
- getName() - Method in class me.legrange.panstamp.Register
-
Get the register name as defined in XML.
- getNetwork() - Method in class me.legrange.panstamp.PanStamp
-
Return the network ID
- getNetworkId() - Method in class me.legrange.panstamp.Network
-
return the network ID for the network supported by this network
- getNetworkID() - Method in class me.legrange.swap.ModemSetup
-
- getOffset() - Method in class me.legrange.panstamp.definition.Unit
-
The offset constant for the data.
- getParameters() - Method in interface me.legrange.panstamp.definition.RegisterDefinition
-
Get the parameter definitions defined for this register definition.
- getParameters() - Method in class me.legrange.panstamp.Register
-
Returns the parameters (if any) for this endpoint
- getPattern() - Method in interface me.legrange.panstamp.Parameter
-
Return the verification pattern for this parameter.
- getPort() - Method in class me.legrange.swap.SerialModem
-
Get the name of the serial port used by this modem.
- getPort() - Method in class me.legrange.swap.tcp.TcpModem
-
Get the TCP port the modem is connected to.
- getPosition() - Method in interface me.legrange.panstamp.definition.EndpointDefinition
-
Get the position of the endpoint data within the register.
- getPosition() - Method in interface me.legrange.panstamp.definition.ParameterDefinition
-
Get the position of the parameter data within the register.
- getProduct() - Method in interface me.legrange.panstamp.definition.DeviceDefinition
-
Get the product description of the
device / product.
- getProductId() - Method in class me.legrange.panstamp.PanStamp
-
Get the device product id.
- getReceiver() - Method in class me.legrange.swap.SerialMessage
-
- getReceiver() - Method in interface me.legrange.swap.SwapMessage
-
- getReceiver() - Method in class me.legrange.swap.UserMessage
-
- getRegister(int) - Method in interface me.legrange.panstamp.definition.DeviceDefinition
-
Return the register definition for the register with the given ID.
- getRegister() - Method in interface me.legrange.panstamp.definition.EndpointDefinition
-
Get the register definition to which this endpoint definition applies.
- getRegister() - Method in interface me.legrange.panstamp.Endpoint
-
Get the register to which this endpoint is associated.
- getRegister(int) - Method in class me.legrange.panstamp.PanStamp
-
Get the register with the given register ID for this device.
- getRegister() - Method in interface me.legrange.panstamp.Parameter
-
Returns the register associated with this parameter.
- getRegisterAddress() - Method in class me.legrange.swap.SerialMessage
-
- getRegisterAddress() - Method in interface me.legrange.swap.SwapMessage
-
- getRegisterAddress() - Method in class me.legrange.swap.UserMessage
-
- getRegisterID() - Method in class me.legrange.swap.SerialMessage
-
- getRegisterID() - Method in interface me.legrange.swap.SwapMessage
-
- getRegisterID() - Method in class me.legrange.swap.UserMessage
-
- getRegisters() - Method in interface me.legrange.panstamp.definition.DeviceDefinition
-
Get the definitions for the registers defined in the device configuration.
- getRegisters() - Method in class me.legrange.panstamp.PanStamp
-
Get the list of registers defined for this device
- getRegisterValue(Register) - Method in class example.ConfigDeviceStateStore
-
- getRegisterValue(Register) - Method in interface me.legrange.panstamp.DeviceStateStore
-
Return the stored register value for the given register.
- getRegisterValue() - Method in class me.legrange.swap.SerialMessage
-
- getRegisterValue() - Method in interface me.legrange.swap.SwapMessage
-
- getRegisterValue() - Method in class me.legrange.swap.UserMessage
-
- getRssi() - Method in class me.legrange.swap.SerialMessage
-
- getRssi() - Method in interface me.legrange.swap.SwapMessage
-
- getRssi() - Method in class me.legrange.swap.UserMessage
-
- getSecurity() - Method in class me.legrange.swap.SerialMessage
-
- getSecurity() - Method in interface me.legrange.swap.SwapMessage
-
- getSecurity() - Method in class me.legrange.swap.UserMessage
-
- getSecurityNonce() - Method in class me.legrange.swap.SerialMessage
-
- getSecurityNonce() - Method in interface me.legrange.swap.SwapMessage
-
- getSecurityNonce() - Method in class me.legrange.swap.UserMessage
-
- getSecurityOption() - Method in class me.legrange.panstamp.Network
-
Get the security option
- getSecurityOption() - Method in class me.legrange.panstamp.PanStamp
-
Return the current security option
- getSender() - Method in class me.legrange.swap.SerialMessage
-
- getSender() - Method in interface me.legrange.swap.SwapMessage
-
- getSender() - Method in class me.legrange.swap.UserMessage
-
- getSetup() - Method in class me.legrange.swap.SerialModem
-
- getSetup() - Method in interface me.legrange.swap.SwapModem
-
get the network setup
- getSetup() - Method in class me.legrange.swap.tcp.TcpModem
-
- getSize() - Method in interface me.legrange.panstamp.definition.EndpointDefinition
-
Get the size of the endpoint data within the register.
- getSize() - Method in interface me.legrange.panstamp.definition.ParameterDefinition
-
Get the size of the parameter data within the register.
- getSWAPModem() - Method in class me.legrange.panstamp.Network
-
return the SWAP modem to gain access to the lower layer
- getSyncState() - Method in class me.legrange.panstamp.PanStamp
-
Return the current sync state
- getText() - Method in class me.legrange.swap.SerialMessage
-
- getText() - Method in interface me.legrange.swap.SwapMessage
-
- getText() - Method in class me.legrange.swap.UserMessage
-
- getTxInterval() - Method in class me.legrange.panstamp.PanStamp
-
Return the transmit interval
- getType() - Method in interface me.legrange.panstamp.definition.EndpointDefinition
-
Get the data type for this endpoint.
- getType() - Method in interface me.legrange.panstamp.definition.ParameterDefinition
-
Get the data type of the parameter
- getType() - Method in class me.legrange.panstamp.definition.Size
-
Get the type of this size (is it in bytes or bits).
- getType() - Method in interface me.legrange.panstamp.Endpoint
-
Return the type of the data supported by this endpoint
- getType() - Method in interface me.legrange.panstamp.Parameter
-
Return the type of the parameter.
- getType() - Method in class me.legrange.swap.SerialMessage
-
- getType() - Method in class me.legrange.swap.SerialModem
-
- getType() - Method in interface me.legrange.swap.SwapMessage
-
- getType() - Method in interface me.legrange.swap.SwapModem
-
determine the type of virtual modem
- getType() - Method in class me.legrange.swap.tcp.TcpModem
-
- getType() - Method in class me.legrange.swap.UserMessage
-
- getUnit() - Method in interface me.legrange.panstamp.Endpoint
-
Return the unit currently used for converting the endpoint values.
- getUnits() - Method in interface me.legrange.panstamp.definition.EndpointDefinition
-
Get the data units supported by the endpoint.
- getUnits() - Method in interface me.legrange.panstamp.Endpoint
-
Get the units supported by this endpoint
- getValue(String) - Method in interface me.legrange.panstamp.Endpoint
-
returns the current value of the endpoint in the given unit.
- getValue() - Method in interface me.legrange.panstamp.Endpoint
-
returns the current value of the endpoint.
- getValue() - Method in interface me.legrange.panstamp.Parameter
-
- getValue() - Method in class me.legrange.panstamp.Register
-
get the value of the register
- getVerif() - Method in interface me.legrange.panstamp.definition.ParameterDefinition
-
Get the verification patter for the parameter as per XML.
- send(SwapMessage) - Method in class me.legrange.swap.SerialModem
-
- send(SwapMessage) - Method in interface me.legrange.swap.SwapModem
-
send a message out onto the network
- send(SwapMessage) - Method in class me.legrange.swap.tcp.TcpModem
-
- SerialException - Exception in me.legrange.swap
-
Thrown when there is a Serial IO error
- SerialMessage - Class in me.legrange.swap
-
A SWAP message received from the serial modem.
- SerialMessage(String) - Constructor for class me.legrange.swap.SerialMessage
-
- SerialModem - Class in me.legrange.swap
-
An interface providing access through the serial port to the SWAP modem.
- SerialModem(String, int) - Constructor for class me.legrange.swap.SerialModem
-
- setAddress(int) - Method in class me.legrange.panstamp.PanStamp
-
Set the address of the panStamp
- setChannel(int) - Method in class me.legrange.panstamp.Network
-
Set the frequency channel
- setChannel(int) - Method in class me.legrange.panstamp.PanStamp
-
Set the network channel of the device
- setChannel(int) - Method in class me.legrange.swap.ModemSetup
-
- setDeviceAddress(int) - Method in class me.legrange.panstamp.Network
-
Set the device address for the network panStamp
- setDeviceAddress(int) - Method in class me.legrange.swap.ModemSetup
-
- setDeviceLibrary(DeviceLibrary) - Method in class me.legrange.panstamp.Network
-
Set the device library used to lookup device definitions.
- setDeviceStore(DeviceStateStore) - Method in class me.legrange.panstamp.Network
-
Set the device store to use to lookup persisted device registers.
- setNetwork(int) - Method in class me.legrange.panstamp.PanStamp
-
Set the network id of the device
- setNetworkId(int) - Method in class me.legrange.panstamp.Network
-
Set the network ID for the network accessed by this network
- setNetworkID(int) - Method in class me.legrange.swap.ModemSetup
-
- setRegisterAddress(int) - Method in class me.legrange.swap.UserMessage
-
- setRegisterValue(Register, byte[]) - Method in class example.ConfigDeviceStateStore
-
- setRegisterValue(Register, byte[]) - Method in interface me.legrange.panstamp.DeviceStateStore
-
Store the register value for the register.
- setSecurity(int) - Method in class me.legrange.swap.UserMessage
-
- setSecurityNonce(int) - Method in class me.legrange.swap.UserMessage
-
- setSecurityOption(int) - Method in class me.legrange.panstamp.Network
-
Set the security option
- setSecurityOption(int) - Method in class me.legrange.panstamp.PanStamp
-
Set the security option of the device.
- setSetup(ModemSetup) - Method in class me.legrange.swap.SerialModem
-
- setSetup(ModemSetup) - Method in interface me.legrange.swap.SwapModem
-
set the network setup
- setSetup(ModemSetup) - Method in class me.legrange.swap.tcp.TcpModem
-
- setTxInterval(int) - Method in class me.legrange.panstamp.PanStamp
-
Set the transmit interval (in seconds) of the device.
- setUnit(String) - Method in interface me.legrange.panstamp.Endpoint
-
Set the unit to use for converting endpoint values.
- setValue(String, T) - Method in interface me.legrange.panstamp.Endpoint
-
set the value of the endpoint
- setValue(T) - Method in interface me.legrange.panstamp.Endpoint
-
set the value of the endpoint
- setValue(T) - Method in interface me.legrange.panstamp.Parameter
-
set the value of the parameter
- setValue(byte[]) - Method in class me.legrange.panstamp.Register
-
set the register value and send to remote node
- Size - Class in me.legrange.panstamp.definition
-
The size of a data point (endpoint or parameter).
- Size(int) - Constructor for class me.legrange.panstamp.definition.Size
-
- Size(int, int) - Constructor for class me.legrange.panstamp.definition.Size
-
- Size.Type - Enum in me.legrange.panstamp.definition
-
- SwapException - Exception in me.legrange.swap
-
Super class of exceptions thrown by the gateway
- SwapException(String) - Constructor for exception me.legrange.swap.SwapException
-
- SwapException(String, Throwable) - Constructor for exception me.legrange.swap.SwapException
-
- SwapMessage - Interface in me.legrange.swap
-
A SWAP message sent or received via the SWAP modem application.
- SwapMessage.Type - Enum in me.legrange.swap
-
Types of SWAP messages
- SwapModem - Interface in me.legrange.swap
-
A virtual modem that provides access to a SWAP transport.
- SwapModem.Type - Enum in me.legrange.swap
-
Type of SWAP modem.
- syncRequired(PanStamp) - Method in class me.legrange.panstamp.event.AbstractPanStampListener
-
- syncRequired(PanStamp) - Method in interface me.legrange.panstamp.PanStampListener
-
A panStamp device needs to go into one of the synchronization states that
allows it to receive updates.
- syncStateChange(PanStamp, int) - Method in class me.legrange.panstamp.event.AbstractPanStampListener
-
- syncStateChange(PanStamp, int) - Method in interface me.legrange.panstamp.PanStampListener
-
The synchronization state of the device has changed.
- valueOf(String) - Static method in enum me.legrange.panstamp.definition.Direction
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum me.legrange.panstamp.definition.Size.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum me.legrange.panstamp.definition.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum me.legrange.panstamp.Endpoint.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum me.legrange.panstamp.Parameter.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum me.legrange.swap.SwapMessage.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum me.legrange.swap.SwapModem.Type
-
Returns the enum constant of this type with the specified name.
- valueReceived(Endpoint<T>, T) - Method in interface me.legrange.panstamp.EndpointListener
-
Called on listeners if a new value was received for the endpoint
- valueReceived(Endpoint<T>, T) - Method in class me.legrange.panstamp.event.AbstractEndpointListener
-
- valueReceived(Register, byte[]) - Method in class me.legrange.panstamp.event.AbstractRegisterListener
-
- valueReceived(Register, byte[]) - Method in interface me.legrange.panstamp.RegisterListener
-
A value for the register was received from the network.
- values() - Static method in enum me.legrange.panstamp.definition.Direction
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum me.legrange.panstamp.definition.Size.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum me.legrange.panstamp.definition.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum me.legrange.panstamp.Endpoint.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum me.legrange.panstamp.Parameter.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum me.legrange.swap.SwapMessage.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum me.legrange.swap.SwapModem.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- valueSet(Register, byte[]) - Method in class me.legrange.panstamp.event.AbstractRegisterListener
-
- valueSet(Register, byte[]) - Method in interface me.legrange.panstamp.RegisterListener
-
A value for the register was set by the application.