Package | Description |
---|---|
com.devmel.devices |
Modifier and Type | Method and Description |
---|---|
SimpleIPException |
SimpleIP.getLastException()
Returns the last SimpleIPException
|
Modifier and Type | Method and Description |
---|---|
boolean |
AirSend.open()
Opens and initializes the device.
|
boolean |
AirSend.read(Frame frame,
boolean hasNext)
Reads the data received into the cc1101
|
byte[] |
AirSend.read(int maxSize,
boolean hasNext)
Reads the data received into the cc1101
|
int |
SimpleIPSettings.readConfig()
Reads the configuration (ipv4, dhcpv4, registration, ping)
|
String |
SimpleIPSettings.readHostname()
Reads the device host name
|
int |
AirSend.readIlluminance()
Reads the illuminance value in lux
|
byte[] |
SimpleIPSettings.readIPv4Address()
Reads the raw IPv4 address
|
byte[] |
SimpleIPSettings.readIPv4GatewayAddress()
Reads the Gateway raw IPv4 address
|
int |
SimpleIPSettings.readIPv4Mask()
Reads the IPv4 address mask
|
double |
AirSend.readTemperature()
Reads the temperature value in kelvins
|
int |
AirSend.write(byte[] data,
boolean hasNext)
Writes the specified byte array into the cc1101 and transmit it
|
boolean |
AirSend.write(Frame frame)
Writes the specified radio frame into the cc1101 and transmit it
|
boolean |
SimpleIPSettings.writeConfig(int config)
Writes the configuration
|
boolean |
SimpleIPUpdater.writeFactoryPassword()
Writes the factory device password
|
boolean |
SimpleIPSettings.writeHostname(String hostname)
Writes the device host name
|
boolean |
SimpleIPSettings.writeIPv4(byte[] ipaddress,
int mask,
byte[] gateway)
Writes the IPv4 configuration
|
boolean |
SimpleIPSettings.writePassword(byte[] password)
Writes the new device password
|