Re: how to disable Default OBEX Server.



You have to listen on the channel which is assigned when you register your service record. There is a description of the process of creating an SDP record and listening on a service in the SDK documentation. I'm assuming you are using C++ code? if not there is a shared-source .NETCF library which includes the ObexListener which already does what you need - http://inthehand.com/content/32feet.aspx

Peter

--
Peter Foot
Microsoft Device Application Development MVP
www.peterfoot.net | www.inthehand.com
In The Hand Ltd - .NET Solutions for Mobility

"prn" <pravin691983@xxxxxxxxx> wrote in message news:2a92ac2d-a648-4945-a003-c20c50ae8542@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Apr 8, 5:55 pm, "Peter Foot" <feedb...@xxxxxxxxxxxxxxxxxxxx> wrote:
The OBEX server runs as a service and so you must stop it. You can P/Invoke
CreateFile with the service identifier (think from memory it is OBX0:) and
ServiceIOControl with IOCTL_SERVICE_STOP to do this.

Peter

--
Peter Foot
Microsoft Device Application Development MVPwww.peterfoot.net|www.inthehand.com
In The Hand Ltd - .NET Solutions for Mobility

"prn" <pravin691...@xxxxxxxxx> wrote in message

news:c860c0c7-5521-4d29-a54b-ed3345f746b3@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx



> Hello,
> I need to develop my own server over bluetooth using normal
> socket communication for windows mobile 6.0 device. Now there is a
> default obex server already running on the device, i need to disable
> this and get all the obex requests in my application. I tried by
> registering for OBEXFileTransferService and then listening on
> that..but i do
> not get the requests..it goes to the default obex server..How do i
> get
> my server running?

> Any help would be greatly appreciated..
> Waiting for your replies..please help.- Hide quoted text -

- Show quoted text -

******************************************************************************

Hi,
Thank you for your reply.
I have disabled the default obex server by making changes
Now,my server application is listening for OBEXFileTransferService,
but when i try to send any file from any device,
I dont get the connection request from the client..i am using
sockets.
What am i doing wrong? is there any port or something on which i shd
listen?
Waiting for your reply.

.



Relevant Pages

  • Re: ISA 2004 & companyweb
    ... You cannot access companyweb via http://comanyweb ... By default the Web Listener is listening on the external network adapter. ... Server computer in the selected network". ... Please send the IIS metabase to me for further analysis: ...
    (microsoft.public.windows.server.sbs)
  • Re: Trust Between 2 domain Controllers
    ... Here the netdiag status of the server ripples... ... Testing DNS ... LISTENING ... Binding Paths: ...
    (microsoft.public.win2000.active_directory)
  • Re: how to disable Default OBEX Server.
    ... There is a description of the process of creating an SDP ... record and listening on a service in the SDK documentation. ... I need to develop my own server over bluetooth using normal ... I have disabled the default obex server by making changes ...
    (microsoft.public.pocketpc.developer)
  • Re: RealVNC
    ... Default listening port for RealVNC server that runs on the machine on which ... Then there is default Java listening port on port 5800 on the client machine ...
    (microsoft.public.windows.server.sbs)
  • Re: how to disable Default OBEX Server.
    ... CreateFile with the service identifier and ... I need to develop my own server over bluetooth using normal ... I have disabled the default obex server by making changes ... Now,my server application is listening for OBEXFileTransferService, ...
    (microsoft.public.pocketpc.developer)

Loading