When the switch is specified a basestation will still be correctly identified if one is available, but if no basestation is available the port property will be set to dummyport.
Your own host application
You should base your host application on the template provided. Your host application can open connections in the usual way. The classes required to support this are in spotlib_host.jar, spotlib_common.jar and squawk_classes.jar (all in the lib
If your application requires
ant
Incorporating pre-existing jars into your host application
You can include code from
ant
You can specifiy multiple jars as a list separated by a classpath delimeter (“;” or “:”). Note that you may need to enclose the list in quotes.
You can create a jar suitable for inclusion in a host application with the ant target
ant
Configuring network features
Mesh routing
Every SPOT can act as a mesh router, forwarding packets it receives on to other SPOTs. It begins doing this automatically as soon as your application opens a radiostream or radiogram connection (see below). You do not need to perform any extra configuration for this to happen. However there are two special situations:
1.You want the SPOT to act as a mesh router but the application running it does not use the radio.
2.You want the SPOT to act just as a mesh router, with no application running on it.
For situation 1 above you should set the system property spot.mesh.enable to true, like this:
ant
With this property set the SPOT will turn on the radio at
21