Scan for "Bluetooth service " is skipping devices
-
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.
-
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.
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.
-
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.
-
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.
-
How about the sample code at Bluetooth Low Energy Scanner Example | Qt Bluetooth 6.4.2[^].
-
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
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.
-
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
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.
-
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.
-
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.
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