Skip to content

Commit 1d423e7

Browse files
committed
tests: bsim: fix spelling of "advertisement"
s/advertisment/advertisement/ Signed-off-by: Benjamin Cabé <[email protected]>
1 parent b9da3e7 commit 1d423e7

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

tests/bsim/bluetooth/host/adv/periodic/src/per_adv_sync.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ static void recv_cb(struct bt_le_per_adv_sync *recv_sync,
149149
}
150150

151151
bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr));
152-
printk("PER_ADV_SYNC[%u]: [DEVICE]: %s advertisment received\n",
152+
printk("PER_ADV_SYNC[%u]: [DEVICE]: %s advertisement received\n",
153153
bt_le_per_adv_sync_get_index(recv_sync), le_addr);
154154

155155
while (buf->len > 0) {
@@ -355,7 +355,7 @@ static void main_per_adv_long_data_sync(void)
355355

356356
create_pa_sync(&sync);
357357

358-
printk("Waiting to receive periodic advertisment...\n");
358+
printk("Waiting to receive periodic advertisement...\n");
359359
WAIT_FOR_FLAG(flag_per_adv_recv);
360360

361361
printk("Waiting for periodic sync lost...\n");

tests/bsim/bluetooth/mesh/src/test_beacon.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1766,7 +1766,7 @@ static void test_tx_priv_node_id(void)
17661766
/* Wait for Node ID advertising to end */
17671767
k_sleep(K_SECONDS(65));
17681768

1769-
/* Check that advertisment has stopped */
1769+
/* Check that advertisement has stopped */
17701770
ASSERT_OK_MSG(bt_mesh_subnet_priv_node_id_get(TEST_NET_IDX1, &state),
17711771
"Failed to get private node ID");
17721772
ASSERT_EQUAL(state, BT_MESH_NODE_IDENTITY_STOPPED);
@@ -1796,7 +1796,7 @@ static void test_rx_priv_node_id(void)
17961796

17971797
uint64_t last_pp_random = beacon.pp_random;
17981798

1799-
/* Wait for first node ID advertisment to finish, then scan for
1799+
/* Wait for first node ID advertisement to finish, then scan for
18001800
* second node ID and verify that random field has changed
18011801
*/
18021802

@@ -2098,7 +2098,7 @@ static void test_rx_priv_multi_net_id(void)
20982098
if (beacon.pp_hash ==
20992099
proxy_adv_hash_calc(net_ctx[i].net, beacon.pp_random, NULL, true)) {
21002100
if (old_idx == 0xff) {
2101-
/* Received first Net ID advertisment */
2101+
/* Received first Net ID advertisement */
21022102
old_idx = i;
21032103
net_ctx[i].start = k_uptime_get();
21042104
net_ctx[i].recv_cnt++;

tests/bsim/bluetooth/mesh/tests_scripts/priv_beacon/priv_proxy_net_id.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
source $(dirname "${BASH_SOURCE[0]}")/../../_mesh_test.sh
66

7-
# Test Private Net ID advertisment
7+
# Test Private Net ID advertisement
88
#
99
# Test procedure:
1010
# 0. TX device disables GATT proxy and enables Private GATT proxy.
11-
# 1. RX device enables scanner and scans for Net ID advertisments.
12-
# 2. RX device scans for a single Net ID advertisment and stores
11+
# 1. RX device enables scanner and scans for Net ID advertisements.
12+
# 2. RX device scans for a single Net ID advertisement and stores
1313
# the random field of that message.
1414
# 3. RX device waits for 10 minutes.
1515
# 4. RX device scans for a another Private Net ID advertisement and compares

tests/bsim/bluetooth/mesh/tests_scripts/priv_beacon/priv_proxy_net_id_multi.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
source $(dirname "${BASH_SOURCE[0]}")/../../_mesh_test.sh
66

7-
# Test Private Net ID advertisment with multiple networks
7+
# Test Private Net ID advertisement with multiple networks
88
#
99
# Test procedure:
1010
# 0. TX device disables GATT proxy, adds a second network to the device

tests/bsim/bluetooth/mesh/tests_scripts/priv_beacon/priv_proxy_node_id.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
source $(dirname "${BASH_SOURCE[0]}")/../../_mesh_test.sh
66

7-
# Test Private Node ID advertisment
7+
# Test Private Node ID advertisement
88
#
99
# Test procedure:
1010
# 0. TX device disables GATT proxy and enables the Private Node
1111
# Identity state for the network. Then it waits for the
12-
# advertisment to complete.
12+
# advertisement to complete.
1313
# 1. RX device enables scanner and scans for Private Node ID advertisements.
1414
# 2. RX device scans for a single Private Node ID advertisement and stores
1515
# the random field of that message. Then it waits for the

0 commit comments

Comments
 (0)