Need help in Bluetooth reverse tethering

577 views
Skip to first unread message

vijay Badawadagi

unread,
Jan 6, 2012, 8:29:25 AM1/6/12
to android...@googlegroups.com, android-...@googlegroups.com
Hi,

We are able to get Bluetooth tether on ICS in NAP role, things like connecting PC to the tethered device and browse, but the reverse is not working. BT enabled device in PANU role is not working, i cannot browse from mobile phone by connecting it to another phone which is NAP. I always get the internet connection not found, I did ensure that when the connection is established the option to use the device internet is enabled for the NAP role device.


The changes needed for the
framework/base/core/res/res/values/config.xml are in place because of which NAP role is functional.

Any pointers to get PANU role functional from phone.

Thanks
Vijay

vijay Badawadagi

unread,
Jan 7, 2012, 5:06:30 PM1/7/12
to android...@googlegroups.com, android-...@googlegroups.com

any updates to this, still not able to get the PANU role functional :(

Pavan Savoy

unread,
Jan 9, 2012, 3:37:49 PM1/9/12
to android-...@googlegroups.com, Jaikumar Ganesh, android...@googlegroups.com
On Sat, Jan 7, 2012 at 4:06 PM, vijay Badawadagi
<vijayba...@gmail.com> wrote:
>
> any updates to this, still not able to get the PANU role functional :(

Well surprising that even after matching the init.rc and the
config.xml entries to that of the samsung galaxy nexus on ice cream
sandwich we seem to be missing something to get the reverse tethering
working ....

anything else we should be looking at ?

> --
> You received this message because you are subscribed to the Google Groups
> "android-platform" group.
> To post to this group, send email to android-...@googlegroups.com.
> To unsubscribe from this group, send email to
> android-platfo...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/android-platform?hl=en.

--
--Pavan Savoy

Pavan Savoy

unread,
Jan 9, 2012, 3:40:08 PM1/9/12
to android-...@googlegroups.com, ma...@google.com, android...@googlegroups.com
Matthew any hints ??

--
--Pavan Savoy

Pavan Savoy

unread,
Jan 11, 2012, 11:23:09 AM1/11/12
to Matthew Xie, android-...@googlegroups.com, android...@googlegroups.com
On Wed, Jan 11, 2012 at 2:00 AM, Matthew Xie <ma...@google.com> wrote:
> Pavan
> Sorry for late response. Which version and build of Galaxy Nexus did you
> use, CDMA or UMTS?
> I just tried reverse tethering using a Verizon Galaxy nexus phone. It works
> fine.

Matthew, We got it working.
However, we had 2 development platforms - 1 with no modem and another
with modem and data interface rmnetX up and running.

We are trying to figure out what needs to be done to get reverse
tethering working on NO modem platform since via the modem platform
when the data connection is removed we do see the BT tethering working
fine...

It would help us to know the basic building blocks ?? As of now we
know of upstream interface configuration as bnep0 and that's about it
...
Anything specific required to kick start ConnectivityService ? etc... ?

> Thanks
> Matthew

--
--Pavan Savoy

Jaikumar Ganesh

unread,
Jan 11, 2012, 12:53:06 PM1/11/12
to android-...@googlegroups.com, Matthew Xie, android...@googlegroups.com
On Wed, Jan 11, 2012 at 8:23 AM, Pavan Savoy <pavan...@gmail.com> wrote:
On Wed, Jan 11, 2012 at 2:00 AM, Matthew Xie <ma...@google.com> wrote:
> Pavan
> Sorry for late response. Which version and build of Galaxy Nexus did you
> use, CDMA or UMTS?
> I just tried reverse tethering using a Verizon Galaxy nexus phone. It works
> fine.

Matthew, We got it working.
However, we had 2 development platforms - 1 with no modem and another
with modem and data interface rmnetX up and running.

We are trying to figure out what needs to be done to get reverse
tethering working on NO modem platform since via the modem platform
when the data connection is removed we do see the BT tethering working
fine...

It would help us to know the basic building blocks ?? As of now we
know of upstream interface configuration as bnep0 and that's about it
...
Anything specific required to kick start ConnectivityService ? etc... ?

The routing part is handled by Connectivity Service. Look at BluetoothTetheringDataTracker.java which calls into Connectivity Service for reverse tethering. 

vijay Badawadagi

unread,
Jan 11, 2012, 1:10:16 PM1/11/12
to android-...@googlegroups.com, Matthew Xie, android...@googlegroups.com

Yes in our case, messages were not being propagated to connectivity service from Bluetooth Data tracker.


Thanks every one for the help


Regards
Vijay

david wu

unread,
Feb 16, 2012, 11:28:23 PM2/16/12
to android-platform
Hi,

Do you make Bluetooth reverse tethering working fine?
My phone has similar problem;
"messages were not being propagated to connectivity service
from Bluetooth Data tracker."

There is a java exception, and it make the android reboot.
I think the handler is not valid!

I/dalvikvm( 1335): java.lang.NullPointerException:
I/dalvikvm( 1335): at
android.bluetooth.BluetoothTetheringDataTracker.stopReverseTether(BluetoothTetheringDataTracker.java:
298)
I/dalvikvm( 1335): at
android.server.BluetoothPanProfileHandler.handlePanDeviceStateChange(BluetoothPanProfileHandler.java:
285)
I/dalvikvm( 1335): at
android.server.BluetoothService.handlePanDeviceStateChange(BluetoothService.java:
2102)
I/dalvikvm( 1335): at
android.server.BluetoothEventLoop.onPanDevicePropertyChanged(BluetoothEventLoop.java:
512)
I/dalvikvm( 1335): at dalvik.system.NativeStart.run(Native
Method)
I/dalvikvm( 1335): at dalvik.system.NativeStart.run(Native
Method)


On Jan 12, 2:10 am, vijay Badawadagi <vijaybadawad...@gmail.com>
wrote:
> Yes in our case, messages were not being propagated to connectivity service
> from Bluetooth Data tracker.
>
> Thanks every one for the help
>
> Regards
> Vijay
>
> On Wed, Jan 11, 2012 at 11:53 AM, Jaikumar Ganesh <jaikum...@gmail.com>wrote:
>
>
>
>
>
>
>
>
>
> > On Wed, Jan 11, 2012 at 8:23 AM, Pavan Savoy <pavan.sa...@gmail.com>wrote:
>
> >> On Wed, Jan 11, 2012 at 2:00 AM, Matthew Xie <ma...@google.com> wrote:
> >> > Pavan
> >> > Sorry for late response. Which version and build of Galaxy Nexus did you
> >> > use, CDMA or UMTS?
> >> > I just tried reverse tethering using a Verizon Galaxy nexus phone. It
> >> works
> >> > fine.
>
> >> Matthew, We got it working.
> >> However, we had 2 development platforms - 1 with no modem and another
> >> with modem and data interface rmnetX up and running.
>
> >> We are trying to figure out what needs to be done to get reverse
> >> tethering working on NO modem platform since via the modem platform
> >> when the data connection is removed we do see the BT tethering working
> >> fine...
>
> >> It would help us to know the basic building blocks ?? As of now we
> >> know of upstream interface configuration as bnep0 and that's about it
> >> ...
> >> Anything specific required to kick start ConnectivityService ? etc... ?
>
> > The routing part is handled by Connectivity Service. Look at
> > BluetoothTetheringDataTracker.java which calls into Connectivity Service
> > for reverse tethering.
>
> >> > Thanks
> >> > Matthew
>
> >> > On Mon, Jan 9, 2012 at 12:40 PM, Pavan Savoy <pavan.sa...@gmail.com>
> >> wrote:
>
> >> >> Matthew any hints ??
>
> >> >> On Mon, Jan 9, 2012 at 2:37 PM, Pavan Savoy <pavan.sa...@gmail.com>
Reply all
Reply to author
Forward
0 new messages