hajoko
Posts: 46
Joined: Thu Dec 18, 2008 2:05 pm
Location: Germany
Contact: Website

network events

Mon Jan 12, 2009 10:56 pm

Hi again,

the network.devicelost event - when ist it started? Does network check devices automatically or does it need a corrupted stream?

hajoko

Jonas
Posts: 2319
Joined: Mon Jan 09, 2006 2:20 pm
Location: Sweden

RE: network events

Tue Jan 13, 2009 9:07 am

That event only fires when you run a DeviceDiscovery

Regards,
Jonas

hajoko
Posts: 46
Joined: Thu Dec 18, 2008 2:05 pm
Location: Germany
Contact: Website

RE: network events

Tue Jan 13, 2009 5:01 pm

is DeviceDiscovery then possible all the time, or should processes be closed before? I ask in spite of sometimes hanging DeviceDiscovery

regards

hajoko

Jonas
Posts: 2319
Joined: Mon Jan 09, 2006 2:20 pm
Location: Sweden

RE: network events

Tue Jan 13, 2009 5:10 pm

I don't really know, I advise that you only run a device discovery when you are not sending any data though. Otherwise you are spamming the airwaves already, and also the device that you are sending to will not respond to the "ping" that a device discovery implies, and you might get a DeviceLost event on that device.

Regards,
Jonas

hajoko
Posts: 46
Joined: Thu Dec 18, 2008 2:05 pm
Location: Germany
Contact: Website

RE: network events

Tue Jan 13, 2009 5:24 pm

should i deadvertise services too?

regards

hajoko

Jonas
Posts: 2319
Joined: Mon Jan 09, 2006 2:20 pm
Location: Sweden

RE: network events

Tue Jan 13, 2009 5:47 pm

No

Regards,
Jonas

hajoko
Posts: 46
Joined: Thu Dec 18, 2008 2:05 pm
Location: Germany
Contact: Website

RE: network events

Tue Jan 13, 2009 9:42 pm

Hi Jonas,
I found the error - maybe of interest.

Reading 'service.comment' of any remoteservice makes a programm breakdown at the device, if I send an obexpush to this device later on.

Took pretty much time, to find it out:-)

regards

hajoko

Return to “BlueTools”