Hi All,
I am facing some problems using FTP over Bluetooth using OBEX in WinCE 5.0.
I am using USB Stack for my device and i added the PAN profilrsupport also.

I am able to receive files from a "XP" PC to my Win CE device successfully.
ie i am able to establish a connection from my CE device to XP PC.
Using XP's standarad feature of "send to Bluetooth device", i am able to
successfully send file from XP to CE device.

But i also need to try sending files from CE device to XP .For that i am
using the "Obextool.exe" which is a part of Public code in WInCE 5.0.
When i run this application, i am able to scan and find all the devices in
the vicinity.
But when i try to connect to the device, its says "connection failled".
I added FTP server support also. But connection always fails.

The code where the problem happens in Obextool.exe is as follows.
//now, using the object, connect up
hr = pObexDevice->Connect(0,0,pHeaderCollection);
this function fails.

Do anybody has an idea of whats going wrong?
Any suggestion regarding this would be most welcome
Warm Regards
Ajith

Re: Bluetooth FTP Connection Issue with Obextool.exe by voidcoder

voidcoder
Fri Nov 02 08:49:54 PDT 2007


Well, are you doing "Receive file from the device"
on XP side (yet another standard XP feature) when
connecting/sending file from the device?

--
Oleg


Ajith wrote:
> Hi All,
> I am facing some problems using FTP over Bluetooth using OBEX in WinCE 5.0.
> I am using USB Stack for my device and i added the PAN profilrsupport also.
>
> I am able to receive files from a "XP" PC to my Win CE device successfully.
> ie i am able to establish a connection from my CE device to XP PC.
> Using XP's standarad feature of "send to Bluetooth device", i am able to
> successfully send file from XP to CE device.
>
> But i also need to try sending files from CE device to XP .For that i am
> using the "Obextool.exe" which is a part of Public code in WInCE 5.0.
> When i run this application, i am able to scan and find all the devices in
> the vicinity.
> But when i try to connect to the device, its says "connection failled".
> I added FTP server support also. But connection always fails.
>
> The code where the problem happens in Obextool.exe is as follows.
> //now, using the object, connect up
> hr = pObexDevice->Connect(0,0,pHeaderCollection);
> this function fails.
>
> Do anybody has an idea of whats going wrong?
> Any suggestion regarding this would be most welcome
> Warm Regards
> Ajith
>

Re: Bluetooth FTP Connection Issue with Obextool.exe by Ajith

Ajith
Sat Nov 03 00:14:01 PDT 2007

Hi,
Do i need to enable something in a host XP pc before trying to connect to
using Obextool.exe running on CE?
As of now, i am not doing anything in the XP side, but connection fails.
Do i need to enable the option before trying to connect?
Would you suggest me what exactly i should do?
Thanks and regards
Ajith

"voidcoder" wrote:

>
> Well, are you doing "Receive file from the device"
> on XP side (yet another standard XP feature) when
> connecting/sending file from the device?
>
> --
> Oleg
>
>
> Ajith wrote:
> > Hi All,
> > I am facing some problems using FTP over Bluetooth using OBEX in WinCE 5.0.
> > I am using USB Stack for my device and i added the PAN profilrsupport also.
> >
> > I am able to receive files from a "XP" PC to my Win CE device successfully.
> > ie i am able to establish a connection from my CE device to XP PC.
> > Using XP's standarad feature of "send to Bluetooth device", i am able to
> > successfully send file from XP to CE device.
> >
> > But i also need to try sending files from CE device to XP .For that i am
> > using the "Obextool.exe" which is a part of Public code in WInCE 5.0.
> > When i run this application, i am able to scan and find all the devices in
> > the vicinity.
> > But when i try to connect to the device, its says "connection failled".
> > I added FTP server support also. But connection always fails.
> >
> > The code where the problem happens in Obextool.exe is as follows.
> > //now, using the object, connect up
> > hr = pObexDevice->Connect(0,0,pHeaderCollection);
> > this function fails.
> >
> > Do anybody has an idea of whats going wrong?
> > Any suggestion regarding this would be most welcome
> > Warm Regards
> > Ajith
> >
>

Re: Bluetooth FTP Connection Issue with Obextool.exe by Ajith

Ajith
Tue Nov 06 22:53:01 PST 2007

hi,
it works now. i enabled the receive file option in the XP using bluettoth
file transfer wizard and hence i am able to trasmit files from CE.
Thanks a lot
ajith

"voidcoder" wrote:

>
> Well, are you doing "Receive file from the device"
> on XP side (yet another standard XP feature) when
> connecting/sending file from the device?
>
> --
> Oleg
>
>
> Ajith wrote:
> > Hi All,
> > I am facing some problems using FTP over Bluetooth using OBEX in WinCE 5.0.
> > I am using USB Stack for my device and i added the PAN profilrsupport also.
> >
> > I am able to receive files from a "XP" PC to my Win CE device successfully.
> > ie i am able to establish a connection from my CE device to XP PC.
> > Using XP's standarad feature of "send to Bluetooth device", i am able to
> > successfully send file from XP to CE device.
> >
> > But i also need to try sending files from CE device to XP .For that i am
> > using the "Obextool.exe" which is a part of Public code in WInCE 5.0.
> > When i run this application, i am able to scan and find all the devices in
> > the vicinity.
> > But when i try to connect to the device, its says "connection failled".
> > I added FTP server support also. But connection always fails.
> >
> > The code where the problem happens in Obextool.exe is as follows.
> > //now, using the object, connect up
> > hr = pObexDevice->Connect(0,0,pHeaderCollection);
> > this function fails.
> >
> > Do anybody has an idea of whats going wrong?
> > Any suggestion regarding this would be most welcome
> > Warm Regards
> > Ajith
> >
>