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
Example, source in
wrap/src/examples/
Usage, when installed to /tmp and
when it is the current directory Purpose
helloworld ./helloworld The "Hello, world!"
application.
serial ./serial /dev/ttySA1 "Hello, world!" to the serial
port.
btsend ./btsend – 12 on the first device,
./btsend <bdaddr of first> 12 on
second
Machine 2 Machine example.
"Hello, world!" over
Bluetooth. Note: Currently
uses "buffy" as Bluetooth
server password.
io/led
./led
I/O: LED/Buzzer example.
m2n echo testmessage | ./m2n Machine 2 Network example.
System Logger configuration
needed for actual remote
connection. Without it,
simulates it locally.
man2m ./ledserver &
browse with Java-enabled browser
to http://wrap-ip-adress/man2m/
Note: Assumes WWW pages moved
as guided.
Man 2 Machine example. Also
demonstrates Java applets.
www Browse to http://wrap-ip-address/
Note: Assumes WWW pages moved
as guided. More info on the page
itself.
Demonstration of the web
server capabilities.
makesms Browse to http://wrap-ip-
address/sms/
Note: Assumes WWW pages moved
as guided, "makesms" example
application is in /var/www/html/cgi-
bin, and WRAP SMS Gateway is up
and running (see section 4.4.2).
Demonstrates WRAP SMS
Gateway by sending SMS
messages with required
Nokia N30 or N20 GSM
Terminal.
obexbrowser Documented in chapter 9.8.3. Demonstrates the usage of
the WRAP OBEX libraries
implementing Object Push
Profile and File Transfer
Profile clients.
Table 5. Examples, Their Usage and Purpose.
If you do not want to re-install the example files after every system power-off, they can be
stored in the flash file system. Simply use the mv command to move the executables of the
examples you want to save into /usr/local/bin. After this, you can execute the examples from
anywhere (without the ./) and access the web examples directly under http://wrap-ip-
address/www/).
Bluegiga Proprietary, Copyright © Bluegiga Technologies 2001-2004 46 (94)