iPod IWIP3G User Guide - Page 185
Dial-up Networking
UPC - 649241862819
View all iPod IWIP3G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 185 highlights
12.3 Dial-up Networking The Dial-Up Networking (DUN) profile allows you for example to connect to phone phones and control their GSM modem with AT commands. The most common use cases for DUN are sending SMS messages or connecting to Internet via GPRS or 3G. The simple below shows how to open a Dial-Up Networking connection to a phone and how to send an AT command to the phone. 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 DUN connection to a mobile phone In iWRAP the Bluetooth code must be set, since most of the mobile phones always require the PIN code authentication, before allowing the Dial-Up Networking connection. It may be wise to do the pairing from the mobile phone and make the iWRAP module 'trusted'. Once this is done, the phone does not ask for the PIN code every time the connection is opened. Notice that not all the mobile phones support the same AT commands, since some of the commands are optional and some mandatory. Refer to the following AT command specifications for more information and examples: 3GPP TS 27.005 and 3GPP TS 07.07. 185