[Q] BT Serial Service on Polaris to connect to Mac - Touch Cruise Android Development

Hi, hopefully someone can help me with the following question :
I just flashed my Polaris100 to Android 2.2, which works very good now. I'd like to use this device with the XCSoar navigation program, which normally gets its GPS data via the built in GPS.
During winter I'd like to connect my polaris to my Mac via Bluetooth using the serial port service, so that XCSoar can get it's NMEA data from my soaring simulator (SilentWings). So I need to transfer NMEA data from my Mac to my Polaris. This helps me to practice during the winter period. In WM6.1 this was easily done, because:
a) the serial service was build in
b) all used com-ports were shown in the settings menu or could be hacked to show/be edited.
So my questions are:
a) how can I activate the serial service in Android
b) how can I see which com-port is then used for my polaris BT connection (I need to set this port in XCSoar as external device)
I could not find a workable solution on the www or on this forum. I mean "workable", because most solutions or discussions are written in very technical terms and code, but I am an end-user and not familiar with all these terms. I do not know terminal commands as well...
Thanks for your help, Reno

I've never used Bluetooth, I connected to the computer through USB

Eh... what do you suggest by that? Although USB stands for Universal Serial Bus, it isn't recognized by the GPS app as a com-port. As I understood in that case I need a usb-serial service on both my mac as my android, right?
So can you be more specific and tell me how to do it with a usb connection?
Thanks, R.

Related

Damn GPS and Program not communicating

So i have this program combined with this GPS aerial. However it would appear they have had a fight and will not communicate! Well to be honest i am unable to open a Com port according to the program...
This is from the site:
I think I know the correct port and speed, but trying to connect always yield's "Failed to open COM Port."
The access to a COM-port is mutual exclusive which means, that only one program may have access to the receiver at once.
If you are using TomTom, please try the following:
On the PocketPC, uninstall the TomTom ~GPS application (that and only that one)
Don't do it via the PC, do it on the PDA directly
The uninstall routine will ask for a soft reset. After that, everything (including TomTom) will work
Most probably another program or driver is blocking the port.
Click to expand...
Click to collapse
Now - this and Pocket Informant are the only 2 programs i ahve had running and also the only ones on my XDA after my Hard Resset last night
What is the problem and how do i fix it? Has anyone else had this issue - i have looked under their Success page for those with problems like mine but i cant find my combination or anyhting close
Also Oziexplorer was working with it up until i hard-resetted it so i know that the GPS works.
Com port
Had the same problem.
Disconnect the IR which is using the comport. Got to the connections setup and disable.
Directly after this has been done TomTom finds the GPS.
Rien
Absolute freaking legend...
Immediately after shutting the infrared off it switched on - it must block the com port from anything going in then...
So the big question remains - Why was Oziexplorer working with it?
Dopod M700
Same problem with my Dopod M700 + GPS Receiver + OziExplorer.
Where will we find another port to close it?
uncheck
"receive all incoming beams"
in network

Does HTC Cruise work like a modem?

