Enable networking protocols over usb - Android Drones General & Development

This is too specific issue I encoutred with the Sony Experia XZ and somehow only this phone have this problem, The story is that I'm trying to connect a DJI Phantome 4 remote controller with this phone, but the phone doesn't even recognize that I've connected something over USB, in the beginning I thought that the remote controller is defected, but after testing it with a bunch of other Android SF with the same version 7 all of them works perfectly with the DJI RC over USB with debugging mode active, I've posted the problem in the Sony forum and I've got this answer :
Hi @zerubeus As @nolramlb has said above, I too have had trouble connecting the Dji controller to the XZ. The only information regarding usb connectivity issues was that the XZ does not support the networking protocols over usb that the phantom controllers may or may not use. I have asked Dji which service the controller uses to connect but they did not reply to my query, similarly, I asked Sony mobile support why this may be happening and they found that usb ethernet services are not supported. Whether this is the service dji use, I don't know, and only dji can say for sure if that service is the one they use on Android.
Click to expand...
Click to collapse
Now my question is how I cant enable networking protocols, is it just a software layer or the hardware is involved here ? If it is a software restriction does a root to the device can solve that problem ?

Related

search team for sixaxis bluetooth drivers

Hi.
I'm looking for gamepad for playing with my Pocket PC.I try to use the hidgamep.dll but untill now it is not successful....
There is the gamepad for chainpus but seems my pocket Pc not work with it.I would like to use the PS3 sixaxis or dualchok 3.But there is probléme with them if yuo open your bluetooht and try to find this gamepad device you won't find them.I read and search on interent and found some handle.I use ubuntu ans sixpaire for change adresse (adresse of my pocket pc's bluetooth) where the bluetooth gamepad must pair and try to pair.But the trouble is the same no sony's gamepad seen...After thinking may be it is the bluetooth stack (I think mine is Microsoft) wich is weak there is may be some lake in the stack/driver...(because under ubuntu or windows you must setup/update the usb and the bluetooth drivers.So can any one help me in this project writting a driver for the sixaxis/dualshok 3 bluetooth gamepad?
I install the widcomm bluetooth stack but when I try to start the bluetooth " I get message there is not enought memory for start bluetooth"
I'm less than a beginner in program devellopement.
I think it would be great to play with this gamepad with the emulator (Gameboy advance, psone,Snes or famicom ect..)
Thank.
Me Too
It's a very good idea , i'm looking for this too and no response !!!
That will verry good to play with mY HTC HD2 with a gamepad playstation 3 en Fpsece !!!!!
No Genius Xda Developers to this ?????
...
When pairing a new Dualshock3 with the PS3, you should recall that you must connect it via USB the first time in order for it to pair from that point on. If you try to use said controller on a different PS3, you have to connect the controller via USB once again in order to initiate pairing with the new machine, erasing the controller's tie with the original PS3. Even the PS3 does not just see it out there and connect. If this were to ever work, you would more than likely need to develop an application that allowed you to connect the controller to you phone via usb for the initial setup.
That in itself has its own problems. There are usb host drivers for certain devices, however I highly doubt it would recognize a Dualshock3 out of the box. So most likely you would need:
Modified USB host drivers
A Program to handle the USB setup of the controller itself
Probably a proprietary Bluetooth profile
Now i'm no expert on PS3 inner workings so I cant say for sure what profile you would need or if it wouldnt work with an existing supported profile. Before you cross that bridge however, I would think you'd need to at least setup the pairing through USB which is its own challenge.
Can anyone else provide more input/revise my answer?
I'm sure that plugging the PS3 remote into a PC could yield some information about how they connect it to the PS3.. an ID or something that gets changed every time maybe? I doubt you could just grab the PS3 remote, plug it in and go from there, but there has to be some kind of ID that you can associate with the controller and call from your phone to connect to it.
The sixaxis stores the address of its master and will only communicate through Bluetooth with its master.
I wrote a program (finished last Friday night) to change the master address of the sixaxis to whatever I want from a Windows PC, in this case my phone's bluetooth mac address, so now the sixaxis sees my phone as its master and is ready to communicate with it.
But that was the easy part. (Actually it wasn't easy at all, and very time consuming, but easy in comparison to the remaining tasks). Now I need to write a program that will run on the phone and read the connection attempts (and all other data) from the sixaxis and respond in a manner that the sixaxis will understand.
Anyone know of a good Bluetooth Packet Sniffer that runs on Windows Mobile?
best of luck with this Cobaltikus.... would love to see this happen!
CobaltController
http://forum.xda-developers.com/showthread.php?t=689984

[Q] any updates on cobaltcontroller(ps3 pad) for android?

Has anybody heard any news on cobaltcontroller or any apps which allow the ps3 controller to be used on android?
can anybody give me some sort of update?
I'm sure a lot of people are wondering
Wish i knew how to port stuff.
His cobalt controller how to tells how to get the PS3 controllers address, which seems is the big problem.
attempts are closer
Well I have been trying to pick up where cobaltus left off.. I have android recognoizing a ds3 and can even setup.the pairing process. But of course the last hurdle remains and that is determining the Bluetooth password for the ds3 controller. What I assume is happening is that the ps3 controller sends out a randomly generated password each time the USB cable is connected ... so what I need is to see the backend or the code psjoy is receiving . Are there any windows developers out there that could open up cobalt controller and see how it gets the Bluetooth passcode for.the controller. Besides that...we have it. Everyone is welcome on this project!
didnt try doing what cobaltious is doing on win mobile, cancel cancel cancel cancel cancel cancel it doesnt work? he says it works after doing that
i was just hoping we could get some sort of update or even help from cobaltikus himself
I haven't used CobaltController in almost a year, but I remember the pairing process meant that I needed to connect the controller to my computer first and use some program (in Windows) that could access the controller to tell it that it is paired to my phone's Bluetooth MAC address.
Personally i use BlueputDroid (from android market) to control my ps3 over bluetooth.
birchnick10 said:
Well I have been trying to pick up where cobaltus left off.. I have android recognoizing a ds3 and can even setup.the pairing process. But of course the last hurdle remains and that is determining the Bluetooth password for the ds3 controller. What I assume is happening is that the ps3 controller sends out a randomly generated password each time the USB cable is connected ... so what I need is to see the backend or the code psjoy is receiving . Are there any windows developers out there that could open up cobalt controller and see how it gets the Bluetooth passcode for.the controller. Besides that...we have it. Everyone is welcome on this project!
Click to expand...
Click to collapse
I look forward to developments on this
Sent from my Xoom using Tapatalk
Now that Android 3.1 supports PS3 controller natively (USB Only) do you think it will now be easier for someone to get it working over bluetooth?
here's hoping...!

Remote Sound connectivity to my Android

Hi guys
I have a small issue with my remote connectivity to my android, I hope you guys can help with, the scenario is simple and my target is to connect to my android remotely through my laptop while the android is connected to my PC in the other room through USB cable, so what I have done already is that am connecting the Android to the PC through a USB cable and the PC to the Laptop through the LAN, now am connecting Remote desktop from my laptop to the PC and on the PC I installed application that can connect to the android so I can totally see the skin of my android and control it, but the final thing I wish to do is to make a phone call, here I connect a Bluetooth to the PC and I connect the Bluetooth as free handset to the android it didn't totally work,
So guys as you see its interesting scenario and if we work together we can accomplish something really assume
Really appreciate your help, Thanks
There are some computers that can act as a bluetooth "headphone", I'm one of the lucky ones.
Hang on while I search for my bluetooth drivers...
Bluetooth Radio by Qualcomm Atheros
Driver for my Asus N56: http://dlcdnet.asus.com/pub/ASUS/nb/DriversForWin8/Bluetooth/Bluetooth_Atheros_Win8_64_Z800206.zip
It appears that most of the Atheros bluetooth cards support this feature.
Thanks AmeesingNoob
But the thing is that I already got a Bluetooth USB connected to my PC working as a Hands free, so from the PC itself I can do Voice call through the PC speaker and headset but my trouble is that I can’t do this through the Remote laptop that is connected to this PC
So it would be like this:
Mobile Phone Sound > A2DP > Computer 1 > Computer 2
Click to expand...
Click to collapse
Am I right?
Exactly,
the first connection is between the mobile and the Computer 1 which it is a USB connection, and the second one is between Computer 1 and Computer 2 which it is a LAN / WAN connection.
Ah. Sounds like something I could use too.
I did some searches on Google and browsed some forums; found this.
PulseAudio is a sound server, a background process accepting sound input from one or more sources (processes or capture devices) and redirecting it to one or more sinks (sound cards, remote network PulseAudio servers, or other processes). -- Wikipedia
Click to expand...
Click to collapse
Please note that this software only runs partially (command line, no gui) on Windows. It was written for Linux computers.
mhhhh
I will try to download it and test it , then I will post my result in here
hope it will do the job,
Good luck!

Ant+ on nexus 10

If I understand it correctly, ant+ is the same 2.4 GHz as wifi and I see there is an ant+ driver on the play store. So will ant+ networking work on the n10 (or any android 4.2 tablet) or is it something the manufacturer need to hardwire into the hardware?
I have several devices including several heart rate monitors and a bike cadence / speed sensor I would like to use with my tablets. I use them on another android device and the frequency is there... So there should be a way to get then n10 to recognize it?
Ant+ driver on play store: https://play.google.com/store/apps/details?id=com.dsi.ant.service.socket
Anyone got ideas or a solution.?
Thanks!
The 2.4Ghz band is used by many different wireless products (ANT+, Wi-Fi, Bluetooth, cordless phones, car alarms etc), but they will not run on your tablet without the correct firmware and drivers to run them. The N10 does not have ANT+ firmware or drivers (there's a list of devices on the Play Store page you link to) on the hardware it includes. So yes, the manufacturer must build a device that has ANT+ built in to it.
However, you can still use ANT+ on your device. As the N10 supports the USB Host feature, you should be able to connect an ANT USB stick with the ANT USB Service (play.google.com/store/apps/details?id=com.dsi.ant.usbservice) and a USB OTG cable.
Hopefully this is a solution which works for everyone until there are more devices available with built in ANT+!
metaled222 said:
If I understand it correctly, ant+ is the same 2.4 GHz as wifi and I see there is an ant+ driver on the play store. So will ant+ networking work on the n10 (or any android 4.2 tablet) or is it something the manufacturer need to hardwire into the hardware?
I have several devices including several heart rate monitors and a bike cadence / speed sensor I would like to use with my tablets. I use them on another android device and the frequency is there... So there should be a way to get then n10 to recognize it?
Ant+ driver on play store: play.google.com/store/apps/details?id=com.dsi.ant.service.socket
Anyone got ideas or a solution.?
Thanks!
Click to expand...
Click to collapse
iRant said:
The 2.4Ghz band is used by many different wireless products (ANT+, Wi-Fi, Bluetooth, cordless phones, car alarms etc), but they will not run on your tablet without the correct firmware and drivers to run them. The N10 does not have ANT+ firmware or drivers (there's a list of devices on the Play Store page you link to) on the hardware it includes. So yes, the manufacturer must build a device that has ANT+ built in to it.
However, you can still use ANT+ on your device. As the N10 supports the USB Host feature, you should be able to connect an ANT USB stick with the ANT USB Service (play.google.com/store/apps/details?id=com.dsi.ant.usbservice) and a USB OTG cable.
Hopefully this is a solution which works for everyone until there are more devices available with built in ANT+!
Click to expand...
Click to collapse
Using the otg+USB on the N10 is an option at the gym on a stationary bike or stair climber. Just have to be REAL careful about the USB port and doing any damage. Using it with my Samsung Tab 2 7.0 and my bike would be a little trickier since I have a weather-proof case that mounts to the handlebars. Getting a USB stick or cable into it would not work. Such a shame since there are so many great sport/fitness programs for Android that do support ant+. A little surprising that Google would note code it into their hardware since they are all about tracking/obtaining data.
Could it be done with a custom ROM or is it even deeper in the hardware?
Going to have to do some real hard research for my next tablet.... Find something that does it all?
Thanks for the insight!
The N10 ANT+ hardware has been enabled with the "ANT+ Enabler": http://forum.xda-developers.com/hardware-hacking/hardware/ref-devices-ant-hardware-t2879990

[Help] Xbox One controller to Android

Is it possible to use an Xbox one controller on android, I have seen conflicting statements, and if not just staight up, is there any way to get it working. Thank you guys. I do know this is probably a question thats extremely stupid to alot of you and it means alot for this help. Thanks
That depends entirely on how you intend to connect it......
If you intend to use a 'wired' controller via the USB socket on the phone then yes it is possible....though you will need an app of some sort to 'map' the buttons correctly.
If you intend to connect wirelessly, then you're out of luck.....had it been a PS3 or PS4 controller, it would have been a different story.
The xbox controller transmits via RF signals whereas the Sony equivalent transmits via bluetooth.
We can pair bluetooth devices to the phone without issue....but that's not the case for RF devices.
The only reason I know this is because I went through something similar in order to use ePSXe to play PS1 games on my S5 ....In the end I had to get a Moga bluetooth controller to do the job......
Edit.....My bad.....I was commenting about xbox 360 controllers.....just noticed you have an xbox one controller......which connects via wi fi (I believe). That has possibilities.....have you tried connecting it by wi fi direct? If it does connect that way, you'll still need some method of mapping the buttons. It may be the case that someone needs to develop an app that makes the devices communicate with each other too....afraid I haven't looked into that though....never needed it....
Sorry fella...
Edit 2.....just done a bit of research, it turns out there is no 'native' support in Android for wireless controllers, you (apparently) need an interface app and/or a rooted device that you can add/change code on....
http://i.imgur.com/rVnFwJM.jpg
keithross39 said:
That depends entirely on how you intend to connect it......
If you intend to use a 'wired' controller via the USB socket on the phone then yes it is possible....though you will need an app of some sort to 'map' the buttons correctly.
If you intend to connect wirelessly, then you're out of luck.....had it been a PS3 or PS4 controller, it would have been a different story.
The xbox controller transmits via RF signals whereas the Sony equivalent transmits via bluetooth.
We can pair bluetooth devices to the phone without issue....but that's not the case for RF devices.
The only reason I know this is because I went through something similar in order to use ePSXe to play PS1 games on my S5 ....In the end I had to get a Moga bluetooth controller to do the job......
Edit.....My bad.....I was commenting about xbox 360 controllers.....just noticed you have an xbox one controller......which connects via wi fi (I believe). That has possibilities.....have you tried connecting it by wi fi direct? If it does connect that way, you'll still need some method of mapping the buttons. It may be the case that someone needs to develop an app that makes the devices communicate with each other too....afraid I haven't looked into that though....never needed it....
Sorry fella...
Edit 2.....just done a bit of research, it turns out there is no 'native' support in Android for wireless controllers, you (apparently) need an interface app and/or a rooted device that you can add/change code on....
Click to expand...
Click to collapse
I mean obviously wired, sorry shouldve specified
dalekman9999 said:
I mean obviously wired, sorry shouldve specified
Click to expand...
Click to collapse
In that case, yes it's possible. Here are a couple of youtube videos showing how it's done.........
https://youtu.be/yJ5KmhkBKcU
https://youtu.be/eDQqMH4POFQ
Though on one of them, it says that it probably won't work with the S5 stock firmware (some c**p to do with knox or something).....
http://i.imgur.com/rVnFwJM.jpg
Anyone else got anything that could help, Tried everything else still not working there has to be a way to get it working. Should mention its an S5
keithross39 said:
In that case, yes it's possible. Here are a couple of youtube videos showing how it's done.........
https://youtu.be/yJ5KmhkBKcU
https://youtu.be/eDQqMH4POFQ
Though on one of them, it says that it probably won't work with the S5 stock firmware (some c**p to do with knox or something).....
http://i.imgur.com/rVnFwJM.jpg
Click to expand...
Click to collapse
Couldnt get any of this to work sadly :/
dalekman9999 said:
Couldnt get any of this to work sadly :/
Click to expand...
Click to collapse
Then I don't know what else to suggest....sorry fella.....
Have you thought about the alternatives available?
As I said earlier, I use this setup....
http://www.amazon.co.uk/gp/aw/d/B00...dpPl=1&dpID=41fFpK+LwOL&ref=plSrch&th=1&psc=1
.....and it works very well...no wires either.
All you have to do is to install the Moga Pivot app, turn bluetooth on and sync the devices....
http://i.imgur.com/rVnFwJM.jpg
now you can pair the Xbox one S controller (design lab included)with Bluetooth
BUT you need to update firmware first and add a profile to it with the Xbox accessories app (Xbox one or win10 store)
tailslol said:
now you can pair the Xbox one S controller (design lab included)with Bluetooth
BUT you need to update firmware first and add a profile to it with the Xbox accessories app (Xbox one or win10 store)
Click to expand...
Click to collapse
I understand updating the firmware...but why do we need to add a profile to it?
You need a Keyboard Layout File or the button mapping will be off. http://forum.xda-developers.com/shi...-one-slim-controller-bluetooth-t3398014/page2
LAwLB15 said:
I understand updating the firmware...but why do we need to add a profile to it?
Click to expand...
Click to collapse
it add it automatically after the update,it inter the controller owner by itself.
has anyone made any forward progress on this idea? I'm thinking about swapping my elite controller for an Xbox One S controller because I would find connecting to my phone much more useful than the elite features I seldom use.
mascondante said:
has anyone made any forward progress on this idea? I'm thinking about swapping my elite controller for an Xbox One S controller because I would find connecting to my phone much more useful than the elite features I seldom use.
Click to expand...
Click to collapse
yea Microsoft made the xbox one S controller fully android compatible by firmware upgrade ( you need a cable and a app on pc or xbox one.)
and this controller is bluetooth compatible.making most xbox one original controller (and elite) obsolete.
Anyone have any info on getting the second edition of the Xbox One controller with built-in bluetooth to work on Android?
bump just finished doing the firmware update on my gamepad, reset it and my phone, still thinks my triggers are my right stick. nothing in the xbox accessories app to switch axis around. sigh.

Categories

Resources