Wireless Communication Library Support Forum
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
Wireless Communication Library Support Forum
»
Frameworks
»
Bluetooth Framework
»
Exception during paring
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Exception during paring (Read 24024 times)
Raj
Guest
Exception during paring
«
on:
November 04, 2008, 07:34:59 AM »
Hi Mike,
During paring through Microsoft Bluetooth driver, I am getting this error.
Please suggest me something.
Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
Logged
Mike Petrichenko
Bluetooth Framework Developer
Administrator
Hero Member
Posts: 3675
Karma: 1000
Re: Exception during paring
«
Reply #1 on:
November 04, 2008, 11:39:18 AM »
it may appears because invalid PIN. Use Try/catch to catch the exceptions and check it.
Logged
Bluetooth Framework
IrDA Framework
Serial Framework
WiFi Framework
Raj
Guest
Re: Exception during paring
«
Reply #2 on:
November 05, 2008, 09:19:16 AM »
Hi Mike,
I am calling wclFTPClient.dir() from the wclFTP_DirCompletedEvent()
but the wclOBEXDirCompleteEventArgs is not changing. Please suggest me something.
wclOBEXDirCompleteEventArg returns the same file listing every time. What may be the problem ?
Logged
Mike Petrichenko
Bluetooth Framework Developer
Administrator
Hero Member
Posts: 3675
Karma: 1000
Re: Exception during paring
«
Reply #3 on:
November 05, 2008, 09:23:09 AM »
It works completly correct. You are in directory and call Dir method to list files in this directory. After listing done (inside event handler) you call Dir again and get the listing in the same directory again. So it will never change.
Logged
Bluetooth Framework
IrDA Framework
Serial Framework
WiFi Framework
Raj
Guest
Re: Exception during paring
«
Reply #4 on:
November 05, 2008, 09:36:42 AM »
Inside event handler I am doing.
1> Set the path.
2> Set a flag.
In the operationcompleted event calling dir again.
according to the flag doing something and as I have set the path previously now dircompleted event handler should return the new list of files and folders.
Logged
Mike Petrichenko
Bluetooth Framework Developer
Administrator
Hero Member
Posts: 3675
Karma: 1000
Re: Exception during paring
«
Reply #5 on:
November 05, 2008, 10:14:08 AM »
Yes, if setpath operation completes with WCL_ERROR_SUCCESS then dir will return new list, otherwise the path is not changed.
Logged
Bluetooth Framework
IrDA Framework
Serial Framework
WiFi Framework
Raj
Guest
Re: Exception during paring
«
Reply #6 on:
November 05, 2008, 10:36:15 AM »
thanks for your support, I have resolved the problem.
I am not setting the path correctly
Logged
Mike Petrichenko
Bluetooth Framework Developer
Administrator
Hero Member
Posts: 3675
Karma: 1000
Re: Exception during paring
«
Reply #7 on:
November 05, 2008, 11:01:09 AM »
You are welcome!
Logged
Bluetooth Framework
IrDA Framework
Serial Framework
WiFi Framework
Raj
Guest
Re: Exception during paring
«
Reply #8 on:
November 11, 2008, 03:58:57 PM »
Hi Mike,
Why the file count is returned 0 sometimes for an connected device.
However when I restart the application then the file count > 0
Can you suggest me the possible error.
So that I can resolve.
Logged
Mike Petrichenko
Bluetooth Framework Developer
Administrator
Hero Member
Posts: 3675
Karma: 1000
Re: Exception during paring
«
Reply #9 on:
November 11, 2008, 04:05:33 PM »
May be your application changes current directory and the new one is empty?
Logged
Bluetooth Framework
IrDA Framework
Serial Framework
WiFi Framework
Raj
Guest
Re: Exception during paring
«
Reply #10 on:
November 19, 2008, 03:23:43 PM »
No my application does not changes any directory. I am making the array list of current file path, and the array list is showing me the correct path.
Logged
Mike Petrichenko
Bluetooth Framework Developer
Administrator
Hero Member
Posts: 3675
Karma: 1000
Re: Exception during paring
«
Reply #11 on:
November 19, 2008, 03:36:50 PM »
Show your code which works with directories.
Logged
Bluetooth Framework
IrDA Framework
Serial Framework
WiFi Framework
Print
Pages: [
1
]
Go Up
« previous
next »
Wireless Communication Library Support Forum
»
Frameworks
»
Bluetooth Framework
»
Exception during paring
Sitemap
1
2
3
4
5
6
7