background image

U

SER  

M

ANUAL

  

WRAP 

P

RODUCT 

S

ERIES

 

Here is an example session from a Windows 2000 laptop, in which all examples are transferred and 
unpacked, and the led example is started in the end: 

C:\>

d:

 

D:\>

cd tar

 

D:\tar>

ftp <wrap-ip-address> 

Connected to <wrap-ip-address>. 

220 Welcome to Stupid-FTPd server. 

User (<wrap-ip>:(none)): 

root

 

331 Guest login ok, send your e-mail address as password. 

Password: 

buffy 

(not echoed) 

230 User root logged in. 

ftp> 

bin

 

200 Type set to I. 

ftp> 

cd ram/tmp

 

250 CWD command successful. 

ftp> 

put bin-examples-bg.tar 

200 PORT command successful. 
150 FILE: bin-examples-bg.tar 
226 Transfer complete. 

ftp: 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/index.html 

/mnt/ram/tmp> 

./led

 

Clear all LEDs, 0: OFF 1: OFF 2: OFF 3: OFF 4: OFF 5: OFF 6: OFF 7: OFF 
Press ENTER to continue...

 

4.5.2 R

UNNING 

E

XAMPLES

 

After the examples have been transferred to the WRAP, they can be run from the directory to which they 
were unpacked. The examples with their usage and purpose are described in Table 5. 

Note:

 The example 

WWW pages must be transferred to flash filesystem where the Web server can find them. In this user manual 
it is assumed that this has been done by giving command "mv www/* /var/www/htdocs" in the directory 
where the bg-examples-bin.tar –file was unpacked. 

22 (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...

Отзывы: