bluetooth: mesh: fix typo

Utilize a code spell-checking tool to scan for and correct spelling errors
in all files within the subsys/bluetooth/mesh directory.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
This commit is contained in:
Pisit Sawangvonganan 2024-02-21 00:36:13 +07:00 committed by Anas Nashif
commit 0df7fd68a7
8 changed files with 13 additions and 13 deletions

View file

@ -628,7 +628,7 @@ config BT_MESH_SAR_RX_SEG_INT_STEP
help help
This value defines the segments reception interval step used for This value defines the segments reception interval step used for
delaying the transmission of an acknowledgment message after delaying the transmission of an acknowledgment message after
receiving a new segmnet. The interval is measured in milliseconds receiving a new segment. The interval is measured in milliseconds
and calculated using the following formula: and calculated using the following formula:
(CONFIG_BT_MESH_SAR_RX_SEG_INT_STEP + 1) * 10 ms (CONFIG_BT_MESH_SAR_RX_SEG_INT_STEP + 1) * 10 ms
@ -679,7 +679,7 @@ config BT_MESH_RPL_STORAGE_MODE_SETTINGS
bool "Persistent storage of RPL in Settings" bool "Persistent storage of RPL in Settings"
help help
Persistent storage of RPL in Settings. If BT_SETTINGS is not Persistent storage of RPL in Settings. If BT_SETTINGS is not
enabled this choise will provide a non-persistent implementation enabled this choice will provide a non-persistent implementation
variant of the RPL list. variant of the RPL list.
endchoice endchoice

View file

