Multicasting Issues in Android Host
in
Android Processing
•
2 years ago
I am working on USB Connectivity between android 2.1 Host and Windows Mobiles 6.1 device...When I connect the windows mobile device to android host through USB (in RNDIS Mode), It is appearing as 'eth1' interface.
Case 1: I connected my Samsung Galaxy I7500 phone (android phone) to my Host (android) through USB Cable. It was in ECM Mode.It is detecting as 'usb0' device.
Case 2: I connected Windows Mobile to my Host(android) through USB Cable.It was in RNDIS Mode.It is detecting as 'eth1' device.
I connected Samsung phone and tried to send multicasting packets through 'usb0' interface...It is working fine...
Also i connected Windows Mobiles phone and tried to send multicasting packets through 'eth1' interface... But it "Cannot join Multicasting Group"...
Being both USB Devices, Why multicasting is not allowed in virtual ethernet connection(eth1) ?
Please provide me some help...
Thanks in advance
Regards,
Ganesh
Result of "ifconfig"
eth1 Link encap:Ethernet HWaddr 80:00:60:0f:e8:00
inet addr:169.254.2.2 Bcast:169.254.2.255 Mask:255.255.255.0
inet6 addr: fe80::8200:60ff:fe0f:e800/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14 errors:7 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1264 (1.2 KB) TX bytes:5477 (5.4 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:240 (240.0 B) TX bytes:240 (240.0 B)
Case 1: I connected my Samsung Galaxy I7500 phone (android phone) to my Host (android) through USB Cable. It was in ECM Mode.It is detecting as 'usb0' device.
Case 2: I connected Windows Mobile to my Host(android) through USB Cable.It was in RNDIS Mode.It is detecting as 'eth1' device.
I connected Samsung phone and tried to send multicasting packets through 'usb0' interface...It is working fine...
Also i connected Windows Mobiles phone and tried to send multicasting packets through 'eth1' interface... But it "Cannot join Multicasting Group"...
Being both USB Devices, Why multicasting is not allowed in virtual ethernet connection(eth1) ?
Please provide me some help...
Thanks in advance
Regards,
Ganesh
Result of "ifconfig"
eth1 Link encap:Ethernet HWaddr 80:00:60:0f:e8:00
inet addr:169.254.2.2 Bcast:169.254.2.255 Mask:255.255.255.0
inet6 addr: fe80::8200:60ff:fe0f:e800/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14 errors:7 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1264 (1.2 KB) TX bytes:5477 (5.4 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:240 (240.0 B) TX bytes:240 (240.0 B)
1