Skip to content

Commit fc356a4

Browse files
authored
Merge pull request micropython#7 from ruudk/patch-1
Fix docs > `adv_enable` needs `ble_` prefix Merged, thank you.
2 parents 54f3547 + f494f59 commit fc356a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

esp32/bluetooth_docs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,9 @@ bluetooth.ble_settings(int_min = 1280, int_max = 1280,
155155

156156
### Start and stop advertising
157157

158-
`bluetooth.adv_enable(True)`
158+
`bluetooth.ble_adv_enable(True)`
159159

160-
`bluetooth.adv_enable(False)`
160+
`bluetooth.ble_adv_enable(False)`
161161

162162
When a GATTC connects, advertising ends. After disconnect, then advertising must be restarted.
163163

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy