User Guide
Page 11
... Machine Wireless Remote Access Platform; a trademark registered by Bluegiga Technologies The Logical Link Control and Adaptation Layer Protocol Modem Status Control OBject EXchange Protocol Object Push Profile Serial cable emulation protocol; HFP HFP-AG HID iWRAP L2CAP MSC OBEX OPP RFCOMM SNIFF mode SPP UART UUID VM WRAP Hands-Free Profile Hands-Free audio Gateway Human Interface Device Interface for WRAP -
... Machine Wireless Remote Access Platform; a trademark registered by Bluegiga Technologies The Logical Link Control and Adaptation Layer Protocol Modem Status Control OBject EXchange Protocol Object Push Profile Serial cable emulation protocol; HFP HFP-AG HID iWRAP L2CAP MSC OBEX OPP RFCOMM SNIFF mode SPP UART UUID VM WRAP Hands-Free Profile Hands-Free audio Gateway Human Interface Device Interface for WRAP -
User Guide
Page 18
... firmware needs to HFP profile usage for more information. 3.6 A2DP mode From iWRAP3 on Bluetooth Audio/Video Remote Control Profile (AVRCP) is supported. In this multiplexing mode is that the performance of "SET CONTROL MUX" command. 3.4 HFP mode iWRAP 2.2.0 and newer support Bluetooth Hands-Free (v.1.5) profile. However the downside is that several Bluetooth connections can be used between the host system and iWRAP firmware. To learn more information. 3.5 OPP mode IWRAP 2.1.0 and newer support Bluetooth...
... firmware needs to HFP profile usage for more information. 3.6 A2DP mode From iWRAP3 on Bluetooth Audio/Video Remote Control Profile (AVRCP) is supported. In this multiplexing mode is that the performance of "SET CONTROL MUX" command. 3.4 HFP mode iWRAP 2.2.0 and newer support Bluetooth Hands-Free (v.1.5) profile. However the downside is that several Bluetooth connections can be used between the host system and iWRAP firmware. To learn more information. 3.5 OPP mode IWRAP 2.1.0 and newer support Bluetooth...
User Guide
Page 23
...-of-Device SET BT AUTH iWRAP 2.1.0 WT12, WT11, WT32 Set PIN code SET BT IDENT iWRAP 3.0 WT12, WT11, WT32 Set DI data SET BT LAP iWRAP 2.2.0 WT12, WT11, WT32 Set inquiry access code SET BT OPP iWRAP 2.2.0 WT12, WT11, WT32 Enable OPP profile SET BT PAGEMODE iWRAP 2.1.0 WT12, WT11, WT32 Set page mode and timeout SET BT PAIR iWRAP 2.1.0 WT12, WT11, WT32 Manage pairings SET BT POWER iWRAP 2.2.0 WT12, WT11, WT32 Set TX power levels SET BT ROLE iWRAP...
...-of-Device SET BT AUTH iWRAP 2.1.0 WT12, WT11, WT32 Set PIN code SET BT IDENT iWRAP 3.0 WT12, WT11, WT32 Set DI data SET BT LAP iWRAP 2.2.0 WT12, WT11, WT32 Set inquiry access code SET BT OPP iWRAP 2.2.0 WT12, WT11, WT32 Enable OPP profile SET BT PAGEMODE iWRAP 2.1.0 WT12, WT11, WT32 Set page mode and timeout SET BT PAIR iWRAP 2.1.0 WT12, WT11, WT32 Manage pairings SET BT POWER iWRAP 2.2.0 WT12, WT11, WT32 Set TX power levels SET BT ROLE iWRAP...
User Guide
Page 45
... The link is initiated by a local device (by using command CALL) INCOMING The link is in hold mode PARK Link is initiated by the remote device Power mode for the link. The possible values are : MASTER iWRAP is the master device of this link SLAVE iWRAP is stored in bytes) that is the slave device of this link Encryption state of...
... The link is initiated by a local device (by using command CALL) INCOMING The link is in hold mode PARK Link is initiated by the remote device Power mode for the link. The possible values are : MASTER iWRAP is the master device of this link SLAVE iWRAP is stored in bytes) that is the slave device of this link Encryption state of...
User Guide
Page 46
... by the remote device powermode Power mode for the link. Response: LIST {num_of_connections} LIST {link_id} CONNECTED RFCOMM {blocksize} 0 0 {elapsed_time} {local_msc} {remote_msc} {addr} {channel} {direction} {powermode} {role} {crypt} {buffer} link_id Numeric connection identifier blocksize RFCOMM data packet size, that is, how many bytes of the link. The possible values are : OUTGOING The link is initiated by a local device (by using command CALL...
... by the remote device powermode Power mode for the link. Response: LIST {num_of_connections} LIST {link_id} CONNECTED RFCOMM {blocksize} 0 0 {elapsed_time} {local_msc} {remote_msc} {addr} {channel} {direction} {powermode} {role} {crypt} {buffer} link_id Numeric connection identifier blocksize RFCOMM data packet size, that is, how many bytes of the link. The possible values are : OUTGOING The link is initiated by a local device (by using command CALL...
User Guide
Page 52
... RFCOMM channel where the service is bound to Events: None 5.13.2 Examples Adding a Dial-Up Networking profile SDP ADD 1103 Dial-Up Networking SDP 2 Note: The service record will be cleared when a reset is made, so SDP ADD command(s) must be given every time after a reset, unlike SET commands, which are stored on flash memory. "SET CONTROL INIT" can be used to automatically issue...
... RFCOMM channel where the service is bound to Events: None 5.13.2 Examples Adding a Dial-Up Networking profile SDP ADD 1103 Dial-Up Networking SDP 2 Note: The service record will be cleared when a reset is made, so SDP ADD command(s) must be given every time after a reset, unlike SET commands, which are stored on flash memory. "SET CONTROL INIT" can be used to automatically issue...
User Guide
Page 90
... local device's PIN code. 6.5.1 Syntax Synopsis: SET BT AUTH {mode} {pin_code} Description: mode pin_code Pin code usage mode: * Pin code will NOT be displayed by "SET" command. - Pin code will be from 0 to 16 characters. The PIN code can be displayed by "SET" command. Response: SYNTAX ERROR This event occurs if incorrect parameters are given Events: None List format: If PIN code is not, SET BT AUTH * is not displayed SET...
... local device's PIN code. 6.5.1 Syntax Synopsis: SET BT AUTH {mode} {pin_code} Description: mode pin_code Pin code usage mode: * Pin code will NOT be displayed by "SET" command. - Pin code will be from 0 to 16 characters. The PIN code can be displayed by "SET" command. Response: SYNTAX ERROR This event occurs if incorrect parameters are given Events: None List format: If PIN code is not, SET BT AUTH * is not displayed SET...
User Guide
Page 92
IAC is the default value. 9e8b00 Limited Dedicated Inquiry Access Code (LIAC). 9e8b01 - 9e8b32 and 9e8b34-9e8b3f Reserved for the inquiry access code. Response: SYNTAX ERROR This event occurs if incorrect parameters are possible: 9e8b33 General/Unlimited Inquiry Access Code (GIAC). List format: SET BT LAP {iac} 92 6.6 SET BT LAP This command configures the Inquiry Access code (IAC) that iWRAP uses. The following values are given Events: None. This is used in inquiries and inquiry responses. 6.6.1 Syntax Synopsis: SET BT LAP {iac} Description: iac Value for future use.
IAC is the default value. 9e8b00 Limited Dedicated Inquiry Access Code (LIAC). 9e8b01 - 9e8b32 and 9e8b34-9e8b3f Reserved for the inquiry access code. Response: SYNTAX ERROR This event occurs if incorrect parameters are possible: 9e8b33 General/Unlimited Inquiry Access Code (GIAC). List format: SET BT LAP {iac} 92 6.6 SET BT LAP This command configures the Inquiry Access code (IAC) that iWRAP uses. The following values are given Events: None. This is used in inquiries and inquiry responses. 6.6.1 Syntax Synopsis: SET BT LAP {iac} Description: iac Value for future use.
User Guide
Page 97
... switch when calling, and iWRAP requests it when answering. 2 If this bit is set , master-slave switch is not allowed when calling, but it is requested for when answering. This bitmask controls the link policy modes. With the "SET BT ROLE" command, iWRAP's master-slave behavior can also be configured. 6.9 SET BT ROLE This command configures or displays the local device...
... switch when calling, and iWRAP requests it when answering. 2 If this bit is set , master-slave switch is not allowed when calling, but it is requested for when answering. This bitmask controls the link policy modes. With the "SET BT ROLE" command, iWRAP's master-slave behavior can also be configured. 6.9 SET BT ROLE This command configures or displays the local device...
User Guide
Page 117
... automatically executed every time iWRAP starts (after power-on, RESET or watchdog event) Events: None List format: SET CONTROL INIT {command} 6.19.2 Examples To remove all pairings after reset: SET CONTROL INIT SET BT PAIR * To change baud rate to enter an infinite reset loop, rendering it unusable until the persistent store user key #27 is given, will cause iWRAP to 115200 bps after reset: SET CONTROL INIT SET CONTROL BAUD 115200,8n1...
... automatically executed every time iWRAP starts (after power-on, RESET or watchdog event) Events: None List format: SET CONTROL INIT {command} 6.19.2 Examples To remove all pairings after reset: SET CONTROL INIT SET BT PAIR * To change baud rate to enter an infinite reset loop, rendering it unusable until the persistent store user key #27 is given, will cause iWRAP to 115200 bps after reset: SET CONTROL INIT SET CONTROL BAUD 115200,8n1...
User Guide
Page 118
... mode. List format: Nothing is displayed when multiplexing mode is enabled. 6.20.2 Examples To enable multiplexing mode: SET CONTROL MUX 1 ¿READY 118 Events: READY READY event occurs after a successful mode change. This chapter describes the usage of the command as well as the operation of multiplexing mode. 6.20.1 Syntax Synopsis: SET CONTROL MUX {mode} Description: mode Multiplexing mode 0 Multiplexing mode disabled. Normal (data-command) mode enabled 1 Multiplexing mode enabled. 6.20 SET CONTROL...
... mode. List format: Nothing is displayed when multiplexing mode is enabled. 6.20.2 Examples To enable multiplexing mode: SET CONTROL MUX 1 ¿READY 118 Events: READY READY event occurs after a successful mode change. This chapter describes the usage of the command as well as the operation of multiplexing mode. 6.20.1 Syntax Synopsis: SET CONTROL MUX {mode} Description: mode Multiplexing mode 0 Multiplexing mode disabled. Normal (data-command) mode enabled 1 Multiplexing mode enabled. 6.20 SET CONTROL...
User Guide
Page 124
... modules. Data Carrier Detect. nDTE and nDCE means that remote Bluetooth device is DTE (so iWRAP is DCE and device connected to select the PIO. 6.22 SET CONTROL MSC With iWRAP firmware, it is possible to . The SET CONTROL MSC command is used to do this. 6.22.1 Syntax Synopsis: SET CONTROL MSC [[mode] [[DSR] [[DTR] [[RTS] [[CTS] [[RI] [DCD]]]]]]] Description: mode DSR DTR RTS CTS RI DCD Mode of the device iWRAP connects to...
... modules. Data Carrier Detect. nDTE and nDCE means that remote Bluetooth device is DTE (so iWRAP is DCE and device connected to select the PIO. 6.22 SET CONTROL MSC With iWRAP firmware, it is possible to . The SET CONTROL MSC command is used to do this. 6.22.1 Syntax Synopsis: SET CONTROL MSC [[mode] [[DSR] [[DTR] [[RTS] [[CTS] [[RI] [DCD]]]]]]] Description: mode DSR DTR RTS CTS RI DCD Mode of the device iWRAP connects to...
User Guide
Page 167
...; Bluetooth stack update: ~700kB Full update (max DFU size): ~1MB Note: Please refer to update / restore the firmware. instead of the module and reflash correct firmware and parameters into a host processor connected to be used to Firmware & Parameters User Guide for more information about iWRAP update client and DFU Wizard. 167 The Onboard Installation Kit (SPI cable) and a Windows™ software called Device Firmware Upgrade (DFU) is dedicated to firmware updates. 9.4 Firmware Updates...
...; Bluetooth stack update: ~700kB Full update (max DFU size): ~1MB Note: Please refer to update / restore the firmware. instead of the module and reflash correct firmware and parameters into a host processor connected to be used to Firmware & Parameters User Guide for more information about iWRAP update client and DFU Wizard. 167 The Onboard Installation Kit (SPI cable) and a Windows™ software called Device Firmware Upgrade (DFU) is dedicated to firmware updates. 9.4 Firmware Updates...
User Guide
Page 173
...; Human Interface Device (HID) - see Referenced Documents. The HID profile describes how to use the USB HID protocol to leverage the existing class drivers for control messages and those messages are being altered. Source: Bluetooth SIG, URL: http://www.bluetooth.com/Bluetooth/Technology/Works/HID.htm 173 Source: Bluetooth SIG, URL: http://www.bluetooth.com/Bluetooth/Technology/Works/A2DP.htm 9.8.8 Audio Video Remote Control Profile AVRCP...
...; Human Interface Device (HID) - see Referenced Documents. The HID profile describes how to use the USB HID protocol to leverage the existing class drivers for control messages and those messages are being altered. Source: Bluetooth SIG, URL: http://www.bluetooth.com/Bluetooth/Technology/Works/HID.htm 173 Source: Bluetooth SIG, URL: http://www.bluetooth.com/Bluetooth/Technology/Works/A2DP.htm 9.8.8 Audio Video Remote Control Profile AVRCP...
User Guide
Page 177
1121 1122 1123 1124 1125 1126 1127 1128 1129 112A 112B 112C 112D 112E 112F 1130 1200 1201 1202 1203 1204 1205 1206 ReflectedUI Basic Printing Printing Status Human Interface Device Service Hardcopy Cable Replacement HCR_Print HCR_Scan Common_ISDN_Access Video Conferencing GW UDI_MT UDI_TA Audio/Video SIM_Access Phonebook Access - PCE Phonebook Access - PSE Phonebook Access PnP Information Generic Networking Generic File Transfer Generic Audio Generic Telephony UPNP_Service UPNP_IP_Service 177
1121 1122 1123 1124 1125 1126 1127 1128 1129 112A 112B 112C 112D 112E 112F 1130 1200 1201 1202 1203 1204 1205 1206 ReflectedUI Basic Printing Printing Status Human Interface Device Service Hardcopy Cable Replacement HCR_Print HCR_Scan Common_ISDN_Access Video Conferencing GW UDI_MT UDI_TA Audio/Video SIM_Access Phonebook Access - PCE Phonebook Access - PSE Phonebook Access PnP Information Generic Networking Generic File Transfer Generic Audio Generic Telephony UPNP_Service UPNP_IP_Service 177
User Guide
Page 181
... problem: 1. Q: Data coming from the WRAP THOR Bluetooth module and make similar settings to see any more, but it does not affect the baud rate you need to use iWRAP update to TRUE. If you want to default settings 115200,8n1. Use PSTool to check the UART settings from the UART is lost. Make sure your ECHO MODE settings. If you are two ways to work? Delete 'User...
... problem: 1. Q: Data coming from the WRAP THOR Bluetooth module and make similar settings to see any more, but it does not affect the baud rate you need to use iWRAP update to TRUE. If you want to default settings 115200,8n1. Use PSTool to check the UART settings from the UART is lost. Make sure your ECHO MODE settings. If you are two ways to work? Delete 'User...
User Guide
Page 185
... phones always require the PIN code authentication, before allowing the Dial-Up Networking connection. Host iWRAP Mobile Phone SET PROFILE SPP ON SET BT AUTH * {pin} RESET boot prompt CALL {bd_addr} 1103 RFCOMM CALL {link_id} CONNECT {link_id} RFCOMM {channel} One time Initialization Start opening a Bluetooth DUN connection Pairing & connection successful Mode switch to data mode Transparent data link (AT commands tunnel) "AT" "OK" Pairing Figure 10: How to open a Dial-Up Networking connection to a phone...
... phones always require the PIN code authentication, before allowing the Dial-Up Networking connection. Host iWRAP Mobile Phone SET PROFILE SPP ON SET BT AUTH * {pin} RESET boot prompt CALL {bd_addr} 1103 RFCOMM CALL {link_id} CONNECT {link_id} RFCOMM {channel} One time Initialization Start opening a Bluetooth DUN connection Pairing & connection successful Mode switch to data mode Transparent data link (AT commands tunnel) "AT" "OK" Pairing Figure 10: How to open a Dial-Up Networking connection to a phone...
User Guide
Page 196
... evaluation kits. Host iWRAP iWRAP Host SET BT AUTH * {pin} SET BT AUTH * {pin} SET CONTROL MSC DTE 80 20 0 0 0 0 CALL {bd_addr} 1101 RFCOMM CALL {link_id} CONNECT {link_id} RFCOMM {channel} SET CONTROL MSC DCE 20 80 0 0 0 0 Open Bluetooth connection Connection successful RING {link_id} {bd_addr} {channel} RFCOMM Mode switch to data mode Change PIO5 status PIO7 status changes MSC status update MSC status update PIO7 status changes Change PIO5 status Figure 16: Wireless IO replacement connection The example above was...
... evaluation kits. Host iWRAP iWRAP Host SET BT AUTH * {pin} SET BT AUTH * {pin} SET CONTROL MSC DTE 80 20 0 0 0 0 CALL {bd_addr} 1101 RFCOMM CALL {link_id} CONNECT {link_id} RFCOMM {channel} SET CONTROL MSC DCE 20 80 0 0 0 0 Open Bluetooth connection Connection successful RING {link_id} {bd_addr} {channel} RFCOMM Mode switch to data mode Change PIO5 status PIO7 status changes MSC status update MSC status update PIO7 status changes Change PIO5 status Figure 16: Wireless IO replacement connection The example above was...
User Guide
Page 199
In this mode iWRAP can accept Bluetooth A2DP connections or connect an A2DP source. The basic configuration steps are displayed in the figure below: Figure 19: A2DP source example When audio streaming needs to be enabled A2SP STRAMING START command needs to be issued. 199 One time Initialization 12.10 A2DP Source This example shows how to be stopped A2DP STRAMING STOP command should be given to iWRAP and on the other hand when streaming needs to set up iWRAP into A2DP sink mode i.e. to receive audio.
In this mode iWRAP can accept Bluetooth A2DP connections or connect an A2DP source. The basic configuration steps are displayed in the figure below: Figure 19: A2DP source example When audio streaming needs to be enabled A2SP STRAMING START command needs to be issued. 199 One time Initialization 12.10 A2DP Source This example shows how to be stopped A2DP STRAMING STOP command should be given to iWRAP and on the other hand when streaming needs to set up iWRAP into A2DP sink mode i.e. to receive audio.
User Guide
Page 209
13. SUPPORT For technical questions and problems, please contact: support@bluegiga.com Firmware, parameters, tools and documentation can be downloaded from: http://techforum.bluegiga.com iWRAP FAQ can be found from: http://techforum.bluegiga.com/faq 209
13. SUPPORT For technical questions and problems, please contact: support@bluegiga.com Firmware, parameters, tools and documentation can be downloaded from: http://techforum.bluegiga.com iWRAP FAQ can be found from: http://techforum.bluegiga.com/faq 209