The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Support Software > No Longer Supported Software > PhoneControl

Reply
 
Thread Tools Display Modes
Old 04-16-2005, 10:04 PM   #1
RoadRunner Mastermind
guino's CarPC Specs
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Vehicle: 04/Mazda/RX-8
Posts: 8,028
My Photos: (5)
Hate doing this: Two little problems...

Hi Zorro & guys.. I've been playing around with my new phone today along with Phoco (1.4 Registered - Thanks Zorro) ... I'm trying to get it to a fully working condition so I can improve/fix some of RR's issues with Phoco.

I have two little problems:

1-I can get all phonebooks, and call lists, make calls and get battery/signal statuses no problem.. I only have a problem when trying to receive a phone call: The phone rings and imediately says "you have 1 missed call". I thought this was a phone setting so I looked and looked and found nothing. Then I tried it with Phoco Closed and the phone call came in perfectly (ringing normally). So I figured the connection to the computer could be the issue, so I went into hyperterminal and opened the port manually and called in again: I could see the 'RING's comming in and, when I entered "ATA", it answered the phone correctly, meaning there's nothing wrong with having the computer connected while the phone call comes in (by connected I mean the BT connection to provide the serial port only).. After looking at settings, manuals, forums and such, I could not find wrong with it except this excerpt from the log file:

----------------------------------------------------------------------------
16.04.2005 22:37:08 Error in LoadPhonebook: PhoneCtl.PB.xml
System.ArgumentException: DataSet can be associated with at most one XmlDataDocument. Cannot associate the DataSet with the current XmlDataDocument because the DataSet is already associated with another XmlDataDocument.
at System.Xml.XmlDataDocument.Init(DataSet ds)
at System.Xml.XmlDataDocument..ctor(DataSet dataset)
at PhoneCtl.NET.frmMain.LoadPhonebook(Int32 pi_iPBIndex)
----------------------------------------------------------------------------

The Above is what Phoco logs exactly at the time the phone is supposed to ring. I ran a Port Logger and found that immediately after the phone rings Phoco is:
-writing the above to log then
-closing and re-opening the serial port then
-sending the ATZ command (which is proably what hangs up the phone at such time).

I did searches on the error message above and found nothing of help.. I have a SE T637 and I downloaded the Setup for Phoco today (4-16). Also, after so many tries, I even updated it with the binaries to check for any differences -- stil same issue. The Phone book file is in the right place, it is not currupted and it has what seems to be the correctly formatted XML data of my contacts. I'm only writing because I ran out of options.

Also, not so important:

2-Some of the Serial Ports listed in Phoco (the ones I need) are messed up in Phoco's list (and only there). Ports like COM10 show as COM10c and COM11 show like COM11c -- and it seems to prevent phoco from using them. Other ports like COM6 show as COM62 or COM9 show like COM92.. I have been able to manage around this by switching my Regional Settings to German Format and removing/re-adding the serial port I needed and it then displays it correctly (COM12 right now). Since I was going to write already, I thought I'd mention and take a screen shot of it. I must re-inforce the fact that this happens only in Phoco. I have tested with hyperterminal and other terminal applications and they work fine with the serial ports setup (no wrong names).

Sorry for the long post (I just hate not giving enough details), Thanks in advance.. any clue is certainly appreciated.
Attached Images
 
__________________
Road Runner,RR's Myspace

"Being happy is not about having what you want, it's about wanting what you have."
"The best things in life are always free - but that doesn't mean money can't buy you good things."
guino is offline   Reply With Quote
Sponsored Links
Old 04-17-2005, 01:41 AM   #2
Phone Control Moderator
 
zorro's Avatar
 
Join Date: Mar 2004
Location: Munich, Germany
Vehicle: 1998 Audi A3
Posts: 1,901
My Photos: (0)
Ok, can you please mail me the logfile from this session and your Config?

The error message is a bit strange but it shouldn't cause PhoCo to re-initialize. Also, it's not supposed to load any phonebooks at runtime unless you click one of the phonebook buttons.
Usually this (re-init) happens only when a timeout occurs (which you'll see in the log as well). You're right about the ATZ, it's cutting off any connection. To aviod this, you may set UseReset to False in your config.

The second issue is very strange. I'm reading the COM ports from the registry (HKLM\Hardware\Devicemap\Serialcomm). You may have a look there to check whether it's messed up there. I had this once with the MS Bluetooth drivers which appended a non-readable character to the name. Didn't find the reason yet.
__________________
Skinning to go... VisualDesigner2!
zorro is online now   Reply With Quote
Old 04-17-2005, 02:45 AM   #3
FreeDrive Creator
CdRsKuLL's CarPC Specs
 
CdRsKuLL's Avatar
 
Join Date: Feb 2004
Location: Manchester
Vehicle: Ferrari 360 (nearly)
Posts: 3,197
My Photos: (5)
ok.. shoot me if you want..

I use this code to scan the com ports to find out which ones are there

Code:
Public Function ComPortExists(ByVal ComPort As Integer) _ As Boolean Dim udtComConfig As COMMCONFIG Dim lUDTSize As Long Dim lRet As Long lUDTSize = LenB(udtComConfig) lRet = GetDefaultCommConfig("COM" + Trim(Str(ComPort)) + _ Chr(0), udtComConfig, lUDTSize) ComPortExists = lRet <> 0 End Function

and use it to list in a combo box like

Code:
For n = 1 To 30 ports = ComPortExists(n) If ports Then Combo2.AddItem n Next n

may not help.. but thought I would post it anyway :-)

CdR
__________________
www.extremeoc.co.uk me building a murcielago kitcar ! - check it out !
www.cellsecurity.co.uk are my new employer ! - yeah I got a job !
CdRsKuLL is offline   Reply With Quote
Old 04-17-2005, 02:57 AM   #4
Phone Control Moderator
 
