User Manual

Table Of Contents
USER'S AND DEVELOPER'S GUIDE WRAP MULTIRADIO ACCESS SERVER
4.4.5.5
Management Operation Example: IPQUERY ........................................... 32
4.4.5.6 Management Reply Packet Destination Definition ................................... 33
4.4.5.7 Management With USB Memory Dongle ................................................ 34
4.4.6 FTP ........................................................................................................ 34
4.4.7 SSH ....................................................................................................... 34
4.4.8 Telnet .................................................................................................... 34
4.5 Utilities ......................................................................................................... 34
4.6 Real Time Clock.............................................................................................. 37
4.7 Time Zone ..................................................................................................... 38
4.8 System Re-Install and Upgrade ........................................................................ 38
5 Bluetooth Technology Overview ....................................................................... 39
5.1 Frequency Bands and Channel Arrangement ....................................................... 39
5.2 Power Considerations ...................................................................................... 40
5.3 Radio Frequency Propagation ........................................................................... 40
6 Introduction to SDK.......................................................................................... 42
7 Installing the WRAP Software Development Environment ................................ 43
7.1 WRAP Software Development Environment System Requirements ......................... 43
7.2 Questions Asked by the Install Script................................................................. 43
8 Creating WRAP Applications ............................................................................. 45
8.1 Application Examples ...................................................................................... 45
8.1.1 Installing Examples .................................................................................. 45
8.1.2 Running Examples.................................................................................... 45
8.2 Creating a New Project .................................................................................... 47
8.3 Building From the Command Line...................................................................... 47
8.4 Transferring an Application to WRAP Hardware ................................................... 48
8.4.1 Transferring an Application to WRAP Using (S)FTP or SCP .............................. 48
8.4.2 Transferring an Application to WRAP Using Terminal Software ........................ 49
8.4.3 Using NFS mount ..................................................................................... 49
8.5 Running an Application Transferred to WRAP ...................................................... 49
8.6 Using Debugger (GDB/DDD) ............................................................................ 49
9 Bluetooth Server Socket Interface.................................................................... 51
9.1 Terms ........................................................................................................... 51
9.2 Starting the Bluetooth Servers.......................................................................... 51
9.3 Basic Commands ............................................................................................ 51
9.3.1 Info ....................................................................................................... 53
9.3.2 Inquiry ................................................................................................... 54
9.3.3 Name ..................................................................................................... 55
9.3.4 Quit ....................................................................................................... 56
9.3.5 Set ........................................................................................................ 57
9.3.6 Ping ....................................................................................................... 63
9.3.7 Pong ...................................................................................................... 64
9.3.8 Shutdown ............................................................................................... 65
9.3.9 Sleep ..................................................................................................... 66
9.4 Connection Commands and Replies ................................................................... 67
9.4.1 Call........................................................................................................ 67
9.4.2 Connect.................................................................................................. 69
9.4.3 No Carrier............................................................................................... 70
9.4.4 Ring....................................................................................................... 71
9.4.5 Close...................................................................................................... 72
9.4.6 List ........................................................................................................ 73
9.4.7 Status .................................................................................................... 74
9.5 Service Discovery ........................................................................................... 75
9.5.1 SDP bdaddr UUID .................................................................................... 76
9.5.2 SdpSearch .............................................................................................. 77
9.5.3 SdpAttr .................................................................................................. 78
9.5.4 SdpQuery ............................................................................................... 79
9.5.5 Sdp........................................................................................................ 80
9.6 Example Sessions ........................................................................................... 80
9.7 Error Codes ................................................................................................... 81