Page 1 of 1

How to connect from saved?

Posted: Sat Oct 04, 2008 2:06 pm
by neil.young
If I once have passed discovery (DiscoverDevices) and identified the RemoteDevice as well as the "currentService" (DiscoverSerivces) on the remote device: What would I need to restore from file, if I would like to connect next time without a new Discovery/Service-Selection?

RE: How to connect from saved?

Posted: Sat Oct 04, 2008 7:36 pm
by Jonas
If you know the address and the service channel you can use ConnectService to connect directly to the service on a remote device.

Regards,
Jonas

RE: How to connect from saved?

Posted: Tue Oct 07, 2008 7:28 pm
by neil.young
Oops, got no mail indication, hence that late...

"address and the service channel" - could you please specifiy exactly, what properties of what objects?

Regards

RE: How to connect from saved?

Posted: Tue Oct 07, 2008 9:10 pm
by Jonas
The Address object contains the address to the device and the service channel specifies which service you wish to connect to.

Read in the reference manual about Address or look at the ObexFTPClient sample. It contains a sample on how to connect directly to a service.

Regards,
Jonas

RE: How to connect from saved?

Posted: Wed Oct 08, 2008 2:45 am
by neil.young
Thanks again.