Detect roaming (switching the Access Point) with QtMobility?

322 Views Asked by At

I need to write an application, that detects roaming from one access point to another if I'm connected to WLAN. Unfortunately I couldn't find anything that detects roaming for me. All I could find are some explanations in the Bearer API. One sentence says:

The second form of roaming is referred to as Forced Roaming. The system simply changes the link layer without consulting the application. It is up to the application to detect that some of its internal socket may have become invalid.

Since I'm not a network guy I don't have any idea how I could track roaming. It would be enough to know, that the device switched from one access point to another.

Maybe anybody of you can help me out on that?

Thanks a lot!

2

There are 2 best solutions below

2
On
0
On

Check out RConnectionMonitor and MConnectionMonitorObserver classes. THey allow your code to get notified when connections change