tag:blogger.com,1999:blog-54397319055350840812024-03-19T03:53:49.338+01:00BlueDUN / BlueVPNAndroid applications for bluetooth tethering - Official blogM.S.http://www.blogger.com/profile/16730205800658918660noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-5439731905535084081.post-69348236267298499522015-10-11T17:54:00.000+02:002015-10-11T17:37:47.999+02:00BlueDUN & BlueVPN - What do you need to connect?<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR92rYFUuw49R1CL5V3dKAaFAGuqgp0qOFQxFiYB6RCnoQav-VwiDdWL9yWzsVCR1vZYauKWk1nfYAkIM984MD3PLKnjeNqpzlZhwznbmYM_NBvGns8YAV_zU4u4YzBgZ7GdK1SiaeoXQ0/s1600/blueDUN%252B.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR92rYFUuw49R1CL5V3dKAaFAGuqgp0qOFQxFiYB6RCnoQav-VwiDdWL9yWzsVCR1vZYauKWk1nfYAkIM984MD3PLKnjeNqpzlZhwznbmYM_NBvGns8YAV_zU4u4YzBgZ7GdK1SiaeoXQ0/s1600/blueDUN%252B.png" /></a><b>BlueDUN+ / BlueDUN </b>emulate the hardware modem on your Android phone. They allow your phone to share wifi or mobile connection over the bluetooth channel with other devices like PCs,tablets or navigation systems. The bluetooth DUN (dial-up network) service is turned on, in order to enable the external device to access the Internet.<br />
Android 2.3.* / 3.* : <a href="https://play.google.com/store/apps/details?id=com.blue_dun" target="_blank"><span style="color: #cfe2f3;">https://play.google.com/store/apps/details?id=com.blue_dun</span></a><br />
Android >= 4.* : <a href="https://play.google.com/store/apps/details?id=com.bluedunx" target="_blank"><span style="color: #cfe2f3;">https://play.google.com/store/apps/details?id=com.bluedunx</span></a><br />
<br />
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDy_6DrqJurB46-2vDl4vHV8nDgT4JJ7rTo9rB2V2yE_dcmCQnnUfygiCV0go49W4jHN4cu57vi4bhsXfQ1A_3xF8V_ldTQlUAoZr0GcQIumL2liB206GDHg67MaFBnmqkf6WkfTnJlQmk/s1600/logoBV%252B.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDy_6DrqJurB46-2vDl4vHV8nDgT4JJ7rTo9rB2V2yE_dcmCQnnUfygiCV0go49W4jHN4cu57vi4bhsXfQ1A_3xF8V_ldTQlUAoZr0GcQIumL2liB206GDHg67MaFBnmqkf6WkfTnJlQmk/s1600/logoBV%252B.png" /></a><b>BlueVPN+ / BlueVPN </b>open a VPN connection through the bluetooth or USB channel and allow to navigate the internet without a WiFi or a built-in 3G module.<br />
They requires one of:<br />
- Android smartphone/tablet with BlueDUN installed and running<br />
- GPRS phone with Dial-Up Networking (DUN) support<br />
- USB Stick with 3G or PSTN Modem [BlueVPN+]<br />
Android 2.3.* / 3.* : <a href="https://play.google.com/store/apps/details?id=com.bluevpn" target="_blank"><span style="color: #cfe2f3;">https://play.google.com/store/apps/details?id=com.bluevpn</span></a><br />
Android >= 4.* : <a href="https://play.google.com/store/apps/details?id=com.blue_vpn" target="_blank"><span style="color: #cfe2f3;">https://play.google.com/store/apps/details?id=com.blue_vpn</span></a><br />
<br />
<br />
<div>
<br />
<h3>
1. TABLET (USB host port) & 3G STICK or PSTN (Line) Modem</h3>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFuDYvIT-vBHPzSCZ5K3QrlO2uJHCBCyDJkkdZk8jf8AH-6LyyP06hDrtFE1-sjD9zyvRL2TyXH1BApn0W3ndNeIduoXZ9UjpiwjTtDLghrqg3-Ggbwb8czGDLEJLZtJFKmuRCgNhkte8e/s1600/blog4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="277" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFuDYvIT-vBHPzSCZ5K3QrlO2uJHCBCyDJkkdZk8jf8AH-6LyyP06hDrtFE1-sjD9zyvRL2TyXH1BApn0W3ndNeIduoXZ9UjpiwjTtDLghrqg3-Ggbwb8czGDLEJLZtJFKmuRCgNhkte8e/s400/blog4.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://bluedunapp.blogspot.it/2013/05/bluevpn-connect-your-tablet-to-internet.html"><span style="color: #9fc5e8;">BlueVPN+, connect your Tablet to internet with a USB modem (3G or PSTN)</span></a></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="color: white;"><br /></span></div>
</div>
<h3>
2. TABLET / ANDROID DEVICE & GPRS MODEM PHONE</h3>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPCggMRMljGFUxT20Hn7SimjzzTGH7_b9B-pL-fRhAEITOKyMtu2cXgmTlmWy-25lRTW4QdGxycHINMq17aaT0mmjNKZr193pKW9cgyboVeB8ahAjJv45_JBHQ335NEtoA__VH_ATvksyV/s1600/blog0.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="211" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPCggMRMljGFUxT20Hn7SimjzzTGH7_b9B-pL-fRhAEITOKyMtu2cXgmTlmWy-25lRTW4QdGxycHINMq17aaT0mmjNKZr193pKW9cgyboVeB8ahAjJv45_JBHQ335NEtoA__VH_ATvksyV/s400/blog0.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://bluedunapp.blogspot.it/2012/06/bluevpn-connect-your-android-device-to.html" style="text-align: start;"><span style="color: #9fc5e8;">BlueVPN+, connect your Android device to internet with a GPRS modem phone</span></a></div>
<br />
<h3>
3. TABLET / ANDROID DEVICE & ANDROID PHONE</h3>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkiDiM8_rx0Hv_I9ZBsJyOMBZeLXP7DERvvqIJNlcHXDQuKMPD_71H5U2SuiKcFbcBr-0UBufZfOb8FnSv0LcWQMKsrmroFIdGnnbKZC7QK_oERxbDaocS7CsVhc3apRVaP2YjbYgl8Y9_/s1600/blog1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="276" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkiDiM8_rx0Hv_I9ZBsJyOMBZeLXP7DERvvqIJNlcHXDQuKMPD_71H5U2SuiKcFbcBr-0UBufZfOb8FnSv0LcWQMKsrmroFIdGnnbKZC7QK_oERxbDaocS7CsVhc3apRVaP2YjbYgl8Y9_/s400/blog1.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div style="text-align: center;">
<a href="http://bluedunapp.blogspot.it/2012/05/bluetooth-tethering-for-android-devices.html" style="text-align: start;"><span style="color: #9fc5e8;">Bluetooth tethering for Android devices: making BlueVPN(+) and BlueDUN(+) work together</span></a></div>
<br />
<br />
<h3>
4. LAPTOP PC & ANDROID PHONE</h3>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXGKkZTLXGgdTV-9sxranAjN-n8e5gPnD9IiVGmCV0vt3gvXe-HIttGTyx_yeZ6V7VKDHR5ivTUnL-uyAR3ietiFZBeP0CPiv0D7ms1JvWOpYJhgLRzjOTnBT8ARO-t9rkFFC4BgqvjEEz/s1600/blog2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="211" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXGKkZTLXGgdTV-9sxranAjN-n8e5gPnD9IiVGmCV0vt3gvXe-HIttGTyx_yeZ6V7VKDHR5ivTUnL-uyAR3ietiFZBeP0CPiv0D7ms1JvWOpYJhgLRzjOTnBT8ARO-t9rkFFC4BgqvjEEz/s400/blog2.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div style="text-align: center;">
<span style="color: #9fc5e8;"><a href="http://bluedunapp.blogspot.it/2012/05/connect-windows-7-pcs-to-internet-via.html" target=""><span style="color: #9fc5e8;">BlueDUN: Connect Windows 7 PCs to internet via bluetooth through Android phones</span></a></span></div>
<div style="text-align: center;">
<a href="http://bluedunapp.blogspot.it/2015/10/bluedun-connect-windows-10-pcs-to.html"><span style="color: #9fc5e8;">BlueDUN(+): Connect Windows 10 PCs to internet via bluetooth through Android phones</span></a></div>
<div style="text-align: center;">
<br /></div>
<h3>
5. GPS NAVIGATOR & ANDROID PHONE</h3>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrQntm-ezdPqjHN6vK4TDcc9Yqty9lX07cmduO8kdZ2p4ysDKiOG60RceOkXa8KgEC2rt3OAGTjL3Kcdg5tV-sxiSSQpFoPnq_XdmFk0tsplZnQTkKJNc7YCM06buGZh_IfHrQs6Co1Yo8/s1600/blog3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="211" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrQntm-ezdPqjHN6vK4TDcc9Yqty9lX07cmduO8kdZ2p4ysDKiOG60RceOkXa8KgEC2rt3OAGTjL3Kcdg5tV-sxiSSQpFoPnq_XdmFk0tsplZnQTkKJNc7YCM06buGZh_IfHrQs6Co1Yo8/s400/blog3.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div style="text-align: center;">
<a href="http://bluedunapp.blogspot.it/2012/04/mb-comand-online-and-android-phones.html"><span style="color: #9fc5e8;">BlueDUN+: Mercedes Benz Comand OnLine and Android phones</span></a></div>
<div style="text-align: center;">
<br />
<div style="text-align: start;">
<br /></div>
<h3 style="text-align: start;">
6. ANDROID APPLICATION & EXTERNAL DEVICE [TCP/IP over BT]</h3>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA8UX_Z-gY0aMybKrQI2UScvSV_grpcrDjxpNnplQgcUfVGR6Ou5_n2XHMBrY3FfR0058-WlXQkpGJcsBQLUcBzO6_Kz3gvYlLDVzx-fBndTnLz-eYIApuI9w84RCsX6xP34DdQRI-tr8k/s1600/blog5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="211" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA8UX_Z-gY0aMybKrQI2UScvSV_grpcrDjxpNnplQgcUfVGR6Ou5_n2XHMBrY3FfR0058-WlXQkpGJcsBQLUcBzO6_Kz3gvYlLDVzx-fBndTnLz-eYIApuI9w84RCsX6xP34DdQRI-tr8k/s400/blog5.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both;">
</div>
<div class="separator" style="clear: both;">
</div>
<div class="separator" style="clear: both;">
</div>
<div>
<a href="http://bluedunapp.blogspot.it/2015/10/bluedun-connect-custom-application-to.html" target="_blank"><span style="color: #6fa8dc;">BlueDUN+: Connect custom application to external device with TCP/IP over bluetooth</span></a><br />
<br />
<br /></div>
</div>
<div style="text-align: center;">
<div style="text-align: left;">
<b>IMPORTANT NOTE</b>: <a href="http://bluedunapp.blogspot.it/2012_03_01_archive.html" target="_blank"><span style="color: red;">BlueDUN issue: why the "Start Service" button has no effect?</span></a></div>
</div>
<br />M.S.http://www.blogger.com/profile/16730205800658918660noreply@blogger.com41tag:blogger.com,1999:blog-5439731905535084081.post-13921943453674970482015-10-11T16:23:00.001+02:002015-10-11T16:23:25.550+02:00BlueDUN(+): Connect Windows 10 PCs to internet via bluetooth through Android phonesThis post shows how to install and configure Bluetooth and pair your computer with an Android mobile phone to enable the internet connection.<br />
<br />
Prerequisites are that you have already installed the bluetooth adapter on your windows 10 computer and turned on the bluetooth interface.<br />
<br />
The pairing process can be started both from computer and phone. If you choose to start from phone you need also to enable in the Bluetooth Settings the option: "<b>Allow Bluetooth devices to find this computer</b>".<br />
In this example, I will choose to start the pairing from the computer.<br />
<br />
<br />
In Windows search bar type "<b>devices</b>" and select "<b>Device and Printers - Control Panel</b>"<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZHFywZACyLn3RYof70lpYXk1ybUWdWOkdSRgePNdg1Wdpy3XMVlweXZr5vlicy888hWV5k2WA_3lALLOMMgAnBiPjT2AJKq3W0Xl7_rdzbn1NbWA2GXKg_F92vxEuTSG1s-xAuXsKStp9/s1600/img1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZHFywZACyLn3RYof70lpYXk1ybUWdWOkdSRgePNdg1Wdpy3XMVlweXZr5vlicy888hWV5k2WA_3lALLOMMgAnBiPjT2AJKq3W0Xl7_rdzbn1NbWA2GXKg_F92vxEuTSG1s-xAuXsKStp9/s320/img1.png" width="229" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
Now you can see the list of the previously paired devices, but, before clicking "<b>Add a device</b>" to create a new pairing with your phone it is necessary to turn on the BlueDUN+ service on phone.<br />
<br />
<div style="clear: left; margin-bottom: 1em; margin-right: 1em; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjei8VvWK4ZFp9pE1Icd-K-0WVcLhNc8HMug_RZVReolVngPFP4_zDgRL0z_sIfU5WAck6ZHZMEtfYWmmlDr7Icc6mzuJ1jHQePHBe9soPF0I-dEqzsxLNd991iB0GmGfB71XOfKsJH7Wj5/s1600/blt5.png" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-right: 1em;"></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSLOYyvVAfdgqmhWhg_TScUP7L3EF0S7IiiRkvlPX5fGYkfORJOrhZ0q5GQqN-onV96zTdA_VWopkywPBcjA3-l6JIh6Iz8USG5LtZe203Bp3Dc5XpdRbCZz3CLH_Jeti0taOHBuCeihYk/s1600/img2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" height="215" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSLOYyvVAfdgqmhWhg_TScUP7L3EF0S7IiiRkvlPX5fGYkfORJOrhZ0q5GQqN-onV96zTdA_VWopkywPBcjA3-l6JIh6Iz8USG5LtZe203Bp3Dc5XpdRbCZz3CLH_Jeti0taOHBuCeihYk/s400/img2.png" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: -webkit-auto;">
<br /></div>
<div class="separator" style="clear: both; text-align: -webkit-auto;">
<br /></div>
<div class="separator" style="clear: both; text-align: -webkit-auto;">
Open the BlueDUN+ app and enable the "<b>Discoverable</b>" option on preference panel (click the menu button to access to the preferences); now when you start the service you should get the message "<b>Bluetooth permission request</b>" asking you to enable the bluetooth visibility status for a limited time. </div>
<div class="separator" style="clear: both; text-align: -webkit-auto;">
<br /></div>
<nobr></nobr><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<br /><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-ai6T_twoMSnlzmBVHh131yl7nLRgpzUJXxoZl0yaC-fhP5DdQlxEfI_NjSkkzy8DXZ-PdYT29ZsP9eEOmKPpw1eykpov3a2S7nLxfnoxNYPn6prfLrokdqhsUdMvRuNuRQRU8Bzdc3kQ/s1600/Screenshot_2015-10-11-15-10-38%255B1%255D.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-ai6T_twoMSnlzmBVHh131yl7nLRgpzUJXxoZl0yaC-fhP5DdQlxEfI_NjSkkzy8DXZ-PdYT29ZsP9eEOmKPpw1eykpov3a2S7nLxfnoxNYPn6prfLrokdqhsUdMvRuNuRQRU8Bzdc3kQ/s320/Screenshot_2015-10-11-15-10-38%255B1%255D.png" width="180" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixZg7l8ly2wMHC68VSMpuN07xfNsqvX8BYUQtbCpi7KXlgQB_ck-UlOyTIxGI4uKHIgvzfxIggRl1CT1pHV4PYBYzLpQR9T_ObDNT5eLMUvMCCKVhYXx-l3CuVOxy0en1UO-QT0wGaPpR3/s1600/Screenshot_2015-10-11-15-47-10%255B1%255D.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixZg7l8ly2wMHC68VSMpuN07xfNsqvX8BYUQtbCpi7KXlgQB_ck-UlOyTIxGI4uKHIgvzfxIggRl1CT1pHV4PYBYzLpQR9T_ObDNT5eLMUvMCCKVhYXx-l3CuVOxy0en1UO-QT0wGaPpR3/s320/Screenshot_2015-10-11-15-47-10%255B1%255D.png" width="180" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjym2cgFKatl97Kn9EHE_fNGCWwgwfg33UaZkxK7coewHafHzI_CuC1yMUTKO3tecacPdy0wAupaGFrjWxwCnriCS7oR-U3XNZ3HMn_TylH4TJsManCm9eXz6fXQaQOrVuAvrF78eyinBUS/s1600/Screenshot_2015-10-11-15-11-07%255B1%255D.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjym2cgFKatl97Kn9EHE_fNGCWwgwfg33UaZkxK7coewHafHzI_CuC1yMUTKO3tecacPdy0wAupaGFrjWxwCnriCS7oR-U3XNZ3HMn_TylH4TJsManCm9eXz6fXQaQOrVuAvrF78eyinBUS/s320/Screenshot_2015-10-11-15-11-07%255B1%255D.png" width="180" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnP0WyGaQFQbvB50Sg_ANyk9F-cTOLpzWazOrke3w4LaEvdUvSacQGEmSDRnk9gN9FYP_2g0tuL4vXsfvQinVd6MALS8q_7_7aplbagzuI1azNzEey6EAG2Mb3A6pNTugnj2kMor6GGqKL/s1600/Screenshot_2015-10-11-15-10-10%255B1%255D.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnP0WyGaQFQbvB50Sg_ANyk9F-cTOLpzWazOrke3w4LaEvdUvSacQGEmSDRnk9gN9FYP_2g0tuL4vXsfvQinVd6MALS8q_7_7aplbagzuI1azNzEey6EAG2Mb3A6pNTugnj2kMor6GGqKL/s320/Screenshot_2015-10-11-15-10-10%255B1%255D.png" width="180" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div style="text-align: justify;">
If the BlueDUN+ service is running on the phone, you can click the "<b>Add a device</b>" button on PC; this starts the "<b>Add a Device</b>" wizard, which automatically scans for new devices, including Bluetooth ones.<br />
After a few seconds, your phone should show up in the list of available devices. If it doesn’t, then you need to make sure Bluetooth is enabled on the phone and the phone is set as discoverable.</div>
<br />
<div style="text-align: justify;">
Select your phone and click <b>Next</b>.</div>
<br />
<nobr></nobr><br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhw-jI10Bki8pzDKuArPfDZixtXHTw-WguM_BeThCN9XvQDq8ThKZBS9kn3Ih39VqDaXh5FA02c6IEHku2OeP6M8iO6B6akdNEQbfNO0Tct0nXm6oxObbXKL3NB5eYpXgg5zDkjjl7ilC18/s1600/img3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="272" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhw-jI10Bki8pzDKuArPfDZixtXHTw-WguM_BeThCN9XvQDq8ThKZBS9kn3Ih39VqDaXh5FA02c6IEHku2OeP6M8iO6B6akdNEQbfNO0Tct0nXm6oxObbXKL3NB5eYpXgg5zDkjjl7ilC18/s400/img3.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="" style="clear: both;">
The wizard displays a code that you need to type on your mobile phone, so that the pairing is completed.</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDZ_lZT54eAt-DSzzq-XTq9oeQf1v-GONwcLu7JnyhK-HB8unSlYj_on2hKRutSuSkPe-seV8vlTp8pcUGMnl4w_5woVAsVYvVTZBuB6saKEjHQYL-lLRtBT_7O26IUnsizaTRXXRfBU9G/s1600/img4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="273" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDZ_lZT54eAt-DSzzq-XTq9oeQf1v-GONwcLu7JnyhK-HB8unSlYj_on2hKRutSuSkPe-seV8vlTp8pcUGMnl4w_5woVAsVYvVTZBuB6saKEjHQYL-lLRtBT_7O26IUnsizaTRXXRfBU9G/s400/img4.png" width="400" /></a></div>
<br />
<br />
On your mobile phone, you are notified that your computer wants to connect via Bluetooth. Press OK to confirm the passcode. <br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheaql3MchBN73o_lYMThu7HIoXoFVLlnrMxAjR0H2yYozW0vCwPDq92kp15WdKfM6baF0zRWwS32Qb4l6gN7eMasq1rVj8KAsjwVfcEv0kGYgaCJizmDeCTEAvvGufPXwTA8OMrZqruDZ7/s1600/Screenshot_2015-10-11-15-19-23%255B1%255D.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheaql3MchBN73o_lYMThu7HIoXoFVLlnrMxAjR0H2yYozW0vCwPDq92kp15WdKfM6baF0zRWwS32Qb4l6gN7eMasq1rVj8KAsjwVfcEv0kGYgaCJizmDeCTEAvvGufPXwTA8OMrZqruDZ7/s320/Screenshot_2015-10-11-15-19-23%255B1%255D.png" width="180" /></a></div>
<br />
<br />
After the confirmation, the pairing will be created and Windows automatically searches for drivers for all Bluetooth profiles available on your mobile phone, then installs them.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYZiL5NAvWwSbfcpJsxFUVH-soX1pI9t1YNL0jDU7it1K4lGvybfnKK4DPT5LtVdbtLCf4StCSYXFXRIt00vsL0WcocA-z8CxaFv7fdYW-z-it6IXgCu7SzC7SGKFDhr5PGyKBKR4BDzYh/s1600/img5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="275" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYZiL5NAvWwSbfcpJsxFUVH-soX1pI9t1YNL0jDU7it1K4lGvybfnKK4DPT5LtVdbtLCf4StCSYXFXRIt00vsL0WcocA-z8CxaFv7fdYW-z-it6IXgCu7SzC7SGKFDhr5PGyKBKR4BDzYh/s400/img5.png" width="400" /></a></div>
<br />
<br />
To check the discovered and installed BT profiles, you can right-click the phone you’ve just added and choose Properties:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh71990jPA30G-jRUyjsA0TrrnMNMnSNvSSJ-KZQCwX19h9i5oGYoYlcqq2Ler4geTBAfSYEtGOOIUvEz6DQbY-j-nzDDNuklM_-VB_Wix-vXfDzn5x3icinblIhx48689exrcrmZmZmS_R/s1600/img6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh71990jPA30G-jRUyjsA0TrrnMNMnSNvSSJ-KZQCwX19h9i5oGYoYlcqq2Ler4geTBAfSYEtGOOIUvEz6DQbY-j-nzDDNuklM_-VB_Wix-vXfDzn5x3icinblIhx48689exrcrmZmZmS_R/s1600/img6.png" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both;">
<span style="text-align: -webkit-auto;"><br />Note: the "<b>Dial Up Network</b> (</span><b style="text-align: -webkit-auto;">DUN</b><span style="text-align: -webkit-auto;">)" profile will be available on phone only when the BlueDUN+ service is running; if you pair the devices in a different condition, you will not be able the create a new internet connection on PC. In this case, remove the old pairing and create a new one following the above steps.</span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="text-align: -webkit-auto;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0Q56LtuTNX8oGTWTCER60F6vFEKxpwq5YvM9YJzlQ9XpD9BpzNffWb2RcNlTIyXguLgCeyjxY9BHbn_7TwLNbS_9mLWkX24Ru3TstHe0iM7KvMCLj9WPM2sc3sYENZ_IiubyDvLPAy_nm/s1600/img7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0Q56LtuTNX8oGTWTCER60F6vFEKxpwq5YvM9YJzlQ9XpD9BpzNffWb2RcNlTIyXguLgCeyjxY9BHbn_7TwLNbS_9mLWkX24Ru3TstHe0iM7KvMCLj9WPM2sc3sYENZ_IiubyDvLPAy_nm/s400/img7.png" width="317" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
Make sure the DUN profile is also selected and click OK to confirm.<br />
Now it is the time to create a new internet connection to access the internet through the bluetooth phone tethering: right-click again your phone and then choose <b>"Dial-Up Networking"</b> > <b>"Create a dial-up connection…"</b><br />
<div>
<br /></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKp99j6cw9pZDPAWsLu3urVtnvK7ai8DBp5I7MPsqrf_BWWWicvcheptLAicilIwMMivI7sXkP8gomOdqK36n5ArRTnN4LPODUtvIx1RKhqkpbVFIZQCfj_PlXjeedsiRokqsrS7qIPQDr/s1600/img8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="202" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKp99j6cw9pZDPAWsLu3urVtnvK7ai8DBp5I7MPsqrf_BWWWicvcheptLAicilIwMMivI7sXkP8gomOdqK36n5ArRTnN4LPODUtvIx1RKhqkpbVFIZQCfj_PlXjeedsiRokqsrS7qIPQDr/s400/img8.png" width="400" /></a></div>
<br />
<br />
after clicking that, it will ask for what Modem device to use in your dial-up choose the last one, if it doesn’t work, try the others...<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRvqjuR9TCafIvTd6e23E51vEkgLnN5CKkAOebkL9v6FA-yCX6h7TTywWKxoR_W1v9-naTAk9b4W-9ivsY7x0IKBvGUaD2RYI2uTHiPB5GRsAxSFpRavz2L63_U8oxAkwLhP5c9DKHVAYU/s1600/choose_a_modem_thumb%5B4%5D.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRvqjuR9TCafIvTd6e23E51vEkgLnN5CKkAOebkL9v6FA-yCX6h7TTywWKxoR_W1v9-naTAk9b4W-9ivsY7x0IKBvGUaD2RYI2uTHiPB5GRsAxSFpRavz2L63_U8oxAkwLhP5c9DKHVAYU/s1600/choose_a_modem_thumb%5B4%5D.jpg" /></a></div>
<br />
<br />
now enter the mandatory dial-up number ( for example *99***1# is the mostly used ), and enter a name for your dial-up connection… no need for username and password with the BlueDUN+ app …<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxZKu889OnTbQDnm47bync1t0Z7qyHngRcLDSGKRvHIwPoZKH7C8AFWYfz0N4EQgzBB9pbgpjriiIrhLSqBj1NdYI9l8DVn0JYp2r_6MF6vKXdpvO4D23O9vTaiJ0wXE3uqvwtfbK_7ETy/s1600/img10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="295" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxZKu889OnTbQDnm47bync1t0Z7qyHngRcLDSGKRvHIwPoZKH7C8AFWYfz0N4EQgzBB9pbgpjriiIrhLSqBj1NdYI9l8DVn0JYp2r_6MF6vKXdpvO4D23O9vTaiJ0wXE3uqvwtfbK_7ETy/s400/img10.png" width="400" /></a></div>
<br />
after entering the details, click Connect, it will try to dial the number in your phone and registering your connection to networks server, and after that it will test your connection…<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8XC8HtFD50NoIt2TRtdcr4YrHlgVzX-vBLh331IGvuZ9pM1bzTlXrTxAee3TpMeGeudV7w_e_GpJlOvhCzy_aZVR2a2OYj9Rp_RwrUGWT9op8T4HxbeHGQg2YaHuOA-kZZxEiE0tVAtaY/s1600/img9.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="296" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8XC8HtFD50NoIt2TRtdcr4YrHlgVzX-vBLh331IGvuZ9pM1bzTlXrTxAee3TpMeGeudV7w_e_GpJlOvhCzy_aZVR2a2OYj9Rp_RwrUGWT9op8T4HxbeHGQg2YaHuOA-kZZxEiE0tVAtaY/s400/img9.png" width="400" /></a></div>
<br />
<br />
On the BlueDUN+ app you should see the "Modem negotiating.." message and soon after the panel with connection statistics indicating the connection was established with success.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiY8qbnQ8CZ_mMM6str-4uqs9ErEe1yTuIIMBU_dykx8p1hE2xuHxdUPyWlFBx1jEohxUx9EXSsaNPb4u65Z3ymojl874iXSrJapHtylfHKWcHnAwa7uFuDXdAlNcLLw5qx0yil5V6VX-eX/s1600/Screenshot_2015-10-11-15-10-10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiY8qbnQ8CZ_mMM6str-4uqs9ErEe1yTuIIMBU_dykx8p1hE2xuHxdUPyWlFBx1jEohxUx9EXSsaNPb4u65Z3ymojl874iXSrJapHtylfHKWcHnAwa7uFuDXdAlNcLLw5qx0yil5V6VX-eX/s320/Screenshot_2015-10-11-15-10-10.png" width="180" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimb3VQTj4xKPKu_dyYWyRzjmuCUtZp9tPJJHKASptVTXlKJmjRSDXKO1Z-MtJD3hlU0HFQM157LXmSN1V3QKSU-xeHoB7JxBKf_Th422la4O7HCqo1Q4lCeuKW0kR8ddVhLdHnMFIFeNNm/s1600/Screenshot_2015-10-11-15-22-41%255B1%255D.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimb3VQTj4xKPKu_dyYWyRzjmuCUtZp9tPJJHKASptVTXlKJmjRSDXKO1Z-MtJD3hlU0HFQM157LXmSN1V3QKSU-xeHoB7JxBKf_Th422la4O7HCqo1Q4lCeuKW0kR8ddVhLdHnMFIFeNNm/s320/Screenshot_2015-10-11-15-22-41%255B1%255D.png" width="180" /></a></div>
<br />
Now your done! Click close button to close the window, and Open your browser to start surfing the web, Enjoy!<br />
<br />
<br />
If you need to use the dial-up connection in the future, you have just to click the "Network settings" icon on notification area:<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-SOYFqQR1Pc4pANE4tuTt7zeYwFdBI2gp7WFFPMec2QxAupgLtK4C-Fn3OfKAccJqcki0yrkquydt_2KSCy1if6JyxOvORaODmU6ceDxQnqLljRx1aFGpMbgC7O5pnj5fNcjDN-4K_HHJ/s1600/img11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-SOYFqQR1Pc4pANE4tuTt7zeYwFdBI2gp7WFFPMec2QxAupgLtK4C-Fn3OfKAccJqcki0yrkquydt_2KSCy1if6JyxOvORaODmU6ceDxQnqLljRx1aFGpMbgC7O5pnj5fNcjDN-4K_HHJ/s400/img11.png" width="237" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
select the connection with proper name</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1Ji9zLKF3YRU76TSe0fKmCrOy7l-VkD6xKrzilPawJMWmjSdh1-K5yKZk7DJcEMgQlb_5gk2GhfGLsJVLEOlhtNX-OajLAKYJSUjGakOdQUEt9dCU0mHo-YjqixnGf4YQ6DSS6QwfNnqo/s1600/img12.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="263" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1Ji9zLKF3YRU76TSe0fKmCrOy7l-VkD6xKrzilPawJMWmjSdh1-K5yKZk7DJcEMgQlb_5gk2GhfGLsJVLEOlhtNX-OajLAKYJSUjGakOdQUEt9dCU0mHo-YjqixnGf4YQ6DSS6QwfNnqo/s400/img12.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
click the "Connect" button and finally click the "Dial" button:</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnOZgi-rtqBS7Kcga3PQj_VDFyNtqRFyUy0NurmvLeBUtYa3pZyeXiVJGouyuc4669pPTtyt02E0IVRVqbAyFid24w88T19bkd1MEEnULDQ9r4GrWCN5rvHU89D_liOKJeZKo0L2dcXy5F/s1600/img13.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnOZgi-rtqBS7Kcga3PQj_VDFyNtqRFyUy0NurmvLeBUtYa3pZyeXiVJGouyuc4669pPTtyt02E0IVRVqbAyFid24w88T19bkd1MEEnULDQ9r4GrWCN5rvHU89D_liOKJeZKo0L2dcXy5F/s320/img13.png" width="256" /></a></div>
<br />
<br />
<br />M.S.http://www.blogger.com/profile/16730205800658918660noreply@blogger.com0tag:blogger.com,1999:blog-5439731905535084081.post-15391303920085688662015-10-10T16:37:00.000+02:002015-10-11T17:35:43.305+02:00BlueDUN+: Connect custom application to external device with TCP/IP over bluetooth<h2>
External app running a TCP server</h2>
<br />
The external application runs a TCP server on a specified port and acts as normal application server: when the bluetooth client requests a connection with a special IP, the BlueDUN service redirects the data packets to the local port on localhost (127.0.0.1). <br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhI7O5IjDJo7z_f21r2fGS6pwKTDgnwcBZKisvqMYC9z0qbt9CjfZmZJIR4aHlsNX6L_BPrVYhqJ_ruyCPUIzBCqozaUNmHZDV5YVWaiE0rxgUUQlXPpzBtN18-mG9oIUidreP5EbB-EmjS/s1600/srv.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="206" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhI7O5IjDJo7z_f21r2fGS6pwKTDgnwcBZKisvqMYC9z0qbt9CjfZmZJIR4aHlsNX6L_BPrVYhqJ_ruyCPUIzBCqozaUNmHZDV5YVWaiE0rxgUUQlXPpzBtN18-mG9oIUidreP5EbB-EmjS/s400/srv.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<br />
Application settings - “<b>Extensions</b>” category:<br />
<b>Client application</b> = unchecked<br />
<b>Redirect IP</b> = the special IP associated to the external application [ default: 192.168.200.200 ]<br />
<b>Local port</b> = the port number on localhost related to the TCP server running inside the external app [ default: 8001 ]<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4q8eU24_M4cF5zXh4UeK8WKACpyjK9Kt67vGlTmupGgDyGriORyvsgFdJl7-BbrYWQ6M0YEKdGJekxdViaLiqDxm0oj3tvpbjdO6oDkPwFSo13N4XAvMmhU38E3dQGBTj29Ms0qXi8lWs/s1600/Screenshot_2015-10-11-16-57-09.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4q8eU24_M4cF5zXh4UeK8WKACpyjK9Kt67vGlTmupGgDyGriORyvsgFdJl7-BbrYWQ6M0YEKdGJekxdViaLiqDxm0oj3tvpbjdO6oDkPwFSo13N4XAvMmhU38E3dQGBTj29Ms0qXi8lWs/s400/Screenshot_2015-10-11-16-57-09.png" width="225" /></a></div>
<br />
<br />
Actions to be performed in the external application:<br />
<br />
1. Start the BlueDUN service [if not automatically started on device boot]:<br />
<br />
Intent intent = new Intent();<br />
intent.setComponent(new ComponentName("com.bluedunx","com.bluedunx.BlueDUNService"));<br />
context.startService(intent);<br />
<br />
2. Start up the TCP server for a given local port number<br />
<br />
<br />
<br />
<h2>
External app connecting as a TCP client</h2>
<br />
The external application connects to a TCP server running inside BlueDUN; the BlueDUN module redirects the data packets to the TCP socket created with the external device over the bluetooth channel, matching the port numbers.<br />
The TCP server starts as soon as you start up the BlueDUN service on localhost (127.0.0.1) and opens the specified port. <br />
<br />
<div style="text-align: center;">
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFErQCotE7HpaMK_K1Kaz7VQ_DJnnnssDZKzQst4LjT5eED4E6s-mjuDDR0Grj6EexOJLhlXVk-KAbYQqENBaR3ASKtIMuAFpkBm_8UGav95oTJFa-X_QHf8NkdPuR99GSO3JE2YyUnLC7/s1600/clt.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="207" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFErQCotE7HpaMK_K1Kaz7VQ_DJnnnssDZKzQst4LjT5eED4E6s-mjuDDR0Grj6EexOJLhlXVk-KAbYQqENBaR3ASKtIMuAFpkBm_8UGav95oTJFa-X_QHf8NkdPuR99GSO3JE2YyUnLC7/s400/clt.png" width="400" /></a></div>
<br /></div>
<br />
Application settings - “<b>Extensions</b>” category:<br />
<b>Client application</b> = checked<br />
<b>Redirect IP</b> = the special IP associated to the external application [ default: 192.168.200.200 ]<br />
<b>Local port</b> = the port number on localhost related to the TCP server running inside BlueDUN [default: 8001] and equivalent to the port number on the external device<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGJA_JkzpXOKT0wUBjOop_BTqj2UkHu909_ykUWXcYH9q2TRAefXlAVAwSLSMNGfWLA-s96GphKEn6wqzxUxkev-xF_k8EkRsHuXXQIy1mRFhghrfXA2xtu149p_bNDCA1hVdvcRoYHiyE/s1600/Screenshot_2015-10-11-16-59-08.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGJA_JkzpXOKT0wUBjOop_BTqj2UkHu909_ykUWXcYH9q2TRAefXlAVAwSLSMNGfWLA-s96GphKEn6wqzxUxkev-xF_k8EkRsHuXXQIy1mRFhghrfXA2xtu149p_bNDCA1hVdvcRoYHiyE/s400/Screenshot_2015-10-11-16-59-08.png" width="225" /></a></div>
<br />
<br />
Actions to be performed in the external application:<br />
<br />
1. Start the BlueDUN service [if not automatically started on device boot]:<br />
<br />
Intent intent = new Intent();<br />
intent.setComponent(new ComponentName("com.bluedunx","com.bluedunx.BlueDUNService"));<br />
context.startService(intent);<br />
<br />
2. Connect to the TCP server for the given port number <br />
<br />
Note: this configuration needs the external app to be reconnected if the external device closes a connection created before.<br />
<br />
<div>
<br />
<a name='more'></a><br /><br />
For testing the service in both cases, you can download the source code of <a href="http://www.imarche.net/TCPClientServer.zip"><span style="color: red;">TCPClientServer</span></a><br />
[ Android external app example implementing a TCP client / server ]<br />
<br />
You don't need to perform the modem [AT commands] negotiation with your external device because BlueDUN+ supports also connections that start directly with PPP (LCP+NCP) negotiation.<br />
<br />
<br />
<br /></div>
M.S.http://www.blogger.com/profile/16730205800658918660noreply@blogger.com0tag:blogger.com,1999:blog-5439731905535084081.post-37563002887680255822013-05-05T15:01:00.000+02:002014-12-30T20:59:59.850+01:00BlueVPN+, connect your Tablet to internet with a USB modem (3G or PSTN)The BlueVPN+ app allows the use of 3G or PSTN modems attached to USB host port. Not all tablets have the USB or microUSB port but they are provided only with a proprietary connector; in these cases you need a OTG cable or adaptor from the special connector to USB female connector. <br />
<div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9KrHQVFKVDNhUHAARf_k2ZYNU3oPI5ZRgSZv8QQVbVAckkmxHC_j-yTFJzvObGJ41bDGHU5pjOvritbG5jmVfyBnjzqWamLNySBk-eY8erVoPFkyKhpADqeX-M18sDapDgBI_sNmvqXSd/s1600/cable1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9KrHQVFKVDNhUHAARf_k2ZYNU3oPI5ZRgSZv8QQVbVAckkmxHC_j-yTFJzvObGJ41bDGHU5pjOvritbG5jmVfyBnjzqWamLNySBk-eY8erVoPFkyKhpADqeX-M18sDapDgBI_sNmvqXSd/s200/cable1.jpg" height="149" width="200" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBEiMxLazUo0xc_8lHMb0ckOVCKQfUKtCbv0ASnUHDzqPj8PY16hzbrbURFP-NSKiOrTV9O7ao2PffCpS_IGxdW2cI7BvuhGny6uIiAQq6cfjlnID3GtvKrpXw534aNb14RTa10DEr66xi/s1600/cable2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBEiMxLazUo0xc_8lHMb0ckOVCKQfUKtCbv0ASnUHDzqPj8PY16hzbrbURFP-NSKiOrTV9O7ao2PffCpS_IGxdW2cI7BvuhGny6uIiAQq6cfjlnID3GtvKrpXw534aNb14RTa10DEr66xi/s200/cable2.jpg" height="154" width="200" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/q1q5RgaAMfI?feature=player_embedded' frameborder='0'></iframe></div>
<br />
<br /></div>
<br />
<br />
<div style="background-color: #333333; padding: 10px;">
<b>Prerequisites</b>:<br />
<br />
<strike>A) Make sure your USB device is switched to modem feature only and the auto running is disabled:</strike><br />
<br />
The following procedure must be executed before using the USB stick with BlueVPN<br />
<br />
<span style="font-size: x-small;">1) Connect the modem to a PC running Windows and make sure it works.</span><br />
<span style="font-size: x-small;"><br /></span>
<span style="font-size: x-small;">2) Download the <a href="http://www.imarche.net/hypertrm.zip" target="_blank"><span style="color: cyan;">Hyper Terminal</span></a> application, extract the zip file and run <b>hypertrm.exe</b></span><br />
<span style="font-size: x-small;"><br /></span>
<span style="font-size: x-small;">[ for Windows XP you can find HyperTerminal under Star t>Programs>Accessories>Communications>HyperTerminal ]</span><br />
<div>
<span style="font-size: x-small;"><br /></span></div>
<div>
<span style="font-size: x-small;">3) In the "<b>Connection Description</b>" write any Name, say "Huawei" for example, and click OK. </span></div>
<div>
<span style="font-size: x-small;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrGQ2HOwl1BkjNzVcdvA0V77nuXAp-XkHMcKKSGoljJcMDluFXQ53iOLEkvAzn_xydErO0D3GPObpOApyeP9Xxn6_QZDFO5Jq8WvDYx2aWSM79soZoVVeCuAUK2H2Sbl72mn2Nf3mKNdv8/s1600/img1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrGQ2HOwl1BkjNzVcdvA0V77nuXAp-XkHMcKKSGoljJcMDluFXQ53iOLEkvAzn_xydErO0D3GPObpOApyeP9Xxn6_QZDFO5Jq8WvDYx2aWSM79soZoVVeCuAUK2H2Sbl72mn2Nf3mKNdv8/s320/img1.png" height="285" width="320" /></a></div>
<span style="font-size: x-small;"><br /></span>
<span style="font-size: x-small;">4) Wait for the appearance of the window "<b>Connect To</b>" and in the "Connect using:" option select the name of your USB modem ( for example: "HUAWEI Mobile Connect - 3G Modem" ) ; click OK.</span><br />
<span style="font-size: x-small;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMTe7-saj4Ot-s72sOJmKpRqwEmoT38HqJEswJyS-Gt3ClFLrIy1OBd3kcvcNmQyyer-niHV2FPiPZ66bX59Jkw1ro-rC1o5gA1AIsQfyHfk74OeK7pyGFVVZ0LmF4Z1URqIkZc7jMZ-4s/s1600/img2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMTe7-saj4Ot-s72sOJmKpRqwEmoT38HqJEswJyS-Gt3ClFLrIy1OBd3kcvcNmQyyer-niHV2FPiPZ66bX59Jkw1ro-rC1o5gA1AIsQfyHfk74OeK7pyGFVVZ0LmF4Z1URqIkZc7jMZ-4s/s1600/img2.png" /></a></div>
<span style="font-size: x-small;"><br /></span>
<span style="font-size: x-small;">5) Close the next window by pressing the "Cancel" button.</span><br />
<span style="font-size: x-small;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYYY7m5IvYYC8kD3buI4r_bpJrp2hzY8ji13jhR-8_UA60qWUc9nCeKQMTaPJHWatRmQn4sOrl1sxbsGFO_2mQFbB8eebNQwNBrCDTKnkOo1JLsEG2AMNtgiuY2tZl6CTw339M6NOxwRxL/s1600/img3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYYY7m5IvYYC8kD3buI4r_bpJrp2hzY8ji13jhR-8_UA60qWUc9nCeKQMTaPJHWatRmQn4sOrl1sxbsGFO_2mQFbB8eebNQwNBrCDTKnkOo1JLsEG2AMNtgiuY2tZl6CTw339M6NOxwRxL/s320/img3.png" height="231" width="320" /></a></div>
<span style="font-size: x-small;"><br /></span>
<br />
<div>
<span style="font-size: x-small;">6) On the toolbar of the program, press the last icon "Properties"; </span><span style="font-size: x-small;">that opens the "<b>Properties</b>" window.</span><br />
<span style="font-size: x-small;">Select the "Settings" tab and click the </span><span style="font-size: x-small;">"ASCII Setup" button; </span><span style="font-size: x-small;">put a tick in the checkbox "Echo typed characters locally"</span><br />
<span style="font-size: x-small;">Click OK two times for closing the ASCII setup </span><span style="font-size: x-small;">window and the Properties window.</span></div>
<div>
<span style="font-size: x-small;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmYBuf33IhPJp_gCyw6bRspUJHUiJkKXikFY2rHVg21R4RYWxu_EW9RiU0jXwm5hdVuSZYlU9j2qh7EEkJyXO7tzrwR_N7KezlB6946TFeaYnE9RvCcYuGaR69HSe2IfUfVRSKRaqf6o1n/s1600/img4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmYBuf33IhPJp_gCyw6bRspUJHUiJkKXikFY2rHVg21R4RYWxu_EW9RiU0jXwm5hdVuSZYlU9j2qh7EEkJyXO7tzrwR_N7KezlB6946TFeaYnE9RvCcYuGaR69HSe2IfUfVRSKRaqf6o1n/s400/img4.png" height="307" width="400" /></a></div>
<div>
<span style="font-size: x-small;"><br /></span></div>
<span style="font-size: x-small;">7) In</span><span style="font-size: x-small;"> the main window you should see a flashing cursor: </span><span style="font-size: x-small;">turn on the CAPS LOCK, type the command "<b>AT</b>" and press ENTER. If comes the answer "<b>OK</b>" means the terminal is connected to the modem. </span><br />
<span style="font-size: x-small;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHq9m_Ln4YY7luvxfLKXeQWTHDU3ld6jL4g4FvEOLC0lDfUNKpBbrxUgyH0iRa7aleVtJL63RVck2EJyeI0gLEgMavFoqQCbvL3UxIuJ1wDaAFwecikbC9Gm-iXczAcC7qdwUczhNug0eS/s1600/img5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHq9m_Ln4YY7luvxfLKXeQWTHDU3ld6jL4g4FvEOLC0lDfUNKpBbrxUgyH0iRa7aleVtJL63RVck2EJyeI0gLEgMavFoqQCbvL3UxIuJ1wDaAFwecikbC9Gm-iXczAcC7qdwUczhNug0eS/s1600/img5.png" /></a></div>
<span style="font-size: x-small;"><br /></span>
<span style="font-size: x-small;">8) </span><span style="font-size: x-small;">Introduce one of the following </span><br />
<span style="font-size: x-small;"><br /></span>
<span style="font-size: x-small;">For Huawey modems:</span><br />
<span style="font-size: x-small;"><br /></span>
<span style="font-size: x-small;"> <b> <span style="color: red;">AT^U2DIAG=0 </span></b> (device-only modem)</span><br />
<span style="font-size: x-small;"> AT^U2DIAG=1 (the device as a modem + CD-ROM)</span><br />
<span style="font-size: x-small;"> AT^U2DIAG=255 (the device as a modem + CD-ROM + Card Reader)</span><br />
<span style="font-size: x-small;"> AT^U2DIAG=256 (the device as a modem + Card Reader).</span><br />
<span style="font-size: x-small;"><br /></span>
<span style="font-size: x-small;">For using the modem with a tablet the USB stick has to be configured as "device only modem"</span><br />
<span style="font-size: x-small;">Type the command <b>AT^U2DIAG=0 </b>and press ENTER.</span><br />
<span style="font-size: x-small;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEge71NwJtRxttjdk5d2rODsZAlnWnPQskA1TcooiZqe_cEe0RtsS3YBynKAXq7JYat-JJCuacQ5Rf-nJa8v8jTKcVbLsw_4Jy0B8cfCXtCyNEXR2-0-5m9aYze1dAlgI7AnOmdfeImyW0ga/s1600/img6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEge71NwJtRxttjdk5d2rODsZAlnWnPQskA1TcooiZqe_cEe0RtsS3YBynKAXq7JYat-JJCuacQ5Rf-nJa8v8jTKcVbLsw_4Jy0B8cfCXtCyNEXR2-0-5m9aYze1dAlgI7AnOmdfeImyW0ga/s1600/img6.png" /></a></div>
<br />
<span style="font-size: x-small;">For ZTE modems:</span><br />
<span style="font-size: x-small;"><br /></span>
<span style="font-size: x-small;"> <b><span style="color: red;">AT+ZCDRUN=8 </span></b> (disable flash cd-drive)</span><br />
<span style="font-size: x-small;"> AT+ZCDRUN=9 (enable flash cd-drive)</span><br />
<span style="font-size: x-small;"><br /></span>
<span style="font-size: x-small;">9) After the response "<b>OK</b>" from the modem, c</span><span style="font-size: x-small;">lose the window Hyper Terminal, answering "Yes" to the proposal to interrupt a session and refusing to stay connected.</span><br />
<span style="font-size: x-small;"><br /></span>
<span style="font-size: x-small;">10)</span><span style="font-size: x-small;"> Make sure that CD-ROM </span><span style="font-size: x-small;">emulation </span><span style="font-size: x-small;">is disabled. To do this, disconnect the modem from the USB port and then reconnect it in the same port. In "My Computer" should not appear a drive for the USB stick.</span><br />
<span style="font-size: x-small;"><br /></span>
<span style="font-size: x-small;">If you need to recover the modem to its original state, you have to repeat the whole procedure, but using the command AT^U2DIAG=255 (the device as a modem + CD-ROM + Card Reader).</span><br />
<span style="font-size: x-small;"><br /></span>
<span style="color: red; font-size: x-small;"><b>All these actions are no more required since BlueVPN+ version 1.5:</b></span><br />
<span style="font-size: x-small;">The new versions include a file with parameters for most popular devices and sends the code for switching automatically the USB stick to the modem feature. Probably you will need to confirm twice the USB exclusive access message because after the switch the device is disconnected and immediately reconnected with a different ID.</span><br />
<span style="font-size: x-small;"><br /></span>
<span style="font-size: x-small;"><br /></span>
B) You need a powered USB hub if your Android device supplies low USB power<br />
<br />
On some tablets there is often not enough power available for attached USB devices.<br />
Wireless modems are among the devices with the highest power demand (500 mA straight). Usually, only some larger tablets can provide that much power on their host ports (with Samsung, even the 10.1" devices are reportedly power-limited). Smaller ones often have their limit at 100 mA which rules out using a large array of devices. One notable exception is the Nexus 7 which works fine with many 3G sticks attached directly. To bypass the problem you can use a (self-)powered hub:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_nxHvIe7k7KwOog8A-47NU_WaF-4lHb-G7AITM7kzWG79XIEnX6dI_GyTwRcrlTsrnc58hlbOW9gtlezKiFm2oEUjdju635ghCSLsvy47I5rTEiCiHRA_zxIMlvBBtS_PGIlaFmBUO02m/s1600/hub.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_nxHvIe7k7KwOog8A-47NU_WaF-4lHb-G7AITM7kzWG79XIEnX6dI_GyTwRcrlTsrnc58hlbOW9gtlezKiFm2oEUjdju635ghCSLsvy47I5rTEiCiHRA_zxIMlvBBtS_PGIlaFmBUO02m/s320/hub.png" height="211" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/2hXLcZ1CjBQ?feature=player_embedded' frameborder='0'></iframe></div>
<br />
<br />
or alternatively a mobile power battery charger like that (Tekkeon TekCharge MP1820) showed in this video:<br />
<span style="font-size: x-small;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/n6jV7Q-48eY?feature=player_embedded' frameborder='0'></iframe></div>
<span style="font-size: x-small;"><br /></span>
</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
NOTE: some USB devices require some time after the modem switch before accepting AT commands; in this case it is possible to increase the Connection Timeout parameter.<br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<h3>
BlueVPN+ common configurations:</h3>
<div>
<b><br /></b></div>
<div>
<b>a) Phone with Bluetooth Modem: </b><span style="font-size: xx-small;">[ also </span><span style="font-size: xx-small;">valid </span><span style="font-size: xx-small;">for BlueVPN ]</span></div>
<div>
<div>
<div>
<span style="font-size: x-small;"><br /></span></div>
<div>
<span style="font-size: x-small;">Modem compatibility: <span style="color: #8d8fff;">generally OFF ( if enabled removes the <cr><lf> before AT commands )</span></span><br />
<span style="font-size: x-small;">Modem Line Feed: </span><span style="color: #8d8fff; font-size: x-small;"> </span><span style="color: #8d8fff; font-size: x-small;">generally ON </span><span style="color: #8d8fff; font-size: x-small;"> </span><span style="color: #8d8fff; font-size: x-small;"> ( if disabled removes the <lf> in AT commands )</span></div>
<div>
<span style="font-size: x-small;">AT Initialization: <span style="color: #8d8fff;">E0V1&C1&D2</span></span><br />
<span style="font-size: x-small;">Connection Timeout: <span style="color: #8d8fff;">3000 ms ( repeat the AT initialization if not received a reply after some ms )</span></span><br />
<span style="font-size: x-small;">Inter-character delay: <span style="color: #8d8fff;">0 ms ( increase the value only for very slow devices )</span></span></div>
<div>
<span style="font-size: x-small;">Modem speed: </span><span style="color: #8d8fff; font-size: x-small;"> </span><span style="color: #8d8fff; font-size: x-small;">[not important]</span></div>
<div>
<span style="font-size: x-small;">LCP Compatibility: <span style="color: #8d8fff;">generally OFF</span></span></div>
<div>
<span style="font-size: x-small;">BlackBerry Compatibility: <span style="color: #8d8fff;">generally OFF (ON for Blackberry phones and </span></span><span style="color: #8d8fff; font-size: x-small;">if you get issues during negotiation</span><span style="color: #8d8fff; font-size: x-small;"> </span><span style="color: #8d8fff; font-size: x-small;">)</span></div>
<div>
<span style="font-size: x-small;">Phone Number: </span><span style="color: #8d8fff; font-size: x-small;"> </span><span style="font-size: x-small;"> </span><span style="color: #8d8fff; font-size: x-small;">*99***1# or *99# ( #777 for CDMA )</span></div>
<div>
<div>
<span style="font-size: x-small;">Access Point: </span><span style="color: #8d8fff; font-size: x-small;"> </span><span style="color: #8d8fff; font-size: x-small;">service provider APN ( </span><span style="color: #8d8fff; font-size: x-small;"><empty> for CDMA </span><span style="color: #8d8fff; font-size: x-small;">) </span></div>
<div>
<span style="font-size: x-small;">Authentication Type: <span style="color: #8d8fff;">Password Authentication ( or Challenge-Handshake )</span></span></div>
</div>
<div>
<div>
<span style="font-size: x-small;">UserName: <span style="color: #8d8fff;"> account for the service provider (generally the email) / <empty></span></span></div>
<div>
<span style="font-size: x-small;">Password: <span style="color: #8d8fff;">password for the account / <empty></span></span></div>
</div>
<div>
<span style="font-size: x-small;">Primary / Secondary DNS: </span><span style="color: #8d8fff; font-size: x-small;">0.0.0.0 (automatically assigned)</span> </div>
</div>
<div>
<div>
<span style="font-size: x-small;">Bluetooth Insecure Socket: <span style="color: #8d8fff;"> OFF (ON if you get issues with bluetooth channel) </span></span></div>
<div>
<span style="font-size: x-small;">DUN service channel: <span style="color: #8d8fff;"> </span></span><span style="color: #8d8fff; font-size: x-small;">0 (number >0 if you get issues with bluetooth channel) </span></div>
</div>
</div>
<div>
<b><br /></b></div>
<div>
<b>b) Android Smartphone with BlueDUN</b><b>: </b><span style="font-size: xx-small;">[ also </span><span style="font-size: xx-small;">valid </span><span style="font-size: xx-small;">for BlueVPN ]</span></div>
<div>
<b><br /></b></div>
<div>
<div>
<span style="font-size: x-small;">Modem compatibility: <span style="color: #8d8fff;">generally OFF ( if enabled removes the <cr><lf> before AT commands )</span></span><br />
<span style="font-size: x-small;">Modem Line Feed: </span><span style="color: #8d8fff; font-size: x-small;"> </span><span style="color: #8d8fff; font-size: x-small;">generally ON </span><span style="color: #8d8fff; font-size: x-small;"> </span><span style="color: #8d8fff; font-size: x-small;"> ( if disabled removes the <lf> in AT commands )</span></div>
<div>
<span style="font-size: x-small;">AT Initialization: <span style="color: #8d8fff;">[not important]</span></span><br />
<span style="font-size: x-small;">Connection Timeout: </span><span style="color: #8d8fff; font-size: x-small;">3000 ms ( repeat the AT initialization if not received a reply after some ms )</span><br />
<span style="font-size: x-small;">Inter-character delay: </span><span style="color: #8d8fff; font-size: x-small;">0 ms ( increase the value only with very slow devices )</span></div>
<div>
<span style="font-size: x-small;">Modem speed: </span><span style="color: #8d8fff; font-size: x-small;"> </span><span style="color: #8d8fff; font-size: x-small;">[not important]</span></div>
<div>
<span style="font-size: x-small;">LCP Compatibility: <span style="color: #8d8fff;">OFF</span></span></div>
<div>
<span style="font-size: x-small;">BlackBerry Compatibility: <span style="color: #8d8fff;">OFF</span></span></div>
<div>
<span style="font-size: x-small;">Phone Number: </span><span style="color: #8d8fff; font-size: x-small;"> </span><span style="color: #8d8fff; font-size: x-small;">[not important]</span><span style="font-size: x-small;"> </span><span style="color: #8d8fff; font-size: x-small;"> </span></div>
<div>
<div>
<span style="font-size: x-small;">Access Point: </span><span style="color: #8d8fff; font-size: x-small;"> </span><span style="color: #8d8fff; font-size: x-small;">[not important]</span></div>
<div>
<span style="font-size: x-small;">Authentication Type: <span style="color: #8d8fff;">None</span></span></div>
</div>
<div>
<span style="font-size: x-small;">UserName: <span style="color: #8d8fff;"> <empty></span></span></div>
<div>
<span style="font-size: x-small;">Password: <span style="color: #8d8fff;"> <empty></span></span></div>
<div>
<span style="font-size: x-small;">Primary / Secondary DNS: </span><span style="color: #8d8fff; font-size: x-small;">0.0.0.0 (automatically assigned)</span> </div>
</div>
<div>
<div>
<span style="font-size: x-small;">Bluetooth Insecure Socket: <span style="color: #8d8fff;"> OFF (ON if you get issues with bluetooth channel) </span></span></div>
<div>
<span style="font-size: x-small;">DUN service channel: <span style="color: #8d8fff;"> </span></span><span style="color: #8d8fff; font-size: x-small;">0 (number >0 if you get issues with bluetooth channel) </span></div>
</div>
<div>
<b><br /></b></div>
<div>
<b>c) PSTN Modem:</b></div>
<div>
<br /></div>
<div>
<span style="font-size: x-small;">Modem compatibility: <span style="color: #8d8fff;">generally OFF ( if enabled removes the <cr><lf> before AT commands )</span></span><br />
<span style="font-size: x-small;">Modem Line Feed: </span><span style="color: #8d8fff; font-size: x-small;"> </span><span style="color: #8d8fff; font-size: x-small;">generally ON </span><span style="color: #8d8fff; font-size: x-small;"> </span><span style="color: #8d8fff; font-size: x-small;"> ( if disabled removes the <lf> in AT commands )</span></div>
<div>
<span style="font-size: x-small;">AT Initialization: <span style="color: #8d8fff;">E0V1&C1&D2</span></span><br />
<span style="font-size: x-small;">Connection Timeout: </span><span style="color: #8d8fff; font-size: x-small;">3000 ms ( repeat the AT initialization if not received a reply after some ms )</span><br />
<span style="font-size: x-small;">Inter-character delay: </span><span style="color: #8d8fff; font-size: x-small;">0 ms ( increase the value only for very slow devices )</span></div>
<div>
<span style="font-size: x-small;">Modem speed: <span style="color: #8d8fff;">less or equal to 115200 bauds</span></span></div>
<div>
<span style="font-size: x-small;">LCP Compatibility: <span style="color: #8d8fff;">OFF</span></span></div>
<div>
<span style="font-size: x-small;">BlackBerry Compatibility: <span style="color: #8d8fff;">OFF</span></span></div>
<div>
<span style="font-size: x-small;">Phone Number: <span style="color: #8d8fff;">number of service provider</span></span></div>
<div>
<div>
<span style="font-size: x-small;">Access Point: <span style="color: #8d8fff;"><empty></span></span></div>
<div>
<span style="font-size: x-small;">Authentication Type: <span style="color: #8d8fff;">Password Authentication</span></span></div>
</div>
<div>
<span style="font-size: x-small;">UserName: <span style="color: #8d8fff;"> account for the service provider (generally the email) / <empty></span></span></div>
<div>
<span style="font-size: x-small;">Password: <span style="color: #8d8fff;">password for the account / <empty></span></span></div>
<div>
<span style="font-size: x-small;">Primary / Secondary DNS: <span style="color: #8d8fff;">0.0.0.0 (automatically assigned)</span></span></div>
<div>
<br /></div>
<div>
<b>d) USB Stick Modem:</b></div>
<div>
<br /></div>
<div>
<span style="font-size: x-small;">Modem compatibility: <span style="color: #8d8fff;">generally ON ( if enabled removes the <cr><lf> before AT commands )</span></span><br />
<span style="font-size: x-small;">Modem Line Feed: </span><span style="color: #8d8fff; font-size: x-small;"> </span><span style="color: #8d8fff; font-size: x-small;">generally ON </span><span style="color: #8d8fff; font-size: x-small;"> </span><span style="color: #8d8fff; font-size: x-small;"> ( if disabled removes the <lf> in AT commands )</span></div>
<div>
<span style="font-size: x-small;">AT Initialization: <span style="color: #8d8fff;">E0V1&C1&D2</span></span><br />
<span style="font-size: x-small;">Connection Timeout: </span><span style="color: #8d8fff; font-size: x-small;">3000 ms ( repeat the AT initialization if not received a reply after some ms )</span><br />
<span style="font-size: x-small;">Inter-character delay: </span><span style="color: #8d8fff; font-size: x-small;">0 ms ( increase the value only for very slow devices )</span></div>
<div>
<span style="font-size: x-small;">Modem speed: <span style="color: #8d8fff;">460800 or 921600 bauds</span></span></div>
<div>
<span style="font-size: x-small;">LCP Compatibility: <span style="color: #8d8fff;">OFF</span></span></div>
<div>
<span style="font-size: x-small;">BlackBerry Compatibility: <span style="color: #8d8fff;">OFF</span></span></div>
<div>
<span style="font-size: x-small;">Phone Number: <span style="color: #8d8fff;">*99***1# or *99# </span></span></div>
<div>
<div>
<span style="font-size: x-small;">Access Point: <span style="color: #8d8fff;">service provider APN</span></span></div>
<div>
<span style="font-size: x-small;">Authentication Type: <span style="color: #8d8fff;">Password Authentication</span></span></div>
</div>
<div>
<span style="font-size: x-small;">UserName: <span style="color: #8d8fff;"> <empty></span></span></div>
<div>
<span style="font-size: x-small;">Password: <span style="color: #8d8fff;"> <empty></span></span></div>
<div>
<span style="font-size: x-small;">Primary / Secondary DNS: </span><span style="color: #8d8fff; font-size: x-small;">0.0.0.0 (automatically assigned)</span><br />
<span style="font-size: x-small;">Modem switch code: <span style="color: #8d8fff;"> required only if the device is not included inside the internal list; the text is similar to the following </span></span><br />
<span style="font-size: x-small;"><span style="color: #8d8fff;"><br /></span></span>
<br />
<div style="background-color: #cccccc; color: #222222; font-family: arial, sans-serif;">
<div>
<b><span style="color: red; font-size: xx-small;"> MessageContent=<span style="white-space: pre-wrap;">555342431234567<wbr></wbr>800000000000006</span><span style="white-space: pre-wrap;">1e0000000000000<wbr></wbr>000000000000000</span><span style="white-space: pre-wrap;">00</span></span></b></div>
<div>
<b><span style="color: red; font-size: xx-small;"> MessageContent2=<span style="white-space: pre-wrap;">55534243123456<wbr></wbr>7900000000000006</span><span style="white-space: pre-wrap;">1b000000020000<wbr></wbr>0000000000000000</span><span style="white-space: pre-wrap;">00</span></span></b></div>
<div>
<b><span style="color: red; font-size: xx-small;"> NeedResponse=1</span></b></div>
<div>
<b><span style="color: red; font-size: xx-small;"> Interface=0</span></b></div>
</div>
</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="color: #8d8fff; font-size: x-small;">The message content strictly depends on the device brand and modem: you can find some examples here:</span></div>
<div class="separator" style="clear: both; text-align: left;">
<a href="http://www.draisberghof.de/usb_modeswitch/device_reference.txt"><span style="color: blue;">http://www.draisberghof.de/usb_modeswitch/device_reference.txt</span></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
For the APN list please refer to the following document:</div>
<div class="separator" style="clear: both; text-align: left;">
<span style="color: #cfe2f3;"> </span><u><a href="http://weerhuisje.nl/Weerhuisje-docs/mobile-apn.pdf"><span style="color: lime;">http://weerhuisje.nl/Weerhuisje-docs/mobile-apn.pdf</span></a></u></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
M.S.http://www.blogger.com/profile/16730205800658918660noreply@blogger.com4tag:blogger.com,1999:blog-5439731905535084081.post-85049108762137431002012-06-03T21:49:00.001+02:002015-01-29T18:51:27.775+01:00BlueVPN+, connect your Android device to internet with a GPRS modem phoneIn the previous post we saw how to pair two Android devices and share the internet connection between them with BlueDUN installed on the master and BlueVPN installed on the slave. In particular we described how install and configure the BlueVPN: this app implements a bluetooth dial up client, also called<u> reverse DUN</u> feature. <br />
However, there are situations where you need to connect an Android device, for example a tablet, and you don't own a second Android device (generally a phone), but you have only a GPRS [General Packet Radio Service] phone (like many common BlackBerry, Nokia, Samsung ...phones) with tethered modem capability.<br />
Till now, you has been able to use this phone as an external modem to connect a laptop computer to the Internet but not to connect the Android device.<br />
The last release of BlueVPN for Android ICS (4.0.x) enables the internet connection of Android devices through dial up modem phones and so bypasses this limitation.<br />
<br />
To setup the connection you may follow the same steps described before: enable the bluetooth on both Android and no-Android device and create the BT pairing. For an unknown Android limitation it is strongly recomended to<u> remove any space in the Bluetooth device names before the pairing</u> ( for example: rename "Nokia E65" to "NokiaE65" )<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVksGhyphenhypheneGZEI6ErPMnWGsJhqzaKW9LKAoMaZUjCQvUJQOKH_thKTkpqABrLPKxrZaWUTJuIs4ZNbr5jXyRoCvUiY24Bhh4rtifzrxns9V5Fi9KkE_zlPjhFouLvtGhrOJphkkBNo_XPfqB/s1600/Screenshot_2012-05-19-22-20-57.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVksGhyphenhypheneGZEI6ErPMnWGsJhqzaKW9LKAoMaZUjCQvUJQOKH_thKTkpqABrLPKxrZaWUTJuIs4ZNbr5jXyRoCvUiY24Bhh4rtifzrxns9V5Fi9KkE_zlPjhFouLvtGhrOJphkkBNo_XPfqB/s400/Screenshot_2012-05-19-22-20-57.png" height="250" width="400" /></a></div>
<br />
<br />
The main differences are in the setting parameters: <br />
<br />
<b><span style="color: red;">Modem compatibility</span></b>: some modems don't allow multiple lines for AT commands; if you enable this option the AT commands are not prefixed with <cr><lf> ("carriage return" and "line feed")<br />
For example: compatibility disabled: <b><cr><lf></b>AT<b><cr><lf></b><b> </b> ; compatibility enabled: AT<b>\</b><b><cr><lf></b><br />
<br />
<b><span style="color: red;">Modem line feed</span></b>: if you disable this option the AT commands will use only the "carriage return" character (<cr>) otherwise thery will use both the "carriage return" and "line feed" (<cr><lf>)<br />
For example: compatibility disabled: <b> </b><b><cr></b>AT<b><cr></b><b> </b> ; compatibility enabled: AT<b><cr></b><br />
<b><br /></b>
<b><span style="color: red;">AT Initialization</span></b>: it is the modem initialization string, the default is E0V1&C1&D2 but you can change it according to your modem specifications<br />
<br />
<b><span style="color: red;">Connection Timeout</span></b>: is the time after which the app will resend the same data if it doesn't receive the replay for the first AT command or first LCP / NCP initialization packet.<br />
<br />
<b><span style="color: red;">Inter-character delay</span></b>: some devices are slow in processing characters so we need to wait some milliseconds between each of them (e.g. sending AT is equal to send 'A', wait few milliseconds, send 'T', wait few milliseconds, etc.)<br />
<br />
<b><span style="color: red;">LCP compatibility</span></b>: it is an option to force the PPP-LCP negotiation, you need to enable this option only in extremely rare cases<br />
<br />
<b><span style="color: red;">Blackberry compatibility</span></b>: enable this option if you are connecting a Blackberry phone as modem<br />
<br />
<b><span style="color: red;">Bluetooth Insecure Socket</span></b>: enable this option only if you get issues with the bluetooth connection<br />
<br />
<b><span style="color: red;">DUN service channel</span></b>: represents the channel for the bluetooth DUN profile; change the value and set a number like 2, 3 , 4 or 6 if the connection doesn't work with the default value 0 (auto-assigned)<br />
<br />
<span style="color: lime; font-weight: bold;">Access Point</span>:<b> </b>while BlueDUN doesn't need any particular configuration because it routes the data packets to/from the Mobile 3G or Wi-Fi existing connections, for your phone to connect over GPRS, you'll need to tell the phone which APN (<b>Access Point Name</b>) to use. <br />
GPRS is a service supplied by mobile phone network operators and the APN is used to work out where to route data requests. Most operators have different access points for different services, and you'll need to pick the right one, or things won't work; generally the Internet Access point is used for web browsing, email and instant messaging, etc. Here is the <a href="http://m2m.icpdas.com/download/gtm-201_modem/manual/gprs_apn.pdf" target="_blank"><span style="color: cyan;">World's GPRS APN list</span></a>.<br />
For CDMA (Code Division Multiple Access) connections keep the Access Point value blank.<br />
<br />
<span style="color: red; font-weight: bold;">Phone Number</span>: <b> </b>GPRS doesn't use a dial-up number (as GSM data calls do), but a conventional dial up<b> </b>Phone Number (*99# , *99***1# or something similar) should be set for the modem negotiation.<br />
For CDMA usually the number is #777.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqKghIeBVQBJzGZxHl1n0M7ewkJdsTrtWQhMv8zsx0RKY7gvcbBaR0kA3LWrAvPo_4-pEpXmetjDQzVVQH5nhbhJBgg7pnTelEB5on1mHGWz6mm3xI7bxraSfd8XPlKFy4lg2n41jlu92T/s1600/Screenshot_2012-05-19-22-21-49.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqKghIeBVQBJzGZxHl1n0M7ewkJdsTrtWQhMv8zsx0RKY7gvcbBaR0kA3LWrAvPo_4-pEpXmetjDQzVVQH5nhbhJBgg7pnTelEB5on1mHGWz6mm3xI7bxraSfd8XPlKFy4lg2n41jlu92T/s400/Screenshot_2012-05-19-22-21-49.png" height="250" width="400" /></a></div>
<br />
<b><span style="color: red;">Authentication</span></b>: the authentication step is generally required even if the username and password are not defined, so you may select the authentication type = PAP (default) or CHAP. <b>UserName </b>and <b>Password </b>are sometimes required by certain mobile operators and you have to insert the right ones for the user authentication (otherwise leave them blank).<br />
<br />
<span style="color: red; font-weight: bold;">DNS</span>:<b> </b>finally, you may need to set the Primary and alternative (Secondary) DNS addresses; they are used to resolve the domain names and are generally assigned automatically during the connection setup when equal to <b>0.0.0.0</b>. If you force these parameters it is possible that the service provider cannot resolve the internet URLs and the connection doesn't work. <br />
<br />
<br />
Note: dialing and connection is supported by the wireless service provider and extra fees or additional charges might apply as this is going through the carrier's network.<br />
<br />
<br />
BlueVPN has been tested with BlackBerry 9300, Nokia phones (E65, E66, N8-00 Belle, C60-01), Samsung SGH-L760. <br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIzvrUMNntDrlKxlKQr6KcPOIsNN0Fm68cfENG0fQKL5GOhDC0Lchm1rDpl_PnaFOQiS155hmquV56FDxP99M3qTQFpW-HYwyeiOX8Mn2b4T7JDI2-cOrwiOytXhCuCCef9pXscEURCJh-/s1600/gprs.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIzvrUMNntDrlKxlKQr6KcPOIsNN0Fm68cfENG0fQKL5GOhDC0Lchm1rDpl_PnaFOQiS155hmquV56FDxP99M3qTQFpW-HYwyeiOX8Mn2b4T7JDI2-cOrwiOytXhCuCCef9pXscEURCJh-/s400/gprs.png" height="162" width="400" /></a></div>
<br />
<b><span style="color: red;">Log reports</span></b>:<br />
<br />
You can help the app development in these way:<br />
1. Open the BlueVPN settings and activate the options "<b>Enable Logger</b>" + "<b>Log To File</b>"<br />
2. Go back and tap the GPRS phone name on the paired device list (start new connection)<br />
3. If connection fails or after some time, open the BlueVPN settings again and click the last item [<b>Send Files for Debug</b>] for sending all the generated log files ( named <b>application.log </b>) by email<br />
<br />
<br />
<b><span style="color: red;">Known issues</span></b>:<br />
<br />
<b>A) <u>The BlueVPN app seems locked on Modem or LCP negotiation messages</u></b><br />
<br />
1. Pair the GPRS phone with a Windows PC and <a href="http://bluedunapp.blogspot.com/2012/05/connect-windows-7-pcs-to-internet-via.html" target="_blank"><span style="color: orange;">create a bluetooth modem connection</span></a><br />
2. Open a command prompt on Window PC (cmd) and type in the order the following commands:<br />
<ul>
<li><b>netsh</b></li>
<li><b>ras</b></li>
<li><b>set tracing PPP enable</b></li>
</ul>
3. Connect to internet the PC with your GPRS phone<br />
4. Send by mail the file /Windows/tracing/<b>PPP.log </b>and the<b> application.log</b> (generated as described above)<br />
<br />
<br />
<b>B) <u>The BlueVPN app shows the connected message (and the stop button) but suddently goes back to the paired device list</u></b><br />
<span style="font-family: inherit;"><br />Some Android device manufacturers (Sony for example) do not include the </span><b style="font-family: inherit;">VPN TUN</b><span style="font-family: inherit;"> module in the Android 4.0.x version that is installed on the device. This module is similar to a device driver. Without the module installed, a VPN tunnel cannot be established from the device.</span><br />
To check if your device supports the VPN you can install the <a href="https://play.google.com/store/apps/details?id=com.nolanlawson.logcat&feature=nav_result#?t=W251bGwsMSwxLDMsImNvbS5ub2xhbmxhd3Nvbi5sb2djYXQiXQ.." target="_blank">CatLog - Logcat Reader!</a> app;<br />
<span style="font-family: inherit;">In case of unsupported VPN, an error message that appears similar to the following example is written to the catlog report when you tap the connection button on BlueVPN app:</span><br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;">E/VpnJni ( 189): Cannot allocate TUN: Bad file number</span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;">E/F5EdgeClient( 1391): Failed to establish VPN</span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;">E/F5EdgeClient( 1391): java.lang.IllegalStateException: Cannot create interface</span><br />
<br />
You can install the TUN module by installing the "TUN.ko Installer" app:<br />
<br />
<a href="https://play.google.com/store/apps/details?id=com.aed.tun.installer">https://play.google.com/store/apps/details?id=com.aed.tun.installer</a><br />
<br />
Please contact the manufacturer's support for more information.<br />
<br />
Best Practices: <u>Use only letters and numbers for Bluetooth device names (no special chars or spaces)</u><br />
<br />
<br />
<b>C) After the upgrade to Android 4.1 or 4.2 (Jelly Bean), BlueVPN doesn't connect when click on remote device name</b><br />
<br />
Solution: <br />
- remove the pairing with the remote device on Android settings and create it again.<br />
- click over the icon on the right of paired device name<br />
- enable the option "Use for internet access" (don't worry if the it remains unchecked )<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidxinQqRkOvcFQ5s_l2So60Zc_AQFzKZt0Kmgy5LqaOmiGfyDSfuXZ1nE3-O9h-ypIB9IkzskbP_lrSRXo9VktTj0S8bx020YE4ntD4MDi7ZgHLwP76I8Gos3cCNg5KgQv4pikMsJS1u1Q/s1600/Immagine1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidxinQqRkOvcFQ5s_l2So60Zc_AQFzKZt0Kmgy5LqaOmiGfyDSfuXZ1nE3-O9h-ypIB9IkzskbP_lrSRXo9VktTj0S8bx020YE4ntD4MDi7ZgHLwP76I8Gos3cCNg5KgQv4pikMsJS1u1Q/s1600/Immagine1.png" /></a></div>
<br />
<br />M.S.http://www.blogger.com/profile/16730205800658918660noreply@blogger.com200tag:blogger.com,1999:blog-5439731905535084081.post-12191572785212214832012-05-20T17:00:00.000+02:002015-10-11T15:37:17.310+02:00Bluetooth tethering for Android devices: making BlueVPN and BlueDUN work together<br />
<br />
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7O6FzI03FjG2AfB_WOJRzhDsiJWf8tZs1fUGAcYi0SB9qztxzzDU9gHPPqh5KrfcKn8kOVSAHTPf-1U7PAh_ZLZXyEryoCu-croyXcjMJ-dMGlFC_6__1CT46L3gr35FDwCanUjdqqSco/s1600/logoBV.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7O6FzI03FjG2AfB_WOJRzhDsiJWf8tZs1fUGAcYi0SB9qztxzzDU9gHPPqh5KrfcKn8kOVSAHTPf-1U7PAh_ZLZXyEryoCu-croyXcjMJ-dMGlFC_6__1CT46L3gr35FDwCanUjdqqSco/s200/logoBV.png" width="200" /></a>The BlueVPN application for Android acts like a "<b>reverse bluetooth DUN</b>" feature, or in other terms it is able to open a dial up connection on a bluetooth-enabled cell phone and use it as modem. This function is natively supported for many operating systems (Windows, Mac OS, Linux ...) but not for Android: the previous post showed how to <a href="http://bluedunapp.blogspot.com/2012/05/connect-windows-7-pcs-to-internet-via.html" target="_blank"><span style="color: orange;">create a modem internet connection on Windows 7</span></a>. At the current state, the only way to route all network traffic to a custom channel for a "not rooted" Android device is to open a VPN connection. This is the reason for the application name.<br />
<b><br /></b>
<b><br /></b>
<b>What does mean "tethering"?</b><br />
<br />
For people that are not familiar with the tethering concept, I quote here a definition taken from wikipedia:<br />
<br />
<b>"Tethering </b>means sharing the Internet connection of an Internet-capable mobile phone or internet tablet with other devices. This sharing can be offered over a wireless LAN (Wi-Fi), over Bluetooth, or by a physical connection using a (USB) cable . In the case of tethering over wireless LAN, the feature may be branded as a mobile hotspot. The Internet-connected mobile phone acts as a portable router when providing tethering services to others."<br />
<br />
While the Wi-Fi and USB tethering has been disabled on some Android devices the Bluetooth tethering is not supported in any case. These features can be reenabled only by a device 'rooting' (hack the firmware to attain the superuser access) and there are several applications that work fine for rooted devices.<br />
Anyway not all users are willing to alter the original manufacturer firmware because this operation does come with some risks. The most notable risk is that you will void any warranty that you have on your device and you may have difficulty to find the original ROM for your device.<br />
In addition, some users can run into problems, for example rendering the phone completely non-functional, having problems with reboots (endless boot cycles) or making the device more vulnerably respect to virus attacks. <br />
The main benefit of using Bluetooth or Wi-Fi instead of a USB cable for tethering is that you can keep your cell phone in your bag or pocket and still make the connection. Moreover, Bluetooth uses less energy respect to Wi-Fi and it is better suited for use in small portable electronics that rely on battery power.<br />
This is because a Wi-Fi device is constantly transmitting data back and forth between connections, and it needs a lot of energy to transmit large amounts of data. Bluetooth, on the other hand, keeps a connection with very little energy being spent, about one-fifth that of a Wi-Fi connection.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXJYi7E_9ofJbBCNM7Mmy4RuHhGXvMQ9G1w-SsFzd06XqdZUb_Hl2DL0lzcHFtAtk-rFBOuM_SXzLtRRjzyCyhLqgYic8135N42gHYp3DA5scAD94r_on3OIu-AVf3oVM2nt5VBXiPFTpb/s1600/logo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXJYi7E_9ofJbBCNM7Mmy4RuHhGXvMQ9G1w-SsFzd06XqdZUb_Hl2DL0lzcHFtAtk-rFBOuM_SXzLtRRjzyCyhLqgYic8135N42gHYp3DA5scAD94r_on3OIu-AVf3oVM2nt5VBXiPFTpb/s1600/logo.png" /></a></div>
<br />
The BlueVPN, app works also for "not rooted" devices ad allows to connect on-line an Android device without an Internet-access capability, sharing the connection available on another phone or tablet.<br />
<br />
A said before, this application, routes the network traffic to a VPN connection and finally it exchanges the data packets throught the bluetooth channel. VPN connections are fully supported on the latest Android versions Ice Cream Sandwich 4.0.x but limited for previuos releases (Girgerbread 2.x and Honeycomb 3.x)<br />
<br />
BlueVPN for Android 2.x and 3.x is quite unstable and difficult to set-up<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEnFrHtCWCsEDFQo4U_OahyMoOS1fkm5VO1LfaQXRnjshWwkLWf0P-F_qcVKeh2e3gxhs2rvAeno4gV1SN_-yMnedqlBRPmgtCI8iGI3jVmG34Jq7n76xu3HCbpz1S0tt3oY7suk6A-iX2/s1600/img1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" height="250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEnFrHtCWCsEDFQo4U_OahyMoOS1fkm5VO1LfaQXRnjshWwkLWf0P-F_qcVKeh2e3gxhs2rvAeno4gV1SN_-yMnedqlBRPmgtCI8iGI3jVmG34Jq7n76xu3HCbpz1S0tt3oY7suk6A-iX2/s400/img1.png" width="400" /></a></div>
<br />
while the version for Android 4.0.x (BlueVPN ics) is more simple and reliable<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhL_MvoKdj7yxoKDqs5DKbpzpmjaGbVdoJNB30j3eDZJji4tEj6LojjwY6Q77T46x8HFtqcuL4vh-h8U6_oLkhjHYwjSzQM6oBBW4AQFntJdPcRiaXLeD2i9a_LKWcnk7edaWCDpw1W658G/s1600/Screenshot_2012-05-19-22-20-57.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhL_MvoKdj7yxoKDqs5DKbpzpmjaGbVdoJNB30j3eDZJji4tEj6LojjwY6Q77T46x8HFtqcuL4vh-h8U6_oLkhjHYwjSzQM6oBBW4AQFntJdPcRiaXLeD2i9a_LKWcnk7edaWCDpw1W658G/s400/Screenshot_2012-05-19-22-20-57.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
In this post we will see how to pair two Android devices for bluetooth tethering: on the second device (host-router) we install the BlueDUN app to enable the bluetooth DUN profile [generally not natively supported].</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
</div>
<div class="separator" style="clear: both;">
<b><span style="color: #f1c232;">Installation:</span></b></div>
<div class="separator" style="clear: both;">
<b>1. </b>Create the BT pairing between the client device (with BlueVPN installed) and the host device</div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both;">
<i>Settings </i>/ <i>Wireless and Network</i> / <i>Bluetooth settings</i> / Turn on bluetooth if off and make the device visible on both / <i>Scan for devices</i>; when the name of the other device appears in the bottom list, click on it ( maybe you need to insert a paring code, for example 1234 ) and confirm. Insert the same code, if necessary, on the host device and confirm.</div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8OlEkTaTio2Q7u-q55VeLDjg26XekKdVCMuEhHueYQH97ZKZpTgT0mGItCx-cTalTL-L99NZbctDmdI_mX0kBHtf0TPS23lNA3BrM4NiV2RIPtyBd1IVx6gJgH444j70Xwt1lT5IyaRIr/s1600/export_05.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8OlEkTaTio2Q7u-q55VeLDjg26XekKdVCMuEhHueYQH97ZKZpTgT0mGItCx-cTalTL-L99NZbctDmdI_mX0kBHtf0TPS23lNA3BrM4NiV2RIPtyBd1IVx6gJgH444j70Xwt1lT5IyaRIr/s320/export_05.png" width="200" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCvGlW3cthV0zH7rF8bZTkDpSqEcIHDEgp5RC1sx1ECOmGffcc329-TzhiMoUfb8J2j-C7KFGIA4MilwA917vrkFHmXw-5fww4atc37fLoByuvKTU5MU0fsXycSGmv_iFKJup_lvV2peyc/s1600/Immagine7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCvGlW3cthV0zH7rF8bZTkDpSqEcIHDEgp5RC1sx1ECOmGffcc329-TzhiMoUfb8J2j-C7KFGIA4MilwA917vrkFHmXw-5fww4atc37fLoByuvKTU5MU0fsXycSGmv_iFKJup_lvV2peyc/s320/Immagine7.png" width="192" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0GBUqwdvgUMlgQ0Ix0sx28wCu_NL8wsxfhaecK3Uvbk3A93OZt62le0N09aL6RPKVgLbCM54ZFlFN7uFvnrdaHGirhg-_tBmZf69RZgRWc5luwf4O_cmmgrupkBRttflX0EWhrXi2CcxP/s1600/Screenshot_2012-05-20-15-55-52.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0GBUqwdvgUMlgQ0Ix0sx28wCu_NL8wsxfhaecK3Uvbk3A93OZt62le0N09aL6RPKVgLbCM54ZFlFN7uFvnrdaHGirhg-_tBmZf69RZgRWc5luwf4O_cmmgrupkBRttflX0EWhrXi2CcxP/s400/Screenshot_2012-05-20-15-55-52.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both;">
<b>2. </b>Make sure you have a valid internet connection and the BT-DUN profile on host; if necessary install the BlueDUN app.</div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both;">
[ <b>3.</b> Create a new VPN L2TP connection on client device - <span style="color: #fff2cc;">only for Android 2.x and 3.x</span> ]</div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both;">
<i>Settings </i>/ <i>Wireless and Network</i> / <i>VPN settings</i> /<i> Add VPN</i> /<i> Add L2TP VPN</i>
</div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgN7ZpE6eodzs8PrHnGd72hbVDyQmCJsx8tiY7VFAxOPp8mgsQtul2KliU_cTY661ywxpbl3Yg2m2GFwdxzb6H-_ePUslcA9wjmeJjjDv3WEMybRa6GO5Llo-t_TI9ctmEPREn9RYkQxURI/s1600/export_06.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgN7ZpE6eodzs8PrHnGd72hbVDyQmCJsx8tiY7VFAxOPp8mgsQtul2KliU_cTY661ywxpbl3Yg2m2GFwdxzb6H-_ePUslcA9wjmeJjjDv3WEMybRa6GO5Llo-t_TI9ctmEPREn9RYkQxURI/s320/export_06.png" width="200" /></a></div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both;">
set VPN name = <b>BlueVPN </b>and the VPN server = <b>127.0.0.1 </b>; disable the L2TP secret and leave empty the DNS search domains parameter.</div>
<div class="separator" style="clear: both;">
<br /></div>
<br />
<div class="separator" style="clear: both;">
<b><span style="color: #f1c232;">Normal use:</span></b></div>
<div class="separator" style="clear: both;">
[ <b>0. </b>Enable the wifi/mobile data connection on client (required only to allow the VPN connection opening, but not used for data transfers) - <span style="color: #fff2cc;">only for Android 2.x and 3.x</span> ]</div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both;">
This is a limitation of Android 2.x and 3.x: even if the VPN is enabled, the traffic is not routed toward it if the wireless connectivity is down.</div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both;">
<b>1.<span style="color: red;"> </span></b>Activate the bluetooth interface [if BT DUN profile is natively supported] or open the BlueDUN app on host device and start the service.</div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_hHTd5gqpwVvUH6TD5WWir09zvYpAJVDOm-r8Qn5olH0vn6at4Eqw6Cp-gYYtEWqE9ytqBgycK8ixG0EHXdnhhanLw5SP3oLHQ0zT1UYxTKx_RA2ULgacfdxCZ0KzAujL6NVX7wo4F_db/s1600/SC20120407-131721.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_hHTd5gqpwVvUH6TD5WWir09zvYpAJVDOm-r8Qn5olH0vn6at4Eqw6Cp-gYYtEWqE9ytqBgycK8ixG0EHXdnhhanLw5SP3oLHQ0zT1UYxTKx_RA2ULgacfdxCZ0KzAujL6NVX7wo4F_db/s320/SC20120407-131721.png" width="200" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjguw4UnbeEday7pcNF4hvcUqredsmh_KR4qzX9n5dzppFr5E1Tjnmz07KOG9jP7uuJ5tIrEH-KjmwBmoTbijMhOoQE5_oQBeaewqVLugAFdkbxd5iq1ysVTdeFdBBvGoU7LfYaimk6YrLW/s1600/SC20120407-131902.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjguw4UnbeEday7pcNF4hvcUqredsmh_KR4qzX9n5dzppFr5E1Tjnmz07KOG9jP7uuJ5tIrEH-KjmwBmoTbijMhOoQE5_oQBeaewqVLugAFdkbxd5iq1ysVTdeFdBBvGoU7LfYaimk6YrLW/s320/SC20120407-131902.png" width="200" /></a></div>
<br />
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both;">
<b>2.</b> Open the BlueVPN app on client, click the host name in the BT device list</div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both;">
On Android ICS devices, the first time you click a button in the list, you may get a message that asks to confirm the VPN connection creation. Check "I trust this application" and confirm; that click again the host device name on the device list. </div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJHEjnfr0vESFgI31SVPvwWAKETFwizgDuSLn8ZZqviwpDOQnSzwgbzTKWXopQX0-Gs7-5Lx7O3VTgC6ec8Oz2CwURnRu8G3wLCm3FULvPKUYfBVF_88txizGcyfVC687504sX28mEcTnw/s1600/Screenshot_2012-05-20-16-26-38.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJHEjnfr0vESFgI31SVPvwWAKETFwizgDuSLn8ZZqviwpDOQnSzwgbzTKWXopQX0-Gs7-5Lx7O3VTgC6ec8Oz2CwURnRu8G3wLCm3FULvPKUYfBVF_88txizGcyfVC687504sX28mEcTnw/s400/Screenshot_2012-05-20-16-26-38.png" width="400" /></a></div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both;">
at this point, the application tries to open the bluetooth connection with the host device and open the VPN called "BlueVPN" to route the network traffic.</div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjn0_SrJ2q85x3WuZmv_hNmKhF9wzhZ_nlGTLuQdsIJOoyan5rBygYnbjnhfOrZGmxkYaGPlC9cwSFgGAyenlMQKvDmDPr6G0NxPd_KyWV7nvpwqKZHEc-5gBd50XyPZxAgMLFw2fVJHBnw/s1600/SC20120518-230528.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjn0_SrJ2q85x3WuZmv_hNmKhF9wzhZ_nlGTLuQdsIJOoyan5rBygYnbjnhfOrZGmxkYaGPlC9cwSFgGAyenlMQKvDmDPr6G0NxPd_KyWV7nvpwqKZHEc-5gBd50XyPZxAgMLFw2fVJHBnw/s200/SC20120518-230528.png" width="120" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdowJi3f8B8CLZxgOzrqC9MhR0R-hqEabaXe0JqnqVkQzbCHvJErBrAcIMUFw2jtJG9Zo0xupUrVKv3nbPEgQ4gsyDnxAk7T6xZL8MCnjFWvXUTxl-6H2xhwE8bxghuXoOPpdquWdbeyDb/s1600/Screenshot_2012-05-19-22-21-21.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdowJi3f8B8CLZxgOzrqC9MhR0R-hqEabaXe0JqnqVkQzbCHvJErBrAcIMUFw2jtJG9Zo0xupUrVKv3nbPEgQ4gsyDnxAk7T6xZL8MCnjFWvXUTxl-6H2xhwE8bxghuXoOPpdquWdbeyDb/s320/Screenshot_2012-05-19-22-21-21.png" width="320" /></a></div>
<div class="" style="clear: both;">
<br /></div>
<div class="" style="clear: both;">
if everything goes right, you should see the stop button and the message "BlueVPN connected with ...."; otherwise, click on the animated central image to go back to the main menu. </div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRn7sJ3IvySDp4HqV4gJMybfh1zWLU6mYL66mmEs2ArVO2g1N2-smrO398-QjW_8q9YdeY4apXXALIaerkkf7vcOaG5XuJ6DOgCvF7QoEtLDVeU8LzOEkyeDOzDEMbnTHpPnKk-_BrQ5Ol/s1600/SC20120518-230441.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRn7sJ3IvySDp4HqV4gJMybfh1zWLU6mYL66mmEs2ArVO2g1N2-smrO398-QjW_8q9YdeY4apXXALIaerkkf7vcOaG5XuJ6DOgCvF7QoEtLDVeU8LzOEkyeDOzDEMbnTHpPnKk-_BrQ5Ol/s200/SC20120518-230441.png" width="120" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5-vjL4dYYMbGb0rb-_DZ6wYtKXJaS52JKOmruft9VLzKRmYr7SKFmEIohZUYrY9zzzeL6STfBmhwu8YJU1GXcKTzSWuM6sBReNaSt9Du_4kvS3juHVOc-VmaW56NFCktzCRWShHxFw5Ic/s1600/Screenshot_2012-05-19-22-21-25.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5-vjL4dYYMbGb0rb-_DZ6wYtKXJaS52JKOmruft9VLzKRmYr7SKFmEIohZUYrY9zzzeL6STfBmhwu8YJU1GXcKTzSWuM6sBReNaSt9Du_4kvS3juHVOc-VmaW56NFCktzCRWShHxFw5Ic/s320/Screenshot_2012-05-19-22-21-25.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: left;">
The VPN is really connected only if you can see on the notification panel a "key" icon and the traffic statistics by clicking on it (please dont disconnect the VPN direclty from here, but click the stop button when you have finished).</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0RjT3xatjQhckwJ8itCEZRKor9qHzqJyTktMdfg4roP8IrYGWH5QPCv31bd6bVB94pbHNvnUz-eBxKPt8huWIOqHM8cnFg-guv2uNnJWlcpuSD9eTiV2uiYvYwEFtZC04QlvpO1k-a7C0/s1600/Screenshot_2012-05-20-16-42-09.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0RjT3xatjQhckwJ8itCEZRKor9qHzqJyTktMdfg4roP8IrYGWH5QPCv31bd6bVB94pbHNvnUz-eBxKPt8huWIOqHM8cnFg-guv2uNnJWlcpuSD9eTiV2uiYvYwEFtZC04QlvpO1k-a7C0/s400/Screenshot_2012-05-20-16-42-09.png" width="400" /></a></div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both;">
If BlueVPN does not connect automatically (Honeycomb), start it manually from the system settings (set any username and password):</div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both;">
<i>Settings </i>/ <i>Wireless and Network</i> / <i>VPN settings</i> /<i> BlueVPN</i></div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNJsvMe9zEhEaeTnUVsQe1Bzh4gG531KOAF_snfD_1jxyjE8W_2Ret75UeFIvOkQnYSXD9RPlIMFYSVcwlhSZ6bKyTABVINtkcgHlNisayiUzkQKDTcK0dElpzMv5-XgOj2gtfvPXbQTrm/s1600/export_08.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNJsvMe9zEhEaeTnUVsQe1Bzh4gG531KOAF_snfD_1jxyjE8W_2Ret75UeFIvOkQnYSXD9RPlIMFYSVcwlhSZ6bKyTABVINtkcgHlNisayiUzkQKDTcK0dElpzMv5-XgOj2gtfvPXbQTrm/s320/export_08.png" width="200" /></a></div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both;">
While BlueVPN is connected you can open a browser and navigate the internet throught the bluetooth tethering.</div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmHWY5K4Dt8AAHL0HdmrHvKUeFEo62cqGNrgnvfIP_xEpXVnlxM3ZAp_As46bjVhwDLnI7hd5zwwrhlIKj0awXzSmdEFTtimRTUYntJ18iHXAwQbxpypPv6HpGxTAd7woJrQKUM2bd20rh/s1600/Screenshot_2012-05-20-16-52-32.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmHWY5K4Dt8AAHL0HdmrHvKUeFEo62cqGNrgnvfIP_xEpXVnlxM3ZAp_As46bjVhwDLnI7hd5zwwrhlIKj0awXzSmdEFTtimRTUYntJ18iHXAwQbxpypPv6HpGxTAd7woJrQKUM2bd20rh/s320/Screenshot_2012-05-20-16-52-32.png" width="320" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSC5rqf7PdIH5Xg5QABDFotWTkvvP8l6TI4NHA0VSMGYwlUCHms-1kcIo8RqbBhNseTeec1LIuqVUiswPFgWulrBOlz5QEKvK7hFZFTQedQNSYlXPtr90V4esco5xgPCc973bNO5-ewCep/s1600/export_07.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSC5rqf7PdIH5Xg5QABDFotWTkvvP8l6TI4NHA0VSMGYwlUCHms-1kcIo8RqbBhNseTeec1LIuqVUiswPFgWulrBOlz5QEKvK7hFZFTQedQNSYlXPtr90V4esco5xgPCc973bNO5-ewCep/s200/export_07.png" width="125" /></a></div>
<br />
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both;">
<br /></div>
M.S.http://www.blogger.com/profile/16730205800658918660noreply@blogger.com23tag:blogger.com,1999:blog-5439731905535084081.post-5350388793195807792012-05-05T16:09:00.000+02:002015-10-11T15:36:41.732+02:00BlueDUN: Connect Windows 7 PCs to internet via bluetooth through Android phonesThis post shows how to install and configure Bluetooth and pair your computer with an Android mobile phone to enable the internet connection.<br />
<br />
Prerequisites are that you have already installed the bluetooth adapter on your windows 7 computer and turned on the bluetooth interface.<br />
<br />
The pairing process can be started both from computer and phone. If you choose to start from phone you need also to enable in the Bluetooth Settings the option: "<b>Allow Bluetooth devices to find this computer</b>". <br />
In this example, I will choose to start the pairing from your computer.<br />
<br />
<br />
In the notification area, click on the small arrow to reveal a whole set of additional icons. Then, right click on the Bluetooth icon and click on "<b>Show Bluetooth Devices</b>"<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4gYUr0zG9i1u3cyD-7U9pvw65pHgEQnT4W3UpAFW4KjRpzGVnXxxnJSpTQ-hnjoXCWfdsqdlmO0fmVroYLc9FxQAkCjjZ-TLLoXPb5jZFgIjRaq54t4kB30h8ITDWTKkUSWzZVAPQQqi7/s1600/blt2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4gYUr0zG9i1u3cyD-7U9pvw65pHgEQnT4W3UpAFW4KjRpzGVnXxxnJSpTQ-hnjoXCWfdsqdlmO0fmVroYLc9FxQAkCjjZ-TLLoXPb5jZFgIjRaq54t4kB30h8ITDWTKkUSWzZVAPQQqi7/s320/blt2.png" width="239" /></a></div>
<br />
Now you can see the list of the previously paired devices, but, before clicking "<b>Add a device</b>" to create a new pairing with your phone it is necessary to turn on the BlueDUN service on phone.<br />
<div class="separator" style="clear: both; text-align: -webkit-auto;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjei8VvWK4ZFp9pE1Icd-K-0WVcLhNc8HMug_RZVReolVngPFP4_zDgRL0z_sIfU5WAck6ZHZMEtfYWmmlDr7Icc6mzuJ1jHQePHBe9soPF0I-dEqzsxLNd991iB0GmGfB71XOfKsJH7Wj5/s1600/blt5.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><br /></a></div>
<div style="clear: left; margin-bottom: 1em; margin-right: 1em; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjei8VvWK4ZFp9pE1Icd-K-0WVcLhNc8HMug_RZVReolVngPFP4_zDgRL0z_sIfU5WAck6ZHZMEtfYWmmlDr7Icc6mzuJ1jHQePHBe9soPF0I-dEqzsxLNd991iB0GmGfB71XOfKsJH7Wj5/s1600/blt5.png" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-right: 1em;"></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1kKG5X70UX07KRtaubQfvd4yCRzvCmLcogyBjTdejN_5iTqVoN234C1waKQNwuTIH7MqlXAS8vtfMfCznXW4AFxYgq35cRFVhQv6KtB9UDLQoQzeJRLyBTgie0igt_G67e34CXIK8zGvX/s1600/bt1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1kKG5X70UX07KRtaubQfvd4yCRzvCmLcogyBjTdejN_5iTqVoN234C1waKQNwuTIH7MqlXAS8vtfMfCznXW4AFxYgq35cRFVhQv6KtB9UDLQoQzeJRLyBTgie0igt_G67e34CXIK8zGvX/s1600/bt1.png" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: -webkit-auto;">
Open the BlueDUN app and enable the "<b>Discoverable</b>" option on preference panel (click the menu button to access to the preferences); now when you start the service you should get the message "<b>Bluetooth permission request</b>" asking you to enable the bluetooth visibility status for a limited time. </div>
<div class="separator" style="clear: both; text-align: -webkit-auto;">
<br /></div>
<nobr>
</nobr>
<br />
<div class="separator" style="clear: both; text-align: center;">
<nobr></nobr><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixuq3LLGctIQOPLuOzUJ3ApIEXlVnEH3DAXt1441dOTwiqsO5FVeOkQjo36__wgyqtsFyyvGpGqsMFKU7BYLYpr54udmyr_qnjmMZU_1Iwc9N6tEyxHFbJ13SYUc5xZUQPgxezGJ6HSV_e/s1600/unnamewd.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixuq3LLGctIQOPLuOzUJ3ApIEXlVnEH3DAXt1441dOTwiqsO5FVeOkQjo36__wgyqtsFyyvGpGqsMFKU7BYLYpr54udmyr_qnjmMZU_1Iwc9N6tEyxHFbJ13SYUc5xZUQPgxezGJ6HSV_e/s320/unnamewd.jpg" width="191" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMUaPhkNcp5kkaV-Xsh2wmUt2vtwBMO6Jo4KDUX7fyDUvwwsSy9YiVZ82B5qK1I1wYwTruAADKdzH_i6wiQK401B7m9gJfh7HeUs2WPtkdg36dfroRcJd_FX5IMK5aoKSssXSgJpQ0weFv/s1600/unnamed.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMUaPhkNcp5kkaV-Xsh2wmUt2vtwBMO6Jo4KDUX7fyDUvwwsSy9YiVZ82B5qK1I1wYwTruAADKdzH_i6wiQK401B7m9gJfh7HeUs2WPtkdg36dfroRcJd_FX5IMK5aoKSssXSgJpQ0weFv/s320/unnamed.jpg" width="191" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDwSPz2DeFaSQtpEatmPTNx3DnQa329p6cLZ3mpa_mo4MPGsw810_mJNaG3Lm2pmG5WtOE4n07rzl7Hh3UpJN9y_tY-nPFaUEpzPdlSLPzVc8oQKCRhk5ny1LWH1y1gW_-5U9l8BwQQ4TD/s1600/unnaemed.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDwSPz2DeFaSQtpEatmPTNx3DnQa329p6cLZ3mpa_mo4MPGsw810_mJNaG3Lm2pmG5WtOE4n07rzl7Hh3UpJN9y_tY-nPFaUEpzPdlSLPzVc8oQKCRhk5ny1LWH1y1gW_-5U9l8BwQQ4TD/s320/unnaemed.jpg" width="191" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhilJCk_HflAPyi83rZLTmR-dw3fenLU-04JeHOxa82akBJSFWiD_egM0NK-352lN_1CENnGDXBMQS11C5OoTvAnOBm0rP1E6UfbovH4ZT2aoSRDzPtQi5T40ZLltOJP7_y_j548YAhVGEm/s1600/www.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhilJCk_HflAPyi83rZLTmR-dw3fenLU-04JeHOxa82akBJSFWiD_egM0NK-352lN_1CENnGDXBMQS11C5OoTvAnOBm0rP1E6UfbovH4ZT2aoSRDzPtQi5T40ZLltOJP7_y_j548YAhVGEm/s320/www.jpg" width="191" /></a></div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div style="text-align: justify;">
If the BlueDUN service is running on the phone, you can click the "<b>Add a device</b>" button on PC; this starts the "<b>Add a Device</b>" wizard, which automatically scans for new devices, including Bluetooth ones. <br />
After a few seconds, your phone should show up in the list of available devices. If it doesn’t, then you need to make sure Bluetooth is enabled on the phone and the phone is set as discoverable.</div>
<br />
<div style="text-align: justify;">
Select your phone and click <b>Next</b>.</div>
<br />
<nobr>
</nobr>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSm8eNTWJsDhasK7IO6Bri4vxz77C1Z9ZqksjwteRM1iBhyphenhyphen5-LmcvSg0SyFZestyCa39I_1sXvL-ltFUqaQ76O_PRAn09DkobYVLnbJ4OxsDe3lhyphenhyphenSP37UoMNCn1cKJIzYYgj3S_u0BNKy/s1600/bt_found%5B4%5D.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="303" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSm8eNTWJsDhasK7IO6Bri4vxz77C1Z9ZqksjwteRM1iBhyphenhyphen5-LmcvSg0SyFZestyCa39I_1sXvL-ltFUqaQ76O_PRAn09DkobYVLnbJ4OxsDe3lhyphenhyphenSP37UoMNCn1cKJIzYYgj3S_u0BNKy/s400/bt_found%5B4%5D.jpg" width="400" /></a></div>
<br />
<div class="" style="clear: both; text-align: left;">
The wizard displays a code that you need to type on your mobile phone, so that the pairing is completed.</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1_c6-G-Rkkz_MebUyPeuwTEarHUeY0mZ19JBHnFVe06_UdRXwT9kv_VPa1BzW90yv4m0c-K1LftmB6t4nrnYs5d67ccblsZw3vkn7x-nhVO1HtzO1UNjVgLd2OdYMMwN5c3rPtwysRWGp/s1600/bt_pairing%5B4%5D.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="303" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1_c6-G-Rkkz_MebUyPeuwTEarHUeY0mZ19JBHnFVe06_UdRXwT9kv_VPa1BzW90yv4m0c-K1LftmB6t4nrnYs5d67ccblsZw3vkn7x-nhVO1HtzO1UNjVgLd2OdYMMwN5c3rPtwysRWGp/s400/bt_pairing%5B4%5D.jpg" width="400" /></a></div>
<br />
<br />
On your mobile phone, you are notified that your computer wants to connect via Bluetooth. Press OK, then type the code. Once the code is entered, the pairing is created and Windows automatically searches for drivers for all Bluetooth profiles available on your mobile phone, then installs them.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3JnoirKqfnWDx7lZmAmfUd7BWneSqtf38pFVZzWV9OA8ttmjRQg2L65s8mvgHD466Crlgjcy_pSys3ICAbSQvD8d71XmGKCni9yk3dcuCLGc2aSYNLiD_28uA9U_tfbWnn3YUSWNTknCr/s1600/bt_added%5B9%5D.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="303" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3JnoirKqfnWDx7lZmAmfUd7BWneSqtf38pFVZzWV9OA8ttmjRQg2L65s8mvgHD466Crlgjcy_pSys3ICAbSQvD8d71XmGKCni9yk3dcuCLGc2aSYNLiD_28uA9U_tfbWnn3YUSWNTknCr/s400/bt_added%5B9%5D.jpg" width="400" /></a></div>
<br />
<br />
To check the discovered and installed BT profiles, you can right-click the phone you’ve just added and choose Properties:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQP_E8w0ixTro-DKgVV9c0V8jTUz7HaOFARWhMONTnZSwyWOTeZY5HqqKXIMaJ3Xx-LTqHaRhUbu5IWFfF6yIIAXmpHEjPNe2OuUKLnfOjMyq7D1p11J1HmV0ok5f0dz_APqOJuq2YiKTG/s1600/devices_thumb%5B2%5D.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQP_E8w0ixTro-DKgVV9c0V8jTUz7HaOFARWhMONTnZSwyWOTeZY5HqqKXIMaJ3Xx-LTqHaRhUbu5IWFfF6yIIAXmpHEjPNe2OuUKLnfOjMyq7D1p11J1HmV0ok5f0dz_APqOJuq2YiKTG/s1600/devices_thumb%5B2%5D.png" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: -webkit-auto;"><br />Note: the "<b>Dial Up Network</b> (</span><b style="text-align: -webkit-auto;">DUN</b><span style="text-align: -webkit-auto;">)" profile will be available on phone only when the BlueDUN service is running; if you pair the devices in a different condition, you will not be able the create a new internet connection on PC. In this case, remove the old pairing and create a new one following the above steps.</span>
</div>
<div class="separator" style="clear: both; text-align: center;">
<span style="text-align: -webkit-auto;"><br /></span></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWM9SLqsJFPj9ekTJvs8hseR29pKdP5qbgxV_xflEuPOWwKiymHrH_6rmf6HcDtnyPA2vBaVJ35XqcuOsbhUD54YDIxBFnLazAlVn15HfodihXaiSONHLDt4dw7fKumxuntmYI4c1qEee_/s1600/services_thumb%5B3%5D.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWM9SLqsJFPj9ekTJvs8hseR29pKdP5qbgxV_xflEuPOWwKiymHrH_6rmf6HcDtnyPA2vBaVJ35XqcuOsbhUD54YDIxBFnLazAlVn15HfodihXaiSONHLDt4dw7fKumxuntmYI4c1qEee_/s400/services_thumb%5B3%5D.jpg" width="321" /></a></div>
<br />
Make sure the DUN profile is also selected and click OK to confirm.<br />
Now it is the time to create a new internet connection to access the internet throught the bluetooth phone tethering: right-click again your phone and then choose <b>"Dial-Up Networking"</b> > <b>"Create a dial-up connection…"</b><br />
<div>
<br /></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHTz65gHZVihHm6h6ZrcmCYRRUPv8x59S5FUBapePZDsaGkPynElx7sJUvNIa8Dr2eTrL3yPqpSVLC8sUlUjDy1-jDwoiBjqedSJ406qUbKGZ9QD3jK7RG9X2MO5_aezkJ9oE0asXq2-lu/s1600/create_dial_up_thumb%5B3%5D.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHTz65gHZVihHm6h6ZrcmCYRRUPv8x59S5FUBapePZDsaGkPynElx7sJUvNIa8Dr2eTrL3yPqpSVLC8sUlUjDy1-jDwoiBjqedSJ406qUbKGZ9QD3jK7RG9X2MO5_aezkJ9oE0asXq2-lu/s1600/create_dial_up_thumb%5B3%5D.png" /></a></div>
<br />
<br />
after clicking that, it will ask for what Modem device to use in your dial-up choose the last one, if it doesn’t work, try the others...<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRvqjuR9TCafIvTd6e23E51vEkgLnN5CKkAOebkL9v6FA-yCX6h7TTywWKxoR_W1v9-naTAk9b4W-9ivsY7x0IKBvGUaD2RYI2uTHiPB5GRsAxSFpRavz2L63_U8oxAkwLhP5c9DKHVAYU/s1600/choose_a_modem_thumb%5B4%5D.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRvqjuR9TCafIvTd6e23E51vEkgLnN5CKkAOebkL9v6FA-yCX6h7TTywWKxoR_W1v9-naTAk9b4W-9ivsY7x0IKBvGUaD2RYI2uTHiPB5GRsAxSFpRavz2L63_U8oxAkwLhP5c9DKHVAYU/s1600/choose_a_modem_thumb%5B4%5D.jpg" /></a></div>
<br />
<br />
now enter the mandatory dial-up number ( for example *99***1# is the mostly used ), and enter a name for your dial-up connection… no need for username and password with the BlueDUN app …<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRCwV6YZ25CBg7uukVnGm-Ce2DXnhKdfvopJkXw7B_UZZsAPw36nxFzjXqagAuR084_f7DwM3oP4sH3XksqNS2D07fKd5tCKtN2fld-0dPKCUUJVtALJEqQjaPyM4Mwxr0ujTDUIeIJCud/s1600/dial_up_details_thumb%5B1%5D.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRCwV6YZ25CBg7uukVnGm-Ce2DXnhKdfvopJkXw7B_UZZsAPw36nxFzjXqagAuR084_f7DwM3oP4sH3XksqNS2D07fKd5tCKtN2fld-0dPKCUUJVtALJEqQjaPyM4Mwxr0ujTDUIeIJCud/s1600/dial_up_details_thumb%5B1%5D.png" /></a></div>
<br />
after entering the details, click Connect, it will try to dial the number in your phone and registering your connection to networks server, and after that it will test your connection… <br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUfAhO_J3N1ZSJOKVFuEusXb16FQcZZNNfPCtmI0WYQENkaXWA7eH4qKau2SRNFAQxCq3-Tby3iYnuluAI08ZXqVU-EqnOtpat4iDUuQyns7znTvqJ5xVD7Rt3UpLBHERPO-oEerilE3mD/s1600/testing_internet_thumb%5B3%5D+(1).jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUfAhO_J3N1ZSJOKVFuEusXb16FQcZZNNfPCtmI0WYQENkaXWA7eH4qKau2SRNFAQxCq3-Tby3iYnuluAI08ZXqVU-EqnOtpat4iDUuQyns7znTvqJ5xVD7Rt3UpLBHERPO-oEerilE3mD/s1600/testing_internet_thumb%5B3%5D+(1).jpg" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhz4hRSgK9Jz7NZqMf3W7v-Rxa6hLQlNxhrgbNUQ5YjPZDzyQAtggcD_gtOIQpI79NGhHAazP8VsgOGBkdlZ4thzWuT7T6k1YsbcbC3ZB6pe4nrq_nrac8dYL0GBEZx6w5-T6hKgSPjoSO/s1600/connected_thumb%5B2%5D.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhz4hRSgK9Jz7NZqMf3W7v-Rxa6hLQlNxhrgbNUQ5YjPZDzyQAtggcD_gtOIQpI79NGhHAazP8VsgOGBkdlZ4thzWuT7T6k1YsbcbC3ZB6pe4nrq_nrac8dYL0GBEZx6w5-T6hKgSPjoSO/s1600/connected_thumb%5B2%5D.jpg" /></a></div>
<br />
<br />
On the BlueDUN app you should see the "Modem negotiating.." message and soon after the panel with connection statistics indicating the connection was established with success.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKMTtKFK4IOH8oNriT4jcHdJ-SX_dLBHB053sStTsWcN1Va8IbtZJCJxogEl4FnEMzscMYVFLFRde5OvjcJ0H61Xx5KP90VhFoz3wJO6WWBhOLKaqk-Ve35IPnGVvbUd_WVIIF3mnbW8e3/s1600/SC20120503-210640.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKMTtKFK4IOH8oNriT4jcHdJ-SX_dLBHB053sStTsWcN1Va8IbtZJCJxogEl4FnEMzscMYVFLFRde5OvjcJ0H61Xx5KP90VhFoz3wJO6WWBhOLKaqk-Ve35IPnGVvbUd_WVIIF3mnbW8e3/s320/SC20120503-210640.png" width="192" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7v1gf1pLkWOAcx58KZ94loc4imrF2zPHjhRm8PH00NNc0WECKTfnjvPfLb3jrCLfPICAfMgL6PiLxOU5kJRi5Io9jCXxm_NFTlFoSyas6hAkoZSopCcuQBj8NzDMxvvCIwp1Uk5QeIvn8/s1600/SC20120503-211508.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7v1gf1pLkWOAcx58KZ94loc4imrF2zPHjhRm8PH00NNc0WECKTfnjvPfLb3jrCLfPICAfMgL6PiLxOU5kJRi5Io9jCXxm_NFTlFoSyas6hAkoZSopCcuQBj8NzDMxvvCIwp1Uk5QeIvn8/s320/SC20120503-211508.png" width="192" /></a></div>
<br />
Now your done! Click close button to close the window, and Open your browser to start surfing the web, Enjoy!<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGkV0-Gzbd6UXsd3zxKJfZAaOrTduza8AiLz5T3Yh2Gq7yvZDUyz2G4gtevsY5Hp7SnHILFed6H0Z8JDz9VOzfP-pV5PsPTc8dGrtKJRKrk1agYsB3k082WCOHFk2yGJuhExmF0ErgEgw_/s1600/connected.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGkV0-Gzbd6UXsd3zxKJfZAaOrTduza8AiLz5T3Yh2Gq7yvZDUyz2G4gtevsY5Hp7SnHILFed6H0Z8JDz9VOzfP-pV5PsPTc8dGrtKJRKrk1agYsB3k082WCOHFk2yGJuhExmF0ErgEgw_/s320/connected.png" width="262" /></a></div>
<br />
<br />
<br />
Reference: <a href="http://www.7tutorials.com/transfer-files-between-devices-your-windows-7-pc-bluetooth">http://www.7tutorials.com/transfer-files-between-devices-your-windows-7-pc-bluetooth</a>M.S.http://www.blogger.com/profile/16730205800658918660noreply@blogger.com23tag:blogger.com,1999:blog-5439731905535084081.post-69769754905202945922012-04-07T15:18:00.001+02:002015-10-11T16:36:03.132+02:00BlueDUN+: MB Comand OnLine and Android phones<span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">The bluetooth pairing between Android phones and the MB comand online allows the users to share phone contacts and perform telephone calls. In addition to Navi(gation), Audio, Tel(ephone), Video and System menu-options, you can see another icon: the web navigation. </span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">Selecting this menu option, the user can open a web browser and insert URL for web navigation, or access the Comand OnLine functions including weather forecast, facebook, point of interest and more... </span><br />
<br />
<div style="text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLFurpgHQjuWZfZOJXl0QyybZZRBl4vHBzhalYAS66f3xx1_2BO6pfs82czoYN-FT0oxJWh-SkmBwOZVhFuNiqEte-qkOE8qlAKPx1vfmuXNW2TLp46Ww4aRY61Sgn1Op0sjSebeyguwQr/s1600/comand+online1.jpg" imageanchor="1" style="background-color: black; font-family: Arial, Helvetica, sans-serif; margin-left: 1em; margin-right: 1em;"><span style="color: black;"><img border="0" height="193" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLFurpgHQjuWZfZOJXl0QyybZZRBl4vHBzhalYAS66f3xx1_2BO6pfs82czoYN-FT0oxJWh-SkmBwOZVhFuNiqEte-qkOE8qlAKPx1vfmuXNW2TLp46Ww4aRY61Sgn1Op0sjSebeyguwQr/s320/comand+online1.jpg" width="320" /></span></a></div>
<br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br />The comand online needs a bluetooth DUN (dial up network) service but Android phones don't support it natively (because it is an old technology), so you have to install an app to activate this service.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">The BlueDUN app for Android enables the bluetooth DUN service on your phones; this short guide shows how it is possible to open the web access for MB Comand OnLine:</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;"><b><span style="color: orange;">1. Remove the old pairing between the Navi and the phone</span></b></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">If you have not recently purchased your car, it is quite possible that you have already paired the phone with the Comand to make phone calls. When you create the Bluetooth </span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">connection between two devices, each of them searches and stores all the services available on the other device, then when you try to open a web link you may get the message "Connected phone does not support data communication". </span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial, Helvetica, sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7i_Yz2SXiy6NdnWTjOW45JJz-CrzPomCNytP2rZKhlxv1GdDnLIv9CGbLhF6pBm5g0lLyc0jJZhLtQN8LbjhklPbO3vxSw7Sv6Fr15GvWF6S5-KpT3Xx9IBmscsQ4mALA8d095DOxIvrN/s1600/img0.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="190" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7i_Yz2SXiy6NdnWTjOW45JJz-CrzPomCNytP2rZKhlxv1GdDnLIv9CGbLhF6pBm5g0lLyc0jJZhLtQN8LbjhklPbO3vxSw7Sv6Fr15GvWF6S5-KpT3Xx9IBmscsQ4mALA8d095DOxIvrN/s320/img0.png" width="320" /></a></span></div>
<br />
<span style="font-family: Arial, Helvetica, sans-serif;">No problem, it is normal, you have just to return to the initial situation, like if the two devices had never met themselves. In other words, you have to remove the pairing: select the <b>Tel</b> menu option / <b>Telephone</b> item on the bottom sub-menu / <b>Bluetooth telephones</b> / scroll the phone list and select the phone to remove / click the white icon on the right / <b>De-authorise</b> option and finally confirm.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial, Helvetica, sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtmxqWBXd8H635bZ6DV3_uX9JDHmkMF38Q2N3BfxkpdQ414Hg2JDUkO1M2yfAzy6ABXDEdEstji1ftP3elUusYuHMrgkSFvFVVVivVVqA23wNjFqdhwueqqNlU25ZUBmCQwKf2gsWpinTV/s1600/img1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="193" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtmxqWBXd8H635bZ6DV3_uX9JDHmkMF38Q2N3BfxkpdQ414Hg2JDUkO1M2yfAzy6ABXDEdEstji1ftP3elUusYuHMrgkSFvFVVVivVVqA23wNjFqdhwueqqNlU25ZUBmCQwKf2gsWpinTV/s320/img1.png" width="320" /></a></span></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial, Helvetica, sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhI2V-0uOaI1VXAeRWNvlz1hIbe8YhHcz6xnOE-Idspw-oqevfuAqVHzAiaAFpk9FPmKKzRKeHGep0VQ80a-LmBTGMRlZ7KHnEyNX_z6S7ushs24OP5CjnKfMjnIuprkOqauzR0557KS29D/s1600/img2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="195" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhI2V-0uOaI1VXAeRWNvlz1hIbe8YhHcz6xnOE-Idspw-oqevfuAqVHzAiaAFpk9FPmKKzRKeHGep0VQ80a-LmBTGMRlZ7KHnEyNX_z6S7ushs24OP5CjnKfMjnIuprkOqauzR0557KS29D/s320/img2.png" width="320" /></a></span></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial, Helvetica, sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRJHt8zWUk1MZ0jSSlxfBdsps1fE9B_Jt3Sda_UoOttd_P5uFwfZHNM4eixA8vdwtFeEvEd1qmQ1Ar1q-iKrhM5tqLziEls7pBKJfsGRRqsLP_6u48hHQuFDI5d2qzHcwnlimBR-4-Aytt/s1600/img3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="194" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRJHt8zWUk1MZ0jSSlxfBdsps1fE9B_Jt3Sda_UoOttd_P5uFwfZHNM4eixA8vdwtFeEvEd1qmQ1Ar1q-iKrhM5tqLziEls7pBKJfsGRRqsLP_6u48hHQuFDI5d2qzHcwnlimBR-4-Aytt/s320/img3.png" width="320" /></a></span></div>
<br />
<span style="font-family: Arial, Helvetica, sans-serif;"><b><span style="color: orange;"><br class="Apple-interchange-newline" />2. Open BlueDUN, Start the DUN Service and create a new pairing</span></b></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">After removing the pairing you'll need to create a new connection between the phone and Comand: normally you should activate the bluetooth interface on your phone and make it discoverable by other devices. The BlueDUN app automatically enables the bluetooth, but you must check the "Discoverable" option in the properties panel (click the menu/left hard-button to show it):</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><b><br /></b></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial, Helvetica, sans-serif;"></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmxOj53nSLQXCBiWSbWhwpah-XHQOxo1pw_8Fklq0-du8wIiejNluK8SjvYy8qG9T0Sbo-yRJNHb0kUu7vz-pe4n1gS4xmk34RCISdxD9wiMnH3u2czsXxmPMK6njL_w-OMK-F5g5o4yZR/s1600/Screenshot_2015-10-11-15-47-10%255B1%255D.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmxOj53nSLQXCBiWSbWhwpah-XHQOxo1pw_8Fklq0-du8wIiejNluK8SjvYy8qG9T0Sbo-yRJNHb0kUu7vz-pe4n1gS4xmk34RCISdxD9wiMnH3u2czsXxmPMK6njL_w-OMK-F5g5o4yZR/s320/Screenshot_2015-10-11-15-47-10%255B1%255D.png" width="180" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXSo9GEY19ArrOcyr77Rqo-QMQ-Tr9AW-Uafw7Z6g6laRYeNIFmiU_uRxIrWE4Ynmfwli7Fgx3yr0U5cBEuK_Bf6iem6oi8AmIQyRvOLwt7p6Xg18XZ3Y7W5h4dikI3udNkf_zpHYPASx8/s1600/Screenshot_2015-10-11-15-10-38%255B1%255D.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXSo9GEY19ArrOcyr77Rqo-QMQ-Tr9AW-Uafw7Z6g6laRYeNIFmiU_uRxIrWE4Ynmfwli7Fgx3yr0U5cBEuK_Bf6iem6oi8AmIQyRvOLwt7p6Xg18XZ3Y7W5h4dikI3udNkf_zpHYPASx8/s320/Screenshot_2015-10-11-15-10-38%255B1%255D.png" style="cursor: move;" width="180" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;">BlueDUN requires a valid internet connection to start, so, when you click the "Start Service" button, the first message you can see is "Testing Internet connection...". The app emulates a modem features but it doesn't perform a true dial up call, when the device client requests information, BlueDUN forwards these messages to the wifi or mobile (HSDPA/EDGE/GPRS) data connection and it forwards back to the client all replies.</span></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYkmZFbpXK3hWcBdNvUjXCNALx1hdnqtMidRfVg2brBi7pQmp0hFPChGJ185ac7u8ug5S602Abo8D9sm3Uysvo_Dy8rCFMrDMfYS9l6N0bYc-u2GkpgpyUaWNwXkMqM5kE1k0evg25snwm/s1600/Screenshot_2015-10-11-15-10-11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYkmZFbpXK3hWcBdNvUjXCNALx1hdnqtMidRfVg2brBi7pQmp0hFPChGJ185ac7u8ug5S602Abo8D9sm3Uysvo_Dy8rCFMrDMfYS9l6N0bYc-u2GkpgpyUaWNwXkMqM5kE1k0evg25snwm/s320/Screenshot_2015-10-11-15-10-11.png" width="180" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnP0WyGaQFQbvB50Sg_ANyk9F-cTOLpzWazOrke3w4LaEvdUvSacQGEmSDRnk9gN9FYP_2g0tuL4vXsfvQinVd6MALS8q_7_7aplbagzuI1azNzEey6EAG2Mb3A6pNTugnj2kMor6GGqKL/s1600/Screenshot_2015-10-11-15-10-10%255B1%255D.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnP0WyGaQFQbvB50Sg_ANyk9F-cTOLpzWazOrke3w4LaEvdUvSacQGEmSDRnk9gN9FYP_2g0tuL4vXsfvQinVd6MALS8q_7_7aplbagzuI1azNzEey6EAG2Mb3A6pNTugnj2kMor6GGqKL/s320/Screenshot_2015-10-11-15-10-10%255B1%255D.png" width="180" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial, Helvetica, sans-serif;"></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;">If the BlueDUN screen shows the status "Waiting Bt Client.." you are ready to pair again the Comand and the phone following the same steps: select the <b>Tel</b> menu option / <b>Telephone</b> item on the bottom sub-menu / <b>Bluetooth telephones </b>/ search for discoverable devices.</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
</div>
<div style="text-align: -webkit-auto;">
<span style="font-family: Arial, Helvetica, sans-serif;"><b><span style="color: orange;">3. Select a Provider and setup the connection parameters</span></b></span></div>
<div style="text-align: -webkit-auto;">
<span style="font-family: Arial, Helvetica, sans-serif;">Once the Comand has stored the phone BT services, including the DUN, you don't need to pair them again, but the first time you try to open a web link you will get this message: "No provider selected or provider data is incorrect. Please check settings". You need to assign a Provider for the web connection and you can choose one from provider list of your country.</span></div>
<div style="text-align: -webkit-auto;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial, Helvetica, sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioxS4cH4TI7KPyAEZdd5wXudKZG8Jt1jRYMdiFCjWaW_OzVvPyS2ouraDMr5jAX1DbN-CrzUZlIvCZVKVQXPfHlF5cMgFO9ts6mSTTXduxyz5QHHZmkAPN7XA6q-Dfwhf4dZGCyTVzqlu5/s1600/img4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="193" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioxS4cH4TI7KPyAEZdd5wXudKZG8Jt1jRYMdiFCjWaW_OzVvPyS2ouraDMr5jAX1DbN-CrzUZlIvCZVKVQXPfHlF5cMgFO9ts6mSTTXduxyz5QHHZmkAPN7XA6q-Dfwhf4dZGCyTVzqlu5/s320/img4.png" width="320" /></a></span></div>
<br />
<span style="font-family: Arial, Helvetica, sans-serif;">Connection parameters (Phone number, access point, used ID and Password) are not important, so don't care about them. The only parameter that has effect is the DNS address: if you enter a wrong IP you may not be able to access the MB server, so it is better to leave them as automatic assigned. In this case BlueDUN will use the Google's default primary DNS IP (8:8:8:8) and secondary DNS IP (8:8:4:4).</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial, Helvetica, sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjboa0fPMFwS7BTGqGkIHYAZQ4OwCH55Hu3EIWIhcFm_Fy241lufs3DhuLUVuk5VZQ0g8sGOPz0YGUFhbPUrIEX8HzwuSiLmd6OUSJEc00CdkAv041Gm0v-WtqIiZ1Q6Db0K_ybhJGxN3Ob/s1600/img5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="194" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjboa0fPMFwS7BTGqGkIHYAZQ4OwCH55Hu3EIWIhcFm_Fy241lufs3DhuLUVuk5VZQ0g8sGOPz0YGUFhbPUrIEX8HzwuSiLmd6OUSJEc00CdkAv041Gm0v-WtqIiZ1Q6Db0K_ybhJGxN3Ob/s320/img5.png" width="320" /></a></span></div>
<div style="text-align: -webkit-auto;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div style="text-align: -webkit-auto;">
<span style="font-family: Arial, Helvetica, sans-serif;"><b><span style="color: orange;">4. Access to Comand OnLine Apps or to a web page</span></b></span></div>
<div style="text-align: -webkit-auto;">
<span style="font-family: Arial, Helvetica, sans-serif;">Previous steps should be executed only the first time, in normal usage you can select the web navigation icon and open an URL or the Mercedes Benz Apps menu.</span></div>
<div style="text-align: -webkit-auto;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial, Helvetica, sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtXlu2Z8U6e8NmdNvNeGosQGVeIabPogaTNy17DvMiNWSW949ezEIKEdd-oUww_G1ulUii4R6ftxzv6SiKOBUWO7iU2dzQdeyvbA2fkfcyPo2hOaUupUESNmKKYiZQdQohpMPWDB5YjYrm/s1600/img6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="194" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtXlu2Z8U6e8NmdNvNeGosQGVeIabPogaTNy17DvMiNWSW949ezEIKEdd-oUww_G1ulUii4R6ftxzv6SiKOBUWO7iU2dzQdeyvbA2fkfcyPo2hOaUupUESNmKKYiZQdQohpMPWDB5YjYrm/s320/img6.png" width="320" /></a></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;">It is important to notice that Comand OnLine doesn't access directly to internet web pages but downloads them from the Mercedes Berz VPN server, this means that download speed is considerably slower respect to the phone browser because it depends on MB server congestion.</span></div>
<div style="text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial, Helvetica, sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikou1s86vf3uroawm15MS7pHscNB0Kx8WuNn9jkmvvIvWUcOFQ5FTqync_Q5r4OyUsriNx3ksupIJ5TBSO-zBsjsBJFB67baXVLx-OH2ebaXhsecunMYvqyTB77DyRzTnvNBWPf_0TJy3H/s1600/img7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="190" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikou1s86vf3uroawm15MS7pHscNB0Kx8WuNn9jkmvvIvWUcOFQ5FTqync_Q5r4OyUsriNx3ksupIJ5TBSO-zBsjsBJFB67baXVLx-OH2ebaXhsecunMYvqyTB77DyRzTnvNBWPf_0TJy3H/s320/img7.png" width="320" /></a></span></div>
<div style="text-align: -webkit-auto;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<br />
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: red;">I suggest to use the phone connected to a Wi-fi network </span>(such as the home or office wifi access point) <span style="color: red;">when you use the Comand Online the first time</span> <span style="color: red;">for accessing the on-line services</span>: the navigator gets from the server many data for configuring the menu and the apps and the phone must have a stable connection otherwise you need to restart the process again if the connection drops.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">Moreover, you have to remember to start the BlueDUN service on the phone before opening a www link, otherwise you will get the message "Function not possible at the moment". For this reason, you may activate the "Auto-Start" (and "Auto-Resume") option on BlueDUN property panel; in this manner the DUN service will be always on while the app is running.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgAGxJf9HZ8Wnjw-LppbGMmHAZ1Y7HBwIfLnbgwhKagWwZWVXkB_L3CpZBG1yTlQdfgQDkty7e_2XfocJ0GR-UlHcpkVOm7Gm86y-Ar7s5_sl0Jnc75ywH9U0mUMbVnVcV-Mo2A7g5A3y9/s1600/img8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="195" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgAGxJf9HZ8Wnjw-LppbGMmHAZ1Y7HBwIfLnbgwhKagWwZWVXkB_L3CpZBG1yTlQdfgQDkty7e_2XfocJ0GR-UlHcpkVOm7Gm86y-Ar7s5_sl0Jnc75ywH9U0mUMbVnVcV-Mo2A7g5A3y9/s320/img8.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;">If after several attempts, you can not connect, always getting the message "Connection failed" message, it means that bluetooth channel cannot be reused. </span></div>
<div class="separator" style="clear: both; text-align: left;">
</div>
<div class="separator" style="clear: both;">
<span style="font-family: Arial, Helvetica, sans-serif;">Try closing the connection by clicking the disconnect icon at the bottom right on the Comand, turn off the bluetooth interface on the phone and finally restart the BlueDUN service.</span></div>
<br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhx16yzsSBn6gxB5mhWNvIIO-eLqiPjcyti-nBJlBySr07sZLHAhv2KJcBDak1lyaoywV8Xf86KmwclVUNQDIlREnSMbo7tI-rweiOJHDDwpNgw7efyYcpYx6W72hpUZIDqKfhvZcEJy_MM/s1600/img9.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="194" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhx16yzsSBn6gxB5mhWNvIIO-eLqiPjcyti-nBJlBySr07sZLHAhv2KJcBDak1lyaoywV8Xf86KmwclVUNQDIlREnSMbo7tI-rweiOJHDDwpNgw7efyYcpYx6W72hpUZIDqKfhvZcEJy_MM/s320/img9.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;">In the preference panel you may also change the <b>Bluetooth Channel</b>: the default is number <b>0 [auto-assigned]</b>, but if it seems that you cannot start the bluetooth DUN service, enter a value in the range 1-30. Generally this has not effect for new version of Android because the DUN channel is always auto-assigned.</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><strike>Another parameter very important for the connection success is the <b>UDP packet delay</b>; this parameter represents the time delay between each packet sent to the UDP server. Its default value is 50ms but you can increment it (for example set 100ms or 150ms) if the phone has connection issues. </strike> [Deprecated on new versions]</span></div>
<br />
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><strike>If none of the previous actions has success, please enable the "<b>UDP Compatibility</b>" option in the property panel, this option increases the connetion timeout and reduces the download speed, but allows the Comand to connect online. </strike></span><span style="font-family: Arial, Helvetica, sans-serif;">[Deprecated on new versions]</span></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
M.S.http://www.blogger.com/profile/16730205800658918660noreply@blogger.com36tag:blogger.com,1999:blog-5439731905535084081.post-53135536796616447832012-03-01T11:15:00.000+01:002013-05-05T14:06:18.713+02:00BlueDUN issue: why the "Start Service" button has no effect? <br />
<b style="font-family: Arial, Helvetica, sans-serif;"><span style="color: red;">Symptoms</span></b><span style="font-family: Arial, Helvetica, sans-serif;">: when click the "Start Service" button, the status comes back to the green color immediately.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">The BlueDUN application allows to enable the bluetooth DUN profile for Android phones; this profile is not officially supported by Google and you need an app to turn on this feature. </span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">Some firmwares (in particular the Motorola, and some HTC / Sony firmwares) don't allow the registration of DUN profile because it seems already registered even if not available. </span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">To check if the DUN profile is available or not for your device/firmware you can trace the systems logs with the <span style="color: orange;"><a href="https://play.google.com/store/apps/details?id=com.nolanlawson.logcat" target="_blank"><span style="color: orange;">Catlog</span></a> </span>app </span><span style="font-family: Arial, Helvetica, sans-serif;"> </span><span style="font-family: Arial, Helvetica, sans-serif;">(download it from Google Play, it is free):</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">- download and install the Catlog app, open it</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">- open BluDUN and click the "Start Service" button</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">- go back to Catlog and filter by </span><span style="font-family: Arial, Helvetica, sans-serif;">BluetoothService</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">If you find this message</span><span style="font-family: Arial, Helvetica, sans-serif;">:</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;"><b>W/BluetoothService( 448): <span style="color: cyan;">Attempted to register a reserved UUID</span>: 00001103-0000-1000-8000-00805f9b34fb</b></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">you will not able to use the BludDUN app.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">The Catlog app requires a rooted firmware for Jelly Bean; alternatively you can get the same report connecting the phone to a Windows / Mac or Linux PC:</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">1. Download the latest Android SDK (SDK Tools Only) for your SO from Google: </span><a href="http://developer.android.com/sdk/index.html" style="font-family: Arial, Helvetica, sans-serif;" target="_blank"><span style="color: cyan;">Android SDK</span></a><br />
<span style="font-family: Arial, Helvetica, sans-serif;">2. Extract the ZIP file to your desired location</span><span style="font-family: Arial, Helvetica, sans-serif;"></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">3. To get ADB, you need to install the SDK: <a href="http://developer.android.com/sdk/installing/index.html" target="_blank"><span style="color: cyan;">Installing the SDK</span></a><br /> ( execute the SDK Manager and install the "Android SDK Platform Tools" )</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">Make sure in your phone the option Settings” -> “Developer Options” -> “Debugging” ->”<b>USB debugging</b>" is enabled; open a terminal (cmd) and execute the command in the folder .../android-sdk/<b>platform-tools</b>:</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="color: orange; font-family: Arial, Helvetica, sans-serif;"><b>adb logcat</b> </span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;"> starts dumping debugging information from your handset to the console </span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="color: orange; font-family: Arial, Helvetica, sans-serif;"><b>adb logcat -f <logfilename> </b></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;"> starts dumping debugging information from your handset to the file <logfilename></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
##############################################################################<br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;">The Android source code is open, so we can discover where is the problem:</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">If you want enable a profile, you need to call the <i><span style="color: #9fc5e8;">listenUsingRfcommWithServiceRecord</span></i> method of <i><a href="http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.1.1_r1/android/bluetooth/BluetoothAdapter.java" target="_blank"><span style="color: orange;">BluetoothAdapter </span></a></i>class:</span><br />
<br />
<span style="color: #fce5cd; font-family: Helvetica Neue, Arial, Helvetica, sans-serif; font-size: x-small;">925 public BluetoothServerSocket <b>listenUsingRfcommWithServiceRecord</b>(String name, UUID uuid) throws IOException {</span><br />
<span style="color: #fce5cd; font-family: Helvetica Neue, Arial, Helvetica, sans-serif; font-size: x-small;">927 return <b>createNewRfcommSocketAndRecord</b>(name, uuid, true, true);</span><br />
<span style="color: #fce5cd; font-family: Helvetica Neue, Arial, Helvetica, sans-serif; font-size: x-small;">928 }</span><br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">There are 2 parameters: the first one is the name assigned to the new profile (you can see this name from Windows when you list the available BT services), the other is the <a href="http://www.bluetooth.org/Technical/AssignedNumbers/service_discovery.htm" target="_blank"><span style="color: orange;">Universally Unique Identifier (UUID)</span></a> that identifies uniquely the profile type:</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">The base UUID is </span><span style="font-family: Arial, Helvetica, sans-serif;"><b>00000000-0000-1000-8000-00805F9B34FB</b></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">The DUN profile code is <b>1103</b>; </span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">The complete UUID for DUN profile is : <b>00001103-0000-1000-8000-00805F9B34FB</b></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">The listenUsingRfcommWithServiceRecord method calls the createNewRfcommSocketAndRecord method inside:</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="color: #fce5cd; font-family: Helvetica Neue, Arial, Helvetica, sans-serif; font-size: x-small;">999 private BluetoothServerSocket <b>createNewRfcommSocketAndRecord</b>(String name, UUID uuid,</span><br />
<span style="color: #fce5cd; font-family: Helvetica Neue, Arial, Helvetica, sans-serif; font-size: x-small;"> boolean auth, boolean encrypt) throws IOException </span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">and createNewRfcommSocketAndRecord calls:</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="color: #fce5cd; font-family: Helvetica Neue, Arial, Helvetica, sans-serif; font-size: x-small;">1035 handle = mService.<b>addRfcommServiceRecord</b>(name, new ParcelUuid(uuid), channel, new Binder());</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">for registering the service record related to the UUID for a specific bluetooth channel.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">The <b>mService </b>object is declared as an interface (<b>IBluetooth</b>); the implementation is the <a href="http://code.google.com/p/toolib/source/browse/trunk/frameworks/base/core/java/android/server/BluetoothService.java" target="_blank"><span style="color: orange;">BluetoothService</span> </a>class:</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<br />
<table id="src_table_0" style="background-color: white; border-collapse: collapse; color: black; font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; font-size: 12px; margin: 0px; padding: 0px; text-align: start; white-space: pre;"><tbody style="margin: 0px; padding: 0px;">
<tr id="sl_svn115_1816" style="margin: 0px; padding: 0px;"><td class="source" style="margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top; white-space: pre-wrap;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span class="kwd" style="color: #000088;">
public</span><span class="pln"> </span><span class="kwd" style="color: #000088;">synchronized</span><span class="pln"> </span><span class="kwd" style="color: #000088;">int</span><span class="pln"> <b>addRfcommServiceRecord</b></span><span class="pun" style="color: #666600;">(</span><span class="typ" style="color: #660066;">String</span><span class="pln"> serviceName</span><span class="pun" style="color: #666600;">,</span><span class="pln"> </span><span class="typ" style="color: #660066;">ParcelUuid</span><span class="pln"> uuid</span><span class="pun" style="color: #666600;">,</span><span class="pln"><br /></span></span></td></tr>
<tr id="sl_svn115_1817" style="margin: 0px; padding: 0px;"><td class="source" style="margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top; white-space: pre-wrap;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span class="pln"> </span><span class="kwd" style="color: #000088;">int</span><span class="pln"> channel</span><span class="pun" style="color: #666600;">,</span><span class="pln"> </span><span class="typ" style="color: #660066;">IBinder</span><span class="pln"> b</span><span class="pun" style="color: #666600;">)</span><span class="pln"> </span><span class="pun" style="color: #666600;">{</span><span class="pln"><br /></span></span></td></tr>
<tr id="sl_svn115_1818" style="margin: 0px; padding: 0px;"><td class="source" style="margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top; white-space: pre-wrap;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span class="pln"> mContext</span><span class="pun" style="color: #666600;">.</span><span class="pln">enforceCallingOrSelfPermission</span><span class="pun" style="color: #666600;">(</span><span class="pln">BLUETOOTH_PERM</span><span class="pun" style="color: #666600;">,</span><span class="pln"> </span><span class="str" style="color: #008800;">"Need BLUETOOTH permission"</span><span class="pun" style="color: #666600;">);</span><span class="pln"><br /></span></span></td></tr>
<tr id="sl_svn115_1819" style="margin: 0px; padding: 0px;"><td class="source" style="margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top; white-space: pre-wrap;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span class="pln"> </span><span class="kwd" style="color: #000088;">if</span><span class="pln"> </span><span class="pun" style="color: #666600;">(!</span><span class="pln">isEnabledInternal</span><span class="pun" style="color: #666600;">())</span><span class="pln"> </span><span class="kwd" style="color: #000088;">return</span><span class="pln"> </span><span class="pun" style="color: #666600;">-</span><span class="lit" style="color: #006666;">1</span><span class="pun" style="color: #666600;">;</span><span class="pln"><br /></span></span></td></tr>
<tr id="sl_svn115_1820" style="margin: 0px; padding: 0px;"><td class="source" style="margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top; white-space: pre-wrap;"><span class="pln"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><br /></span></span></td></tr>
<tr id="sl_svn115_1821" style="margin: 0px; padding: 0px;"><td class="source" style="margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top; white-space: pre-wrap;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span class="pln"> </span><span class="kwd" style="color: #000088;">if</span><span class="pln"> </span><span class="pun" style="color: #666600;">(</span><span class="pln">serviceName </span><span class="pun" style="color: #666600;">==</span><span class="pln"> </span><span class="kwd" style="color: #000088;">null</span><span class="pln"> </span><span class="pun" style="color: #666600;">||</span><span class="pln"> uuid </span><span class="pun" style="color: #666600;">==</span><span class="pln"> </span><span class="kwd" style="color: #000088;">null</span><span class="pln"> </span><span class="pun" style="color: #666600;">||</span><span class="pln"> channel </span><span class="pun" style="color: #666600;"><</span><span class="pln"> </span><span class="lit" style="color: #006666;">1</span><span class="pln"> </span><span class="pun" style="color: #666600;">||</span><span class="pln"><br /></span></span></td></tr>
<tr id="sl_svn115_1822" style="margin: 0px; padding: 0px;"><td class="source" style="margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top; white-space: pre-wrap;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span class="pln"> channel </span><span class="pun" style="color: #666600;">></span><span class="pln"> </span><span class="typ" style="color: #660066;">BluetoothSocket</span><span class="pun" style="color: #666600;">.</span><span class="pln">MAX_RFCOMM_CHANNEL</span><span class="pun" style="color: #666600;">)</span><span class="pln"> </span><span class="pun" style="color: #666600;">{</span><span class="pln"><br /></span></span></td></tr>
<tr id="sl_svn115_1823" style="margin: 0px; padding: 0px;"><td class="source" style="margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top; white-space: pre-wrap;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span class="pln"> </span><span class="kwd" style="color: #000088;">return</span><span class="pln"> </span><span class="pun" style="color: #666600;">-</span><span class="lit" style="color: #006666;">1</span><span class="pun" style="color: #666600;">;</span><span class="pln"><br /></span></span></td></tr>
<tr id="sl_svn115_1824" style="margin: 0px; padding: 0px;"><td class="source" style="margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top; white-space: pre-wrap;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span class="pln"> </span><span class="pun" style="color: #666600;">}</span><span class="pln"><br /></span></span></td></tr>
<tr id="sl_svn115_1825" style="margin: 0px; padding: 0px;"><td class="source" style="margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top; white-space: pre-wrap;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span class="pln"> </span><b><span class="kwd" style="color: #000088;">if</span><span class="pln"> </span><span class="pun" style="color: #666600;">(</span><span class="typ" style="color: #660066;">BluetoothUuid</span><span class="pun" style="color: #666600;">.</span><span class="pln">isUuidPresent</span><span class="pun" style="color: #666600;">(</span><span class="typ" style="color: #660066;">BluetoothUuid</span><span class="pun" style="color: #666600;">.</span><span class="pln">RESERVED_UUIDS</span><span class="pun" style="color: #666600;">,</span><span class="pln"> uuid</span><span class="pun" style="color: #666600;">))</span><span class="pln"> </span><span class="pun" style="color: #666600;">{</span><span class="pln"><br /></span></b></span></td></tr>
<tr id="sl_svn115_1826" style="margin: 0px; padding: 0px;"><td class="source" style="margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top; white-space: pre-wrap;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><b><span class="pln"> </span><span class="typ" style="color: #660066;">Log</span><span class="pun" style="color: #666600;">.</span><span class="pln">w</span><span class="pun" style="color: #666600;">(</span><span class="pln">TAG</span><span class="pun" style="color: #666600;">,</span><span class="pln"> </span><span class="str" style="color: #008800;">"Attempted to register a reserved UUID: "</span><span class="pln"> </span><span class="pun" style="color: #666600;">+</span><span class="pln"> uuid</span><span class="pun" style="color: #666600;">);</span><span class="pln"><br /></span></b></span></td></tr>
<tr id="sl_svn115_1827" style="margin: 0px; padding: 0px;"><td class="source" style="margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top; white-space: pre-wrap;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><b><span class="pln"> </span><span class="kwd" style="color: #000088;">return</span><span class="pln"> </span><span class="pun" style="color: #666600;">-</span><span class="lit" style="color: #006666;">1</span><span class="pun" style="color: #666600;">;</span><span class="pln"><br /></span></b></span></td></tr>
<tr id="sl_svn115_1828" style="margin: 0px; padding: 0px;"><td class="source" style="margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top; white-space: pre-wrap;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><b><span class="pln"> </span><span class="pun" style="color: #666600;">}</span></b><span class="pln"><br /></span></span></td></tr>
<tr id="sl_svn115_1829" style="margin: 0px; padding: 0px;"><td class="source" style="margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top; white-space: pre-wrap;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span class="pln"> </span><span class="kwd" style="color: #000088;">int</span><span class="pln"> handle </span><span class="pun" style="color: #666600;">=</span><span class="pln"> addRfcommServiceRecordNative</span><span class="pun" style="color: #666600;">(</span><span class="pln">serviceName</span><span class="pun" style="color: #666600;">,</span><span class="pln"><br /></span></span></td></tr>
<tr id="sl_svn115_1830" style="margin: 0px; padding: 0px;"><td class="source" style="margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top; white-space: pre-wrap;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span class="pln"> uuid</span><span class="pun" style="color: #666600;">.</span><span class="pln">getUuid</span><span class="pun" style="color: #666600;">().</span><span class="pln">getMostSignificantBits</span><span class="pun" style="color: #666600;">(),</span><span class="pln"> uuid</span><span class="pun" style="color: #666600;">.</span><span class="pln">getUuid</span><span class="pun" style="color: #666600;">().</span><span class="pln">getLeastSignificantBits</span><span class="pun" style="color: #666600;">(),</span><span class="pln"><br /></span></span></td></tr>
<tr id="sl_svn115_1831" style="margin: 0px; padding: 0px;"><td class="source" style="margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top; white-space: pre-wrap;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span class="pln"> </span><span class="pun" style="color: #666600;">(</span><span class="kwd" style="color: #000088;">short</span><span class="pun" style="color: #666600;">)</span><span class="pln">channel</span><span class="pun" style="color: #666600;">);</span><span class="pln"><br /></span></span></td></tr>
<tr id="sl_svn115_1832" style="margin: 0px; padding: 0px;"><td class="source" style="margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top; white-space: pre-wrap;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span class="pln"> </span><span class="kwd" style="color: #000088;">if</span><span class="pln"> </span><span class="pun" style="color: #666600;">(</span><span class="pln">DBG</span><span class="pun" style="color: #666600;">)</span><span class="pln"> log</span><span class="pun" style="color: #666600;">(</span><span class="str" style="color: #008800;">"new handle "</span><span class="pln"> </span><span class="pun" style="color: #666600;">+</span><span class="pln"> </span><span class="typ" style="color: #660066;">Integer</span><span class="pun" style="color: #666600;">.</span><span class="pln">toHexString</span><span class="pun" style="color: #666600;">(</span><span class="pln">handle</span><span class="pun" style="color: #666600;">));</span><span class="pln"><br /></span></span></td></tr>
<tr id="sl_svn115_1833" style="margin: 0px; padding: 0px;"><td class="source" style="margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top; white-space: pre-wrap;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span class="pln"> </span><span class="kwd" style="color: #000088;">if</span><span class="pln"> </span><span class="pun" style="color: #666600;">(</span><span class="pln">handle </span><span class="pun" style="color: #666600;">==</span><span class="pln"> </span><span class="pun" style="color: #666600;">-</span><span class="lit" style="color: #006666;">1</span><span class="pun" style="color: #666600;">)</span><span class="pln"> </span><span class="pun" style="color: #666600;">{</span><span class="pln"><br /></span></span></td></tr>
<tr id="sl_svn115_1834" style="margin: 0px; padding: 0px;"><td class="source" style="margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top; white-space: pre-wrap;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span class="pln"> </span><span class="kwd" style="color: #000088;">return</span><span class="pln"> </span><span class="pun" style="color: #666600;">-</span><span class="lit" style="color: #006666;">1</span><span class="pun" style="color: #666600;">;</span><span class="pln"><br /></span></span></td></tr>
<tr id="sl_svn115_1835" style="margin: 0px; padding: 0px;"><td class="source" style="margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top; white-space: pre-wrap;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span class="pln"> </span><span class="pun" style="color: #666600;">}</span><span class="pln"><br /></span></span></td></tr>
<tr id="sl_svn115_1836" style="margin: 0px; padding: 0px;"><td class="source" style="margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top; white-space: pre-wrap;"><span class="pln"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><br /></span></span></td></tr>
<tr id="sl_svn115_1837" style="margin: 0px; padding: 0px;"><td class="source" style="margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top; white-space: pre-wrap;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span class="pln"> </span><span class="kwd" style="color: #000088;">int</span><span class="pln"> pid </span><span class="pun" style="color: #666600;">=</span><span class="pln"> </span><span class="typ" style="color: #660066;">Binder</span><span class="pun" style="color: #666600;">.</span><span class="pln">getCallingPid</span><span class="pun" style="color: #666600;">();</span><span class="pln"><br /></span></span></td></tr>
<tr id="sl_svn115_1838" style="margin: 0px; padding: 0px;"><td class="source" style="margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top; white-space: pre-wrap;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span class="pln"> mServiceRecordToPid</span><span class="pun" style="color: #666600;">.</span><span class="pln">put</span><span class="pun" style="color: #666600;">(</span><span class="kwd" style="color: #000088;">new</span><span class="pln"> </span><span class="typ" style="color: #660066;">Integer</span><span class="pun" style="color: #666600;">(</span><span class="pln">handle</span><span class="pun" style="color: #666600;">),</span><span class="pln"> </span><span class="kwd" style="color: #000088;">new</span><span class="pln"> </span><span class="typ" style="color: #660066;">Integer</span><span class="pun" style="color: #666600;">(</span><span class="pln">pid</span><span class="pun" style="color: #666600;">));</span><span class="pln"><br /></span></span></td></tr>
<tr id="sl_svn115_1839" style="margin: 0px; padding: 0px;"><td class="source" style="margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top; white-space: pre-wrap;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span class="pln"> </span><span class="kwd" style="color: #000088;">try</span><span class="pln"> </span><span class="pun" style="color: #666600;">{</span><span class="pln"><br /></span></span></td></tr>
<tr id="sl_svn115_1840" style="margin: 0px; padding: 0px;"><td class="source" style="margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top; white-space: pre-wrap;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span class="pln"> b</span><span class="pun" style="color: #666600;">.</span><span class="pln">linkToDeath</span><span class="pun" style="color: #666600;">(</span><span class="kwd" style="color: #000088;">new</span><span class="pln"> </span><span class="typ" style="color: #660066;">Reaper</span><span class="pun" style="color: #666600;">(</span><span class="pln">handle</span><span class="pun" style="color: #666600;">,</span><span class="pln"> pid</span><span class="pun" style="color: #666600;">),</span><span class="pln"> </span><span class="lit" style="color: #006666;">0</span><span class="pun" style="color: #666600;">);</span><span class="pln"><br /></span></span></td></tr>
<tr id="sl_svn115_1841" style="margin: 0px; padding: 0px;"><td class="source" style="margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top; white-space: pre-wrap;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span class="pln"> </span><span class="pun" style="color: #666600;">}</span><span class="pln"> </span><span class="kwd" style="color: #000088;">catch</span><span class="pln"> </span><span class="pun" style="color: #666600;">(</span><span class="typ" style="color: #660066;">RemoteException</span><span class="pln"> e</span><span class="pun" style="color: #666600;">)</span><span class="pln"> </span><span class="pun" style="color: #666600;">{}</span><span class="pln"><br /></span></span></td></tr>
<tr id="sl_svn115_1842" style="margin: 0px; padding: 0px;"><td class="source" style="margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top; white-space: pre-wrap;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span class="pln"> </span><span class="kwd" style="color: #000088;">return</span><span class="pln"> handle</span><span class="pun" style="color: #666600;">;</span><span class="pln"><br /></span></span></td></tr>
<tr id="sl_svn115_1843" style="margin: 0px; padding: 0px;"><td class="source" style="margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top; white-space: pre-wrap;"><span class="pln"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"> </span></span><span class="pun" style="color: #666600;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;">}</span>
</span></td></tr>
</tbody></table>
<br />
<span style="font-family: Arial, Helvetica, sans-serif;">Inside this method you can see the call: <b>BluetoothUuid.isUuidPresent(BluetoothUuid.RESERVED_UUIDS, uuid)</b></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">and if it fails, returns the message showed in the system log: </span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: Arial, Helvetica, sans-serif;"><b>Attempted to register a reserved UUID: 00001103-0000-1000-8000-00805F9B34FB</b></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;"> </span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">The </span><span style="font-family: Arial, Helvetica, sans-serif;"><b>isUuidPresent </b>method of </span><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.1.1_r1/android/bluetooth/BluetoothUuid.java" target="_blank"><span style="color: orange;">BluetoothUuid </span></a>class </span><span style="font-family: Arial, Helvetica, sans-serif;">checks if the UUID you want to register is free; </span><span style="font-family: Arial, Helvetica, sans-serif;">in other words, the firmware defines a list of taken UUID and the method checks if your UUID is included or not in this list. If included, you cannot register the new profile.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> </span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">The list is fixed and it is given by the <b>RESERVED_UUIDS </b>constant:</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="color: #fce5cd; font-family: Helvetica Neue, Arial, Helvetica, sans-serif; font-size: x-small;">RESERVED_UUIDS = { AudioSink, AudioSource, AdvAudioDist, HSP, Handsfree, AvrcpController, AvrcpTarget, ObexObjectPush, PANU, NAP }</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">Usually the list doesn't include the DUN profile:</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;">AudioSink ="0000110B-0000-1000-8000-00805F9B34FB"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;">AudioSource ="0000110A-0000-1000-8000-00805F9B34FB"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;">AdvAudioDist ="0000110D-0000-1000-8000-00805F9B34FB"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;">HSP ="00001108-0000-1000-8000-00805F9B34FB"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;">HSP_AG ="00001112-0000-1000-8000-00805F9B34FB"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;">Handsfree ="0000111E-0000-1000-8000-00805F9B34FB"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;">Handsfree_AG ="0000111F-0000-1000-8000-00805F9B34FB"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;">AvrcpController ="0000110E-0000-1000-8000-00805F9B34FB"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;">AvrcpTarget ="0000110C-0000-1000-8000-00805F9B34FB"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;">ObexObjectPush ="00001105-0000-1000-8000-00805f9b34fb"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;">Hid ="00001124-0000-1000-8000-00805f9b34fb"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;">PANU ="00001115-0000-1000-8000-00805F9B34FB"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;">NAP ="00001116-0000-1000-8000-00805F9B34FB"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;">BNEP ="0000000f-0000-1000-8000-00805F9B34FB"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;">PBAP_PSE ="0000112f-0000-1000-8000-00805F9B34FB"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br />On the other hand, if the DUN profile was added in this list the BluetoothUuid.isUuidPresent returns true; you get the message "Attempted to register a reserved UUID: " the app will not able to register the new profile!</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">The question is: <u>why is the DUN profile is included inside this list if the DUN profile is not implemented?</u></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br />Probably the reason is that the manufacturer doesn't want the DUN profile is enabled at the application level in their devices; maybe for security issues.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>M.S.http://www.blogger.com/profile/16730205800658918660noreply@blogger.com1