| Package | Description |
|---|---|
| example | |
| me.legrange.panstamp |
Provides the top level abstractions for working with a panStamp network.
|
| me.legrange.panstamp.event |
This package contains convenience class implementations for the main interfaces from the
me.legrange.panstamp package.
|
| Modifier and Type | Field and Description |
|---|---|
protected Network |
ReadTemps.nw |
protected Network |
Example.nw |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ReadTemps.doExampleCode(Network nw) |
protected void |
ReadAndSetPanStampInformation.doExampleCode(Network nw) |
protected void |
ReadAndSetNetworkInformation.doExampleCode(Network nw) |
protected void |
NetworkEvents.doExampleCode(Network nw) |
protected void |
ListDevices.doExampleCode(Network nw) |
protected abstract void |
Example.doExampleCode(Network nw) |
| Modifier and Type | Method and Description |
|---|---|
static Network |
Network.create(SwapModem modem)
Create a new network with the given pre-existing SWAP modem.
|
Network |
PanStamp.getGateway()
Get the gateway this device is attached to.
|
static Network |
Network.openSerial(String port,
int baud)
Create a new serial network (network attached to a serial port) with the
given port and speed, and with the default device library and data store.
|
static Network |
Network.openTcp(String host,
int port)
Create a new TCP/IP network (network attached to a remote TCP service)
with the given host and port, and with the default device library and
data store.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NetworkListener.deviceDetected(Network gw,
PanStamp dev)
A previously unknown device was detected on the SWAP network.
|
void |
NetworkListener.deviceRemoved(Network gw,
PanStamp dev)
A device was removed from the network.
|
void |
NetworkListener.networkClosed(Network nw)
The network was closed.
|
void |
NetworkListener.networkOpened(Network nw)
The network was opened.
|
| Constructor and Description |
|---|
PanStamp(Network gw,
int address)
create a new mote for the given address in the given network
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractNetworkListener.deviceDetected(Network gw,
PanStamp dev) |
void |
AbstractNetworkListener.deviceRemoved(Network gw,
PanStamp dev) |
void |
AbstractNetworkListener.networkClosed(Network nw) |
void |
AbstractNetworkListener.networkOpened(Network nw) |
Copyright © 2015. All rights reserved.