Feature request - connection problems with multiple devices
Feature request - connection problems with multiple devices
I have two phones I'm using at the moment as I've just upgraded from a k750i to a k800i. I'm using your software to try to copy my contacts across as I've tried the sony software on two machines now and it's not worked on either...
Your program detects both phones fine, but can I request a change to the behaviour when I click connect.
The two phones I have use different com ports. One uses COM6, the other COM10. If I swop phones the program detects it fine (I get a popup in the taskbar), but when I click connect the program errors saying it can't find anything on that COM port.
I have to go to options and click detect to swop the com port over. Once that's done it connects fine.
Could I suggest updating the code to the following:
- Store the com port settings for each phone that's been detected so far
- When connect is pressed, search com ports in order of most recent use
- If no phones found, ask the user if they want to detect a new one
I'm also finding that it's a bit awkward copying contacts across because the program creates a different user for each phone. I'm experimenting with this now, may well give some more feedback once I've got this done.
Thanks for a great program, ten times better than the garbage Sony's written.
Ross
Your program detects both phones fine, but can I request a change to the behaviour when I click connect.
The two phones I have use different com ports. One uses COM6, the other COM10. If I swop phones the program detects it fine (I get a popup in the taskbar), but when I click connect the program errors saying it can't find anything on that COM port.
I have to go to options and click detect to swop the com port over. Once that's done it connects fine.
Could I suggest updating the code to the following:
- Store the com port settings for each phone that's been detected so far
- When connect is pressed, search com ports in order of most recent use
- If no phones found, ask the user if they want to detect a new one
I'm also finding that it's a bit awkward copying contacts across because the program creates a different user for each phone. I'm experimenting with this now, may well give some more feedback once I've got this done.
Thanks for a great program, ten times better than the garbage Sony's written.
Ross
Heh, just found another time this falls over.
I forgot to bring my cable in to work today so connected the phone via bluetooth - that means I've now got a different com port being used for this phone.
So I'm back to my original thinking. Is there any way you could identify the phone automatically, making the com port settings redundant? Can you read a serial number or such from the phones?
If you could, there would be no need to store the com port used for each phone - when the user clicks connect you could just scan the com ports, and when you find a phone, see if it's one that's known or if it's new, and ask the user if they want to connect to it.
I'm thinking you'd need to ask the user because with bluetooth there can be quite a few phones in range.
None of this is vital by any means - the program works great, I've just got a nasty habbit of creating work for others
I forgot to bring my cable in to work today so connected the phone via bluetooth - that means I've now got a different com port being used for this phone.
So I'm back to my original thinking. Is there any way you could identify the phone automatically, making the com port settings redundant? Can you read a serial number or such from the phones?
If you could, there would be no need to store the com port used for each phone - when the user clicks connect you could just scan the com ports, and when you find a phone, see if it's one that's known or if it's new, and ask the user if they want to connect to it.
I'm thinking you'd need to ask the user because with bluetooth there can be quite a few phones in range.
None of this is vital by any means - the program works great, I've just got a nasty habbit of creating work for others
Its not a question if its possible. Your solution would work great if all users in the world uses the original USB-Cable. A virtual COM-Port via Bluetooth exists always - no way to detect a new device. If you want to scan this virtual COM-Port then MyPhoneExplorer hangs up to 10 seconds - thats bullshit.
I still reckon I could do that. It should be possible to create a multi-threaded routine to do the checking. The delay on the threads that are checking a bluetooth port won't affect the other threads, and the user can be informed as soon as any phone is found.
It's up to you. I'll happily have a go at this if it's ok with you.
It's up to you. I'll happily have a go at this if it's ok with you.