5
Introduction
The purpose of this guide is to aid developers of applications for Sun SPOTs. The guide is divided
into two sections.
Building and deploying Sun SPOT applications provides information about how to build, deploy
and execute Sun SPOT applications. The topics covered include:
• Building and deploying simple applications
• Deploying applications you’ve received as jars from other developers
• Including properties and external resources through the manifest
• Setting up a base station to communicate with physically remote Sun SPOTs via the radio
• Using the base station to deploy and execute applications on remote Sun SPOTs
• Building and running your own application running on the host machine that communicates,
via the base station, with remote Sun SPOTs
• Managing the keys that secure your Sun SPOTs against unauthorised access
•
Sharing keys to allow a workgroup to share a set of Sun SPOTs.
Developing and debugging Sun SPOT applications provides information for the programmer. This
includes
•
A quick overview of the structure of Sun SPOT applications
• Using the Sun SPOT libraries to
o Control the radio
o
Read and write persistent properties
o
Read and write flash memory
o
Access streams across the USB connection
o
Use deep sleep mode to save power
o
Access http
•
Debug applications
• Configure your IDE
• Modify the supplied library
•
Write your own host-side user interface for controlling Sun SPOTs
This guide does not cover these topics:
•
The libraries for controlling the demo sensor board
• Installation of the SDK.