docs: Fix BLE get-started adv comments and typos

This commit is contained in:
luweike
2026-04-10 12:09:33 +08:00
parent 6a003df617
commit acacfc9234
4 changed files with 6 additions and 6 deletions
@@ -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;