1. in order to debug a PND application (using SPP), I'm using the "SimpleService" on my laptop. The issue is that when I'm publishing the SPP in my laptop and connect to it from the PND - all goes ok. but then I wanted to test a 'lost connection' so I deadvertised the SPP on my laptop. the PND got the exception on the read datastream and my procedure tried to connect again to the laptop (im saving the MAC, DeviceName, ServiceName and SCN). and here is the issue: the netwrok obj in the PND still 'recognize' that it has a device in the devices array and when I run the connect function - I'm getting a Remote Device!!! which is, as i said, was deadvertised. I tried also close the BT in my laptop, same results.
Also the ConnectService from that 'ghost' RemoteDevice returns a service!!
so my question is how can I recognize that the 'server' is not there anymore if the BT objects say it is there?!
2. (less important) when using the Connect function - im getting a RemoteDevice but its name property is empty. why is that?