I've a software to control a locator GPS-GSM device and I need my HTC works like a modem. When I put my HTC into the USB must be recognized like a COM (start-control pannel- system-hardware-device administrator) to make a data call via this software. It musn't initiate the Active Sync software.
This software only works when a modem is connected. Before I connected my V3 Motorola Phone.
Any solutions?
Thanks
You can disable the ActiveSync on your PDA, just activate it, Menu -> connections, untick...
But for what reason would you wan't to use it as a modem? use it as a wired GPS device or connect to the Internet using it?
If the First, I'd recommend the Franson GPSGate, for the second use the ICS (internet sharing) App on your PDA...
I want my HTC Cruise was recognized like a modem when I connect it with the PC via USB.
Why?
Because I must download tracks from a GPS-GSM locator device installed into my car to recover my car if it were stolen, via software installed in the PC.
Before I connected my V3 Motorola Phone via USB to the PC, then it was recognized like a modem USB in COM4 for example. Then I set the communications setting from the software and I maked a data call from the software PC via V3 phone to the SIM installed into the car.
Now I need to connect my HTC instead of V3 and I expect it was recognized like a modem in certain COM.
Do you understand me?
Thanks
Yes this can be done.
1. Connect TC to PC like you would to sync. (you do need to make the active sync setting for allow wireless connection is checked)
2. go to progarms on the Pocket PC. There you find an app called Interent sharing.
3. Hit conect once you open the progarm.
4. Do what you need on the net.
I don't need sync the HTC with the PC and I don´t need to connect to the net.
Let's imagine that we want to use the hyperterminal program in the PC, you must select a modem that it's installed in a certain COM with a desired speed, protocol, etc
Do you understand now?
Thank you.
I guess I'm seeing where this is headed...
Basicly you wan't the PDA to show up as a Dial-Up modem... I've done a bit of searching and with WM6, the dial-up modem function has been effectively replaced by the ICS, the main reason is, it was a b*tch to configure for internet access, and that is use of it in 99% of cases...
Unless the program you're using needs to actually see the modem I'd try to configure the ICS (add an extra connection) to connect to it... if it needs to see it as a modem, (and you want to keep the PDA), get a cheap phone that you can occasionally use as a modem for this task
Using the ICS will disable the activesync for that connection, but if you wan't to disable the activesync just follow the steps mentioned before...
I reckon bluetooth is the only way to go for this, need to dig out my BT dongle to check but I think it should allow you to use the phones dial-up service.
Maybe this?
Maybe you need this?
http://www.mobile-stream.com/usbmodem_wm.html

[Q] Simple RxTx Communication from Android (How to?)

Hey everyone, small question about how to do serial communication (send/receive basic commands) between android and a microcontroller.
Basically trying to do some simple RxTx serial communication from my Galaxy S, simply send/receive hexadecimal commands.
After some pretty intense googling, it seems the more likely option for serial communication would be over bluetooth, as apparently using the single external COM port will involve a lot of custom code/hacking/drivers. Plan on creating hopefully a simple program.
Wondering if anyone is aware of any custom applications that allow me to do simple send/receive commands over BT? or even the COM port...
Overall my project will be to read the water temperature of my car from my ECU (over the consult port), which involves sending simple hexadecimal commands to the ECU, getting a response and converting the response to a decimal number, which i intend to display on my phone so i can monitor the water temp (will get the value to constantly update). So my main hurdle is getting Android to communicate to the consult port. Initially would have plugged the phone directly to the consult port, but using a bluetooth connection will be equivalent at the end of the day.
Thanks, any help is appreciated!
Josh.
Any help appreciated. Thanks

[Q] Serial Output on Android Phone

Hello! I am new to this forum, I figured you guys may be able to provide some input on a project I want to undertake.
I would like to use an Android phone (Probably an unlocked Chinese model running 2.2) as the brains for a remote control project. Since the phone has a GPS, Camera, and GSM connectivity all built in (and low power consumption) it seems it would be the perfect solution. To control the device, I was hoping connect a serial/usb servo controller (Pololu Micro Maestro) to the phone. However, I am having trouble finding any information on the viability of connecting a serial device to the phone – can this be *reasonably* done?
I appreciate any information you can provide!
try a google search for bluetooth to serial adapter. that will be the quickest/easiest/most likely to be workable hack.
next up would involve USB-Serial adapter(choppin wires to attach your necessary connector), generics are dirt cheap, but you would need kernel support. drivers/usb/serial/ is most likely where you would be looking, most of the generics use prolific chips. quick check would be to lsusb in a terminal and see if something pops up.
yea id go with bluetooth - serial adapter.
That is a good idea... I will do some checking. Thank you!

Bluetooth sniffing (chineese device)

Hi.
I recently bought chinesse device that connects via bluetooth with android phone / tablet. Since there is no application availible for windows / linux I want to create one for personal usage.
Usually phone connects to the device and exchanges some data. I connected PC to the device and looked into serial debugger and menaged to discover the protocol (one way only). Phone sends only one command to the device. But this time I'm not able to find out what it containts.
Is there any software that will allow me to look into data sent via bluetooth? I tried decompiling the app, but it looks really unfriendly.
Thanks.

Categories

Resources