mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-03 03:31:41 +03:00
docs: Fix BLE get-started adv comments and typos
This commit is contained in:
@@ -326,7 +326,7 @@ Next, we want the device to be connectable, so we need to modify the advertising
|
||||
static void start_advertising(void) {
|
||||
...
|
||||
|
||||
/* Set non-connetable and general discoverable mode to be a beacon */
|
||||
/* Undirected connectable and general discoverable advertising */
|
||||
adv_params.conn_mode = BLE_GAP_CONN_MODE_UND;
|
||||
adv_params.disc_mode = BLE_GAP_DISC_MODE_GEN;
|
||||
|
||||
|
||||
@@ -263,7 +263,7 @@ These advertising behaviors can be combined into four common types of advertisin
|
||||
- N
|
||||
- Y
|
||||
- `ADV_NONCONN_IND`
|
||||
- Used by beacon devices to advertising data without connection
|
||||
- Used by beacon devices to advertise data without connection
|
||||
* - N
|
||||
- Y
|
||||
- Y
|
||||
@@ -1003,7 +1003,7 @@ Finally, we set the advertising parameters and initiate the advertising by calli
|
||||
|
||||
...
|
||||
|
||||
/* Set non-connetable and general discoverable mode to be a beacon */
|
||||
/* Set non-connectable and general discoverable mode to be a beacon */
|
||||
adv_params.conn_mode = BLE_GAP_CONN_MODE_NON;
|
||||
adv_params.disc_mode = BLE_GAP_DISC_MODE_GEN;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user