zorro's Avatar
 
Join Date: Mar 2004
Location: Munich, Germany
Vehicle: 1998 Audi A3
Posts: 1,901
My Photos: (0)
Yap... works as well.

Only thing to mention here is: You get more and more software generating strange virtualport COM ports (such as COM1001).

May I shoot you anyway?
__________________
Skinning to go... VisualDesigner2!
zorro is online now   Reply With Quote
Old 04-17-2005, 03:04 AM   #5
FreeDrive Creator
CdRsKuLL's CarPC Specs
 
CdRsKuLL's Avatar
 
Join Date: Feb 2004
Location: Manchester
Vehicle: Ferrari 360 (nearly)
Posts: 3,197
My Photos: (5)
please do.. I went out last night.. first time in months. GOD my head hurts !
__________________
www.extremeoc.co.uk me building a murcielago kitcar ! - check it out !
www.cellsecurity.co.uk are my new employer ! - yeah I got a job !
CdRsKuLL is offline   Reply With Quote
Old 04-17-2005, 03:05 AM   #6
Phone Control Moderator
 
zorro's Avatar
 
Join Date: Mar 2004
Location: Munich, Germany
Vehicle: 1998 Audi A3
Posts: 1,901
My Photos: (0)
Guino, one thing I might figured out with RR and PhoCo:

If you start PhoneCtl.NET.exe, you should wait at least 5 seconds until you proceed (you may do other initialization in the meantime). Then, check for a TCP connection to PhoCo. If you get that connection, you have to wait for the "Init stage=2" event/message before you send messages to PhoCo.
If you send anything before PhoCo is in stage 2 of the init sequence, it may cause some wierd side effects.
__________________
Skinning to go... VisualDesigner2!
zorro is online now   Reply With Quote
Old 04-17-2005, 03:12 AM   #7
Phone Control Moderator
 
zorro's Avatar
 
Join Date: Mar 2004
Location: Munich, Germany
Vehicle: 1998 Audi A3
Posts: 1,901
My Photos: (0)
Quote: Originally Posted by CdRsKuLL
please do.. I went out last night.. first time in months. GOD my head hurts !

Ouch... this is the price you have to pay for getting older
__________________
Skinning to go... VisualDesigner2!
zorro is online now   Reply With Quote
Old 04-17-2005, 04:07 AM   #8
RoadRunner Mastermind
guino's CarPC Specs
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Vehicle: 04/Mazda/RX-8
Posts: 8,028
My Photos: (5)
Thanks guys... here's my registry: (I'll pm the log -- it has phonebook lists in it). Also, I did click on the values and they have no weird character behind them -- but they are UNICODE if that is of concern..
Attached Images
 
__________________
Road Runner,RR's Myspace

"Being happy is not about having what you want, it's about wanting what you have."
"The best things in life are always free - but that doesn't mean money can't buy you good things."
guino is offline   Reply With Quote
Old 04-17-2005, 04:50 AM   #9
RoadRunner Mastermind
guino's CarPC Specs
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Vehicle: 04/Mazda/RX-8
Posts: 8,028
My Photos: (5)
Ok, sorry to bother you guys with this.. there was something wrong with my WIDCOMM .. I don't think it installed right the first time.. I re-installed it and it works fine now -- except that I can only connect to 1 one serial port (because they're both mapped to COM13).. I'll look into how I can "fix" this... Thanks for the help anyway.. sorry for the trouble.. it's weird how mostly everything worked except one little thing..
__________________
Road Runner,RR's Myspace

"Being happy is not about having what you want, it's about wanting what you have."
"The best things in life are always free - but that doesn't mean money can't buy you good things."
guino is offline   Reply With Quote
Old 04-17-2005, 04:55 AM   #10
Phone Control Moderator
 
zorro's Avatar
 
Join Date: Mar 2004
Location: Munich, Germany
Vehicle: 1998 Audi A3
Posts: 1,901
My Photos: (0)
I suppose you mean in the BT-Neighborhood you see "Serial Port 1" & "Serial Port 2" for your T637 but in the properties you see the assigned COM port is COM13 on both, right?

This is no bug, this is by design of Widcomm.
You have to go to the "Extended Config" and add a new COM Port (on the "Client Services" tab), then assign the new COM port to the second serial port.
__________________
Skinning to go... VisualDesigner2!
zorro is online now   Reply With Quote
Sponsored Links
Old 04-17-2005, 05:16 AM   #11
RoadRunner Mastermind
guino's CarPC Specs
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Vehicle: 04/Mazda/RX-8
Posts: 8,028
My Photos: (5)
oh cool.. I'll look it up... what I want is just a way to use the Analog/Switch connection when needed..

Thanks for your great help! I'll be testing/fixing some things in RR tomorrow (gotta get some breakfest and sleep now.. 6am ouch..)
__________________
Road Runner,RR's Myspace

"Being happy is not about having what you want, it's about wanting what you have."
"The best things in life are always free - but that doesn't mean money can't buy you good things."
guino is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
opus problems studmonk3y Power Supplies 9 03-29-2005 04:09 PM
Hard drive shock problems. Michael Szilagyi General Hardware Discussion 8 03-21-2005 03:37 PM
Problems with Panasonic slimline slotload DVD+/-RW UJ-825-B waynel General Hardware Discussion 10 12-31-2004 12:33 AM
Dell Inspiron 8200 & Lilliput TS problems? bkpsu LCD/Display 1 08-15-2004 01:55 PM
I hate my life lstrunk Off Topic 57 10-17-2003 09:08 AM


All times are GMT -5. The time now is 04:46 AM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics