-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lack of usable BLE documentation #355
Comments
@idea--list thank you for raising this issue.Please take a look at the following comments: What target(s) are you using? NOTE: If there are fields which are not applicable then please just add 'n/a' or 'None'. This indicates to us that at least all the fields have been considered. |
Thank you for your feedback. I'll try to get some work scheduled to improve the docs. As for the example, they compile and run fine. The pretty printer you mention is part of the utils and is checked out automatically when you The BLE feature is officially supported and developed by us, the Mbed team with contributions from our partners and the community. |
No, they do not. As i mentioned i am using Mbed Studio v1.3.1 until now i could not figure out how to use CLI commands like mbed deploy within that. What i did: copied the contents of main.cpp of BLE_Advertising example into a new file. Then i copy&pasted the content of pretty_printer.h found in mbed-os-ble-utils repo into another new file. Now the code compiles, but does not seem to run on my Artemis Thing Plus board, which has an on-chip BLE module and targets.json already sets BLE and Cordio for this board. My other board is a MAX32630FTHR with a dual-mode BT chip on it, but mbed does not support BLE on this board anymore. Meanwhile i checked out the BLE documentation of Arduino. Never thought i will ever have any interest in Arduino. Despite their BLE doc is much shorter, it does not contain any bloat and also one can understand and get started based on the doc, meaning the doc fulfills it's purpose. I also began this course also that explains everything about BLE so that one can understand and since that i can tell you Mbed's BT tutorial is even worse i thought 2 days ago. I think the documentation should be redone from scratch as adding some useful content to that amount of useless bloat does not make much sense. |
Hi @idea--list , Your describing two different problems in this topic:
@paul-szczepanek-arm I think it would be worthwhile to add a note about this process in the documentation. |
Hi @pan- Both links i marked with red are linking to the very same index page but have different URL. If you scroll just a bit downwards, below the "Getting started" header you will find a hyperlink to this page. Also this page begins reexplaining that BLE is a wireless technology, etc. Right after that you will find this completely irrelevant sketch:
Oh, really? This is the third time i get this same info in the last 20 seconds...but for sure it must then be really important to understand otherwise we just could not begin using the API. Anyway by now i know it for sure that BLE has something to do with data. And reading further i get to know that i even could display the data (apparently even with devices/modules that do not have a display). Then i also understand "Displaying information" must be a really important buzzword in Mbed, at least it is repeated almost immediatly after the subheading with the same words. From the very next sentence i find out the data buzzword could mean "sensor input" (well...until now i thought sensors provide output and do not take input, but reading Mbed documentation is golden!) The next section then tells me i could even process that data... Holy cow! Now i am blown away by this BLE thing... however i still can not do anything with or how to start as the doc is just plain bloat like the rest of this page is. But let us at last get to the BLE API reference page, which begins with: We go on by:
Oh my, i almost though it was meant for the Windows OS. Please let me not to continue, but by now i hope you get the point what is wrong with the documentation. |
@idea--list it has been 5 days since the last reminder. Could you please update the issue header as previously requested? |
@idea--list it has been 5 days since the last reminder. Could you please update the issue header as previously requested? |
2 similar comments
@idea--list it has been 5 days since the last reminder. Could you please update the issue header as previously requested? |
@idea--list it has been 5 days since the last reminder. Could you please update the issue header as previously requested? |
I've fixed the template as it was quick. |
Thank you for raising this detailed GitHub issue. I am now notifying our internal issue triagers. |
They do not compile on GCC 9.3.1. I tried using the online compiler with the periodic advertisement example, while it compiles i can't get the Bluetooth to work properly (on a ST WB55). |
Same story for the Cordio docs How much of this information is up-to-date? AFAI understand the structure has changed quite a bit. Many of the folders depicted here do not exist anymore. I could not find a single piece of documentation on how the Cordio stack and the BLE API relate to each other. |
@boraozgen Removing the cordio documentation from Mbed OS docs is something we track. Most of the information present remains valid but not everything is up to date like folder organization. |
Yesterday i stumbled across this one: BLEIntros. I know BLE is being worked on which can explain the state of the current doc, but once implementation settles i wish the documentation should be updated like this one. |
I'll look at this repository, to add details and archive it. It should not cause the confusion. Thanks for the feedback, we will review BLEIntros. |
Description of defect
All the pages & repos that are intended to explain how to program BLE functionalities are full of non-sense bloat and are cross-linking to eachother without actually onboarding Mbed users how to use BLE.
Target(s) affected by this defect ?
all
Toolchain(s) (name and version) displaying this defect ?
all
What version of Mbed-os are you using (tag or sha) ?
6.8.0
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
Not relevant
How is this defect reproduced ?
Read through all the BLE relevant pages of the official Mbed site, check out this repo, forget anything that BLE engineers already know and face the reality: there is no useful info through all those pages. And guess what: even the recent examples will not compile as those depend on pretty printer. Even if that is not mentioned anywhere. Got a feeling as the whole BLE stack was not an organic part of Mbed OS just someone would have hacked that into the project and even then was it meant to function with mbed CLI only.
The text was updated successfully, but these errors were encountered: