User Manual
Table Of Contents
- INTRODUCTION
- CONTROLLING THE ACCESS SERVER
- CONFIGURATION
- USING THE SYSTEM
- BLUETOOTH TECHNOLOGY OVERVIEW
- INTRODUCTION TO SDK
- INSTALLING THE WRAP SOFTWARE DEVELOPMENT ENVIRONMENT
- CREATING WRAP APPLICATIONS
- BLUETOOTH SERVER SOCKET INTERFACE
- I/O API
- ABOUT BLUEGIGA
- APPENDIX A – WRAP DIRECTORY STRUCTURE
USER'S AND DEVELOPER'S GUIDE WRAP MULTIRADIO ACCESS SERVER
- Optional signature information file "wpkg.sig" may exist in package root (it is not
used yet though)
- All other files, if exist, should be data files, scripts or executables required for
the management operation
4.4.5.3 M
ANAGEMENT PACKET INFORMATION FILE FORMAT
The management packet information file (wpkg.pif) consists of tags and their data, described
here
%wpkg-version:0.0.1
- Must be the first line of the file. Contains information for version checking. 0.0.1
is currently the only version supported. Cannot be multi-line.
%wpkg-prepare:[command line[s]]
- One or more commands (all lines until next tag are interpreted as command
lines) to execute. Commands may contain parameters, but output redirection
and job control does not work.
%wpkg-output:[output line[s]]
- One or more lines of texts (all lines until next tag are interpreted as output lines)
to output. Useful mainly in interactive use (not in remote management).
4.4.5.4 M
ANAGEMENT SYSTEM ENVIRONMENT VARIABLES
The management system communicates to the management packets via environment
variables. As of version 0.0.1, two variables are supported and set by the system for user
scripts to use:
WPKG_OUTDIR:
- WPKGD OUTBOX directory, the place where the reply packet should be
generated.
WPKG_ORIGIN:
- file containing one line which identifies the sender of the management packet.
As of version 0.0.1, if Bluetooth was used to transmit the management packet
and this file is moved to "reply_packet_name.origin" in the WPKG_OUTDIR, the
reply packet is sent automatically.
4.4.5.5 M
ANAGEMENT OPERATION EXAMPLE: IPQUERY
In this example we build a simple packet that can be used with Bluetooth-enabled phone to
retrieve IP Address of the WRAP Multiradio Access Server. More (complex) examples will be
available soon.
The package consists of the following files (see ipquery.wpk, unpack it with "tar xzvf
ipquery.wpk"):
File "wpkg.pif":
- package information file, just tells to run "./ipquery" file.
Bluegiga Proprietary, Copyright © Bluegiga Technologies 2001-2004 32 (94)