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. Qt Serial Port: Android, iOS - will it work ?
QtWS25 Last Chance

Qt Serial Port: Android, iOS - will it work ?

Scheduled Pinned Locked Moved Mobile and Embedded
27 Posts 3 Posters 16.0k Views
  • 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.
  • P Offline
    P Offline
    pit.garbe
    wrote on 13 Apr 2017, 07:32 last edited by
    #21

    So, I got the documents. Data sheet and instructions. After reading them it's clear that paring is definitely only for HID mode. I sent a followup to both the person who sent me the docs and the one who apparently wrote the instructions, asking for a way to disable HID mode altogether.

    Btw., I just now realised that you probably speak German ;)

    E 2 Replies Last reply 13 Apr 2017, 07:59
    0
    • P pit.garbe
      13 Apr 2017, 07:32

      So, I got the documents. Data sheet and instructions. After reading them it's clear that paring is definitely only for HID mode. I sent a followup to both the person who sent me the docs and the one who apparently wrote the instructions, asking for a way to disable HID mode altogether.

      Btw., I just now realised that you probably speak German ;)

      E Offline
      E Offline
      ekkescorner
      Qt Champions 2016
      wrote on 13 Apr 2017, 07:59 last edited by
      #22

      @pit.garbe said in Qt Serial Port: Android, iOS - will it work ?:

      Btw., I just now realised that you probably speak German ;)

      yep - I'm living in Rosenheim

      ekke ... Qt Champion 2016 | 2024 ... mobile business apps
      5.15 --> 6.8 https://t1p.de/ekkeChecklist
      QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

      1 Reply Last reply
      0
      • P pit.garbe
        13 Apr 2017, 07:32

        So, I got the documents. Data sheet and instructions. After reading them it's clear that paring is definitely only for HID mode. I sent a followup to both the person who sent me the docs and the one who apparently wrote the instructions, asking for a way to disable HID mode altogether.

        Btw., I just now realised that you probably speak German ;)

        E Offline
        E Offline
        ekkescorner
        Qt Champions 2016
        wrote on 13 Apr 2017, 08:01 last edited by ekkescorner
        #23

        @pit.garbe BTW: have you tried to change the switch on the device to computer instead keyboard ? does this help on iOS ?

        ekke ... Qt Champion 2016 | 2024 ... mobile business apps
        5.15 --> 6.8 https://t1p.de/ekkeChecklist
        QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

        P 1 Reply Last reply 13 Apr 2017, 08:45
        0
        • E Offline
          E Offline
          ekkescorner
          Qt Champions 2016
          wrote on 13 Apr 2017, 08:08 last edited by ekkescorner
          #24

          info for all waiting for my Qt 5.8 - QtQuickControls2 - Bluetooth LE Example APP:

          • finished all the work for BT LE Scanner to inspect devices, services, characteristic, descriptors and to try out read, write, notifications
          • finished my work for a customer project using a custom device to scan pegel of mobile networks (this won't be open source)
          • finished my work for a customer project using the Addimat (waiter lock) for user login-logout
          • working on HeartRate and another example
          • working on device-specific settings and device-favorites to make restart app easier with auto-connect to devices and notifications

          then have to write the blog to provide some documentation
          expect blog and app at github next week

          ekke ... Qt Champion 2016 | 2024 ... mobile business apps
          5.15 --> 6.8 https://t1p.de/ekkeChecklist
          QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

          1 Reply Last reply
          0
          • P Offline
            P Offline
            pit.garbe
            wrote on 13 Apr 2017, 08:43 last edited by
            #25

            Grüße aus Dresden :)

            So, I just found out by accident how to fix the popup issue.

            Simply pair the lock once as a keyboard, then navigate to the Bluetooth system settings and remove the lock there ("ignore this device"). Then it will not try to connect to the iPad again by itself. Presumably because it has its own list of known devices and the iPad is now ignoring all incoming connection by the lock.

            It can only be connected to this iPad as a keyboard again after clearing the pairing list on the lock itself. This can be done by putting the little selection dial on the bottom to the third, unmarked position (not "COM P" and not "Key Board") and plugging it in again, then off again and turn the dial back to one of the other positions and plugging it in again.

            The iPad will then be asked again to enter the PIN upon connecting to the lock.

            So, for us its perfect. Disable once and never be bothered again. Even from the iPad settings screen its impossible to reconnect again (by accident).

            E 1 Reply Last reply 13 Apr 2017, 09:04
            0
            • E ekkescorner
              13 Apr 2017, 08:01

              @pit.garbe BTW: have you tried to change the switch on the device to computer instead keyboard ? does this help on iOS ?

              P Offline
              P Offline
              pit.garbe
              wrote on 13 Apr 2017, 08:45 last edited by
              #26

              @ekkescorner said in Qt Serial Port: Android, iOS - will it work ?:

              @pit.garbe BTW: have you tried to change the switch on the device to computer instead keyboard ? does this help on iOS ?

              That didn't help. And I think its a switch between COM (serial port) and USB HID mode. It doesn't affect the Bluetooth features. Only the third setting disables Bluetooth altogether, and, as it turns out, is used to clear the pairing list.

              1 Reply Last reply
              0
              • P pit.garbe
                13 Apr 2017, 08:43

                Grüße aus Dresden :)

                So, I just found out by accident how to fix the popup issue.

                Simply pair the lock once as a keyboard, then navigate to the Bluetooth system settings and remove the lock there ("ignore this device"). Then it will not try to connect to the iPad again by itself. Presumably because it has its own list of known devices and the iPad is now ignoring all incoming connection by the lock.

                It can only be connected to this iPad as a keyboard again after clearing the pairing list on the lock itself. This can be done by putting the little selection dial on the bottom to the third, unmarked position (not "COM P" and not "Key Board") and plugging it in again, then off again and turn the dial back to one of the other positions and plugging it in again.

                The iPad will then be asked again to enter the PIN upon connecting to the lock.

                So, for us its perfect. Disable once and never be bothered again. Even from the iPad settings screen its impossible to reconnect again (by accident).

                E Offline
                E Offline
                ekkescorner
                Qt Champions 2016
                wrote on 13 Apr 2017, 09:04 last edited by
                #27

                @pit.garbe said in Qt Serial Port: Android, iOS - will it work ?:

                Grüße aus Dresden :)

                thx

                So, I just found out by accident how to fix the popup issue.

                Simply pair the lock once as a keyboard, then navigate to the Bluetooth system settings and remove the lock there ("ignore this device"). Then it will not try to connect to the iPad again by itself.

                will do this next time testing the lock on iOS. Doing all my work on Android and only from time to time verify if all works and looks good on iOS, too

                ekke ... Qt Champion 2016 | 2024 ... mobile business apps
                5.15 --> 6.8 https://t1p.de/ekkeChecklist
                QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

                1 Reply Last reply
                0

                21/27

                13 Apr 2017, 07:32

                • Login

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