@ -764,9 +764,9 @@ static void block_get_tx(struct bt_mesh_blob_cli *cli, uint16_t dst)
* *
* After sending all reported missing chunks to each target, the Client updates * After sending all reported missing chunks to each target, the Client updates
* @ref bt_mesh_blob_target_pull::block_report_timestamp value for every target individually in * @ref bt_mesh_blob_target_pull::block_report_timestamp value for every target individually in
* chunk_tx_complete. The Client then proceedes to block_report_wait state and uses the earliest of * chunk_tx_complete. The Client then proceeds to block_report_wait state and uses the earliest of
* all block_report_timestamp and cli_timestamp to schedule the retry timer. When the retry * all block_report_timestamp and cli_timestamp to schedule the retry timer. When the retry
* timer expires, the Client proceedes to the block_check_end state. * timer expires, the Client proceeds to the block_check_end state.
* *
* In Pull mode, target nodes send a Partial Block Report message to the Client to inform about * In Pull mode, target nodes send a Partial Block Report message to the Client to inform about
* missing chunks. The Client doesn't control when these messages are sent by target nodes, and * missing chunks. The Client doesn't control when these messages are sent by target nodes, and
@ -916,7 +916,7 @@ static void chunk_tx_complete(struct bt_mesh_blob_cli *cli, uint16_t dst)
int64_t timestamp = k_uptime_get() + BLOCK_REPORT_TIME_MSEC; int64_t timestamp = k_uptime_get() + BLOCK_REPORT_TIME_MSEC;
if (!UNICAST_MODE(cli)) { if (!UNICAST_MODE(cli)) {
/* If using group adressing, reset timestamp for all targets after all chunks are /* If using group addressing, reset timestamp for all targets after all chunks are
* sent to the group address * sent to the group address
*/ */
TARGETS_FOR_EACH(cli, target) { TARGETS_FOR_EACH(cli, target) {

View file

@ -19,7 +19,7 @@ LOG_MODULE_REGISTER(bt_mesh_op_agg_srv);
NET_BUF_SIMPLE_DEFINE_STATIC(sdu, BT_MESH_TX_SDU_MAX); NET_BUF_SIMPLE_DEFINE_STATIC(sdu, BT_MESH_TX_SDU_MAX);
/** Mesh Opcodes Aggragator Server Model Context */ /** Mesh Opcodes Aggregator Server Model Context */
static struct bt_mesh_op_agg_srv { static struct bt_mesh_op_agg_srv {
/** Composition data model entry pointer. */ /** Composition data model entry pointer. */
const struct bt_mesh_model *model; const struct bt_mesh_model *model;

View file

@ -195,7 +195,7 @@ static void prov_start(const uint8_t *data)
bt_mesh_prov->static_val_len > auth_size ? auth_size bt_mesh_prov->static_val_len > auth_size ? auth_size
: bt_mesh_prov->static_val_len); : bt_mesh_prov->static_val_len);
/* Padd with zeros if the Auth is shorter the required length*/ /* Pad with zeros if the Auth is shorter the required length */
if (bt_mesh_prov->static_val_len < auth_size) { if (bt_mesh_prov->static_val_len < auth_size) {
memset(bt_mesh_prov_link.auth + bt_mesh_prov->static_val_len, 0, memset(bt_mesh_prov_link.auth + bt_mesh_prov->static_val_len, 0,
auth_size - bt_mesh_prov->static_val_len); auth_size - bt_mesh_prov->static_val_len);

View file

@ -767,7 +767,7 @@ int bt_mesh_auth_method_set_static(const uint8_t *static_val, uint8_t size)
memcpy(bt_mesh_prov_link.auth, static_val, memcpy(bt_mesh_prov_link.auth, static_val,
size > PROV_AUTH_MAX_LEN ? PROV_AUTH_MAX_LEN : size); size > PROV_AUTH_MAX_LEN ? PROV_AUTH_MAX_LEN : size);
/* Padd with zeros if the Auth is shorter the required length*/ /* Pad with zeros if the Auth is shorter the required length */
if (size < PROV_AUTH_MAX_LEN) { if (size < PROV_AUTH_MAX_LEN) {
memset(bt_mesh_prov_link.auth + size, 0, PROV_AUTH_MAX_LEN - size); memset(bt_mesh_prov_link.auth + size, 0, PROV_AUTH_MAX_LEN - size);
} }

View file

@ -11,9 +11,9 @@
#ifndef ZEPHYR_SUBSYS_BLUETOOTH_MESH_SAR_CFG_INTERNAL_H__ #ifndef ZEPHYR_SUBSYS_BLUETOOTH_MESH_SAR_CFG_INTERNAL_H__
#define ZEPHYR_SUBSYS_BLUETOOTH_MESH_SAR_CFG_INTERNAL_H__ #define ZEPHYR_SUBSYS_BLUETOOTH_MESH_SAR_CFG_INTERNAL_H__
/** SAR Transmitter Configuraion state encoded length */ /** SAR Transmitter state encoded length */
#define BT_MESH_SAR_TX_LEN 4 #define BT_MESH_SAR_TX_LEN 4
/** SAR Receiver Configuraion state encoded length */ /** SAR Receiver state encoded length */
#define BT_MESH_SAR_RX_LEN 3 #define BT_MESH_SAR_RX_LEN 3
/** SAR Transmitter Configuration state initializer */ /** SAR Transmitter Configuration state initializer */

View file

@ -1150,7 +1150,7 @@ static int cmd_mod_sub_del(const struct shell *sh, size_t argc, char *argv[])
if (status) { if (status) {
shell_print(sh, "Model Subscription Delete failed with status 0x%02x", status); shell_print(sh, "Model Subscription Delete failed with status 0x%02x", status);
} else { } else {
shell_print(sh, "Model subscription deltion was successful"); shell_print(sh, "Model subscription deletion was successful");
} }
return 0; return 0;
@ -1387,7 +1387,7 @@ static int cmd_mod_sub_del_all(const struct shell *sh, size_t argc, char *argv[]
if (status) { if (status) {
shell_print(sh, "Model Subscription Delete All failed with status 0x%02x", status); shell_print(sh, "Model Subscription Delete All failed with status 0x%02x", status);
} else { } else {
shell_print(sh, "Model subscription deltion all was successful"); shell_print(sh, "Model subscription deletion all was successful");
} }
return 0; return 0;

View file

@ -42,7 +42,7 @@ uint8_t bt_mesh_va_del(const uint8_t *uuid);
*/ */
const struct bt_mesh_va *bt_mesh_va_find(const uint8_t *uuid); const struct bt_mesh_va *bt_mesh_va_find(const uint8_t *uuid);
/** @brief Check if there are more than one Label UUID which hash has the specificed virtual /** @brief Check if there are more than one Label UUID which hash has the specified virtual
* address. * address.
* *
* @param addr Virtual address to check * @param addr Virtual address to check