-
Notifications
You must be signed in to change notification settings - Fork 21
doc: nrf-bm: lib: add documentation for ble_adv library #415
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
base: main
Are you sure you want to change the base?
Conversation
You can find the documentation preview for this PR here. |
67f8346
to
7a536f5
Compare
|
||
The advertising modes are enabled by Kconfig options. See the :ref:`lib_ble_adv_configure` section below. | ||
|
||
When advertising, the module pass through the enabled advertising modes until a connection is made or advertising times out. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When advertising, the module pass through the enabled advertising modes until a connection is made or advertising times out. | |
When advertising, the library transitions through the enabled advertising modes until a connection is made or advertising times out. |
``Direct High Duty`` is a one-shot burst and its time-out thresholdsand advertising interval cannot be configured. | ||
|
||
Whitelist | ||
========= |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Insert a newline.
You should also provide an event handler that is called when advertising transitions to a new mode. | ||
Use the event handler to add functionality, for example to indicate such transitions to the user by flashing an LED when advertising starts, or to power down the application when no peer is found. | ||
|
||
If enabled, the event handler must handle requests to update the whitelist (:c:enum:`BLE_ADV_EVT_WHITELIST_REQUEST`) and peer address (:c:enum:`BLE_ADV_EVT_PEER_ADDR_REQUEST``). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If enabled, the event handler must handle requests to update the whitelist (:c:enum:`BLE_ADV_EVT_WHITELIST_REQUEST`) and peer address (:c:enum:`BLE_ADV_EVT_PEER_ADDR_REQUEST``). | |
If enabled, the event handler must handle requests to update the whitelist (:c:enum:`BLE_ADV_EVT_WHITELIST_REQUEST`) and peer address (:c:enum:`BLE_ADV_EVT_PEER_ADDR_REQUEST`). |
7a536f5
to
144f4b6
Compare
Add ble_adv library documentation. Signed-off-by: Eivind Jølsgard <[email protected]>
144f4b6
to
8b809af
Compare
Add ble_adv library documentation.