Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. What is proper way to perform an access point migration?

What is proper way to perform an access point migration?

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 1.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mstanescu
    wrote on last edited by
    #1

    Hi all,

    I am developing an application which downloads some file on my mobile. I am at the point where i want to prevent automatic migration to a new access point while i am downloading this file but migrate immediately when the download finishes.

    Application is using Internet service access point which has WLAN on priority 1 and 3g on priority 2.

    To do this i have a QNetworkSession object created over Internet service access point and i am listening to preferredConfigurationChanged signal.

    If the preferredConfigurationChanged signal comes when i am downloading the file i have two options here:

    1. i call migrate, but don't call accept (q: what if while app is in this state the phone goes out of range with WLAN again. Makes no sense in this case to do accept because the access point i am migrating to is not available anymore. I noticed that calling accept will disconnect my current connection even though no better one is available (very bad) ).
    2. i call ignore (q: how can i restart the migration process when download is finished?)
    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved