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
File "functions":
- some reusable shell functions
File "ipvcard":
- script which outputs the serial number, ip address and hostname of the device in
vcard format that can be viewed with a mobile phone.
File "ipquery":
- the main script which calls "ipvcard" to generate response vcard and moves it
and the originator info file to WPKG_OUTDIR.
To use the example, send the file "ipquery.wpk" to the inbox of you Bluetooth phone. Check
that you have Bluetooth enabled in the phone. Then from the phone’s inbox, send the file
"ipquery.wpk" via Bluetooth to the WRAP Multiradio Access Server.
4.4.5.6 M
ANAGEMENT REPLY PACKET DESTINATION DEFINITION
The WRAP Package daemon (WPKGD) operates in a simple loop.
First it scans its inbox directory for files ending ".wpk" AND ".wpk.origin". When both of these
are found with similar beginning, the package is processed with "wpkg" command.
Then it scans its outbox for "filename" AND "filename.origin" files. If they both are found and
"filename.origin" contains supported address information (OBEX or USB currently), the reply
packet is send.
The content of the "filename.wpk.origin" file is one line of following formats:
"obex://bd:ad:dr:es:00:00/"
"usb://path/to/reply/"
"rsync://user@host.remote.domain:path/to/reply/"
"scp://user@host.remote.domain:path/to/reply/"
"ftp://user:password@host.remote.domain:path/to/reply/"
Currently the WRAP Package daemon can only automatically handle Bluetooth (OBEX) and USB
replies. Other replies must be retrieved from the remote site manually (from the WRAP
Package daemon’s outbox, /tmp/wrap/outbox/).
When a management packet is received via Bluetooth or USB in the future, the
"filename.wpk.origin" file is generated automatically.
If one wants to remotely execute management operations, the "filename.wpk.origin" file must
be created by oneself. So, to activate remote management operation, one must send the
management packet file ("filename.wpk") AND the management packet origin file
(“filename.wpk.origin”) into the WPKGD inbox directory.
Bluegiga Proprietary, Copyright © Bluegiga Technologies 2001-2004 33 (94)