Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Hardware & Devices
  4. Scan for "Bluetooth service " is skipping devices

Scan for "Bluetooth service " is skipping devices

Scheduled Pinned Locked Moved Hardware & Devices
helptutorialdiscussion
9 Posts 3 Posters 28 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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Up front I did ask this forum administrators if I can post a link to another forum, reason being that this forum is not geared for discussion / coding of Bluetooth technology.. They replied that they do prefer to keep my posts here, so if you have problem with that… Problem description Here is the latest “problems” with coding Bluetooth – I can “scan for (Bluetooth devices “ and detect ALL of them in range. No issue here. Then when I “ scan for (Bluetooth) service” I detect only one – when I run “simple scan” and then I can detect another , different one, and only one , when I scan using “full scan”. I do expect to retrieve “service” of all of the reachable devices – all four of them. Request for help I suspect the issue is – as always – with “bluez” library and could use suggestion on how to “scan for service “ using some other way.

    J L 2 Replies Last reply
    0
    • L Lost User

      Up front I did ask this forum administrators if I can post a link to another forum, reason being that this forum is not geared for discussion / coding of Bluetooth technology.. They replied that they do prefer to keep my posts here, so if you have problem with that… Problem description Here is the latest “problems” with coding Bluetooth – I can “scan for (Bluetooth devices “ and detect ALL of them in range. No issue here. Then when I “ scan for (Bluetooth) service” I detect only one – when I run “simple scan” and then I can detect another , different one, and only one , when I scan using “full scan”. I do expect to retrieve “service” of all of the reachable devices – all four of them. Request for help I suspect the issue is – as always – with “bluez” library and could use suggestion on how to “scan for service “ using some other way.

      J Offline
      J Offline
      jschell
      wrote on last edited by
      #2

      Just a suggestion... I looked for your previous posts about bluetooth and it didn't seem like you got any answers. So perhaps there is a different site (not forum on this site) where more answers might show up? Keep in mind that I am just trying to be helpful and far as I am concerned you can keep posting here. Maybe someone will wander by eventually that knows the answers.

      L 1 Reply Last reply
      0
      • J jschell

        Just a suggestion... I looked for your previous posts about bluetooth and it didn't seem like you got any answers. So perhaps there is a different site (not forum on this site) where more answers might show up? Keep in mind that I am just trying to be helpful and far as I am concerned you can keep posting here. Maybe someone will wander by eventually that knows the answers.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        I appreciate your post very much. The problem is - there is no dedicated forum for Bluetooth coding. People often post - how do i connect my Iphone to my boom box......When I run into real issues , most replies are limited to RTFM...

        1 Reply Last reply
        0
        • L Lost User

          Up front I did ask this forum administrators if I can post a link to another forum, reason being that this forum is not geared for discussion / coding of Bluetooth technology.. They replied that they do prefer to keep my posts here, so if you have problem with that… Problem description Here is the latest “problems” with coding Bluetooth – I can “scan for (Bluetooth devices “ and detect ALL of them in range. No issue here. Then when I “ scan for (Bluetooth) service” I detect only one – when I run “simple scan” and then I can detect another , different one, and only one , when I scan using “full scan”. I do expect to retrieve “service” of all of the reachable devices – all four of them. Request for help I suspect the issue is – as always – with “bluez” library and could use suggestion on how to “scan for service “ using some other way.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          How about the sample code at Bluetooth Low Energy Scanner Example | Qt Bluetooth 6.4.2[^].

          L 1 Reply Last reply
          0
          • L Lost User

            How about the sample code at Bluetooth Low Energy Scanner Example | Qt Bluetooth 6.4.2[^].

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            I am trying to stay away from "low energy" technology for now. I need to walk before I can run. However, I'll take a peek on the article code to see if I can spot some similarity with "normal" Bluetooth. Thanks for the link , appreciate that. Cheers

            L T 2 Replies Last reply
            0
            • L Lost User

              I am trying to stay away from "low energy" technology for now. I need to walk before I can run. However, I'll take a peek on the article code to see if I can spot some similarity with "normal" Bluetooth. Thanks for the link , appreciate that. Cheers

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              I don't know what the differences are, but the article looked like it might have some useful ideas, and since you are using Qt anyway. What I did notice was that the website has a number of forums, so that might be a better place for you to get help on a subject that few people (at least here on Codeproject) seem to be working in.

              L 1 Reply Last reply
              0
              • L Lost User

                I am trying to stay away from "low energy" technology for now. I need to walk before I can run. However, I'll take a peek on the article code to see if I can spot some similarity with "normal" Bluetooth. Thanks for the link , appreciate that. Cheers

                T Offline
                T Offline
                trønderen
                wrote on last edited by
                #7

                Member 14968771 wrote:

                I am trying to stay away from "low energy" technology for now.

                My tip: If you have a choice, not dictated by external requirements (and that's what it sounds like), get into Bluetooth Low Energy as soon as possible. That is where things are happening nowadays. A whole lot of talk about 'Bluetooth' is in fact a short form of 'Bluetooth Low Energy'. Some of the new BLE application areas, such as the fairly new LC3 codec for BLE headphones, is really good, but will probably never be adapted to non-LE Bluetooth (according to a friend who has been actively working with the adaptation to BLE). Expect any Bluetooth device running on batteries that you cannot reasonably charge every day to use BLE. Non-LE is primarily for stationary and semi-stationary equipment, plus your smartphone. The smartphone talks BLE to most other stuff.

                L 1 Reply Last reply
                0
                • L Lost User

                  I don't know what the differences are, but the article looked like it might have some useful ideas, and since you are using Qt anyway. What I did notice was that the website has a number of forums, so that might be a better place for you to get help on a subject that few people (at least here on Codeproject) seem to be working in.

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #8

                  I am sadden to report that the problem disappeared overnight and after OS update / upgrade. Today it even identifies a device which is not powered up...

                  1 Reply Last reply
                  0
                  • T trønderen

                    Member 14968771 wrote:

                    I am trying to stay away from "low energy" technology for now.

                    My tip: If you have a choice, not dictated by external requirements (and that's what it sounds like), get into Bluetooth Low Energy as soon as possible. That is where things are happening nowadays. A whole lot of talk about 'Bluetooth' is in fact a short form of 'Bluetooth Low Energy'. Some of the new BLE application areas, such as the fairly new LC3 codec for BLE headphones, is really good, but will probably never be adapted to non-LE Bluetooth (according to a friend who has been actively working with the adaptation to BLE). Expect any Bluetooth device running on batteries that you cannot reasonably charge every day to use BLE. Non-LE is primarily for stationary and semi-stationary equipment, plus your smartphone. The smartphone talks BLE to most other stuff.

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #9

                    My reply - I spent my professional, (good) money making career making EXISTING stuff - both hardware and software work (to customer expectation) . Your "opinion" is very common nowadays - "get an new one" and it does not fit to my style - and budget. I have a hardware which should work , the problem is with software. Thanks very much for your contribution to solve the problem. Cheers

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups