background image

U

SER  

M

ANUAL

  

WRAP 

P

RODUCT 

S

ERIES

 

Example, source in 
wrap/src/examples/ 

Usage, when installed to mnt/ram/tmp and 
it is the current directory 

Purpose 

helloworld  

./helloworld 

The "Hello, world!" application. 

serial 

./serial /dev/ttyS3 

"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 the default 

Bluetooth password "buffy" 

io/led 
io/dip 
io/gpio 
io/ad 

./led  
./dip 
./gpio 
./ad 

I/O: LED example. 
I/O: DIP example. 
I/O: GPIO example. 
I/O: A/D example.  
Only for WRAP 2151. 

m2n 

echo testmessage | ./m2n 

Machine 2 Networks 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. 

Demonstration of the web server 
capabilities. 

waba CLASSPATH=$CLASSPATH:. 

export CLASSPATH 
waba –a ConnectionTest 
cat tmp 

A WABA application which 
retrieves a web page from 
http://www.hut.fi into file "tmp" 

makesms Browse 

to 

http://wrap-ip-address/sms/

 

Note:

 assumes WWW pages moved as 

quided, "makesms" example application is 
in /usr/local/bin and WRAP SMS 
Gateway is up and running (see section 
4.2.2). 

Demonstrates WRAP SMS 
Gateway by sending SMS 
messages with required Nokia 
N30 or N20 GSM Terminal. 

obexbrowser 

Documented in the WRAP SDK Manual. 

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 examples after every system power-off, they can be stored to the flash 
filesystem. Simply use 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/

). 

4.6 S

YSTEM 

R

E

-I

NSTALL

 

The WRAP platform can be re-installed with the WRAP CD. It contains applications for both Windows and 
Linux that erase the flash file system and re-install the platform with the default configuration settings. The 
same program can be used to upgrade the WRAP or to reset the WRAP to initial (delivered) state. 

23 (26) 

Содержание WRAP 1260

Страница 1: ...USER MANUAL WRAP PRODUCT SERIES Version 1 1 3 2002 10 28...

Страница 2: ...not make any commitment to update the information contained herein BlueGiga Technologies products are not authorized for use as critical components in life support devices or systems The Bluetooth tra...

Страница 3: ...ETTING CONFIGURATION 14 3 10 ADVANCED CONFIGURATION 14 4 USING THE SYSTEM 15 4 1 BLUETOOTH 15 4 1 1 BLUETOOTH SERVER SOCKET INTERFACE PASSWORD PROTECTION 15 4 1 2 LAN ACCESS PROFILE 15 4 1 3 SERIAL PO...

Страница 4: ...s monitoring system updates or other wireless transactions The WRAP 3000 is suitable for many applications in various environments from industrial manufacturing sites to commercial payment systems The...

Страница 5: ...5 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference in a residential installation This equipment generates uses and can radiate radio frequency e...

Страница 6: ...ircuit different from that to which the receiver is connected Consult the dealer or an experienced radio TV technician for help This device complies with Part 15 of the FCC Rules and with RSS 210 of I...

Страница 7: ...xx where xxx will be the last three digits of the product serial number If you cannot use Bluetooth to connect to WRAP read further 2 1 MANAGEMENT CONSOLE The simplest way to configure monitor and con...

Страница 8: ...top Bits 1 Flow Control None Table 1 The Management Console Port Settings 2 2 ACCESSING WITH TELNET When the WRAP is connected to a LAN you can also use a telnet client to connect to the board to the...

Страница 9: ...rors 0 dropped 0 overruns 0 carrier 0 collisions 0 RX bytes 0 0 0 b TX bytes 0 0 0 b If you don t see the interface eth0 in the output of ifconfig command or the IP address is 0 0 0 0 but you have con...

Страница 10: ...ght up at all at boot If set to no the other options in the Network Configuration menu are not visible 2 Use Dynamic network configuration Y This option determines whether or not automatic configurati...

Страница 11: ...ling another Bluetooth device it originally is the master and the answering device is the slave When the connection is being built a role switch can be made Normally access point devices want to be th...

Страница 12: ...only when setting 2 Act as the Calling device is disabled 10 Bluetooth Address of the Remote Device 00 07 80 80 01 1f The Bluetooth address of the device to be contacted This setting is visible only w...

Страница 13: ...te SMS Gateway is disabled by default as Serial Port Profile is enabled by default because they share the same physical serial port Disable Serial Port Profile first to be able to enable SMS Gateway 1...

Страница 14: ...tored If you have changed the configuration only by using the setup application the following commands at WRAP command prompt are enough rm etc sysconfig reboot If you have made changes to other confi...

Страница 15: ...R SOCKET INTERFACE PASSWORD PROTECTION The access to the Bluetooth Server Socket Interface is password protected by default The password is buffy and it can be set with the setup application see secti...

Страница 16: ...PUSH AND FILE TRANSFER PROFILE WRAP has also two OBEX profiles the Object Push Profile ObjP and File Transfer Profile FTP You can use these profiles to transfer files easily between different WRAP de...

Страница 17: ...nfigured to operate in RS232 AT command mode and the PIN code query of the SIM card at power up must be disabled The configuration of the terminal is done with N20 or N30 Configurator application To e...

Страница 18: ...files into gzip format head Output the first part of files hostname Show or set the system s host name ifconfig Configure a network interface ipfwadm Set up maintain and inspect the IP firewall and a...

Страница 19: ...rd output xargs Build and execute command lines from standard input xmodem WRAP Xmodem Transfer application Run without parameters for usage Table 4 Utilities 4 4 TRANSFERRING FILES TO FROM WRAP Using...

Страница 20: ...e the application to usr local bin on the flash filesystem you will have to replace cd ram tmp with cd flash usr local bin To examine the directory structure on the WRAP please see the appendix in the...

Страница 21: ...ftware Development Environment comes with several application examples On the WRAP CD these examples are provided in a package that can be installed on the WRAP for testing without installing the WRAP...

Страница 22: ...p 133120 bytes sent in 0 91Seconds 145 96Kbytes sec ftp bye 221 Bye D tar telnet wrap ip address wrap login root password buffy not echoed cd tmp mnt ram tmp tar xvf bin examples bg tar btsend www ind...

Страница 23: ...cat tmp A WABA application which retrieves a web page from http www hut fi into file tmp makesms Browse to http wrap ip address sms Note assumes WWW pages moved as quided makesms example application i...

Страница 24: ...xit button 9 Optional Start a terminal emulator the serial port settings for the console are 115200bps 8 data bits no parity one stop bit if you want to see the system boot up procedures 10 Restart th...

Страница 25: ...Bluetooth system operates in the license free 2 4 GHz ISM Industrial Science Medial band using frequency hopping spread spectrum FHSS In the vast majority of countries around the world this frequency...

Страница 26: ...icted by all obstacles The basic mechanism of radio propagation is attributed to reflection diffraction and scattering depending on existing obstacles Since the radio frequency signal propagates in al...

Отзывы: