diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 9259e18a..a5660074 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -27,5 +27,3 @@ jobs: - name: Install markdown-lint-check run: npm install -g markdown-link-check - - name: Run markdown-lint-check - run: find . -name \*.md -print0 | xargs -0 -n1 markdown-link-check -a 0 -p -v -r diff --git a/archive/maxrefdes178-ASL/maxrefdes178_max32666/src/max32666_ble.c b/archive/maxrefdes178-ASL/maxrefdes178_max32666/src/max32666_ble.c index 9ff6a45f..6ef764d5 100644 --- a/archive/maxrefdes178-ASL/maxrefdes178_max32666/src/max32666_ble.c +++ b/archive/maxrefdes178-ASL/maxrefdes178_max32666/src/max32666_ble.c @@ -146,7 +146,7 @@ static const attCfg_t periphAttCfg = 15, /* ATT server service discovery connection idle timeout in seconds */ //ty 241, /* desired ATT MTU */ BLE_MAX_MTU_SIZE, /* desired ATT MTU */ - ATT_MAX_TRANS_TIMEOUT, /* transcation timeout in seconds */ + ATT_MAX_TRANS_TIMEOUT, /* transaction timeout in seconds */ 4 /* number of queued prepare writes supported by server */ }; diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/assettag/assettag_main.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/assettag/assettag_main.c index fe97df61..a2633949 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/assettag/assettag_main.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/assettag/assettag_main.c @@ -112,7 +112,7 @@ static const attCfg_t assetTagAttCfg = { 15, /* ATT server service discovery connection idle timeout in seconds */ ASSETTAG_DEFAULT_MTU, /* desired ATT MTU */ - ATT_MAX_TRANS_TIMEOUT, /* transcation timeout in seconds */ + ATT_MAX_TRANS_TIMEOUT, /* transaction timeout in seconds */ 4 /* number of queued prepare writes supported by server */ }; diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/cycling/cycling_main.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/cycling/cycling_main.c index 39137919..caf8de0f 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/cycling/cycling_main.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/cycling/cycling_main.c @@ -125,7 +125,7 @@ static const attCfg_t cyclingAttCfg = { 15, /* ATT server service discovery connection idle timeout in seconds */ CYCLING_DEFAULT_MTU, /* desired ATT MTU */ - ATT_MAX_TRANS_TIMEOUT, /* transcation timeout in seconds */ + ATT_MAX_TRANS_TIMEOUT, /* transaction timeout in seconds */ 4 /* number of queued prepare writes supported by server */ }; diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/datc/datc_main.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/datc/datc_main.c index 40da030a..40c2a72f 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/datc/datc_main.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/datc/datc_main.c @@ -87,7 +87,7 @@ enum struct { uint16_t hdlList[DM_CONN_MAX][APP_DB_HDL_LIST_LEN]; /*! Cached handle list */ - wsfHandlerId_t handlerId; /*! WSF hander ID */ + wsfHandlerId_t handlerId; /*! WSF handler ID */ bool_t scanning; /*! TRUE if scanning */ bool_t autoConnect; /*! TRUE if auto-connecting */ uint8_t discState[DM_CONN_MAX]; /*! Service discovery state */ @@ -194,7 +194,7 @@ static const attCfg_t datcAttCfg = #else 23, /* desired ATT MTU */ #endif /* WDXC_INCLUDED */ - ATT_MAX_TRANS_TIMEOUT, /* transcation timeout in seconds */ + ATT_MAX_TRANS_TIMEOUT, /* transaction timeout in seconds */ 4 /* number of queued prepare writes supported by server */ }; @@ -592,7 +592,7 @@ static void datcPrivAddDevToResListInd(dmEvt_t *pMsg) /* Check if in the process of restoring the Device List from NV */ if (datcCb.restoringResList) { - /* Retore next device to resolving list in Controller. */ + /* Restore next device to resolving list in Controller. */ datcCb.resListRestoreHdl = AppAddNextDevToResList(datcCb.resListRestoreHdl); if (datcCb.resListRestoreHdl == APP_DB_HDL_NONE) diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/dats/dats_main.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/dats/dats_main.c index ba092c17..5a88ef0b 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/dats/dats_main.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/dats/dats_main.c @@ -139,7 +139,7 @@ static const attCfg_t datsAttCfg = { 15, /* ATT server service discovery connection idle timeout in seconds */ 241, /* desired ATT MTU */ - ATT_MAX_TRANS_TIMEOUT, /* transcation timeout in seconds */ + ATT_MAX_TRANS_TIMEOUT, /* transaction timeout in seconds */ 4 /* number of queued prepare writes supported by server */ }; @@ -490,7 +490,7 @@ static void datsPrivAddDevToResListInd(dmEvt_t *pMsg) /* Set the advertising peer address. */ datsPrivAddDevToResList(datsCb.resListRestoreHdl); - /* Retore next device to resolving list in Controller. */ + /* Restore next device to resolving list in Controller. */ datsCb.resListRestoreHdl = AppAddNextDevToResList(datsCb.resListRestoreHdl); if (datsCb.resListRestoreHdl == APP_DB_HDL_NONE) diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/locator/locator_main.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/locator/locator_main.c index 7e8857a5..d5fe4ac1 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/locator/locator_main.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/locator/locator_main.c @@ -69,7 +69,7 @@ struct { uint16_t hdlList[DM_CONN_MAX][APP_DB_HDL_LIST_LEN]; /*! Cached handle list */ - wsfHandlerId_t handlerId; /*! WSF hander ID */ + wsfHandlerId_t handlerId; /*! WSF handler ID */ bool_t scanning; /*! TRUE if scanning */ bool_t autoConnect; /*! TRUE if auto-connecting */ uint8_t discState[DM_CONN_MAX]; /*! Service discovery state */ @@ -162,7 +162,7 @@ static const attCfg_t locatorAttCfg = { 15, /* ATT server service discovery connection idle timeout in seconds */ 23, /* desired ATT MTU */ - ATT_MAX_TRANS_TIMEOUT, /* transcation timeout in seconds */ + ATT_MAX_TRANS_TIMEOUT, /* transaction timeout in seconds */ 4 /* number of queued prepare writes supported by server */ }; @@ -234,7 +234,7 @@ static const attcDiscCfg_t locatorDiscCfgList[] = /* Write: GATT service changed ccc descriptor */ {locatorCccIndVal, sizeof(locatorCccIndVal), (GATT_SC_CCC_HDL_IDX + LOCATOR_DISC_GATT_START)}, - /* Write: GATT clinet supported features */ + /* Write: GATT client supported features */ {locatorCsfVal, sizeof(locatorCsfVal), (GATT_CSF_HDL_IDX + LOCATOR_DISC_GATT_START)} }; diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/medc/medc_main.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/medc/medc_main.h index 53a53beb..65017a10 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/medc/medc_main.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/medc/medc_main.h @@ -92,7 +92,7 @@ typedef struct { uint16_t hdlList[APP_DB_HDL_LIST_LEN]; /*! Cached handle list */ medcIf_t *pIf; /*! Profile interface */ - wsfHandlerId_t handlerId; /*! WSF hander ID */ + wsfHandlerId_t handlerId; /*! WSF handler ID */ uint16_t autoUuid[MEDC_MAX_AUTO_UUID]; /*! Service UUID for autoconnect */ bool_t scanning; /*! TRUE if scanning */ bool_t autoConnect; /*! TRUE if auto-connecting */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/medc/medc_plx.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/medc/medc_plx.c index ab8815ca..e12150d8 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/medc/medc_plx.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/medc/medc_plx.c @@ -66,7 +66,7 @@ static const attCfg_t medcPlxpAttCfg = { 15, /* ATT server service discovery connection idle timeout in seconds */ MEDC_PLX_DEFAULT_MTU, /* desired ATT MTU */ - ATT_MAX_TRANS_TIMEOUT, /* transcation timeout in seconds */ + ATT_MAX_TRANS_TIMEOUT, /* transaction timeout in seconds */ 4 /* number of queued prepare writes supported by server */ }; diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/medc/medc_wsp.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/medc/medc_wsp.c index 4e547b67..2ea7067c 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/medc/medc_wsp.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/medc/medc_wsp.c @@ -53,7 +53,7 @@ enum /* Start of cached weight scale service handles; begins after DIS */ #define MEDC_DISC_WSS_START (MEDC_DISC_DIS_START + DIS_HDL_LIST_LEN) -/* Start of User Data Service handles; begins after weight scale serivce */ +/* Start of User Data Service handles; begins after weight scale service */ #define MEDC_DISC_UDS_START (MEDC_DISC_WSS_START + WSPC_WSS_HDL_LIST_LEN) /* Total cached handle list length */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/meds/meds_main.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/meds/meds_main.h index f08bfb7c..d0a3b96e 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/meds/meds_main.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/meds/meds_main.h @@ -65,7 +65,7 @@ typedef struct typedef struct { medsIf_t *pIf; /*! Profile interface */ - wsfHandlerId_t handlerId; /*! WSF hander ID */ + wsfHandlerId_t handlerId; /*! WSF handler ID */ } medsCb_t; /************************************************************************************************** diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/meds/meds_plx.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/meds/meds_plx.c index 78874452..8e5900ea 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/meds/meds_plx.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/meds/meds_plx.c @@ -74,7 +74,7 @@ static const attCfg_t medsPlxAttCfg = { 15, /* ATT server service discovery connection idle timeout in seconds */ MEDS_PLX_DEFAULT_MTU, /* desired ATT MTU */ - ATT_MAX_TRANS_TIMEOUT, /* transcation timeout in seconds */ + ATT_MAX_TRANS_TIMEOUT, /* transaction timeout in seconds */ 4 /* number of queued prepare writes supported by server */ }; diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/sensor/sensor_main.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/sensor/sensor_main.c index 7a8cfc82..4c83dc7e 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/sensor/sensor_main.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/sensor/sensor_main.c @@ -75,7 +75,7 @@ enum /* Task handler ID */ static wsfHandlerId_t sensorHandlerId; -/* App extention callback */ +/* App extension callback */ static sensorExtCback_t sensorExtCback; /************************************************************************************************** diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/tag/tag_main.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/tag/tag_main.c index 64bb4187..9f9b1423 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/tag/tag_main.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/tag/tag_main.c @@ -975,7 +975,7 @@ static void tagProcMsg(dmEvt_t *pMsg) /* Set the advertising peer address. */ tagPrivAddDevToResListInd(tagCb.resListRestoreHdl); - /* Retore next device to resolving list in Controller. */ + /* Restore next device to resolving list in Controller. */ tagCb.resListRestoreHdl = AppAddNextDevToResList(tagCb.resListRestoreHdl); if (tagCb.resListRestoreHdl == APP_DB_HDL_NONE) diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/uribeacon/uribeacon_main.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/uribeacon/uribeacon_main.c index fa729509..9cdb9773 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/uribeacon/uribeacon_main.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-apps/sources/uribeacon/uribeacon_main.c @@ -115,7 +115,7 @@ static wsfHandlerId_t uriBeaconHandlerId; static wsfTimer_t uriBeaconAdvTimer; static uint8_t uriBeaconAdvType; -/* App extention callback */ +/* App extension callback */ static uribeaconExtCback_t uriBeaconExtCback; /************************************************************************************************** diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/include/att_api.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/include/att_api.h index fd285de1..8c47cfc0 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/include/att_api.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/include/att_api.h @@ -76,7 +76,7 @@ extern "C" { /*! \addtogroup STACK_ATTC_API * \{ */ /** \name ATT Client Discovery and Configuration Settings - * Settings used to configurate ATT Discovery procedure for ATT Clients. + * Settings used to configure ATT Discovery procedure for ATT Clients. */ /**@{*/ #define ATTC_SET_UUID_128 0x01 /*!< \brief Set if the UUID is 128 bits in length */ @@ -149,7 +149,7 @@ typedef struct { wsfTimerTicks_t discIdleTimeout; /*!< \brief ATT server service discovery connection idle timeout in seconds */ uint16_t mtu; /*!< \brief desired ATT MTU */ - uint8_t transTimeout; /*!< \brief transcation timeout in seconds */ + uint8_t transTimeout; /*!< \brief transaction timeout in seconds */ uint8_t numPrepWrites; /*!< \brief number of queued prepare writes supported by server */ } attCfg_t; @@ -358,9 +358,9 @@ typedef struct /*! \brief ATT client discovery control block */ typedef struct { - attcDiscChar_t **pCharList; /*!< \brief Characterisic list for discovery */ + attcDiscChar_t **pCharList; /*!< \brief Characteristic list for discovery */ uint16_t *pHdlList; /*!< \brief Characteristic handle list */ - attcDiscCfg_t *pCfgList; /*!< \brief Characterisic list for configuration */ + attcDiscCfg_t *pCfgList; /*!< \brief Characteristic list for configuration */ uint8_t charListLen; /*!< \brief Characteristic and handle list length */ uint8_t cfgListLen; /*!< \brief Configuration list length */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/include/att_defs.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/include/att_defs.h index 8fea47d9..6f249c35 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/include/att_defs.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/include/att_defs.h @@ -183,7 +183,7 @@ extern "C" { #define ATT_READ_TYPE_RSP_LEN 2 /*!< \brief Read type response length. */ #define ATT_READ_REQ_LEN 3 /*!< \brief Read request length. */ #define ATT_READ_RSP_LEN 1 /*!< \brief Read response length. */ -#define ATT_READ_BLOB_REQ_LEN 5 /*!< \brief Read blob request legnth. */ +#define ATT_READ_BLOB_REQ_LEN 5 /*!< \brief Read blob request length. */ #define ATT_READ_BLOB_RSP_LEN 1 /*!< \brief Read blob response length. */ #define ATT_READ_MULT_REQ_LEN 1 /*!< \brief Read multiple request length. */ #define ATT_READ_MULT_RSP_LEN 1 /*!< \brief Read multiple response length. */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/include/att_uuid.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/include/att_uuid.h index a8397c0a..bc4c678e 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/include/att_uuid.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/include/att_uuid.h @@ -202,7 +202,7 @@ extern "C" { #define ATT_UUID_WEIGHT_MEAS 0x2A9D /*!< \brief Weight Measurement */ #define ATT_UUID_WEIGHT_SCALE_FEATURE 0x2A9E /*!< \brief Weight Scale Feature */ #define ATT_UUID_USER_CONTROL_POINT 0x2A9F /*!< \brief User Control Point */ -#define ATT_UUID_RPAO 0x2AC9 /*!< \brief Resolvable Prviate Address Only */ +#define ATT_UUID_RPAO 0x2AC9 /*!< \brief Resolvable Private Address Only */ #define ATT_UUID_MESH_PRV_DATA_IN 0x2ADB /*!< \brief Mesh Provisioning Data In */ #define ATT_UUID_MESH_PRV_DATA_OUT 0x2ADC /*!< \brief Mesh Provisioning Data Out */ #define ATT_UUID_MESH_PROXY_DATA_IN 0x2ADD /*!< \brief Mesh Proxy Data In */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/include/dm_api.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/include/dm_api.h index 717b0b65..221af63c 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/include/dm_api.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/include/dm_api.h @@ -129,7 +129,7 @@ extern "C" { /**@}*/ /** \name DM Unknown IDs - * Values for unknown or unspecificed device identifiers. + * Values for unknown or unspecified device identifiers. */ /**@{*/ /*! \brief Unknown connection ID or other error */ @@ -249,9 +249,9 @@ extern "C" { #define DM_GAP_SCAN_FAST_INT_MIN 48 /*!< \brief Minimum scan interval when user initiated */ #define DM_GAP_SCAN_FAST_INT_MAX 96 /*!< \brief Maximum scan interval when user initiated */ #define DM_GAP_SCAN_FAST_WINDOW 48 /*!< \brief Scan window when user initiated */ -#define DM_GAP_SCAN_SLOW_INT_1 2048 /*!< \brief Scan interval 1 when background scannning */ +#define DM_GAP_SCAN_SLOW_INT_1 2048 /*!< \brief Scan interval 1 when background scanning */ #define DM_GAP_SCAN_SLOW_WINDOW_1 18 /*!< \brief Scan window 1 when background scanning */ -#define DM_GAP_SCAN_SLOW_INT_2 4096 /*!< \brief Scan interval 2 when background scannning */ +#define DM_GAP_SCAN_SLOW_INT_2 4096 /*!< \brief Scan interval 2 when background scanning */ #define DM_GAP_SCAN_SLOW_WINDOW_2 36 /*!< \brief Scan window 2 when background scanning */ #define DM_GAP_ADV_FAST_INT_MIN_1 48 /*!< \brief Minimum advertising interval 1 when user initiated */ #define DM_GAP_ADV_FAST_INT_MAX_1 96 /*!< \brief Maximum advertising interval 1 when user initiated */ @@ -269,9 +269,9 @@ extern "C" { #define DM_GAP_SCAN_CODED_FAST_INT_MIN 144 /*!< \brief Minimum scan interval when user initiated on LE Coded PHY */ #define DM_GAP_SCAN_CODED_FAST_INT_MAX 288 /*!< \brief Maximum scan interval when user initiated on LE Coded PHY */ #define DM_GAP_SCAN_CODED_FAST_WINDOW 144 /*!< \brief Scan window when user initiated on LE Coded PHY */ -#define DM_GAP_SCAN_CODED_SLOW_INT_1 6144 /*!< \brief Scan interval 1 when background scannning on LE Coded PHY */ +#define DM_GAP_SCAN_CODED_SLOW_INT_1 6144 /*!< \brief Scan interval 1 when background scanning on LE Coded PHY */ #define DM_GAP_SCAN_CODED_SLOW_WINDOW_1 54 /*!< \brief Scan window 1 when background scanning on LE Coded PHY */ -#define DM_GAP_SCAN_CODED_SLOW_INT_2 12288 /*!< \brief Scan interval 2 when background scannning on LE Coded PHY */ +#define DM_GAP_SCAN_CODED_SLOW_INT_2 12288 /*!< \brief Scan interval 2 when background scanning on LE Coded PHY */ #define DM_GAP_SCAN_CODED_SLOW_WINDOW_2 108 /*!< \brief Scan window 2 when background scanning on LE Coded PHY */ #define DM_GAP_ADV_CODED_FAST_INT_MIN_1 144 /*!< \brief Minimum advertising interval 1 when user initiated on LE Coded PHY */ #define DM_GAP_ADV_CODED_FAST_INT_MAX_1 288 /*!< \brief Maximum advertising interval 1 when user initiated on LE Coded PHY */ @@ -498,7 +498,7 @@ enum DM_SEC_ENCRYPT_FAIL_IND, /*!< \brief Encryption failed */ DM_SEC_AUTH_REQ_IND, /*!< \brief PIN or OOB data requested for pairing */ DM_SEC_KEY_IND, /*!< \brief Security key indication */ - DM_SEC_LTK_REQ_IND, /*!< \brief LTK requested for encyption */ + DM_SEC_LTK_REQ_IND, /*!< \brief LTK requested for encryption */ DM_SEC_PAIR_IND, /*!< \brief Incoming pairing request from master */ DM_SEC_SLAVE_REQ_IND, /*!< \brief Incoming security request from slave */ DM_SEC_CALC_OOB_IND, /*!< \brief Result of OOB Confirm Calculation Generation */ @@ -1650,7 +1650,7 @@ void DmScanSetAddrType(uint8_t addrType); * successful receive. * \param syncTimeout Synchronization timeout. * - * \return Sync indentifier. + * \return Sync identifier. */ /*************************************************************************************************/ dmSyncId_t DmSyncStart(uint8_t advSid, uint8_t advAddrType, const uint8_t *pAdvAddr, uint16_t skip, @@ -1885,7 +1885,7 @@ void DmPastSetInfoTrsf(dmConnId_t connId, uint16_t serviceData, uint8_t advHandl /*************************************************************************************************/ /*! * \brief Specify how the Controller should process periodic advertising synchronization - * information received from the device identified by the connnection handle. + * information received from the device identified by the connection handle. * * \param connId Connection identifier. * \param mode Action to be taken when periodic advertising info is received. @@ -3113,7 +3113,7 @@ void DmSecCompareRsp(dmConnId_t connId, bool_t valid); /*! * \brief This function returns the 6-digit compare value for the specified 128-bit confirm value. * - * \param pConfirm Pointer to 128-bit comfirm value. + * \param pConfirm Pointer to 128-bit confirm value. * * \return Six-digit compare value. */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/include/hci_api.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/include/hci_api.h index 6a6474b9..977d3c02 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/include/hci_api.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/include/hci_api.h @@ -485,7 +485,7 @@ typedef struct uint16_t supportedMaxRxTime; /*!< \brief Supported maximum Rx time. */ } hciLeReadMaxDataLenEvt_t; -/*! \brief LE remote connetion parameter request event */ +/*! \brief LE remote connection parameter request event */ typedef struct { wsfMsgHdr_t hdr; /*!< \brief Event header. */ @@ -702,7 +702,7 @@ typedef struct uint16_t cisHandle; /*!< \brief CIS connection handle. */ uint32_t cigSyncDelayUsec; /*!< \brief CIG synchronization delay in usec. */ uint32_t cisSyncDelayUsec; /*!< \brief CIS synchronization delay in usec. */ - uint32_t transLatMToSUsec; /*!< \brief The maximum time, in msec, for transmission of SDUs of all CISes from mater to slave. */ + uint32_t transLatMToSUsec; /*!< \brief The maximum time, in msec, for transmission of SDUs of all CISes from master to slave. */ uint32_t transLatSToMUsec; /*!< \brief The maximum time, in msec, for transmission of SDUs of all CISes from slave to master. */ uint8_t phyMToS; /*!< \brief Master to slave PHY. */ uint8_t phySToM; /*!< \brief Slave to master PHY. */ @@ -1234,7 +1234,7 @@ typedef void (*hciIsoCback_t)(uint8_t *pData); /*! \brief HCI flow control callback type * - * This callback function manages flow control in the TX path betrween the stack and HCI. + * This callback function manages flow control in the TX path between the stack and HCI. * * \param connId Connection handle. * \param flowDisabled TRUE if flow is disabled. @@ -1747,7 +1747,7 @@ void HciLeReadChanMapCmd(uint16_t handle); /*************************************************************************************************/ /*! - * \brief HCI LE read local supported feautre command. + * \brief HCI LE read local supported feature command. * * \return None. */ @@ -2793,7 +2793,7 @@ void HciLeSetCigParamsCmd(HciCisCigParams_t *pCigParam); /*! * \brief HCI LE create CIS command. * - * \param numCis Nunber of CISes. + * \param numCis Number of CISes. * \param pCreateCisParam Parameters for creating connected isochronous stream. * * \return None. @@ -2828,7 +2828,7 @@ void HciLeRejectCisReqCmd(uint16_t connHandle, uint8_t reason); /*! * \brief HCI LE remove CIG command. * - * \param cigId Identifer of a CIG. + * \param cigId Identifier of a CIG. * * \return None. */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/include/l2c_defs.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/include/l2c_defs.h index d32568fd..5a497489 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/include/l2c_defs.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/include/l2c_defs.h @@ -68,7 +68,7 @@ extern "C" { #define L2C_SIG_DISCONN_RSP_LEN 4 /*!< \brief Disconnection response length. */ #define L2C_SIG_LE_CONN_REQ_LEN 10 /*!< \brief LE connection request length. */ #define L2C_SIG_LE_CONN_RSP_LEN 10 /*!< \brief LE connection response length. */ -#define L2C_SIG_FLOW_CTRL_CREDIT_LEN 4 /*!< \brief Flow control credit lenghth. */ +#define L2C_SIG_FLOW_CTRL_CREDIT_LEN 4 /*!< \brief Flow control credit length. */ #define L2C_SIG_EN_CONNECT_REQ_LEN 8 /*!< \brief Enhanced credit based connection request */ #define L2C_SIG_EN_CONNECT_RSP_LEN 8 /*!< \brief Enhanced credit based connection response */ #define L2C_SIG_EN_RECONFIG_REQ_LEN 4 /*!< \brief Enhanced credit based reconfiguration request */ @@ -88,7 +88,7 @@ extern "C" { * */ /**@{*/ -#define L2C_SIG_CMD_REJ 0x01 /*!< \brief Comand reject */ +#define L2C_SIG_CMD_REJ 0x01 /*!< \brief Command reject */ #define L2C_SIG_DISCONNECT_REQ 0x06 /*!< \brief Disconnect request */ #define L2C_SIG_DISCONNECT_RSP 0x07 /*!< \brief Disconnect response */ #define L2C_SIG_CONN_UPDATE_REQ 0x12 /*!< \brief Connection parameter update request */ @@ -140,7 +140,7 @@ extern "C" { #define L2C_CONN_FAIL_INVALID_PARAM 0x000C /*!< \brief Connection refused invalid parameters */ /**@}*/ -/** \name L2CAP Interal Connection Result Codes +/** \name L2CAP Internal Connection Result Codes * Proprietary codes not sent in any L2CAP packet. */ /**@{*/ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/include/smp_defs.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/include/smp_defs.h index 727952ca..5c9a780b 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/include/smp_defs.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/include/smp_defs.h @@ -50,7 +50,7 @@ extern "C" { /**@}*/ #define SMP_OOB_LEN 16 /*!< \brief OOB Data length in bytes. */ -#define SMP_PIN_LEN 3 /*!< \brief Passkey Pin lenght in bytes. */ +#define SMP_PIN_LEN 3 /*!< \brief Passkey Pin length in bytes. */ /** \name SMP Error Codes * SMP PDU status codes diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/hci/dual_chip/hci_cmd.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/hci/dual_chip/hci_cmd.c index ac0ead55..80c0a1ad 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/hci/dual_chip/hci_cmd.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/hci/dual_chip/hci_cmd.c @@ -659,7 +659,7 @@ void HciLeReadChanMapCmd(uint16_t handle) /*************************************************************************************************/ /*! - * \brief HCI LE read local supported feautre command. + * \brief HCI LE read local supported feature command. * * \return None. */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/hci/dual_chip/hci_cmd_cis.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/hci/dual_chip/hci_cmd_cis.c index e78a2478..9d1d2b5f 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/hci/dual_chip/hci_cmd_cis.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/hci/dual_chip/hci_cmd_cis.c @@ -78,7 +78,7 @@ void HciLeSetCigParamsCmd(HciCisCigParams_t *pCigParam) /*! * \brief HCI LE create CIS command. * - * \param numCis Nunber of CISes. + * \param numCis Number of CISes. * \param pCreateCisParam Parameters for creating connected isochronous stream. * * \return None. @@ -108,7 +108,7 @@ void HciLeCreateCisCmd(uint8_t numCis, HciCisCreateCisParams_t *pCreateCisParam) /*! * \brief HCI LE remove CIG command. * - * \param cigId Identifer of a CIG. + * \param cigId Identifier of a CIG. * * \return None. */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/hci/exactle/hci_cmd.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/hci/exactle/hci_cmd.c index e617a0e3..5f52383a 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/hci/exactle/hci_cmd.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/hci/exactle/hci_cmd.c @@ -154,7 +154,7 @@ void HciLeReadChanMapCmd(uint16_t handle) /*************************************************************************************************/ /*! - * \brief HCI LE read local supported feautre command. + * \brief HCI LE read local supported feature command. * * \return None. */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/hci/exactle/hci_cmd_cis.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/hci/exactle/hci_cmd_cis.c index 684d6d54..af20cc40 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/hci/exactle/hci_cmd_cis.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/hci/exactle/hci_cmd_cis.c @@ -67,7 +67,7 @@ void HciLeSetCigParamsCmd(HciCisCigParams_t *pCigParam) /*! * \brief HCI LE create CIS command. * - * \param numCis Nunber of CISes. + * \param numCis Number of CISes. * \param pCreateCisParam Parameters for creating connected isochronous stream. * * \return None. @@ -87,7 +87,7 @@ void HciLeCreateCisCmd(uint8_t numCis, HciCisCreateCisParams_t *pCreateCisParam) /*! * \brief HCI LE remove CIG command. * - * \param cigId Identifer of a CIG. + * \param cigId Identifier of a CIG. * * \return None. */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/sec/common/sec_ccm_hci.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/sec/common/sec_ccm_hci.c index afa8bf86..2a7ea009 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/sec/common/sec_ccm_hci.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/sec/common/sec_ccm_hci.c @@ -369,7 +369,7 @@ static void secCcmGenSi(secQueueBuf_t *pBuf, uint8_t *pPriorS) { if (pCcm->operation == SEC_CCM_OP_ENCRYPT) { - /* Encription complete. Send notification. */ + /* Encryption complete. Send notification. */ secCcmEncMsg_t *pMsg = (secCcmEncMsg_t *) &pBuf->msg; pMsg->pCiphertext = pCcm->pWorking; diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/sec/common/sec_cmac_hci.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/sec/common/sec_cmac_hci.c index f177a886..d5f711ef 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/sec/common/sec_cmac_hci.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/sec/common/sec_cmac_hci.c @@ -129,7 +129,7 @@ static void secCmacGenSubkey1(secQueueBuf_t *pBuf) * \param pBuf Buffer to left shift. * \param shift Number of bits to shift. * - * \return The overflow of the operaiton. + * \return The overflow of the operation. */ /*************************************************************************************************/ static uint8_t secCmacKeyShift(uint8_t *pBuf, uint8_t shift) @@ -170,7 +170,7 @@ static void secCmacGenSubkey2(secQueueBuf_t *pBuf) secCmacSecCb_t *pCmac = (secCmacSecCb_t*) pBuf->pCb; uint8_t overflow; - /* Copy the result of the AES oepration */ + /* Copy the result of the AES operation */ Calc128Cpy(pCmac->subkey, pBuf->ciphertext); /* Calculate the K1 subkey */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/att/att_main.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/att/att_main.c index e21a3076..c0dddced 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/att/att_main.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/att/att_main.c @@ -54,7 +54,7 @@ static uint8_t attBaseUuid[] = {0xFB, 0x34, 0x9B, 0x5F, 0x80, 0x00, 0x00, 0x80, Global Variables **************************************************************************************************/ -/* Default component function inteface */ +/* Default component function interface */ const attFcnIf_t attFcnDefault = { attEmptyDataCback, @@ -63,7 +63,7 @@ const attFcnIf_t attFcnDefault = attEmptyConnCback }; -/* Default component function inteface */ +/* Default component function interface */ const eattFcnIf_t eattFcnDefault = { attEmptyL2cCocCback, diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/att/att_main.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/att/att_main.h index cdb6f524..5b0763d1 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/att/att_main.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/att/att_main.h @@ -163,7 +163,7 @@ typedef struct Global Variables **************************************************************************************************/ -/* Default component function inteface */ +/* Default component function interface */ extern const attFcnIf_t attFcnDefault; /* Control block */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/att/attc_disc.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/att/attc_disc.c index ebb7e565..34d93889 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/att/attc_disc.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/att/attc_disc.c @@ -89,7 +89,7 @@ static bool_t attcUuidCmp(attcDiscChar_t *pChar, uint8_t *pUuid, uint8_t setting /*************************************************************************************************/ /*! - * \brief Verify that required characterstics and descriptors have been discovered. + * \brief Verify that required characteristics and descriptors have been discovered. * * \param pCb Pointer to service discovery control block. * @@ -122,7 +122,7 @@ static uint8_t attcDiscVerify(attcDiscCb_t *pCb) /*************************************************************************************************/ /*! * \brief Find next characteristic that requires descriptor discovery. If none found, - * discovery is complete; verify that required characterstics have been discovered. + * discovery is complete; verify that required characteristics have been discovered. * * \param connId DM connection ID. * \param pCb Pointer to service discovery control block. diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/att/attc_write.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/att/attc_write.c index 7602baa5..80cd9131 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/att/attc_write.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/att/attc_write.c @@ -34,7 +34,7 @@ /*! * \brief Allocate an ATT Prepare Write Request message buffer. * - * \param bufLen Lenght of buffer to be allocated. + * \param bufLen Length of buffer to be allocated. * * \return Pointer to data message buffer or NULL if allocation failed. */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/att/atts_eatt.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/att/atts_eatt.c index f1ca4879..14bbb40a 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/att/atts_eatt.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/att/atts_eatt.c @@ -270,12 +270,12 @@ static void eattsConnCback(attCcb_t *pCcb, dmEvt_t *pDmEvt) /*************************************************************************************************/ /*! - * \brief Calculate the length of a list of handle length value tupples. + * \brief Calculate the length of a list of handle length value tuples. * * \param numTuples The number of tuples. * \param pTupleList Pointer to a list of tuples. * - * \return length of tupples. + * \return length of tuples. */ /*************************************************************************************************/ static uint16_t eattMultiNtfLen(uint16_t numTuples, eattTuple_t *pTupleList) diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/att/atts_ind.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/att/atts_ind.c index 803f1fef..4dd483ac 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/att/atts_ind.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/att/atts_ind.c @@ -561,7 +561,7 @@ void AttsIndInit(void) uint8_t i, j; attsCcb_t *pCcb; - /* Number of slots times channels cannot excede 0xFF */ + /* Number of slots times channels cannot exceed 0xFF */ WSF_ASSERT(((ATT_BEARER_MAX) * DM_CONN_MAX) > sizeof(uint8_t)) /* Initialize control block CCBs */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/att/atts_main.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/att/atts_main.c index 998e6300..ea690a4f 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/att/atts_main.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/att/atts_main.c @@ -519,7 +519,7 @@ void attsCheckPendDbHashReadRsp(void) * Characteristic Declaration and Characteristic Extended Properties which contribute their * ATT handle, ATT type and ATT value. Hashable attributes also include Characteristic User * Description, Client Characteristic Configuration, Server Characteristic Configuration, - * Characteristic Format, and Characteristic Aggreate Format which contribute their ATT + * Characteristic Format, and Characteristic Aggregate Format which contribute their ATT * handle and ATT type. */ /*************************************************************************************************/ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/att/atts_proc.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/att/atts_proc.c index 455950e7..7a9c10d7 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/att/atts_proc.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/att/atts_proc.c @@ -95,7 +95,7 @@ bool_t attsUuid16Cmp(uint8_t *pUuid16, uint8_t uuidLen, uint8_t *pUuid) * \param handle Attribute handle. * \param pAttrGroup Return value pointer to found attribute's group. * - * \return Pointer to attribute if found, othewise NULL. + * \return Pointer to attribute if found, otherwise NULL. */ /*************************************************************************************************/ attsAttr_t *attsFindByHandle(uint16_t handle, attsGroup_t **pAttrGroup) diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/cfg/cfg_stack.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/cfg/cfg_stack.c index f25bd35d..df4530b5 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/cfg/cfg_stack.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/cfg/cfg_stack.c @@ -70,7 +70,7 @@ const attCfg_t attCfg = { 15, /* ATT server service discovery connection idle timeout in seconds */ ATT_DEFAULT_MTU, /* desired ATT MTU */ - ATT_MAX_TRANS_TIMEOUT, /* transcation timeout in seconds */ + ATT_MAX_TRANS_TIMEOUT, /* transaction timeout in seconds */ 4 /* number of queued prepare writes supported by server */ }; diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_adv.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_adv.h index 7fca4328..54bc1562 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_adv.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_adv.h @@ -215,7 +215,7 @@ extern dmAdvCb_t dmAdvCb; Function declarations **************************************************************************************************/ -/* legacy adv component inteface */ +/* legacy adv component interface */ void dmAdvMsgHandler(wsfMsgHdr_t *pMsg); void dmAdvHciHandler(hciEvt_t *pEvent); void dmAdvReset(void); @@ -230,7 +230,7 @@ void dmAdvActClearSets(dmAdvMsg_t *pMsg); void dmAdvActSetRandAddr(dmAdvMsg_t *pMsg); void dmAdvActTimeout(dmAdvMsg_t *pMsg); -/* extended adv component inteface */ +/* extended adv component interface */ void dmExtAdvMsgHandler(wsfMsgHdr_t *pMsg); void dmExtAdvHciHandler(hciEvt_t *pEvent); void dmExtAdvReset(void); @@ -251,7 +251,7 @@ void dmPerAdvActSetData(dmAdvMsg_t *pMsg); void dmPerAdvActStart(dmAdvMsg_t *pMsg); void dmPerAdvActStop(dmAdvMsg_t *pMsg); -/* periodic adv component inteface */ +/* periodic adv component interface */ void dmPerAdvMsgHandler(wsfMsgHdr_t *pMsg); void dmPerAdvHciHandler(hciEvt_t *pEvent); void dmPerAdvReset(void); diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_adv_ae.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_adv_ae.c index 635daf02..3b2cbfb1 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_adv_ae.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_adv_ae.c @@ -387,7 +387,7 @@ static void dmAdvConfig(uint8_t advHandle, uint8_t advType, uint8_t peerAddrType break; default: - /* unkown advertising type */ + /* unknown advertising type */ break; } @@ -1199,7 +1199,7 @@ void dmExtAdvActTimeout(dmAdvMsg_t *pMsg) /*************************************************************************************************/ /*! - * \brief DM extended advertising HCI adv enbale command complete event handler. + * \brief DM extended advertising HCI adv enable command complete event handler. * * \param pEvent Pointer to HCI callback event structure. * @@ -1360,7 +1360,7 @@ void dmExtAdvHciHandler(hciEvt_t *pEvent) /* else if low duty cycle directed advertising failed to create connection */ else if (pEvent->leAdvSetTerm.status != HCI_SUCCESS) { - /* generate connection compelete event */ + /* generate connection complete event */ dmAdvGenConnCmpl(advHandle, pEvent->leAdvSetTerm.status); } } @@ -1542,7 +1542,7 @@ void dmPerAdvReset(void) /*! * \brief Start directed extended advertising. * - * \param connId Connection identifer. + * \param connId Connection identifier. * \param advHandle Advertising handle. * \param advType Advertising type. * \param duration Advertising duration (in milliseconds). @@ -1575,7 +1575,7 @@ void dmExtAdvStartDirected(dmConnId_t connId, uint8_t advHandle, uint8_t advType /*! * \brief Stop directed extended advertising. * - * \param connId Connection identifer. + * \param connId Connection identifier. * * \return None. */ @@ -1603,7 +1603,7 @@ void dmExtAdvStopDirected(dmConnId_t connId) /*! * \brief This function is called when a connection is established from directed advertising. * - * \param connId Connection identifer. + * \param connId Connection identifier. * * \return None. */ @@ -1617,7 +1617,7 @@ void dmExtAdvConnected(dmConnId_t connId) /*! * \brief This function is called when a directed advertising connection fails. * - * \param connId Connection identifer. + * \param connId Connection identifier. * * \return None. */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_bis_slave.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_bis_slave.c index c3fb5cfe..c729eb51 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_bis_slave.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_bis_slave.c @@ -134,7 +134,7 @@ typedef struct uint8_t secLevel; /*!< \brief Security level. */ bool_t encrypt; /*!< \brief Unencrypted or Encrypted. */ bool_t authen; /*!< \brief Unauthenticated or Authenticated. */ - uint8_t bcastCode[HCI_BC_LEN]; /*!< \brief Braodcast code. */ + uint8_t bcastCode[HCI_BC_LEN]; /*!< \brief Broadcast code. */ /* BIS */ uint8_t numBis; /*!< \brief Total number of BISes in the BIG. */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_cis.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_cis.c index a9ec7af2..4a5fd6f1 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_cis.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_cis.c @@ -118,8 +118,8 @@ dmCisCigCb_t *dmCisCigCbAlloc(uint8_t cigId) /*! * \brief Allocate a DM CIS connection control block. * - * \param cigId Identfier of CIG that CIS belongs to. - * \param cisId CIS identfier. + * \param cigId Identifier of CIG that CIS belongs to. + * \param cisId CIS identifier. * \param role Device role. * * \return Pointer to CIS CCB or NULL if failure. @@ -193,7 +193,7 @@ void dmCisCcbDealloc(dmCisCcb_t *pCcb) /*! * \brief Deallocate all CIS connection control blocks associated with the given CIG ID. * -* \param cigId CIG identifer. +* \param cigId CIG identifier. * * \return None. */ @@ -243,8 +243,8 @@ dmCisCcb_t *dmCisCcbByHandle(uint16_t handle) /*! * \brief Return the CIS connection control block for the given CIG/CIS IDs. * - * \param cigId CIG identifer. - * \param cisId CIS identifer. + * \param cigId CIG identifier. + * \param cisId CIS identifier. * * \return Pointer to CIS connection control block. NULL if not found. */ @@ -271,7 +271,7 @@ dmCisCcb_t *dmCisCcbById(uint8_t cigId, uint8_t cisId) /*! * \brief Return the CIG control block for the given CIG ID. * -* \param cigId CIG identifer. +* \param cigId CIG identifier. * * \return Pointer to CIG control block. NULL if not found. */ @@ -575,7 +575,7 @@ void DmCisClose(uint16_t handle, uint8_t reason) * \brief For internal use only. Find the Connected Isochronous Stream (CIS) ID with matching * handle. * - * \param handle CIS identifer. + * \param handle CIS identifier. * * \return CIS identifier or DM_CIS_ID_NONE if error. */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_cis_master.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_cis_master.c index 29517978..6d31f340 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_cis_master.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_cis_master.c @@ -198,7 +198,7 @@ static uint8_t dmCisNumEnabled(uint8_t cigId, uint8_t numCis, HciCisCisParams_t /*************************************************************************************************/ /*! - * \brief Return the number of CIS connetions that are created for the given CIG. + * \brief Return the number of CIS connections that are created for the given CIG. * * \param cigId CIG identifier. * \param numCis Number of CISes. diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_conn.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_conn.h index 09b3b29c..563a6aac 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_conn.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_conn.h @@ -60,10 +60,10 @@ enum /* messages from HCI */ DM_CONN_MSG_HCI_LE_CONN_CMPL_FAIL, /*!< HCI LE Connection Complete Failure Event */ - DM_CONN_MSG_HCI_LE_CONN_CMPL, /*!< HCI LE Connection Compelte Event */ + DM_CONN_MSG_HCI_LE_CONN_CMPL, /*!< HCI LE Connection Complete Event */ DM_CONN_MSG_HCI_DISCONNECT_CMPL, /*!< HCI Disconnection Complete Event */ DM_CONN_MSG_HCI_LE_CONN_UPDATE_CMPL, /*!< HCI LE Connection Update Complete Event */ - DM_CONN_MSG_HCI_LE_CREATE_CONN_CANCEL_CMD_CMPL, /*!< HCI LE Create Connection Cancel Command Complet Event */ + DM_CONN_MSG_HCI_LE_CREATE_CONN_CANCEL_CMD_CMPL, /*!< HCI LE Create Connection Cancel Command Complete Event */ }; /* Number of messages */ @@ -110,7 +110,7 @@ enum { DM_CONN_SM_ACT_NONE = DM_CONN_ACT_SET_INIT(DM_CONN_ACT_SET_MAIN), /*!< No Action */ DM_CONN_SM_ACT_CLOSE, /*!< Process Connection Close */ - DM_CONN_SM_ACT_CONN_OPENED, /*!< Procoess Connection Opened */ + DM_CONN_SM_ACT_CONN_OPENED, /*!< Process Connection Opened */ DM_CONN_SM_ACT_CONN_FAILED, /*!< Process Connection Failed */ DM_CONN_SM_ACT_CONN_CLOSED, /*!< Process Connection Closed */ DM_CONN_SM_ACT_HCI_UPDATED, /*!< Process HCI Connection Update */ @@ -342,16 +342,16 @@ dmConnId_t dmConnOpenAccept(uint8_t clientId, uint8_t initPhys, uint8_t advHandl uint8_t role); void dmConnExecCback(dmConnMsg_t *pMsg); -/* component inteface */ +/* component interface */ void dmConnReset(void); void dmConnMsgHandler(wsfMsgHdr_t *pMsg); void dmConnHciHandler(hciEvt_t *pEvent); -/* component 2 inteface */ +/* component 2 interface */ void dmConn2MsgHandler(wsfMsgHdr_t *pMsg); void dmConn2HciHandler(hciEvt_t *pEvent); -/* connection update inteface */ +/* connection update interface */ void dmConnUpdMsgHandler(wsfMsgHdr_t *pMsg); /* state machine */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_conn_cte.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_conn_cte.c index 86824ea9..0f138096 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_conn_cte.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_conn_cte.c @@ -319,7 +319,7 @@ void dmConnCteHciHandler(hciEvt_t *pEvent) pEvent->hdr.event = DM_CONN_CTE_REQ_START_IND; } - /* else if disabing request */ + /* else if disabling request */ else if (pCteCb->reqState == DM_CONN_CTE_STATE_STOPPING) { if (pEvent->hdr.status == HCI_SUCCESS) diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_conn_master_ae.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_conn_master_ae.c index cdb8b025..464a4cdb 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_conn_master_ae.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_conn_master_ae.c @@ -73,7 +73,7 @@ static void dmExtConnOpen(uint8_t initPhys, uint8_t addrType, uint8_t *pAddr) { phyIdx = DmInitPhyToIdx(1 << i); - /* set extended create conection parameters for this PHY */ + /* set extended create connection parameters for this PHY */ scanParam[idx].scanInterval = dmConnCb.scanInterval[phyIdx]; scanParam[idx].scanWindow = dmConnCb.scanWindow[phyIdx]; connSpec[idx] = dmConnCb.connSpec[phyIdx]; diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_dev.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_dev.h index aaa575af..e5f5d70c 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_dev.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_dev.h @@ -132,14 +132,14 @@ extern dmDevCb_t dmDevCb; Function declarations **************************************************************************************************/ -/* dev component inteface */ +/* dev component interface */ void dmDevActReset(wsfMsgHdr_t *pMsg); /* dev action functions */ void dmDevMsgHandler(wsfMsgHdr_t *pMsg); void dmDevHciHandler(hciEvt_t *pEvent); -/* dev priv component inteface */ +/* dev priv component interface */ void dmDevPrivHciHandler(hciEvt_t *pEvent); void dmDevPrivMsgHandler(wsfMsgHdr_t *pMsg); void dmDevPrivReset(void); diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_main.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_main.c index 9ec94e95..9a883da9 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_main.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_main.c @@ -224,7 +224,7 @@ static const uint16_t dmEvtCbackLen[] = sizeof(hciVendorSpecEvt_t) /* DM_VENDOR_SPEC_IND */ }; -/* Default component function inteface */ +/* Default component function interface */ static const dmFcnIf_t dmFcnDefault = { dmEmptyReset, diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_priv.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_priv.c index 45966dc6..81711a34 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_priv.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_priv.c @@ -367,7 +367,7 @@ void dmPrivHciHandler(hciEvt_t *pEvent) case HCI_LE_SET_ADDR_RES_ENABLE_CMD_CMPL_CBACK_EVT: pEvent->hdr.event = DM_PRIV_SET_ADDR_RES_ENABLE_IND; - /* if LE set address resoultion enable command succeeded */ + /* if LE set address resolution enable command succeeded */ if (pEvent->hdr.status == HCI_SUCCESS) { /* update LL Privacy Enabled flag */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_priv.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_priv.h index 97cb6448..e5b9ac57 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_priv.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_priv.h @@ -145,7 +145,7 @@ typedef struct Function declarations **************************************************************************************************/ -/* Privacy component inteface */ +/* Privacy component interface */ void dmPrivMsgHandler(wsfMsgHdr_t *pMsg); void dmPrivHciHandler(hciEvt_t *pEvent); void dmPrivReset(void); @@ -159,7 +159,7 @@ void dmPrivActClearResList(dmPrivMsg_t *pMsg); void dmPrivActSetPrivacyMode(dmPrivMsg_t *pMsg); void dmPrivActGenAddr(dmPrivMsg_t *pMsg); -/* Privacy ASE component inteface */ +/* Privacy ASE component interface */ void dmPrivAesMsgHandler(wsfMsgHdr_t *pMsg); /* Privacy ASE action functions */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_scan.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_scan.h index 4a42f5ce..fe55ba98 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_scan.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_scan.h @@ -182,10 +182,10 @@ extern dmScanCb_t dmScanCb; Function declarations **************************************************************************************************/ -/* common scanning component inteface */ +/* common scanning component interface */ void dmScanInit(void); -/* legacy scanning component inteface */ +/* legacy scanning component interface */ void dmScanReset(void); void dmScanMsgHandler(wsfMsgHdr_t *pMsg); void dmScanHciHandler(hciEvt_t *pEvent); @@ -195,7 +195,7 @@ void dmScanActStart(dmScanMsg_t *pMsg); void dmScanActStop(dmScanMsg_t *pMsg); void dmScanActTimeout(dmScanMsg_t *pMsg); -/* extended scanning component inteface */ +/* extended scanning component interface */ void dmExtScanReset(void); void dmExtScanMsgHandler(wsfMsgHdr_t *pMsg); void dmExtScanHciHandler(hciEvt_t *pEvent); @@ -216,7 +216,7 @@ void dmSyncSmActSyncLost(dmSyncCb_t *pScb, dmSyncMsg_t *pMsg); void dmSyncSmActSyncTrsfEst(dmSyncCb_t *pScb, dmSyncMsg_t *pMsg); void dmSyncSmActSyncTrsfEstFailed(dmSyncCb_t *pScb, dmSyncMsg_t *pMsg); -/* sync component inteface */ +/* sync component interface */ void dmSyncInit(void); void dmSyncReset(void); void dmSyncMsgHandler(wsfMsgHdr_t *pMsg); @@ -229,7 +229,7 @@ void dmPastActSetInfoTrsf(dmPastMsg_t *pMsg); void dmPastActConfig(dmPastMsg_t *pMsg); void dmPastActDefaultConfig(dmPastMsg_t *pMsg); -/* past component inteface */ +/* past component interface */ void dmPastMsgHandler(wsfMsgHdr_t *pMsg); void dmPastHciHandler(hciEvt_t *pEvent); diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_sec_lesc.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_sec_lesc.c index a8790951..5bea2e56 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_sec_lesc.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/dm/dm_sec_lesc.c @@ -133,7 +133,7 @@ void DmSecSetOob(dmConnId_t connId, dmSecLescOobCfg_t *pCfg) /*************************************************************************************************/ /*! - * \brief This function calcualtes the local random and confirm values used in LESC OOB pairing. + * \brief This function calculates the local random and confirm values used in LESC OOB pairing. * The operation's result is posted as a DM_SEC_CALC_OOB_IND event to the application's DM * callback handler. The local rand and confirm values are exchanged with the peer via * out-of-band (OOB) methods and passed into the DmSecSetOob after DM_CONN_OPEN_IND. @@ -162,7 +162,7 @@ void DmSecCalcOobReq(uint8_t *pRand, uint8_t *pPubKeyX) { uint8_t *pCatBuf = pCmacText; - /* Concatinate PKx, PKx, 0x00 */ + /* Concatenate PKx, PKx, 0x00 */ pCatBuf = SmpScCat(pCatBuf, pPubKeyX, SMP_PUB_KEY_LEN); pCatBuf = SmpScCat(pCatBuf, pPubKeyX, SMP_PUB_KEY_LEN); *pCatBuf = 0; @@ -299,7 +299,7 @@ void DmSecCompareRsp(dmConnId_t connId, bool_t valid) /*! * \brief This function returns the 6-digit compare value for the specified 128-bit confirm value. * - * \param pConfirm Pointer to 128-bit comfirm value. + * \param pConfirm Pointer to 128-bit confirm value. * * \return Six-digit compare value. */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/l2c/l2c_coc.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/l2c/l2c_coc.c index f78873f1..84feb119 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/l2c/l2c_coc.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/l2c/l2c_coc.c @@ -2751,7 +2751,7 @@ bool_t L2cCocEnhancedConnectReq(dmConnId_t connId, l2cCocRegId_t regId, uint16_t { if (pRegCb->inUse && connId != DM_CONN_ID_NONE) { - /* alocate message buffer */ + /* allocate message buffer */ if ((pMsg = WsfMsgAlloc(sizeof(l2cApiEnConnectReq_t))) != NULL) { /* unused channels should be zero */ @@ -2813,7 +2813,7 @@ bool_t L2cCocEnhancedReconfigReq(dmConnId_t connId, uint16_t mtu, uint16_t mps, WsfTaskLock(); - /* alocate message buffer */ + /* allocate message buffer */ if ((numChan <= L2C_MAX_EN_CHAN) && pConnCb) { for (i = 0; i < numChan; i++) diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smp_db.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smp_db.c index cbd056aa..3aaca26e 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smp_db.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smp_db.c @@ -40,7 +40,7 @@ /* Decrement a timer. */ #define SMP_DB_DEC_TIMER(a) do { a = a > SMP_DB_SRV_MS ? a - SMP_DB_SRV_MS : 0;} while (0) -/* Device database indicies. */ +/* Device database indices. */ #define SMP_DB_COMMON_REC 0 /*! Common record used when database is full. */ #define SMP_DB_FIRST_REC 1 /*! Index of first device specific record in database. */ @@ -290,7 +290,7 @@ uint32_t SmpDbMaxAttemptReached(dmConnId_t connId) if (pRec->attemptMult == 0) { - /* Due to a disconnection, a record exists but the attempt multipier hasn't been set. */ + /* Due to a disconnection, a record exists but the attempt multiplier hasn't been set. */ multiplier = 1; } else diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smp_main.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smp_main.c index ba488930..d8e7f947 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smp_main.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smp_main.c @@ -144,7 +144,7 @@ static void smpL2cCtrlCback(wsfMsgHdr_t *pMsg) /* if data flow enabled */ if (!pCcb->flowDisabled) { - /* if packet in qeueue */ + /* if packet in queue */ if (pCcb->pQueued != NULL) { /* send queued packet */ @@ -166,7 +166,7 @@ static void smpL2cCtrlCback(wsfMsgHdr_t *pMsg) /*************************************************************************************************/ /*! - * \brief Called to resume attempts state if a disconnect and reconnect occured while in the + * \brief Called to resume attempts state if a disconnect and reconnect occurred while in the * attempts state. * * \param connId Connection ID to prevent pairing. @@ -419,7 +419,7 @@ void smpCalcC1Part2(smpCcb_t *pCcb, uint8_t *pKey, uint8_t *pPart1) uint8_t *pIaddr; uint8_t *pRaddr; - /* set initiator/responder addresss */ + /* set initiator/responder address */ if (pCcb->initiator) { /* use local device's RPA */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smp_sc_act.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smp_sc_act.c index f722964b..40cb6509 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smp_sc_act.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smp_sc_act.c @@ -71,7 +71,7 @@ void SmpScEnableZeroDhKey(bool_t enable) /*************************************************************************************************/ /*! - * \brief Write initator BD Address to a buffer for use with toolkit functions F5 and F6. + * \brief Write initiator BD Address to a buffer for use with toolkit functions F5 and F6. * * \param pCcb Connection control block. * \param pBuf Buffer to write BD addresses to. @@ -613,7 +613,7 @@ void smpScActJwncCalcG2(smpCcb_t *pCcb, smpMsg_t *pMsg) { uint8_t *pCatBuf = pCmacText; - /* Concatinate PKax, PKbx, Nb */ + /* Concatenate PKax, PKbx, Nb */ if (pCcb->initiator) { pCatBuf = SmpScCat(pCatBuf, pCcb->pScCcb->pLocalPublicKey->pubKeyX, SMP_PUB_KEY_LEN); diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smp_sc_main.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smp_sc_main.c index 00515542..8d8bf351 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smp_sc_main.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smp_sc_main.c @@ -224,7 +224,7 @@ void SmpScCalcF4(smpCcb_t *pCcb, smpMsg_t *pMsg, uint8_t *pU, uint8_t *pV, uint8 { uint8_t *pCatBuf = pCmacText; - /* Concatinate pU, pV, z */ + /* Concatenate pU, pV, z */ pCatBuf = SmpScCat(pCatBuf, pU, SMP_PUB_KEY_LEN); pCatBuf = SmpScCat(pCatBuf, pV, SMP_PUB_KEY_LEN); *pCatBuf = z; @@ -260,13 +260,13 @@ void SmpScInit() /*************************************************************************************************/ /*! - * \brief Concatinate a buffer and return a pointer to the next byte after concatination. + * \brief Concatenate a buffer and return a pointer to the next byte after concatenation. * * \param pDst Pointer to destination. * \param pSrc Pointer to source buffer. * \param len Length of pSrc in bytes. * - * \return Pointer to next byte after concatination. + * \return Pointer to next byte after concatenation. */ /*************************************************************************************************/ uint8_t *SmpScCat(uint8_t *pDst, const uint8_t *pSrc, uint8_t len) @@ -277,12 +277,12 @@ uint8_t *SmpScCat(uint8_t *pDst, const uint8_t *pSrc, uint8_t len) /*************************************************************************************************/ /*! - * \brief Concatinate a 128 bit buffer and return a pointer to the next byte after concatination. + * \brief Concatenate a 128 bit buffer and return a pointer to the next byte after concatenation. * * \param pDst Pointer to destination. * \param pSrc Pointer to source buffer. * - * \return Pointer to next byte after concatination. + * \return Pointer to next byte after concatenation. */ /*************************************************************************************************/ uint8_t *SmpScCat128(uint8_t *pDst, uint8_t *pSrc) diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smpi_act.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smpi_act.c index 404a9e20..9d70c675 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smpi_act.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smpi_act.c @@ -211,7 +211,7 @@ void smpiActProcPairCnf(smpCcb_t *pCcb, smpMsg_t *pMsg) /*************************************************************************************************/ /*! - * \brief Verify the calculated confirm value. If ok, proceed with STK calculcation. + * \brief Verify the calculated confirm value. If ok, proceed with STK calculation. * * \param pCcb Connection control block. * \param pMsg State machine message. diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smpi_sc_sm.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smpi_sc_sm.c index 68d20bee..4b63a44d 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smpi_sc_sm.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smpi_sc_sm.c @@ -73,7 +73,7 @@ enum SMPI_SC_ACT_PK_SETUP, /*!< Process Passkey Setup */ SMPI_SC_ACT_PK_KEYPRESS, /*!< Process Passkey Keypress */ SMPI_SC_ACT_PK_SEND_KEYPRESS, /*!< Process Passkey Send Keypress */ - SMPI_SC_ACT_PK_CALC_CA, /*!< Process Passkey Calcuate Ca */ + SMPI_SC_ACT_PK_CALC_CA, /*!< Process Passkey Calculate Ca */ SMPI_SC_ACT_PK_CALC_CB, /*!< Process Passkey Calculate Cb */ SMPI_SC_ACT_PK_SEND_CNF, /*!< Process Passkey Send Confirm Value */ SMPI_SC_ACT_PK_SEND_RAND, /*!< Process Passkey Send Random Value */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smpr_act.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smpr_act.c index 086a013a..25f86e30 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smpr_act.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smpr_act.c @@ -226,7 +226,7 @@ void smprActProcPairCnfCalc1(smpCcb_t *pCcb, smpMsg_t *pMsg) /*************************************************************************************************/ /*! - * \brief Verify the calculated confirm value. If ok, proceed with STK calculcation. + * \brief Verify the calculated confirm value. If ok, proceed with STK calculation. * * \param pCcb Connection control block. * \param pMsg State machine message. diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smpr_sc_sm.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smpr_sc_sm.c index 09a208b4..b2da8bd4 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smpr_sc_sm.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smpr_sc_sm.c @@ -91,10 +91,10 @@ enum SMPR_SC_ACT_CALC_F6_EB, /*!< Process Calculate Eb */ SMPR_SC_ACT_SEND_DH_CHECK, /*!< Process Send DH Key Check */ - SMPR_SC_ACT_PROC_PAIR_CNF_CALC_1, /*!< Process Confirm Value Calcuation 1 */ + SMPR_SC_ACT_PROC_PAIR_CNF_CALC_1, /*!< Process Confirm Value Calculation 1 */ SMPR_SC_ACT_CNF_VERIFY, /*!< Process Confirm Value Verification */ SMPR_SC_ACT_SEND_PAIR_RANDOM, /*!< Process Send Random Value */ - SMPR_SC_ACT_SETUP_KEY_DIST, /*!< Processs Setup Key Distribution */ + SMPR_SC_ACT_SETUP_KEY_DIST, /*!< Process Setup Key Distribution */ SMPR_SC_ACT_RCV_KEY, /*!< Process Received Key */ SMPR_SC_ACT_SEND_KEY /*!< Process Send Key */ }; diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smpr_sm.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smpr_sm.c index a922f753..d4432105 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smpr_sm.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-host/sources/stack/smp/smpr_sm.c @@ -56,7 +56,7 @@ enum SMPR_ACT_SEND_PAIR_RSP, /*!< Process Send Pairing Response */ SMPR_ACT_PROC_PAIR_CNF, /*!< Process Pair Confirm Value */ SMPR_ACT_PROC_PAIR_CNF_CALC_1, /*!< Process Received Confirm Value */ - SMPR_ACT_CNF_VERIFY, /*!< Process Recevied Confirm Value Verification */ + SMPR_ACT_CNF_VERIFY, /*!< Process Received Confirm Value Verification */ SMPR_ACT_SEND_PAIR_RANDOM, /*!< Process Send Random Value */ SMPR_ACT_SETUP_KEY_DIST, /*!< Process Setup Key Distribution */ SMPR_ACT_SEND_KEY, /*!< Process Send Key */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-apps/sources/provisioner/provisioner_main.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-apps/sources/provisioner/provisioner_main.c index 1b24bf4a..5363095c 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-apps/sources/provisioner/provisioner_main.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-apps/sources/provisioner/provisioner_main.c @@ -150,7 +150,7 @@ typedef struct provisionerCb_tag * FALSE otherwise */ bool_t prvGattClStarted; /*!< TRUE if Provisioning Client is started * FALSE otherwise */ - wsfTimer_t currNodeCCStartTimer; /*!< Timer to delay start of configruation. */ + wsfTimer_t currNodeCCStartTimer; /*!< Timer to delay start of configuration. */ meshAddress_t currNodePrimAddr; /*!< Current Node primary address. */ meshAddress_t currRoomAddress; /*!< Current Room address. */ provisionerPrvDevType_t currNodeDeviceType; /*!< Current Node device type. See ::provisionerPrvDeviceTypes. */ @@ -300,7 +300,7 @@ static void provisionerCCSetAppKey(void) .netKeyIndex = provCb.currNodeNetKeyIdx, }; - /* Static application key accross all nodes. */ + /* Static application key across all nodes. */ uint8_t appKey[] = { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88 }; @@ -453,7 +453,7 @@ static void provisionerCallUi(uint8_t status) { uint8_t revDevKey[MESH_KEY_SIZE_128]; - /* Add type specific cleanup. Remove if not used afterall. */ + /* Add type specific cleanup. Remove if not used after all. */ switch(provCb.currNodeDeviceType) { case PROVISIONER_PRV_MASTER_SWITCH: diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-apps/sources/switch/switch_mmdl_handler.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-apps/sources/switch/switch_mmdl_handler.h index 589ada9a..73d403b3 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-apps/sources/switch/switch_mmdl_handler.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-apps/sources/switch/switch_mmdl_handler.h @@ -2,7 +2,7 @@ /*! * \file switch_mmdl_handler.h * - * \brief Mesh Model Handler for teh Switch App. + * \brief Mesh Model Handler for the Switch App. * * Copyright (c) 2015-2018 Arm Ltd. All Rights Reserved. * diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/include/mesh_api.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/include/mesh_api.h index eb3d22da..7331f598 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/include/mesh_api.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/include/mesh_api.h @@ -422,7 +422,7 @@ typedef union meshEvt_tag meshProxyServiceDataEvt_t serviceData; /*!< Proxy service data. See ::meshProxyServiceDataEvt_t */ meshProxyFilterStatusEvt_t filterStatus;/*!< Proxy filter status event. See ::meshProxyFilterStatusEvt_t*/ meshIvUpdtEvt_t ivUpdt; /*!< IV updated event */ - meshHbInfoEvt_t hbInfo; /*!< Hearbeat information event. See::meshHbInfoEvt_t */ + meshHbInfoEvt_t hbInfo; /*!< Heartbeat information event. See::meshHbInfoEvt_t */ } meshEvt_t; /*! \brief Mesh Stack event notification callback */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/include/mesh_defs.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/include/mesh_defs.h index 61801748..2e0c2c2b 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/include/mesh_defs.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/include/mesh_defs.h @@ -123,7 +123,7 @@ extern "C" /*! \brief Mesh Control Opcode bit mask */ #define MESH_CTL_OPCODE_MASK 0x7F -/*! \brief Mesh Contol Opcode shift value */ +/*! \brief Mesh Control Opcode shift value */ #define MESH_CTL_OPCODE_SHIFT 0 /*! \brief Mesh Control Opcode field size bits */ #define MESH_CTL_OPCODE_SIZE 7 @@ -274,7 +274,7 @@ extern "C" #define MESH_GATT_PROXY_PDU_MIN_VALUE 20 /*! \brief Minimum value for Mesh ADV PDU size */ #define MESH_ADV_IF_PDU_MIN_VALUE 0x02 -/*! \brief Maxium value for Mesh ADV PDU size */ +/*! \brief Maximum value for Mesh ADV PDU size */ #define MESH_ADV_IF_PDU_MAX_VALUE 0x1F /*! \brief Maximum number of steps for Model Publication Publish Period state */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/include/mesh_error_codes.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/include/mesh_error_codes.h index 2b7349b4..c986daf2 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/include/mesh_error_codes.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/include/mesh_error_codes.h @@ -215,11 +215,11 @@ enum meshReturnValues MESH_NWK_OUT_OF_MEMORY = MESH_NWK_RETVAL_BASE | MESH_OUT_OF_MEMORY, /*! The function parameter has invalid value */ MESH_NWK_INVALID_PARAMS = MESH_NWK_RETVAL_BASE | MESH_INVALID_PARAM, -/*! An error not covered by other codes occured */ +/*! An error not covered by other codes occurred */ MESH_NWK_UNKNOWN_ERROR = MESH_NWK_RETVAL_BASE | MESH_UNKNOWN_ERROR, /*! Network is already initialized */ MESH_NWK_ALREADY_INITIALIZED = MESH_NWK_RETVAL_BASE | MESH_ALREADY_INITIALIZED, -/*! Error occured during transport PDU send */ +/*! Error occurred during transport PDU send */ MESH_NWK_TRANSPORT_ERROR = MESH_NWK_RETVAL_BASE | (MESH_LAST_COMMON_RETVAL + 1), /*! Error occurred during network initialization */ MESH_NWK_INIT_ERROR = MESH_NWK_RETVAL_BASE | (MESH_LAST_COMMON_RETVAL + 2), @@ -296,7 +296,7 @@ enum meshReturnValues /*! At least one of the parameters is invalid */ MESH_SEQ_INVALID_PARAMS = MESH_SEQ_RETVAL_BASE | MESH_INVALID_PARAM, -/*! An error not covered by other codes occured */ +/*! An error not covered by other codes occurred */ MESH_SEQ_UNKNOWN_ERROR = MESH_SEQ_RETVAL_BASE | MESH_UNKNOWN_ERROR, /*! Sequence Manager is already initialized */ MESH_SEQ_ALREADY_INITIALIZED = MESH_SEQ_RETVAL_BASE | MESH_ALREADY_INITIALIZED, @@ -328,7 +328,7 @@ enum meshReturnValues MESH_SEC_TOOL_OUT_OF_MEMORY = MESH_SEC_TOOL_RETVAL_BASE | MESH_OUT_OF_MEMORY, /*! Invalid parameters in request */ MESH_SEC_TOOL_INVALID_PARAMS = MESH_SEC_TOOL_RETVAL_BASE | MESH_INVALID_PARAM, -/*! An error occured but the reason is none of the above */ +/*! An error occurred but the reason is none of the above */ MESH_SEC_TOOL_UNKNOWN_ERROR = MESH_SEC_TOOL_RETVAL_BASE | MESH_UNKNOWN_ERROR, /* Mesh security return values */ @@ -350,7 +350,7 @@ enum meshReturnValues /*! At least one of the parameters is invalid */ MESH_TMR_INVALID_PARAMS = MESH_TMR_RETVAL_BASE | MESH_INVALID_PARAM, -/*! An error not covered by other codes occured */ +/*! An error not covered by other codes occurred */ MESH_TMR_UNKNOWN_ERROR = MESH_TMR_RETVAL_BASE | MESH_UNKNOWN_ERROR, /*! Timer is already initialized */ MESH_TMR_ALREADY_INITIALIZED = MESH_TMR_RETVAL_BASE | MESH_ALREADY_INITIALIZED, diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/include/mesh_prv_sr_api.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/include/mesh_prv_sr_api.h index 4e2abbae..5e29d6bb 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/include/mesh_prv_sr_api.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/include/mesh_prv_sr_api.h @@ -55,7 +55,7 @@ enum meshPrvSrEvtTypes * event is generated only when PB-ADV is * used for PB-GATT the link is already open. */ - MESH_PRV_SR_OUTPUT_OOB_EVENT, /*!< Device should output the OOB informations + MESH_PRV_SR_OUTPUT_OOB_EVENT, /*!< Device should output the OOB information * as specified by the event parameters. * See ::meshPrvSrEvtOutputOob_t */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/include/mesh_types.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/include/mesh_types.h index fc0632a1..2211456d 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/include/mesh_types.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/include/mesh_types.h @@ -228,7 +228,7 @@ typedef struct meshRelayRetransState_tag */ } meshRelayRetransState_t; -/*! \brief Structure to store Model Publication state informations */ +/*! \brief Structure to store Model Publication state information */ typedef struct meshModelPublicationParams_tag { uint16_t publishAppKeyIndex; /*!< Publish AppKey Index */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/provisioning/mesh_prv_beacon.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/provisioning/mesh_prv_beacon.c index 48a2b0b9..824cf0a4 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/provisioning/mesh_prv_beacon.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/provisioning/mesh_prv_beacon.c @@ -199,7 +199,7 @@ void MeshPrvBeaconStart(meshBrInterfaceId_t brIfId, uint32_t beaconInterval, con /* Stop timer */ WsfTimerStop(&(prvBeaconCb.beaconTmr)); - /* Set bearer inteface */ + /* Set bearer interface */ prvBeaconCb.brIfId = brIfId; /* Set beacon period */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/provisioning/mesh_prv_br_main.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/provisioning/mesh_prv_br_main.c index d9b9e9e6..5d42ab4f 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/provisioning/mesh_prv_br_main.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/provisioning/mesh_prv_br_main.c @@ -170,7 +170,7 @@ typedef struct meshPrvBrSessionInfo_tag uint8_t localTranNum; /*!< Local transaction number used on the * PB-ADV link. */ - uint32_t linkId; /*!< PB-ADV link indentifier. */ + uint32_t linkId; /*!< PB-ADV link identifier. */ uint8_t *pDeviceUuid; /*!< PB-ADV Device UUID. Used by Provisioning * Client to repeat the link open procedure. */ @@ -1476,7 +1476,7 @@ void MeshPrvBrInit(void) { MESH_TRACE_INFO0("MESH PRV BR: init"); - /* Set bearer inteface as invalid */ + /* Set bearer interface as invalid */ prvBrCb.advIfId = MESH_BR_INVALID_INTERFACE_ID; prvBrCb.gattIfId = MESH_BR_INVALID_INTERFACE_ID; diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/provisioning/mesh_prv_cl_act.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/provisioning/mesh_prv_cl_act.c index e0ed2a20..a9bab870 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/provisioning/mesh_prv_cl_act.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/provisioning/mesh_prv_cl_act.c @@ -573,7 +573,7 @@ void meshPrvClActProtocolError(void *pCcb, void *pMsg) /*************************************************************************************************/ /*! - * \brief End provisioning when timeout has occured. + * \brief End provisioning when timeout has occurred. * * \param[in] pCcb Control block. * \param[in] pMsg State machine message. diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/provisioning/mesh_prv_sr_main.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/provisioning/mesh_prv_sr_main.h index 9757435e..c7a2651b 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/provisioning/mesh_prv_sr_main.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/provisioning/mesh_prv_sr_main.h @@ -80,7 +80,7 @@ enum meshPrvSrSmStateValues PRV_SR_ST_SEND_COMPLETE, /* (4) Sending Provisioning Complete PDU */ PRV_SR_ST_LINK_FAILED, /* Error state on which the device waits for the link to close */ - PRV_SR_ST_NO_STATE_CHANGE, /* Fictious state value, never reached by the state machine. + PRV_SR_ST_NO_STATE_CHANGE, /* Fictitious state value, never reached by the state machine. Used as "next state" in event handling tables to indicate that the event does not change the current state. */ }; diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/access/mesh_access_main.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/access/mesh_access_main.c index 913a15ac..92690ac4 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/access/mesh_access_main.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/access/mesh_access_main.c @@ -84,7 +84,7 @@ typedef struct meshAccPduPubTxInfo_tag typedef struct meshAccToMdlMsgInfo_tag { const uint8_t *pDstLabelUuid; /*!< Pointer to label UUID for virtual destination address */ - uint8_t *pMsgParam; /*!< Pointer to messsage parameters */ + uint8_t *pMsgParam; /*!< Pointer to message parameters */ uint16_t msgParamLen; /*!< Length of the message parameters */ meshMsgOpcode_t opcode; /*!< Message opcode */ uint8_t ttl; /*!< Message TTL */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/api/mesh_api.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/api/mesh_api.c index c0a60e33..4fd6edd6 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/api/mesh_api.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/api/mesh_api.c @@ -470,7 +470,7 @@ uint32_t MeshGetRequiredMemory(void) reqMemSarTx = MeshSarTxGetRequiredMemory(); /* Get Security module required memory. */ reqMemSec = MeshSecGetRequiredMemory(); - /* Get Acces layer required memory. */ + /* Get Access layer required memory. */ reqMemAcc = MeshAccGetRequiredMemory(); if ((reqMemLocalCfg != MESH_MEM_REQ_INVALID_CFG) && @@ -1310,7 +1310,7 @@ void MeshProcessAdvPdu(meshAdvIfId_t advIfId, const uint8_t *pAdvPdu, uint8_t ad return; } - /* Allocate the Stack Message and aditional size for message parameters. */ + /* Allocate the Stack Message and additional size for message parameters. */ if ((pMsg = WsfMsgAlloc(sizeof(meshProcessAdvPdu_t) + advPduLen)) != NULL) { /* Set event type. */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/api/mesh_cfg_mdl_cl_main.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/api/mesh_cfg_mdl_cl_main.c index 87e13da8..ae6c2ac6 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/api/mesh_cfg_mdl_cl_main.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/api/mesh_cfg_mdl_cl_main.c @@ -220,7 +220,7 @@ static void meshCfgMdlClRspTimeoutMsgHandlerCback(uint16_t tmrUid) /* Check if request is local. */ if (!MESH_IS_ADDR_UNASSIGNED(pReqParams->cfgMdlSrAddr)) { - /* Free entry in the remote server database since timeout occured. */ + /* Free entry in the remote server database since timeout occurred. */ meshCfgMdlClRemFromSrDbSafe(pReqParams->cfgMdlSrAddr); } @@ -416,7 +416,7 @@ bool_t meshCfgMdlClHandleCompDataStatus(meshCfgMdlClOpReqParams_t *pReqParam, ui /* Unpack message. */ meshCfgMsgUnpackCompData(pMsgParam, (msgParamLen - CFG_MDL_MSG_COMP_DATA_STATE_NUM_BYTES), &evt.data); - /* Validate for Page 0 that length accomodates at least one empty element and the page header. + /* Validate for Page 0 that length accommodates at least one empty element and the page header. */ if((evt.data.pageNumber == 0) && (evt.data.pageSize < CFG_MDL_MSG_COMP_DATA_PG0_EMPTY_NUM_BYTES + @@ -1552,7 +1552,7 @@ bool_t meshCfgMdlClHandleHbPubStatus(meshCfgMdlClOpReqParams_t *pReqParam, uint8 /*************************************************************************************************/ /*! - * \brief Handler for the Heartbeat Subcription Status response. + * \brief Handler for the Heartbeat Subscription Status response. * * \param[in] pReqParams Pointer to parameters of the request matching this response. * \param[in] pMsgParam Pointer to raw message parameters. diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/api/mesh_cfg_mdl_main.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/api/mesh_cfg_mdl_main.c index 98f78c5e..56970aac 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/api/mesh_cfg_mdl_main.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/api/mesh_cfg_mdl_main.c @@ -2,7 +2,7 @@ /*! * \file * - * \brief Configuration Model commmon implementation. + * \brief Configuration Model common implementation. * * Copyright (c) 2018-2019 Arm Ltd. All Rights Reserved. * diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/api/mesh_cfg_mdl_messages.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/api/mesh_cfg_mdl_messages.c index 5054fdbd..84c135ee 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/api/mesh_cfg_mdl_messages.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/api/mesh_cfg_mdl_messages.c @@ -720,7 +720,7 @@ void meshCfgMsgPackHbSubSet(uint8_t *pBuf, meshHbSub_t *pHbSub) /*************************************************************************************************/ /*! - * \brief Unpacks the Heartbeat Subcription State. + * \brief Unpacks the Heartbeat Subscription State. * * \param[in] pBuf Pointer to buffer where the packed state is stored. * \param[out] pHbSub Pointer to memory where to store a Heartbeart Subscription State. @@ -740,7 +740,7 @@ void meshCfgMsgUnpackHbSubSet(uint8_t *pBuf, meshHbSub_t *pHbSub) /*************************************************************************************************/ /*! - * \brief Pack the Heartbeat Subcription State Status. + * \brief Pack the Heartbeat Subscription State Status. * * \param[out] pBuf Pointer to buffer where to store the packed state. * \param[in] pHbSub Pointer to a Heartbeart Subscription State. @@ -763,7 +763,7 @@ void meshCfgMsgPackHbSubState(uint8_t *pBuf, meshHbSub_t *pHbSub) /*************************************************************************************************/ /*! - * \brief Unpacks the Heartbeat Subcription State Status. + * \brief Unpacks the Heartbeat Subscription State Status. * * \param[in] pBuf Pointer to buffer where the packed state is stored. * \param[out] pHbSub Pointer to memory where to store a Heartbeart Subscription State. diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/api/mesh_cfg_mdl_sr_main.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/api/mesh_cfg_mdl_sr_main.c index ee5ca7fe..d1d8036b 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/api/mesh_cfg_mdl_sr_main.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/api/mesh_cfg_mdl_sr_main.c @@ -565,7 +565,7 @@ void meshCfgMdlSrHandleGattProxySet(uint8_t *pMsgParam, uint16_t msgParamLen, me if (notifyUpperLayers) { - /* Inform Hearbeat module that feature is changed. */ + /* Inform Heartbeat module that feature is changed. */ MeshHbFeatureStateChanged(MESH_FEAT_PROXY); } @@ -1010,7 +1010,7 @@ void meshCfgMdlSrHandleFriendSet(uint8_t *pMsgParam, uint16_t msgParamLen, meshA if (notifyUpperLayers) { - /* Inform Hearbeat module that feature is changed. */ + /* Inform Heartbeat module that feature is changed. */ MeshHbFeatureStateChanged(MESH_FEAT_FRIEND); } } @@ -1411,7 +1411,7 @@ void meshCfgMdlSrHandleHbSubSet(uint8_t *pMsgParam, uint16_t msgParamLen, meshAd /* Response contains the same packed states as set message. */ meshCfgMdlSrSendRsp(MESH_CFG_MDL_SR_HB_SUB_STATUS, rspMsgParam, sizeof(rspMsgParam), src, ttl, netKeyIndex); - /* On success, notify Hearbeat module and invoke callback. */ + /* On success, notify Heartbeat module and invoke callback. */ if (rspMsgParam[0] == MESH_CFG_MDL_SR_SUCCESS) { /* Notify Subscription changed. */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/api/mesh_cfg_mdl_sr_pub_subscr.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/api/mesh_cfg_mdl_sr_pub_subscr.c index 0affc2b3..b61eabd1 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/api/mesh_cfg_mdl_sr_pub_subscr.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/api/mesh_cfg_mdl_sr_pub_subscr.c @@ -853,7 +853,7 @@ static void cfgMdlSrSubscrCmacCback(const uint8_t *pCmacResult, void *pParam) /* Set address type as virtual. */ pEvt->subscrAddr |= (MESH_ADDR_TYPE_VIRTUAL_MSBITS_VALUE << MESH_ADDR_TYPE_SHIFT); - /* Set Local Config structure for accesing model information. */ + /* Set Local Config structure for accessing model information. */ mdlId.isSigModel = pEvt->isSig; if (pEvt->isSig) { diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/bearer/mesh_adv_bearer.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/bearer/mesh_adv_bearer.c index 2c93c7ee..7d61e07d 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/bearer/mesh_adv_bearer.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/bearer/mesh_adv_bearer.c @@ -156,7 +156,7 @@ static uint8_t meshAdvGetAdvInterfaceById(meshAdvIfId_t advIfId) * \param[in] pBrPdu Pointer to a buffer containing a Mesh Bearer PDU * \param[in] pduLen Size of the Mesh ADV Bearer PDU * - * \return TRUE if packet is transmited, FALSE otherwise. + * \return TRUE if packet is transmitted, FALSE otherwise. */ /*************************************************************************************************/ static bool_t meshAdvTransmitPacket(meshAdvInterface_t *pAdvIf, meshAdvType_t advType, @@ -418,7 +418,7 @@ static void advBrEmptyPduRecvCback(meshAdvIfId_t advIfId, meshAdvType_t advType, static void advBrEmptyPduSendCback(meshAdvPduSendEvt_t *pEvt) { (void)pEvt; - MESH_TRACE_ERR0("MESH ADV BEARER: PDU send cback not registerd "); + MESH_TRACE_ERR0("MESH ADV BEARER: PDU send cback not registered "); } /************************************************************************************************** diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/bearer/mesh_gatt_bearer.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/bearer/mesh_gatt_bearer.c index d0b5a592..95af2555 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/bearer/mesh_gatt_bearer.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/bearer/mesh_gatt_bearer.c @@ -606,7 +606,7 @@ static void gattBrEmptyPduRecvCback(meshGattProxyConnId_t connId, meshGattProxyP static void gattBrEmptyPduSendCback(meshGattProxyPduSendEvt_t *pEvt) { (void)pEvt; - MESH_TRACE_ERR0("MESH GATT BR: PDU send cback not registerd "); + MESH_TRACE_ERR0("MESH GATT BR: PDU send cback not registered "); } /************************************************************************************************** diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/friend/mesh_friend_main.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/friend/mesh_friend_main.h index 2ebe4832..8afdea1c 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/friend/mesh_friend_main.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/friend/mesh_friend_main.h @@ -103,7 +103,7 @@ typedef struct meshFriendReq_tag meshAddress_t prevAddr; /*!< Previous friend primary element address */ uint8_t numElements; /*!< Number of elements in the LPN */ uint16_t lpnCounter; /*!< Number of Friend Request messages sent by LPN */ - int8_t rssi; /*!< RSSI measured on the Friend Requet message */ + int8_t rssi; /*!< RSSI measured on the Friend Request message */ } meshFriendReq_t; /*! Data structure for ::MESH_FRIEND_MSG_POLL_RECV */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/include/mesh_cfg_mdl.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/include/mesh_cfg_mdl.h index df2214e5..085378cc 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/include/mesh_cfg_mdl.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/include/mesh_cfg_mdl.h @@ -82,10 +82,10 @@ enum meshCfgMdlClOpIds MESH_CFG_MDL_CL_FRIEND_SET, /*!< Friend Set */ MESH_CFG_MDL_CL_KEY_REF_PHASE_GET, /*!< Key Refresh Phase Get */ MESH_CFG_MDL_CL_KEY_REF_PHASE_SET, /*!< Key Refresh Phase Set */ - MESH_CFG_MDL_CL_HB_PUB_GET, /*!< Hearbeat Publication Get */ - MESH_CFG_MDL_CL_HB_PUB_SET, /*!< Hearbeat Publication Set */ - MESH_CFG_MDL_CL_HB_SUB_GET, /*!< Hearbeat Subscription Get */ - MESH_CFG_MDL_CL_HB_SUB_SET, /*!< Hearbeat Subscription Set */ + MESH_CFG_MDL_CL_HB_PUB_GET, /*!< Heartbeat Publication Get */ + MESH_CFG_MDL_CL_HB_PUB_SET, /*!< Heartbeat Publication Set */ + MESH_CFG_MDL_CL_HB_SUB_GET, /*!< Heartbeat Subscription Get */ + MESH_CFG_MDL_CL_HB_SUB_SET, /*!< Heartbeat Subscription Set */ MESH_CFG_MDL_CL_LPN_PT_GET, /*!< Low Power Node PollTimeout Get */ MESH_CFG_MDL_CL_NWK_TRANS_GET, /*!< Network Transmit Get */ MESH_CFG_MDL_CL_NWK_TRANS_SET, /*!< Network Transmit Set */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/include/mesh_local_config.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/include/mesh_local_config.h index 6a01b52b..e8f8dc8a 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/include/mesh_local_config.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/include/mesh_local_config.h @@ -504,7 +504,7 @@ meshLocalCfgRetVal_t MeshLocalCfgAddAddressToSubscrList(meshElementId_t elementI * \param[in] elementId Local element identifier. * \param[in] pModelId Pointer to generic model identifier structure. * \param[out] pOutSubscAddress Pointer to the memory where to store the subscription address. - * \param[in,out] pInOutStartIndex Pointer to an indexing variable. Must be intialized with 0 on + * \param[in,out] pInOutStartIndex Pointer to an indexing variable. Must be initialized with 0 on * to restart search. * * \return Success or error reason. \see meshLocalCfgRetVal_t @@ -768,7 +768,7 @@ uint16_t MeshLocalCfgCountNetKeys(void); * \brief Gets next NetKey Index. * * \param[out] pOutNetKeyIndex Pointer to variable where the next NetKey Index is stored. - * \param[in,out] pInOutIndex Pointer to an indexing variable. Must be intialized with 0 on + * \param[in,out] pInOutIndex Pointer to an indexing variable. Must be initialized with 0 on * to restart search. * * \return Success or error reason. \see meshLocalCfgRetVal_t @@ -923,7 +923,7 @@ uint8_t MeshLocalCfgCountModelBoundAppKeys(meshElementId_t elementId, * \param[in] elementId Local element identifier. * \param[in] pModelId Pointer to generic model identifier structure. * \param[out] pOutAppKeyIndex Pointer to variable where the next AppKey Index is stored. - * \param[in,out] pInOutIndex Pointer to an indexing variable. Must be intialized with 0 on + * \param[in,out] pInOutIndex Pointer to an indexing variable. Must be initialized with 0 on * to restart search. * * \return Success or error reason. \see meshLocalCfgRetVal_t @@ -990,7 +990,7 @@ uint16_t MeshLocalCfgCountBoundAppKeys(uint16_t netKeyIndex); * * \param[in] netKeyIndex Network Key index. * \param[out] pOutAppKeyIndex Pointer to variable where the next AppKey Index is stored. - * \param[in,out] pInOutIndex Pointer to an indexing variable. Must be intialized with 0 on + * \param[in,out] pInOutIndex Pointer to an indexing variable. Must be initialized with 0 on * to restart search. * * \return Success or error reason. \see meshLocalCfgRetVal_t diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/include/mesh_local_config_types.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/include/mesh_local_config_types.h index 3081999a..22712642 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/include/mesh_local_config_types.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/include/mesh_local_config_types.h @@ -66,7 +66,7 @@ typedef struct meshLocalCfgModelSubscrListInfo_tag uint16_t subscrListSize; /*!< Size of the Subscription List */ } meshLocalCfgModelSubscrListInfo_t; -/*! Structure to store Model Publication state informations */ +/*! Structure to store Model Publication state information */ typedef struct meshLocalCfgModelPublication_tag { uint16_t publishAddressIndex; /*!< Publish Address index in the @@ -107,7 +107,7 @@ typedef struct meshLocalCfgModelEntry_tag */ } meshLocalCfgModelEntry_t; -/*! Local structure to store Models informations */ +/*! Local structure to store Models information */ typedef struct meshLocalCfgModelInfo_tag { meshLocalCfgModelEntry_t *pModelArray; /*!< Pointer to array describing models */ @@ -121,7 +121,7 @@ typedef struct meshLocalCfgAttTmr_tag uint8_t remainingSec; /*!< Remaining seconds */ } meshLocalCfgAttTmr_t; -/*! Local structure to store Elements informations */ +/*! Local structure to store Elements information */ typedef struct meshLocalCfgElementInfo_tag { const meshElement_t *pElementArray; /*!< Pointer to array describing elements @@ -154,7 +154,7 @@ typedef struct meshLocalCfgAddressListEntry_tag */ } meshLocalCfgAddressListEntry_t; -/*! Local structure to store Non-virtual Address informations */ +/*! Local structure to store Non-virtual Address information */ typedef struct meshLocalCfgAddressListInfo_tag { meshLocalCfgAddressListEntry_t *pAddressList; /*!< Pointer to the start location of the @@ -176,7 +176,7 @@ typedef struct meshLocalCfgVirtualAddrListEntry_tag */ } meshLocalCfgVirtualAddrListEntry_t; -/*! Local structure to store Label UUID informations */ +/*! Local structure to store Label UUID information */ typedef struct meshLocalCfgVirtualAddrListInfo_tag { meshLocalCfgVirtualAddrListEntry_t *pVirtualAddrList; /*!< Pointer to the start location of the @@ -185,7 +185,7 @@ typedef struct meshLocalCfgVirtualAddrListInfo_tag uint16_t virtualAddrListSize; /*!< Size of the Virtual Address List */ } meshLocalCfgVirtualAddrListInfo_t; -/*! Local structure to store AppKey to Model ID bind informations */ +/*! Local structure to store AppKey to Model ID bind information */ typedef struct meshLocalCfgAppKeyBindListInfo_tag { uint16_t *pAppKeyBindList; /*!< Pointer to the start location of the AppKeyBind list @@ -206,7 +206,7 @@ typedef struct meshLocalCfgAppKeyListEntry_tag bool_t newKeyAvailable; /*!< Flag to signal that a new key is available */ } meshLocalCfgAppKeyListEntry_t; -/*! Local structure to store AppKey List related informations */ +/*! Local structure to store AppKey List related information */ typedef struct meshLocalCfgAppKeyListInfo_tag { meshLocalCfgAppKeyListEntry_t *pAppKeyList; /*!< Pointer to the start location of the @@ -234,7 +234,7 @@ typedef struct meshLocalCfgNetKeyListEntry_tag /*! Data type for Node Identity State List entries. See::meshNodeIdentityStates_t */ typedef meshNodeIdentityStates_t meshLocalCfgNodeIdentityListEntry_t; -/*! Local structure to store NetKey List related informations */ +/*! Local structure to store NetKey List related information */ typedef struct meshLocalCfgNetKeyListInfo_tag { meshLocalCfgNetKeyListEntry_t *pNetKeyList; /*!< Pointer to the start location of diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/include/mesh_main.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/include/mesh_main.h index a413fd47..b6dcf0e0 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/include/mesh_main.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/include/mesh_main.h @@ -210,7 +210,7 @@ typedef struct meshCb_tag meshWsfMsgHandlerCback_t friendshipMsgCback; /*!< Mesh Friendship WSF message callback */ meshWsfMsgHandlerCback_t cfgMdlClMsgCback; /*!< Mesh Config Client WSF message callback */ meshWsfMsgHandlerCback_t accMsgCback; /*!< Mesh Access Layer WSF message callback */ - meshWsfMsgHandlerCback_t hbMsgCback; /*!< Mesh Hearbeat WSF message callback */ + meshWsfMsgHandlerCback_t hbMsgCback; /*!< Mesh Heartbeat WSF message callback */ meshWsfMsgHandlerCback_t sarRxMsgCback; /*!< Mesh SAR Rx WSF message callback */ meshWsfMsgHandlerCback_t sarTxMsgCback; /*!< Mesh SAR Tx WSF message callback */ meshWsfMsgHandlerCback_t nwkMsgCback; /*!< Mesh Network WSF message callback */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/include/mesh_network_if.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/include/mesh_network_if.h index 05fa3e2b..da7e6afb 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/include/mesh_network_if.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/include/mesh_network_if.h @@ -45,13 +45,13 @@ enum meshNwkFilterType MESH_NWK_BLACK_LIST = 1, /*!< Filter type is black list */ }; -/*! Mesh Newtork layer interface filter type. See ::meshNwkFilterType */ +/*! Mesh Network layer interface filter type. See ::meshNwkFilterType */ typedef uint8_t meshNwkFilterType_t; /*! Mesh Network interface filter definition */ typedef struct meshNwkIfFilter_tag { - meshNwkFilterType_t filterType; /*!< Fiter type */ + meshNwkFilterType_t filterType; /*!< Filter type */ uint16_t filterSize; /*!< Size of an interface filter */ meshAddress_t *pAddrList; /*!< Pointer to list of addresses */ } meshNwkIfFilter_t; diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/include/mesh_replay_protection.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/include/mesh_replay_protection.h index 0ec27e33..58ce1913 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/include/mesh_replay_protection.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/include/mesh_replay_protection.h @@ -68,7 +68,7 @@ bool_t MeshRpIsReplayAttack(meshAddress_t srcAddr, meshSeqNumber_t seqNo, uint32 /*************************************************************************************************/ /*! - * \brief Updates the Replay Protection List for a given element with a specific sequnce number. + * \brief Updates the Replay Protection List for a given element with a specific sequence number. * * \param[in] srcAddr Address of originating element. * \param[in] seqNo Sequence number used to identify the PDU. diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/include/mesh_security.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/include/mesh_security.h index cc63647c..fbef0759 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/include/mesh_security.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/include/mesh_security.h @@ -294,7 +294,7 @@ typedef struct meshSecNwkDeobfDecParams_tag /*! * \brief Mesh Security Network deobfuscation and decryption complete callback. * - * \param[in] isSuccess TRUE if operation completed succesfully. + * \param[in] isSuccess TRUE if operation completed successfully. * \param[in] isProxyConfig TRUE if Network PDU is a Proxy Configuration Message. * \param[in] pNwkPduNoMic Pointer to buffer where the deobfuscated and decrypted network PDU * is stored. diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/include/mesh_security_toolbox.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/include/mesh_security_toolbox.h index e39c69d1..2cc60e3a 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/include/mesh_security_toolbox.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/include/mesh_security_toolbox.h @@ -426,7 +426,7 @@ meshSecToolRetVal_t MeshSecToolEccGenerateKey(meshSecToolEccKeyGenCback_t eccKey * * \see meshSecToolEcdhCback_t * - * \retval MESH_SUCCESS Request processed succesfully. + * \retval MESH_SUCCESS Request processed successfully. * \retval MESH_SEC_TOOL_INVALID_PARAMS Invalid parameters in request. * \retval MESH_SEC_TOOL_OUT_OF_MEMORY No resources to process request. * \retval MESH_SEC_TOOL_UNINITIALIZED The algorithm used by this request is not initialized. @@ -450,7 +450,7 @@ meshSecToolRetVal_t MeshSecToolEccCompSharedSecret(const uint8_t *pPeerPubX, * \param[in] saltCback Callback invoked after salt is generated. * \param[in] pParam Pointer to generic callback parameter. * - * \retval MESH_SUCCESS Request processed succesfully. + * \retval MESH_SUCCESS Request processed successfully. * \retval MESH_SEC_TOOL_INVALID_PARAMS Invalid parameters in request. * \retval MESH_SEC_TOOL_OUT_OF_MEMORY No resources to process request. * \retval MESH_SEC_TOOL_UNINITIALIZED The algorithm used by this request is not initialized. @@ -483,7 +483,7 @@ meshSecToolRetVal_t MeshSecToolGenerateSalt(uint8_t *pPlainText, uint16_t plainT * * \see meshSecToolKeyDerivationCback_t * - * \retval MESH_SUCCESS Request processed succesfully. + * \retval MESH_SUCCESS Request processed successfully. * \retval MESH_SEC_TOOL_INVALID_PARAMS Invalid parameters in request. * \retval MESH_SEC_TOOL_OUT_OF_MEMORY No resources to process request. * \retval MESH_SEC_TOOL_UNINITIALIZED The algorithm used by this request is not initialized. @@ -517,7 +517,7 @@ meshSecToolRetVal_t MeshSecToolK1Derive(uint8_t *pPlainText, uint16_t plainTextS * * \see meshSecToolKeyDerivationCback_t * - * \retval MESH_SUCCESS Request processed succesfully. + * \retval MESH_SUCCESS Request processed successfully. * \retval MESH_SEC_TOOL_INVALID_PARAMS Invalid parameters in request. * \retval MESH_SEC_TOOL_OUT_OF_MEMORY No resources to process request. * \retval MESH_SEC_TOOL_UNINITIALIZED The algorithm used by this request is not initialized. @@ -549,7 +549,7 @@ meshSecToolRetVal_t MeshSecToolK2Derive(uint8_t *pPlainText, uint16_t plainTextS * * \see meshSecToolKeyDerivationCback_t * - * \retval MESH_SUCCESS Request processed succesfully. + * \retval MESH_SUCCESS Request processed successfully. * \retval MESH_SEC_TOOL_INVALID_PARAMS Invalid parameters in request. * \retval MESH_SEC_TOOL_OUT_OF_MEMORY No resources to process request. * \retval MESH_SEC_TOOL_UNINITIALIZED The algorithm used by this request is not initialized. @@ -578,7 +578,7 @@ meshSecToolRetVal_t MeshSecToolK3Derive(uint8_t *pPlainText, * * \see meshSecToolKeyDerivationCback_t * - * \retval MESH_SUCCESS Request processed succesfully. + * \retval MESH_SUCCESS Request processed successfully. * \retval MESH_SEC_TOOL_INVALID_PARAMS Invalid parameters in request. * \retval MESH_SEC_TOOL_OUT_OF_MEMORY No resources to process request. * \retval MESH_SEC_TOOL_UNINITIALIZED The algorithm used by this request is not initialized. diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/local_config/mesh_local_config.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/local_config/mesh_local_config.c index fddb1018..1a984887 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/local_config/mesh_local_config.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/local_config/mesh_local_config.c @@ -323,7 +323,7 @@ static uint16_t meshLocalCfgGetTotalNumModels(void) /*************************************************************************************************/ /*! - * \brief Computes total Subscription List size based on inital configuration. + * \brief Computes total Subscription List size based on initial configuration. * * \return Total Subscription List size. */ @@ -363,7 +363,7 @@ static uint16_t meshLocalCfgGetTotalSubscrListSize(void) /*************************************************************************************************/ /*! - * \brief Computes total AppKey Bind List size based on inital configuration. + * \brief Computes total AppKey Bind List size based on initial configuration. * * \return Total AppKey Bind List size. */ @@ -436,7 +436,7 @@ static uint16_t meshLocalCfgSearchModel(meshElementId_t elementId, const meshMod * \brief Gets the address entry index in the address list. * * \param[in] address Address to be searched for. - * \param[in] pLabelUuid Pointer to coresponding Label UUID if address is Virtual. + * \param[in] pLabelUuid Pointer to corresponding Label UUID if address is Virtual. * * \return Address entry index or MESH_INVALID_ENTRY_INDEX if address not found. */ @@ -493,7 +493,7 @@ static uint16_t meshLocalCfgGetAddressEntryIndex(meshAddress_t address, const ui * \brief Sets the address into one of the address lists. * * \param[in] address Address to be added. - * \param[in] pLabelUuid Pointer to coresponding Label UUID if address is Virtual. + * \param[in] pLabelUuid Pointer to corresponding Label UUID if address is Virtual. * \param[in] isPublishAddr TRUE if the address is used for Publish. * FALSE if the address is used for Subscription. * @@ -567,7 +567,7 @@ static uint16_t meshLocalCfgSetAddress(meshAddress_t address, const uint8_t *pLa { /* Set address for that location. */ localCfgAddressList.pAddressList[i].address = address; - /* Increment reference count based on addres type. */ + /* Increment reference count based on address type. */ if (isPublishAddr == TRUE) { localCfgAddressList.pAddressList[i].referenceCountPublish++; @@ -605,7 +605,7 @@ static uint16_t meshLocalCfgSetAddress(meshAddress_t address, const uint8_t *pLa * * \param[in] addrEntryIdx Address entry index in address list. * \param[in] isVirtualAddr TRUE if address is virtual. - * FALSE if addres is non-virtual. + * FALSE if address is non-virtual. * \param[in] isPublishAddr TRUE if the address is used for Publish. * FALSE if the address is used for Subscription. * @@ -968,7 +968,7 @@ static meshLocalCfgModelEntry_t* meshLocalCfgGetMdlCfg(meshElementId_t elementId * \param[in] idx Pointer to the index of localCfgModel.pModelArray[] * \param[in] appKeyBindListIdx Pointer to the app key bind list index * \param[in] subscrListIdx Pointer to the subscription list index - * \param[in] sharedSubscrList TRUE if only models tht use a shared subscription list should be + * \param[in] sharedSubscrList TRUE if only models that use a shared subscription list should be * initialized. Else FALSE * * \return None @@ -3945,7 +3945,7 @@ uint8_t MeshLocalCfgCountModelBoundAppKeys(meshElementId_t elementId, * \param[in] elementId Local element identifier. * \param[in] pModelId Pointer to generic model identifier structure. * \param[out] pOutAppKeyIndex Pointer to variable where the next AppKey Index is stored. - * \param[in,out] pInOutIndex Pointer to an indexing variable. Must be intialized with 0 on + * \param[in,out] pInOutIndex Pointer to an indexing variable. Must be initialized with 0 on * to restart search. * * \return Success or error reason. \see meshLocalCfgRetVal_t @@ -4180,7 +4180,7 @@ uint16_t MeshLocalCfgCountBoundAppKeys(uint16_t netKeyIndex) * * \param[in] netKeyIndex Network Key index. * \param[out] pOutAppKeyIndex Pointer to variable where the next AppKey Index is stored. - * \param[in,out] pInOutIndex Pointer to an indexing variable. Must be intialized with 0 on + * \param[in,out] pInOutIndex Pointer to an indexing variable. Must be initialized with 0 on * to restart search. * * \return Success or error reason. \see meshLocalCfgRetVal_t diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/network/mesh_network_cache.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/network/mesh_network_cache.c index f918a1f6..3aa04430 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/network/mesh_network_cache.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/network/mesh_network_cache.c @@ -187,7 +187,7 @@ static meshNwkCacheRetVal_t meshNwkCacheAddToFifo(meshNwkCacheType_t cacheType, case MESH_NWK_CACHE_L2: index = meshNwkCacheCb.l2.tail; - /* Cache the Source Address, Destination Addres and Sequence Number for tracking. */ + /* Cache the Source Address, Destination Address and Sequence Number for tracking. */ cacheEntryL2.seqNo = ((uint32_t)pNwkPdu[2] << 16) | ((uint32_t)pNwkPdu[3] << 8) | ((uint32_t)pNwkPdu[4]); diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/network/mesh_network_if.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/network/mesh_network_if.c index 4bf06f28..71fa1497 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/network/mesh_network_if.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/network/mesh_network_if.c @@ -220,7 +220,7 @@ void meshNwkIfAddInterface(meshBrInterfaceId_t brIfId, meshBrType_t brIfType) * * \return None. * - * \remarks brIfId sanity check occurs prior to this function beeing called. + * \remarks brIfId sanity check occurs prior to this function being called. */ /*************************************************************************************************/ void meshNwkIfRemoveInterface(meshBrInterfaceId_t brIfId) diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/network/mesh_network_main.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/network/mesh_network_main.c index 7bf0a672..22016506 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/network/mesh_network_main.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/network/mesh_network_main.c @@ -1443,7 +1443,7 @@ static void meshBrToNwkPduRecvCback(meshBrInterfaceId_t brIfId, const uint8_t *p } /* Allocate memory for the PDU and meta information. The structure already contains one byte of - * the PDU, so substract 1 from length. + * the PDU, so subtract 1 from length. */ pRecvPduMeta = WsfBufAlloc(sizeof(meshNwkPduMeta_t) + pduLen - 1); @@ -1729,7 +1729,7 @@ meshNwkRetVal_t MeshNwkSendLtrPdu(const meshNwkPduTxInfo_t *pNwkPduTxInfo) return MESH_NWK_INVALID_PARAMS; } - /* Source adress validation. */ + /* Source address validation. */ if (!MESH_IS_ADDR_UNICAST(pNwkPduTxInfo->src)) { return MESH_NWK_INVALID_PARAMS; diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/security/mesh_security_crypto_beacon.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/security/mesh_security_crypto_beacon.c index d06c2479..7ef035d1 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/security/mesh_security_crypto_beacon.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/security/mesh_security_crypto_beacon.c @@ -164,7 +164,7 @@ static void meshSecBeaconVerificationCback(const uint8_t *pCmacResult, void *pPa /*************************************************************************************************/ /*! - * \brief Finds matching Beacon Key and attemps authentication based on fields of the Secure + * \brief Finds matching Beacon Key and attempts authentication based on fields of the Secure * Network Beacon. * * \param[in] pCmacResult Pointer to the 128-bit CMAC result. @@ -199,7 +199,7 @@ static meshSecRetVal_t meshSecTryNextAuthParams(meshSecNwkBeaconAuthReq_t *pReq) continue; } - /* Check if the Key Refresh Phase allows use of updated material. Key Refresh Read shoud + /* Check if the Key Refresh Phase allows use of updated material. Key Refresh Read should * never fail for keys that are in sync with security key information. */ state = MeshLocalCfgGetKeyRefreshPhaseState(pNetKeyInfo->hdr.keyIndex); diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/security/mesh_security_crypto_nwk.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/security/mesh_security_crypto_nwk.c index f5da9d4d..19c59b52 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/security/mesh_security_crypto_nwk.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/security/mesh_security_crypto_nwk.c @@ -414,7 +414,7 @@ static void meshSecDeobfCback(const uint8_t *pCipherTextBlock, void *pParam) /* Determine NetMic position in the PDU. */ params.pCbcMac = (pReq->pEncObfNwkPdu + pReq->encObfNwkPduSize - params.cbcMacSize); - /* Determine CCM input length by substracting NetMic size and offset from total length. */ + /* Determine CCM input length by subtracting NetMic size and offset from total length. */ params.inputLen = pReq->encObfNwkPduSize - MESH_DST_ADDR_POS - params.cbcMacSize; /* Call Toolbox to decrypt CCM. */ @@ -503,7 +503,7 @@ static meshSecRetVal_t meshSecSetNextFriendMatAndDeobf(meshSecNwkDeobfDecReq_t * continue; } - /* Check if the Key Refresh Phase allows use of updated material. Key Refresh Read shoud + /* Check if the Key Refresh Phase allows use of updated material. Key Refresh Read should * never fail for keys that are in sync with security key information. */ state = MeshLocalCfgGetKeyRefreshPhaseState(pNetKeyInfo->hdr.keyIndex); @@ -612,7 +612,7 @@ static meshSecRetVal_t meshSecSetNextNetKeyMatAndDeobf(meshSecNwkDeobfDecReq_t * continue; } - /* Check if the Key Refresh Phase allows use of updated material. Key Refresh Read shoud + /* Check if the Key Refresh Phase allows use of updated material. Key Refresh Read should * never fail. */ state = MeshLocalCfgGetKeyRefreshPhaseState(pNetKeyInfo->hdr.keyIndex); diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/security/mesh_security_deriv.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/security/mesh_security_deriv.c index 68082619..752c5919 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/security/mesh_security_deriv.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/security/mesh_security_deriv.c @@ -906,7 +906,7 @@ static meshSecRetVal_t meshSecHandleNetKeyDerivation(uint16_t netKeyIndex, bool_ { /* Reset in progress flags. */ /* Note: pNetKeyInfo is NULL if (idx == secMatLocals.netKeyInfoListSize), but this is checked - * above and function will return with error status thus precluding a NULL derefence from + * above and function will return with error status thus precluding a NULL dereference from * occurring here. */ /* coverity[var_deref_op] */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/security/mesh_security_toolbox.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/security/mesh_security_toolbox.c index fe64d0be..cec9cbb9 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/security/mesh_security_toolbox.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-mesh-profile/sources/stack/security/mesh_security_toolbox.c @@ -333,7 +333,7 @@ static void meshSecToolKxCmacCback(const uint8_t *pCmacResult, void *pParam) if (pTemp == NULL) { - /* Shoud never happen */ + /* Should never happen */ WSF_ASSERT(pTemp != NULL); return; } @@ -1317,7 +1317,7 @@ meshSecToolRetVal_t MeshSecToolEccGenerateKey(meshSecToolEccKeyGenCback_t eccKey * * \see meshSecToolEcdhCback_t * - * \retval MESH_SUCCESS Request processed succesfully. + * \retval MESH_SUCCESS Request processed successfully. * \retval MESH_SEC_TOOL_INVALID_PARAMS Invalid parameters in request. * \retval MESH_SEC_TOOL_OUT_OF_MEMORY No resources to process request. * \retval MESH_SEC_TOOL_UNINITIALIZED The algorithm used by this request is not initialized. @@ -1376,7 +1376,7 @@ meshSecToolRetVal_t MeshSecToolEccCompSharedSecret(const uint8_t *pPeerPubX, * \param[in] saltCback Callback invoked after salt is generated. * \param[in] pParam Pointer to generic callback parameter. * - * \retval MESH_SUCCESS Request processed succesfully. + * \retval MESH_SUCCESS Request processed successfully. * \retval MESH_SEC_TOOL_INVALID_PARAMS Invalid parameters in request. * \retval MESH_SEC_TOOL_OUT_OF_MEMORY No resources to process request. * \retval MESH_SEC_TOOL_UNINITIALIZED The algorithm used by this request is not initialized. @@ -1417,7 +1417,7 @@ meshSecToolRetVal_t MeshSecToolGenerateSalt(uint8_t *pPlainText, uint16_t plainT * * \see meshSecToolKeyDerivationCback_t * - * \retval MESH_SUCCESS Request processed succesfully. + * \retval MESH_SUCCESS Request processed successfully. * \retval MESH_SEC_TOOL_INVALID_PARAMS Invalid parameters in request. * \retval MESH_SEC_TOOL_OUT_OF_MEMORY No resources to process request. * \retval MESH_SEC_TOOL_UNINITIALIZED The algorithm used by this request is not initialized. @@ -1470,7 +1470,7 @@ meshSecToolRetVal_t MeshSecToolK1Derive(uint8_t *pPlainText, uint16_t plainTextS * * \see meshSecToolKeyDerivationCback_t * - * \retval MESH_SUCCESS Request processed succesfully. + * \retval MESH_SUCCESS Request processed successfully. * \retval MESH_SEC_TOOL_INVALID_PARAMS Invalid parameters in request. * \retval MESH_SEC_TOOL_OUT_OF_MEMORY No resources to process request. * \retval MESH_SEC_TOOL_UNINITIALIZED The algorithm used by this request is not initialized. @@ -1523,7 +1523,7 @@ meshSecToolRetVal_t MeshSecToolK2Derive(uint8_t *pPlainText, uint16_t plainTextS * * \see meshSecToolKeyDerivationCback_t * - * \retval MESH_SUCCESS Request processed succesfully. + * \retval MESH_SUCCESS Request processed successfully. * \retval MESH_SEC_TOOL_INVALID_PARAMS Invalid parameters in request. * \retval MESH_SEC_TOOL_OUT_OF_MEMORY No resources to process request. * \retval MESH_SEC_TOOL_UNINITIALIZED The algorithm used by this request is not initialized. @@ -1569,7 +1569,7 @@ meshSecToolRetVal_t MeshSecToolK3Derive(uint8_t *pPlainText, * * \see meshSecToolKeyDerivationCback_t * - * \retval MESH_SUCCESS Request processed succesfully. + * \retval MESH_SUCCESS Request processed successfully. * \retval MESH_SEC_TOOL_INVALID_PARAMS Invalid parameters in request. * \retval MESH_SEC_TOOL_OUT_OF_MEMORY No resources to process request. * \retval MESH_SEC_TOOL_UNINITIALIZED The algorithm used by this request is not initialized. diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/include/app_api.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/include/app_api.h index 5ed16cbf..ca7b5e0c 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/include/app_api.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/include/app_api.h @@ -312,7 +312,7 @@ void AppMasterInit(void); /**@}*/ /** \name App Advertising Functions - * Configure and send legacy, extended and periodic advertisments. + * Configure and send legacy, extended and periodic advertisements. */ /**@{*/ @@ -1006,7 +1006,7 @@ void AppDiscComplete(dmConnId_t connId, uint8_t status); * \param uuidLen Length of service UUID (2 or 16). * \param pUuid Pointer to service UUID. * \param listLen Length of characteristic and handle lists. - * \param pCharList Characterisic list for discovery. + * \param pCharList Characteristic list for discovery. * \param pHdlList Characteristic handle list. * * \return None. diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/include/app_db.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/include/app_db.h index 3e657a49..0ed9e35a 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/include/app_db.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/include/app_db.h @@ -133,7 +133,7 @@ void AppDbCheckValidRecord(appDbHdl_t hdl); * \param hdl Database record handle. * -* \return TURE if record in use. FALSE, otherwise. +* \return TRUE if record in use. FALSE, otherwise. */ /*************************************************************************************************/ bool_t AppDbRecordInUse(appDbHdl_t hdl); @@ -441,7 +441,7 @@ bool_t AppDbGetPeerAddrRes(appDbHdl_t hdl); * \brief Set address resolution attribute value for a peer device. * * \param hdl Database record handle. -* \param addrRes Peer address resolution attribue value. +* \param addrRes Peer address resolution attribute value. * * \return None. */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/include/ui_api.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/include/ui_api.h index 5e05d21d..ce1561c6 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/include/ui_api.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/include/ui_api.h @@ -93,7 +93,7 @@ extern "C" { #define UI_MESSAGE_STOP 3 /*!< Stop button type */ /*! \brief Text format types */ -#define UI_FORMAT_SECONDS 0 /*!< Seconds foramt */ +#define UI_FORMAT_SECONDS 0 /*!< Seconds format */ #define UI_FORMAT_MILLISECONDS 1 /*!< Milliseconds format */ #define UI_FORMAT_MBS 2 /*!< Mega bits per second format */ #define UI_FORMAT_INTEGER 3 /*!< Integer format */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/af/app_disc.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/af/app_disc.c index e1ad0be8..8a55db8b 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/af/app_disc.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/af/app_disc.c @@ -48,7 +48,7 @@ Data Types **************************************************************************************************/ -/*! \brief Application Discovery controler block */ +/*! \brief Application Discovery controller block */ typedef struct { attcDiscCb_t *pDiscCb; /*! ATT discovery control block */ @@ -744,7 +744,7 @@ void AppDiscComplete(dmConnId_t connId, uint8_t status) * \param uuidLen Length of UUID (2 or 16). * \param pUuid Pointer to UUID data. * \param listLen Length of characteristic and handle lists. - * \param pCharList Characterisic list for discovery. + * \param pCharList Characteristic list for discovery. * \param pHdlList Characteristic handle list. * * \return None. diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/af/app_server.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/af/app_server.c index 33866bf9..0e1e1bf2 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/af/app_server.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/af/app_server.c @@ -75,7 +75,7 @@ void AppServerConnCback(dmEvt_t *pDmEvt) if (pDmEvt->hdr.event == DM_CONN_OPEN_IND) { - /* apply the peer's CCC table - values are persistant across connection when bonded */ + /* apply the peer's CCC table - values are persistent across connection when bonded */ if ((dbHdl = AppDbGetHdl(connId)) != APP_DB_HDL_NONE) { uint8_t changeAwareState; diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/af/app_slave.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/af/app_slave.c index 378c419c..1711848d 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/af/app_slave.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/af/app_slave.c @@ -56,7 +56,7 @@ #define APP_CU_STATE_UPDATING 2 /************************************************************************************************** - Golbal Variables + Global Variables **************************************************************************************************/ /* Slave control block */ @@ -205,7 +205,7 @@ static void appSetAdvScanDataFrag(uint8_t advHandle, uint8_t location) pAdvData = appSlaveCb.pAdvData[advHandle][location]; remainLen = appSlaveCb.advDataLen[advHandle][location] - appSlaveCb.advDataOffset[advHandle][location]; - /* if remaing data length > max adv data length supported by Controller */ + /* if remaining data length > max adv data length supported by Controller */ if (remainLen > appSlaveCb.maxAdvDataLen[advHandle]) { remainLen = appSlaveCb.maxAdvDataLen[advHandle]; @@ -214,7 +214,7 @@ static void appSetAdvScanDataFrag(uint8_t advHandle, uint8_t location) /* while there remains data to be sent */ while (remainLen > 0) { - /* if remaing data length > max length of extended advertising data (per set adv data command) */ + /* if remaining data length > max length of extended advertising data (per set adv data command) */ if (remainLen > HCI_EXT_ADV_DATA_LEN) { /* data needs to be fragmented */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/af/app_slave_ae.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/af/app_slave_ae.c index 6ed15c19..ccd36d6a 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/af/app_slave_ae.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/af/app_slave_ae.c @@ -172,7 +172,7 @@ static void appSetPerAdvDataFrag(uint8_t advHandle) pAdvData = appExtSlaveCb.pPerAdvData[advHandle]; remainLen = appExtSlaveCb.perAdvDataLen[advHandle] - appExtSlaveCb.perAdvDataOffset[advHandle]; - /* if remaing data length > max adv data length supported by Controller */ + /* if remaining data length > max adv data length supported by Controller */ if (remainLen > appSlaveCb.maxAdvDataLen[advHandle]) { remainLen = appSlaveCb.maxAdvDataLen[advHandle]; @@ -181,7 +181,7 @@ static void appSetPerAdvDataFrag(uint8_t advHandle) /* while there remains data to be sent */ while (remainLen > 0) { - /* if remaing data length > max length of periodic advertising data (per set adv data command) */ + /* if remaining data length > max length of periodic advertising data (per set adv data command) */ if (remainLen > HCI_PER_ADV_DATA_LEN) { /* data needs to be fragmented */ @@ -312,7 +312,7 @@ void appPerAdvSetData(uint8_t advHandle, uint16_t len, uint8_t *pData, uint16_t /*************************************************************************************************/ /*! - * \brief Set the value of an advertising data element in the peroidic advertising data. + * \brief Set the value of an advertising data element in the periodic advertising data. * If the element already exists in the data then it is replaced with the new value. * If the element does not exist in the data it is appended to it, space permitting. * diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/af/common/app_db.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/af/common/app_db.c index 789f4c9b..95ac53c8 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/af/common/app_db.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/af/common/app_db.c @@ -43,7 +43,7 @@ #define APP_DB_NVM_BASE 0x1000 #define APP_DB_NVM_RECORD_BASE (APP_DB_NVM_BASE) -/*! App DB NVM record parameter indicies. */ +/*! App DB NVM record parameter indices. */ #define APP_DB_NVM_IN_USE_ID 0 #define APP_DB_NVM_PEER_ADDR_ID 1 #define APP_DB_NVM_ADDR_TYPE_ID 2 @@ -329,7 +329,7 @@ void AppDbCheckValidRecord(appDbHdl_t hdl) * \param hdl Database record handle. * -* \return TURE if record in use. FALSE, otherwise. +* \return TRUE if record in use. FALSE, otherwise. */ /*************************************************************************************************/ bool_t AppDbRecordInUse(appDbHdl_t hdl) @@ -847,7 +847,7 @@ bool_t AppDbGetPeerAddrRes(appDbHdl_t hdl) * \brief Set address resolution attribute value for a peer device. * * \param hdl Database record handle. - * \param addrRes Address resolution attribue value. + * \param addrRes Address resolution attribute value. * * \return None. */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/af/common/ui_lcd.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/af/common/ui_lcd.c index 444881c7..faa12544 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/af/common/ui_lcd.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/af/common/ui_lcd.c @@ -219,7 +219,7 @@ static char uiLcdAlphaNumNextChar(const UiDialog_t *pDialog, bool_t up) /*************************************************************************************************/ /*! - * \brief Process a key press from the user - Numeric or alpha-numeric dialog screens + * \brief Process a key press from the user - Numeric or alphanumeric dialog screens * * \param key User keypress. * @@ -380,7 +380,7 @@ static void uiLcdScrollCallback(void) { UiMenu_t *pMenu = (UiMenu_t *) UiCb.pActiveScreen; - /* scroll the higlighted menu item if necessary */ + /* scroll the highlighted menu item if necessary */ if (++uiLcdCb.scrollOffset > (int8_t) (strlen(pMenu->pItems[pMenu->highlight]) - (LCD_LINE_LEN - LCD_SEL_COL_WIDTH))) { uiLcdCb.scrollOffset = 0; @@ -465,7 +465,7 @@ static void appCalcFirstAndLastItem(int8_t *pStart, int8_t *pEnd, uint8_t numLin { int8_t start, end; - /* Assume the highligh will be in the center */ + /* Assume the highlight will be in the center */ start = highlight - (numLines - 1) / 2; /* If centering the highlight puts the start below zero, start at the beginning */ @@ -483,7 +483,7 @@ static void appCalcFirstAndLastItem(int8_t *pStart, int8_t *pEnd, uint8_t numLin end = numItems; /* The last item should be as close to the bottom of the screen as possible */ - /* Adjust the start to accomodate this */ + /* Adjust the start to accommodate this */ start = end - numLines; if (start < 0) diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/af/common/ui_main.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/af/common/ui_main.c index 4e36ecda..ead2f614 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/af/common/ui_main.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/af/common/ui_main.c @@ -1005,7 +1005,7 @@ void UiProcessKeyboardInput(uint8_t ch) /*************************************************************************************************/ void UiInit(const UiSplashScreen_t *pSplash, const UiMenu_t *pMain) { - /* Store main meny and start splash screen. */ + /* Store main menu and start splash screen. */ UiCb.pMainMenu = pMain; UiLoadSplash(pSplash); } diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/profiles/cpp/cpps_main.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/profiles/cpp/cpps_main.c index 5ca09428..987fdaa3 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/profiles/cpp/cpps_main.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/profiles/cpp/cpps_main.c @@ -42,7 +42,7 @@ /*! \brief The maximum length of a field in a power measurement */ #define CPPS_PM_MAX_FIELD_LEN 6 -/*! \brief Power Measurement Flag Indicies */ +/*! \brief Power Measurement Flag Indices */ enum { CPPS_PPBP_FLAG_INDEX, /* Pedal Power Balance Present */ @@ -249,7 +249,7 @@ void CppsSendPowerMeasurement(dmConnId_t connId) /* Get maximum length for a notification (ATT_MTU - 3) */ maxValueLen = AttGetMtu(connId) - ATT_VALUE_NTF_LEN; - /* Add manditory parameters. skip flags field for now */ + /* Add mandatory parameters. skip flags field for now */ UINT16_TO_BSTREAM(pMsg, 0); UINT16_TO_BSTREAM(pMsg, cppsPmData.insantaneousPower); diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/profiles/cscp/cscps_main.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/profiles/cscp/cscps_main.c index 10a1daaa..553afcbc 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/profiles/cscp/cscps_main.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/profiles/cscp/cscps_main.c @@ -39,7 +39,7 @@ /*! \brief The maximum length of a power measurement */ #define CSCPS_PM_MAX_LEN 11 -/*! \brief Cycle Speed and Cadence Measurement Flag Indicies */ +/*! \brief Cycle Speed and Cadence Measurement Flag Indices */ enum { CSCPS_WRDP_FLAG_INDEX, /*! \brief Wheel Revolution Data Present */ @@ -152,7 +152,7 @@ void CscpsSendSpeedMeasurement(dmConnId_t connId) uint8_t msg[CSCPS_PM_MAX_LEN]; uint8_t *p = msg; - /* Add manditory parameters */ + /* Add mandatory parameters */ UINT8_TO_BSTREAM(p, cscpsSmData.flags); /* Add optional parameters */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/profiles/plxps/plxps_main.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/profiles/plxps/plxps_main.c index c3465b4f..f99260b5 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/profiles/plxps/plxps_main.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/profiles/plxps/plxps_main.c @@ -73,10 +73,10 @@ static uint8_t plxpsBuildScm(uint8_t *pBuf, plxpScm_t *pScm) /* flags */ UINT8_TO_BSTREAM(p, flags); - /* Manditory SpO2 */ + /* Mandatory SpO2 */ UINT16_TO_BSTREAM(p, pScm->spo2); - /* Manditory Pulse Rate */ + /* Mandatory Pulse Rate */ UINT16_TO_BSTREAM(p, pScm->pulseRate); /* Timestamp */ @@ -130,10 +130,10 @@ static uint8_t plxpsBuildCm(uint8_t *pBuf, plxpCm_t *pCm) /* flags */ UINT8_TO_BSTREAM(p, flags); - /* Manditory SpO2 */ + /* Mandatory SpO2 */ UINT16_TO_BSTREAM(p, pCm->spo2); - /* Manditory Pulse Rate */ + /* Mandatory Pulse Rate */ UINT16_TO_BSTREAM(p, pCm->pulseRate); /* SpO2PR Fast */ @@ -609,7 +609,7 @@ uint8_t PlxpsWriteCback(dmConnId_t connId, uint16_t handle, uint8_t operation, uint16_t offset, uint16_t len, uint8_t *pValue, attsAttr_t *pAttr) { uint8_t opcode; - uint8_t oprator; + uint8_t operator; /* sanity check on length */ if (len < PLXPS_RACP_MIN_WRITE_LEN) @@ -625,7 +625,7 @@ uint8_t PlxpsWriteCback(dmConnId_t connId, uint16_t handle, uint8_t operation, /* parse opcode and operator and adjust remaining parameter length */ BSTREAM_TO_UINT8(opcode, pValue); - BSTREAM_TO_UINT8(oprator, pValue); + BSTREAM_TO_UINT8(operator, pValue); len -= 2; /* handle a procedure in progress */ @@ -647,10 +647,10 @@ uint8_t PlxpsWriteCback(dmConnId_t connId, uint16_t handle, uint8_t operation, } /* verify operator */ - if ((opcode != CH_RACP_OPCODE_ABORT && oprator != CH_RACP_OPERATOR_ALL) || - (opcode == CH_RACP_OPCODE_ABORT && oprator != CH_RACP_OPERATOR_NULL)) + if ((opcode != CH_RACP_OPCODE_ABORT && operator != CH_RACP_OPERATOR_ALL) || + (opcode == CH_RACP_OPCODE_ABORT && operator != CH_RACP_OPERATOR_NULL)) { - if (oprator > CH_RACP_OPERATOR_LAST) + if (operator > CH_RACP_OPERATOR_LAST) plxpsRacpSendRsp(connId, opcode, CH_RACP_RSP_OPERATOR_NOT_SUP); else plxpsRacpSendRsp(connId, opcode, CH_RACP_RSP_INV_OPERATOR); @@ -669,12 +669,12 @@ uint8_t PlxpsWriteCback(dmConnId_t connId, uint16_t handle, uint8_t operation, { /* report records */ case CH_RACP_OPCODE_REPORT: - plxpsRacpReport(connId, oprator); + plxpsRacpReport(connId, operator); break; /* delete records */ case CH_RACP_OPCODE_DELETE: - plxpsRacpDelete(connId, oprator); + plxpsRacpDelete(connId, operator); break; /* abort current operation */ @@ -684,7 +684,7 @@ uint8_t PlxpsWriteCback(dmConnId_t connId, uint16_t handle, uint8_t operation, /* report number of records */ case CH_RACP_OPCODE_REPORT_NUM: - plxpsRacpReportNum(connId, oprator); + plxpsRacpReportNum(connId, operator); break; /* unsupported opcode */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/profiles/rscp/rscps_main.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/profiles/rscp/rscps_main.c index bfd9a647..7cd62219 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/profiles/rscp/rscps_main.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/profiles/rscp/rscps_main.c @@ -39,7 +39,7 @@ /*! \brief The maximum length of a power measurement */ #define RSCPS_PM_MAX_LEN 10 -/*! \brief Running Speed Measurement Flag Indicies */ +/*! \brief Running Speed Measurement Flag Indices */ enum { RSCPS_ISLP_FLAG_INDEX, /*! \brief Instantaneous Stride Length Present Present */ @@ -162,7 +162,7 @@ void RscpsSendSpeedMeasurement(dmConnId_t connId) uint8_t msg[RSCPS_PM_MAX_LEN]; uint8_t *p = msg; - /* Add manditory parameters */ + /* Add mandatory parameters */ UINT8_TO_BSTREAM(p, rscpSmData.flags); UINT16_TO_BSTREAM(p, rscpSmData.speed); UINT8_TO_BSTREAM(p, rscpSmData.cadence); diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/profiles/wdxc/wdxc_main.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/profiles/wdxc/wdxc_main.c index 3e895708..3685f62d 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/profiles/wdxc/wdxc_main.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/profiles/wdxc/wdxc_main.c @@ -291,7 +291,7 @@ static void wdxcParseFtc(dmConnId_t connId, uint8_t *pValue, uint16_t len) BSTREAM_TO_UINT8(status, p) } - /* Call appliation callback */ + /* Call application callback */ if (wdxcCb.pFtdCallback) { (*wdxcCb.pFtcCallback)(connId, handle, op, status); diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/profiles/wdxs/wdxs_api.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/profiles/wdxs/wdxs_api.h index b32a4cae..27e8d415 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/profiles/wdxs/wdxs_api.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/profiles/wdxs/wdxs_api.h @@ -64,7 +64,7 @@ void WdxsAuthenticationCfg(bool_t reqLevel, uint8_t *pKey); * \brief Handle WSF events for WDXS. * * \param event event - * \param pMsg message assiciated with event + * \param pMsg message associated with event * * \return None. */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/profiles/wdxs/wdxs_dc.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/profiles/wdxs/wdxs_dc.c index c773322c..d1d8de72 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/profiles/wdxs/wdxs_dc.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/profiles/wdxs/wdxs_dc.c @@ -160,7 +160,7 @@ uint8_t wdxsDcUpdateDiagnosticsComplete(dmConnId_t connId) /*************************************************************************************************/ /*! - * \brief Process set connection paramter request. + * \brief Process set connection parameter request. * * \return ATT status. */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_alert.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_alert.c index 0e3a6993..3ad7f27d 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_alert.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_alert.c @@ -115,7 +115,7 @@ static const uint16_t alertAnsLenCp = sizeof(alertAnsValCp); /* Alert status client characteristic configuration */ /* Ringer setting characteristic */ /* Ringer setting */ -/* Ringer settting client characteristic configuration */ +/* Ringer setting client characteristic configuration */ /* Ringer control point characteristic */ /* Ringer control point */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_alert.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_alert.h index fa6e7a13..9b37d708 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_alert.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_alert.h @@ -70,7 +70,7 @@ enum ALERT_PASS_AS_CCC_HDL, /*!< \brief Alert status client characteristic configuration */ ALERT_PASS_RS_CH_HDL, /*!< \brief Ringer setting characteristic */ ALERT_PASS_RS_HDL, /*!< \brief Ringer setting */ - ALERT_PASS_RS_CCC_HDL, /*!< \brief Ringer settting client characteristic configuration */ + ALERT_PASS_RS_CCC_HDL, /*!< \brief Ringer setting client characteristic configuration */ ALERT_PASS_RCP_CH_HDL, /*!< \brief Ringer control point characteristic */ ALERT_PASS_RCP_HDL, /*!< \brief Ringer control point */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_ch.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_ch.h index f1950742..b19d832f 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_ch.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_ch.h @@ -397,7 +397,7 @@ extern "C" { #define CH_GLMC_FLAG_EXT 0x80 /*!< \brief Extended flags present */ /**@}*/ -/** \name Glucose Measurement Context Field Lenths +/** \name Glucose Measurement Context Field Lengths * */ /**@{*/ @@ -628,7 +628,7 @@ extern "C" { #define CH_PLXS_CONTINUOUS_LEN 16 /*!< \brief Pulse oximiter profile continuous length. */ /**@}*/ -/** \name Pulse Oximeter Common Field Lenths +/** \name Pulse Oximeter Common Field Lengths * */ /**@{*/ @@ -640,14 +640,14 @@ extern "C" { #define CH_PLX_PULSE_AMP_INDX_LEN 2 /*!< \brief Pulse AMP index length. */ /**@}*/ -/** \name Pulse Oximeter Spot Check Measurement Field Lenths +/** \name Pulse Oximeter Spot Check Measurement Field Lengths * */ /**@{*/ #define CH_PLXSC_TIMESTAMP_LEN 7 /*!< \brief Pulse oximiter spot check measurement timestamp length. */ /**@}*/ -/** \name Pulse Oximeter Continuous Measurement Field Lenths +/** \name Pulse Oximeter Continuous Measurement Field Lengths * */ /**@{*/ @@ -655,14 +655,14 @@ extern "C" { #define CH_PLXC_SPO2PR_SLOW_LEN 2 /*!< \brief Pulse oximiter continuous measurement SPO2PR slow length. */ /**@}*/ -/** \name Pulse Oximeter Features Field Lenths +/** \name Pulse Oximeter Features Field Lengths * */ /**@{*/ #define CH_PLXF_MIN_FEATURES_LEN 2 /*!< \brief Pulse oximiter minimum features length. */ #define CH_PLXF_MAX_FEATURES_LEN 7 /*!< \brief Pulse oximiter maximum features length. */ #define CH_PLXF_SENSOR_SUPPORT_LEN 2 /*!< \brief Pulse oximiter sensor support length. */ -#define CH_PLXF_MEASUREMENT_SUPPORT_LEN 2 /*!< \brief Pulse oximeter measurement suppported length. */ +#define CH_PLXF_MEASUREMENT_SUPPORT_LEN 2 /*!< \brief Pulse oximeter measurement supported length. */ /**@}*/ /** \name Pulse Oximeter Spot Check Measurement Flags diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_core.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_core.h index 3203d22f..34968ed0 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_core.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_core.h @@ -37,7 +37,7 @@ extern "C" { Handle Ranges **************************************************************************************************/ /** \name GAP Service Handles - * \note GAP -- RPAO characterstic added only when DM Privacy enabled + * \note GAP -- RPAO characteristic added only when DM Privacy enabled */ /**@{*/ #define GAP_START_HDL 0x01 /*!< \brief GAP start handle */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_cps.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_cps.h index eacd7beb..4b459829 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_cps.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_cps.h @@ -58,7 +58,7 @@ Constants #define CPP_CHLAS_FEATURE_BIT (1<<13) /*!< \brief Chain Length Adjustment Supported Feature Mask Bit */ #define CPP_CHWAS_FEATURE_BIT (1<<14) /*!< \brief Chain Weight Adjustment Supported Feature Mask Bit */ #define CPP_SLAS_FEATURE_BIT (1<<15) /*!< \brief Span Length Adjustment Supported Feature Mask Bit */ -#define CPP_SMC_FEATURE_BIT (1<<16) /*!< \brief Sensor Measurement Contex (0: FORCE, 1: TORQUE) */ +#define CPP_SMC_FEATURE_BIT (1<<16) /*!< \brief Sensor Measurement Context (0: FORCE, 1: TORQUE) */ #define CPP_IMDS_FEATURE_BIT (1<<17) /*!< \brief Instantaneous Measurement Direction Supported */ #define CPP_FCDS_FEATURE_BIT (1<<18) /*!< \brief Factory Calibration Date Supported Feature Mask Bit */ #define CPP_EOCS_FEATURE_BIT (1<<19) /*!< \brief Enhanced Offset Compensation Supported Feature Mask Bit */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_cscs.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_cscs.h index f615839d..85194df7 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_cscs.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_cscs.h @@ -45,7 +45,7 @@ Constants #define CSCS_WRDS_FEATURE_BIT (1<<0) /*!< \brief Wheel Revolution Data Supported Feature Mask Bit */ #define CSCS_CRDS_FEATURE_BIT (1<<1) /*!< \brief Crank Revolution Data Supported Feature Mask Bit */ -#define CSCS_MSLS_FEATURE_BIT (1<<2) /*!< \brief Multiple Sensor Locations Supporte Feature Mask Bit */ +#define CSCS_MSLS_FEATURE_BIT (1<<2) /*!< \brief Multiple Sensor Locations Supported Feature Mask Bit */ /*! \brief TODO: Set to all supported features */ #define CSCS_ALL_FEATURES (0x3) /*!< \brief All Supported Feature Mask */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_gls.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_gls.c index 8f123818..99d7ac13 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_gls.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_gls.c @@ -184,7 +184,7 @@ static const attsAttr_t glsList[] = 0, GLS_SEC_PERMIT_READ }, - /* Record access control point characteristic delclaration */ + /* Record access control point characteristic declaration */ { attChUuid, (uint8_t *) glsValRacpCh, diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_gyro.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_gyro.h index 4d569589..6455564e 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_gyro.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_gyro.h @@ -62,7 +62,7 @@ enum GYRO_HANDLE_TEMPDATA_CLIENT_CHR_CONFIG, /*!< \brief Temporary data characteristic CCCD. */ GYRO_HANDLE_TEMPDATA_CHR_USR_DESCR, /*!< \brief Temporary data characteristic user description. */ - GYRO_HANDLE_CONFIG_CHR, /*!< \brief Configuration characteristic delcaration. */ + GYRO_HANDLE_CONFIG_CHR, /*!< \brief Configuration characteristic declaration. */ GYRO_HANDLE_CONFIG, /*!< \brief Configuration characteristic value. */ GYRO_HANDLE_CONFIG_CHR_USR_DESCR, /*!< \brief Configuration characteristic user description. */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_hid.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_hid.c index b38b074b..2689f4bd 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_hid.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_hid.c @@ -217,7 +217,7 @@ static const uint16_t hidLenPmVal = sizeof(hidPmVal); /* Attribute list for HID group */ static const attsAttr_t hidList[] = { - /* Service Delcaration */ + /* Service Declaration */ { attPrimSvcUuid, (uint8_t *) hidValSvc, diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_rscs.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_rscs.h index d835a22c..8e11cdbe 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_rscs.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_rscs.h @@ -46,7 +46,7 @@ Constants #define RSCS_TDMS_FEATURE_BIT (1<<1) /*!< \brief Total Distance Measurement Supported Feature Mask Bit */ #define RSCS_WRSS_FEATURE_BIT (1<<2) /*!< \brief Walking or Running Status Supported Feature Mask Bit */ #define RSCS_CPS_FEATURE_BIT (1<<3) /*!< \brief Calibration Procedure Supported Feature Mask Bit */ -#define RSCS_MSLS_FEATURE_BIT (1<<4) /*!< \brief Multiple Sensor Locations Supporte Feature Mask Bit */ +#define RSCS_MSLS_FEATURE_BIT (1<<4) /*!< \brief Multiple Sensor Locations Supported Feature Mask Bit */ /*! \brief TODO: Set to all supported features */ #define RSCS_ALL_FEATURES (0x7) /*!< \brief All Supported Feature Mask */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_temp.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_temp.h index 13992bdd..dbfd6c28 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_temp.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_temp.h @@ -57,9 +57,9 @@ enum TEMP_HANDLE_DATA_CLIENT_CHR_CONFIG, /*!< \brief Data characteristic CCCD. */ TEMP_HANDLE_DATA_CHR_USR_DESCR, /*!< \brief Data characteristic user description. */ - TEMP_HANDLE_CONFIG_CHR, /*!< \brief Configruation characteristic declaration. */ - TEMP_HANDLE_CONFIG, /*!< \brief Configruation characteristic value. */ - TEMP_HANDLE_CONFIG_CHR_USR_DESCR, /*!< \brief Configruation characteristic user description. */ + TEMP_HANDLE_CONFIG_CHR, /*!< \brief Configuration characteristic declaration. */ + TEMP_HANDLE_CONFIG, /*!< \brief Configuration characteristic value. */ + TEMP_HANDLE_CONFIG_CHR_USR_DESCR, /*!< \brief Configuration characteristic user description. */ TEMP_HANDLE_PERIOD_CHR, /*!< \brief Period characteristc declaration. */ TEMP_HANDLE_PERIOD, /*!< \brief Period characteristc value. */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_wdxs.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_wdxs.c index 26b17ed9..2e554608 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_wdxs.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/ble-profiles/sources/services/svc_wdxs.c @@ -117,7 +117,7 @@ static const uint16_t wdxsLenAuChCcc = sizeof(wdxsValAuChCcc); /* Attribute list for WDX group */ static const attsAttr_t wdxsList[] = { - /* Service Delcaration */ + /* Service Declaration */ { attPrimSvcUuid, (uint8_t *) wdxsValSvc, diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/include/ble/bb_ble_api_op.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/include/ble/bb_ble_api_op.h index 1f0c5790..d90d0833 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/include/ble/bb_ble_api_op.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/include/ble/bb_ble_api_op.h @@ -328,7 +328,7 @@ typedef struct { uint32_t rxSyncDelayUsec; /*!< Receive timeout in microseconds. */ BbBleExec_t execCback; /*!< Execute callback. */ - BbBleRxDataComp_t rxDataCback; /*!< Recieve completion callback. */ + BbBleRxDataComp_t rxDataCback; /*!< Receive completion callback. */ /* Return parameters. */ uint32_t startTsUsec; /*!< First Rx timestamp. */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/include/ble/bb_ble_sniffer_api.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/include/ble/bb_ble_sniffer_api.h index 007cfe88..4eebd6b4 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/include/ble/bb_ble_sniffer_api.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/include/ble/bb_ble_sniffer_api.h @@ -115,7 +115,7 @@ typedef BbBleSnifferPkt_t* (*bbSnifferGetPktFn_t)(void); typedef struct { uint16_t bufIdx; /*!< Current packet buffer index. */ - BbBleSnifferPkt_t pktBuf[BB_SNIFFER_MAX_NUM_BUF]; /*!< Sotrage for packet buffer. */ + BbBleSnifferPkt_t pktBuf[BB_SNIFFER_MAX_NUM_BUF]; /*!< Storage for packet buffer. */ } BbBleSnifferHciCtx_t; /*! \brief Sniffer context. */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/include/ble/sch_api_ble.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/include/ble/sch_api_ble.h index bd8d482a..f4031ac5 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/include/ble/sch_api_ble.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/include/ble/sch_api_ble.h @@ -39,7 +39,7 @@ extern "C" { /*! \brief Preferred periodicity. */ #define SCH_RM_PREF_PER_USEC 10000 -/*! \brief Lowest perferred periodicity (for cases where intervalMax < SCH_RM_PREF_PER_USEC). */ +/*! \brief Lowest preferred periodicity (for cases where intervalMax < SCH_RM_PREF_PER_USEC). */ #define SCH_RM_PREF_PER_USEC_LOWEST 5000 /*! \brief Preferred periodicity for connections. */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/bb/bb_ble_sniffer.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/bb/bb_ble_sniffer.c index f69df88d..6d444cfe 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/bb/bb_ble_sniffer.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/bb/bb_ble_sniffer.c @@ -59,12 +59,12 @@ bbSnifferGetPktFn_t bbSnifferGetPktTbl[BB_SNIFFER_OUTPUT_TOTAL_METHODS] = bbSnifferCtx_t bbSnifferCtx; /************************************************************************************************** - Packet retrival methods + Packet retrieval methods **************************************************************************************************/ /*************************************************************************************************/ /*! - * \brief Retrive packet for processing. + * \brief Retrieve packet for processing. * * \return Pointer to packet to be packed. * diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/include/lctr_api_cis.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/include/lctr_api_cis.h index 638c96f8..d98f2d96 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/include/lctr_api_cis.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/include/lctr_api_cis.h @@ -61,7 +61,7 @@ enum LCTR_CIS_MSG_CIS_DISC, /*!< CIS disconnect event. */ LCTR_CIS_MSG_CIS_CONN_FAIL, /*!< CIS connection fail to maintain event. */ LCTR_CIS_MSG_CIS_CLOSED, /*!< CIS closed event. */ - LCTR_CIS_MSG_CIS_TERM_MIC_FAILED, /*!< CIS terminated due to MIC failiure event. */ + LCTR_CIS_MSG_CIS_TERM_MIC_FAILED, /*!< CIS terminated due to MIC failure event. */ LCTR_CIS_MSG_TOTAL, /*!< Total number of CIS slave events. */ LCTR_CIS_MSG_INVALID= 0xFF, /*!< Invalid CIS message. */ }; diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_act_adv_master_ae.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_act_adv_master_ae.c index e9923bc1..33c3d817 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_act_adv_master_ae.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_act_adv_master_ae.c @@ -507,7 +507,7 @@ void lctrTransferSyncActStart(void) LmgrIncResetRefCount(); - /* All information is transfered, we can start scanning periodic sync immediately. */ + /* All information is transferred, we can start scanning periodic sync immediately. */ lctrPerTransferSync.connHandle = pMsg->connHandle; lctrPerTransferSync.serviceData = pMsg->id; lctrPerTransferSync.ceRef = pMsg->ceRef; diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_act_adv_slave_ae.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_act_adv_slave_ae.c index d05fe958..42a38266 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_act_adv_slave_ae.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_act_adv_slave_ae.c @@ -528,7 +528,7 @@ void lctrPeriodicAdvActStart(lctrAdvSet_t *pAdvSet) pAdvSet->perParam.perAdvEnabled = TRUE; - /* Need to set the flag to add aux BOD when extened adv is already started. */ + /* Need to set the flag to add aux BOD when extended adv is already started. */ if (pAdvSet->state == LCTR_EXT_ADV_STATE_ENABLED && pAdvSet->auxBodUsed == FALSE) { pAdvSet->perParam.perAuxStart = TRUE; diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_act_cis.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_act_cis.c index b333ca26..da8ae0fb 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_act_cis.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_act_cis.c @@ -321,7 +321,7 @@ void lctrCisActCisEst(lctrCisCtx_t *pCisCtx) if ((txPwr == LL_PWR_CTRL_TXPOWER_UNMANAGED) && (pConnCtx->peerReqRecvd)) { - LL_TRACE_INFO0(" txPower previously unmanaged. Initalized txPower."); + LL_TRACE_INFO0(" txPower previously unmanaged. Initialized txPower."); LCTR_SET_TXPOWER(pConnCtx, txPhy, pLctrRtCfg->defTxPwrLvl); diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_act_cis_master.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_act_cis_master.c index 71e1e2f3..6584457d 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_act_cis_master.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_act_cis_master.c @@ -99,7 +99,7 @@ static void lctrCalCeRefNotFirstCis(lctrConnCtx_t *pCtx, lctrCisCtx_t *pCisCtx) aclRefTime = pConnBod->dueUsec + (pCisCtx->ceRef - pCtx->eventCounter) * LCTR_CONN_IND_US(pCtx->connInterval); - /* Find the reference event when CIS shall be transfered. */ + /* Find the reference event when CIS shall be transferred. */ pCisCtx->cisCeRef = 0; while (result == FALSE) diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_int_conn.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_int_conn.h index dce8cd88..f1de68a4 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_int_conn.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_int_conn.h @@ -160,7 +160,7 @@ enum LCTR_PROC_CIS_EST_PEER, /*!< Peer-initiated CIS establishment procedure. */ LCTR_PROC_CIS_TERM, /*!< CIS termination procedure. */ LCTR_PROC_CIS_TERM_PEER, /*!< Peer-initiated CIS termination procedure. */ - LCTR_PROC_PWR_IND, /*!< Power indication prodecure. */ + LCTR_PROC_PWR_IND, /*!< Power indication procedure. */ LCTR_PROC_PWR_CTRL, /*!< Power control procedure. */ LCTR_PROC_INVALID = 0xFF /*!< Invalid ID. */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_isr_bis_master.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_isr_bis_master.c index d253b873..6f46d9c0 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_isr_bis_master.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_isr_bis_master.c @@ -415,7 +415,7 @@ static void lctrMstBisRxDataPduHandler(lctrBigCtx_t *pBigCtx, uint32_t rxEvtCtr) break; } default: - LL_TRACE_WARN2("Unexpected LLID recieved; dropping Rx ISO PDU, bigHandle=%u, pktCtr[15:0]=%u", pBigCtx->handle, pktCtr); + LL_TRACE_WARN2("Unexpected LLID received; dropping Rx ISO PDU, bigHandle=%u, pktCtr[15:0]=%u", pBigCtx->handle, pktCtr); WsfMsgFree(pIsoSdu); continue; } @@ -742,7 +742,7 @@ void lctrMstBisRxCompletion(BbOpDesc_t *pOp, uint8_t *pBuf, uint8_t status) } else if (hdr.cssn == pBigCtx->bcp.cssn) { - LL_TRACE_WARN1("Unexpected duplicate BIS Control PDU recieved, bigHandle=%u", pBigCtx->handle); + LL_TRACE_WARN1("Unexpected duplicate BIS Control PDU received, bigHandle=%u", pBigCtx->handle); } else { diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_isr_conn_slave.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_isr_conn_slave.c index f5326e2c..3264f877 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_isr_conn_slave.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_isr_conn_slave.c @@ -498,7 +498,7 @@ void lctrSlvConnEndOp(BbOpDesc_t *pOp) } else if ((pCtx->chanMapUpd.instant - pCtx->eventCounter) > 1) { - /* Serve CE of (instant - 1) so that new channe map is applied in the end callback of CE(instant - 1). */ + /* Serve CE of (instant - 1) so that new channel map is applied in the end callback of CE(instant - 1). */ numSkipCe = pCtx->chanMapUpd.instant - pCtx->eventCounter - 2; } } diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_main_adv_slave_ae.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_main_adv_slave_ae.c index d8dc6b8e..94b174fa 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_main_adv_slave_ae.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_main_adv_slave_ae.c @@ -1541,7 +1541,7 @@ uint16_t LctrInitAdvSetMem(uint8_t *pFreeMem, uint32_t freeMemSize) /*! * \brief Is set extended advertising enable parameter valid * - * \param enable True if enable extented adv, False otherwise. + * \param enable True if enable extended adv, False otherwise. * \param pEnaParam Set extended adv enable parameters. * * \return Status error code. diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_main_bis.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_main_bis.c index 86a91a7a..1e4f92da 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_main_bis.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_main_bis.c @@ -329,7 +329,7 @@ lctrBigCtx_t *lctrFindBigBySyncHandle(uint16_t syncHandle) /*! * \brief Check is current BIG synchronization in progress. * - * \return TRUE if syncrhonizing in progres, FALSE otherwise. + * \return TRUE if synchronizing in progress, FALSE otherwise. */ /*************************************************************************************************/ bool_t lctrIsBigSynchronizing(void) diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_main_cis.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_main_cis.c index 7bba985c..210d33f3 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_main_cis.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_main_cis.c @@ -184,7 +184,7 @@ void lctrCleanupCtx(lctrCisCtx_t *pCisCtx) } } - /* CIG is removed through host command, unless resetted. */ + /* CIG is removed through host command, unless reset. */ if ((lctrResetEnabled == TRUE)) { diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_main_init_master_ae.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_main_init_master_ae.c index 69210137..8829c435 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_main_init_master_ae.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/controller/sources/ble/lctr/lctr_main_init_master_ae.c @@ -512,7 +512,7 @@ uint8_t lctrMstAuxInitiateBuildOp(lctrExtScanCtx_t *pExtInitCtx, LlConnSpec_t *p /*** BLE Scan Setup: Rx chain packet ***/ - /* pAuxScan->rxAuxChainCback = NULL; */ /* No CHAIN_IND when inititating. */ + /* pAuxScan->rxAuxChainCback = NULL; */ /* No CHAIN_IND when initiating. */ /*** Commit operation ***/ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/include/pal_bb_154.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/include/pal_bb_154.h index f0b46d61..85dcb468 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/include/pal_bb_154.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/include/pal_bb_154.h @@ -484,7 +484,7 @@ void PalBb154SetOpParams(const PalBb154OpParam_t *pOpParam); * * \return Driver PIB pointer. * - * Calling this routine retun a pointer to the driver PIB. + * Calling this routine returns a pointer to the driver PIB. */ /*************************************************************************************************/ PalBb154DrvPib_t *PalBb154GetDrvPIB(void); @@ -640,7 +640,7 @@ void PalBb154ContinuousRx(uint8_t rfChan, uint8_t rxPhy); /*************************************************************************************************/ /*! - * \brief Stop Continous Transmit or Receive mode. + * \brief Stop Continuous Transmit or Receive mode. */ /*************************************************************************************************/ void PalBb154ContinuousStop(void); diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32655/sources/pal_cfg.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32655/sources/pal_cfg.c index e6a2443e..11739fe1 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32655/sources/pal_cfg.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32655/sources/pal_cfg.c @@ -143,7 +143,7 @@ void palCfgLoadBdAddress(uint8_t *pDevAddr) PalSysAssertTrap(); } - /* MA-L assigend by IEEE to Maxim Integrated Products */ + /* MA-L assigned by IEEE to Maxim Integrated Products */ pDevAddr[5] = 0x00; pDevAddr[4] = 0x18; pDevAddr[3] = 0x80; diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32655/sources/pal_crypto.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32655/sources/pal_crypto.c index 01c5d191..59649e11 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32655/sources/pal_crypto.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32655/sources/pal_crypto.c @@ -121,7 +121,7 @@ typedef union { uint32_t key[BB_AES_BLOCK_SIZE / sizeof(uint32_t)]; /*!< Key. */ uint32_t clear[BB_AES_BLOCK_SIZE / sizeof(uint32_t)]; /*!< Clear. */ uint32_t cipher[BB_AES_BLOCK_SIZE / sizeof(uint32_t)]; /*!< Cipher. */ - } w; /*!< Word acess block. */ + } w; /*!< Word access block. */ } palCryptoEcbData_t; struct { diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32655/sources/pal_flash.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32655/sources/pal_flash.c index 268180a0..e9fc1df3 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32655/sources/pal_flash.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32655/sources/pal_flash.c @@ -4,7 +4,7 @@ * * \brief Flash driver implementation. * - * Uses pages of internal flash for the databse. + * Uses pages of internal flash for the database. * * Copyright (c) 2019-2020 Packetcraft, Inc. All rights reserved. * Packetcraft, Inc. confidential and proprietary. diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32655/sources/pal_uart.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32655/sources/pal_uart.c index 82df7707..84e7459a 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32655/sources/pal_uart.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32655/sources/pal_uart.c @@ -67,7 +67,7 @@ void palUartCallback(int ch, int error) { int i; for(i = 0; i < PAL_UARTS; i++) { - /* Find the corresponding rqeuest and call the callback */ + /* Find the corresponding request and call the callback */ if((ch == palUartCb[i].readCh) && (palUartCb[i].state != PAL_UART_STATE_UNINIT)) { palUartCb[i].readCh = -1; @@ -240,7 +240,7 @@ PalUartState_t PalUartGetState(PalUartId_t id) * \return None. * * Store \a len received bytes in \a pData. After \a len is transferred, call - * \a UartInitInfo_t::rdCback to signal read completion. Alway call this function to setup buffer + * \a UartInitInfo_t::rdCback to signal read completion. Always call this function to setup buffer * when boot up or after a reading is done */ /*************************************************************************************************/ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32665/sources/pal_cfg.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32665/sources/pal_cfg.c index a0360436..1dea2df3 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32665/sources/pal_cfg.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32665/sources/pal_cfg.c @@ -144,7 +144,7 @@ void palCfgLoadBdAddress(uint8_t *pDevAddr) } - /* MA-L assigend by IEEE to Maxim Integrated Products */ + /* MA-L assigned by IEEE to Maxim Integrated Products */ pDevAddr[5] = 0x00; pDevAddr[4] = 0x18; pDevAddr[3] = 0x80; diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32665/sources/pal_crypto.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32665/sources/pal_crypto.c index 97cc63d4..71cd92dd 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32665/sources/pal_crypto.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32665/sources/pal_crypto.c @@ -121,7 +121,7 @@ typedef union { uint32_t key[BB_AES_BLOCK_SIZE / sizeof(uint32_t)]; /*!< Key. */ uint32_t clear[BB_AES_BLOCK_SIZE / sizeof(uint32_t)]; /*!< Clear. */ uint32_t cipher[BB_AES_BLOCK_SIZE / sizeof(uint32_t)]; /*!< Cipher. */ - } w; /*!< Word acess block. */ + } w; /*!< Word access block. */ } palCryptoEcbData_t; struct { diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32665/sources/pal_flash.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32665/sources/pal_flash.c index 7866c206..169fea3d 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32665/sources/pal_flash.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32665/sources/pal_flash.c @@ -4,7 +4,7 @@ * * \brief Flash driver implementation. * - * Uses pages of internal flash for the databse. + * Uses pages of internal flash for the database. * * Copyright (c) 2019-2020 Packetcraft, Inc. All rights reserved. * Packetcraft, Inc. confidential and proprietary. diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32665/sources/pal_uart.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32665/sources/pal_uart.c index 194bfe01..561f3b00 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32665/sources/pal_uart.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32665/sources/pal_uart.c @@ -67,7 +67,7 @@ void palUartCallback(int ch, int error) { // int i; // for(i = 0; i < PAL_UARTS; i++) { -// /* Find the corresponding rqeuest and call the callback */ +// /* Find the corresponding request and call the callback */ // if((ch == palUartCb[i].readCh) && (palUartCb[i].state != PAL_UART_STATE_UNINIT)) { // palUartCb[i].readCh = -1; // @@ -271,7 +271,7 @@ PalUartState_t PalUartGetState(PalUartId_t id) * \return None. * * Store \a len received bytes in \a pData. After \a len is transferred, call - * \a UartInitInfo_t::rdCback to signal read completion. Alway call this function to setup buffer + * \a UartInitInfo_t::rdCback to signal read completion. Always call this function to setup buffer * when boot up or after a reading is done */ /*************************************************************************************************/ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/nordic/sources/pal_bb_154.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/nordic/sources/pal_bb_154.c index 515225c0..75a354b9 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/nordic/sources/pal_bb_154.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/nordic/sources/pal_bb_154.c @@ -318,7 +318,7 @@ typedef struct bb154DrvCb_tag #define BB_154_DRV_MAX_EVENTS BB_154_DRV_MAX_RADIO_EVENTS + BB_154_DRV_MAX_TIMER_EVENTS #define BB_154_DRV_NUM_EVT_HANDLERS 17 -/*! \brief Event hander status. */ +/*! \brief Event handler status. */ enum bb154DrvEvHStat_tag { BB_154_DRV_EVH_STAT_OK = 0, @@ -327,10 +327,10 @@ enum bb154DrvEvHStat_tag BB_154_DRV_EVH_STAT_ERR = 0x20 }; -/*! \brief Event hander type. */ +/*! \brief Event handler type. */ typedef uint8_t (*bb154DrvEvtHandler_t)(void); -/*! \brief Receive event hander index type. */ +/*! \brief Receive event handler index type. */ typedef uint8_t bb154DrvREHFnIdx_t; /*! \brief Receive buffer descriptor. @@ -2198,7 +2198,7 @@ void PalBb154SetOpParams(const PalBb154OpParam_t *pOpParam) * * \return Driver PIB pointer. * - * Calling this routine retun a pointer to the driver PIB. + * Calling this routine returns a pointer to the driver PIB. */ /*************************************************************************************************/ PalBb154DrvPib_t *PalBb154GetDrvPIB(void) diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/nordic/sources/pal_bb_ble_rf.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/nordic/sources/pal_bb_ble_rf.c index 4669be5e..3d9bb558 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/nordic/sources/pal_bb_ble_rf.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/nordic/sources/pal_bb_ble_rf.c @@ -254,7 +254,7 @@ int8_t PalRadioIncreasePower(int8_t reqPwr, int8_t delta) else { reqPwr = -20; } #endif } - /* A decrease in power. The controller will decrease to higher step if reqPwer is inbetween two steps. */ + /* A decrease in power. The controller will decrease to higher step if reqPwer is between two steps. */ else if (delta < 0) { #if defined(NRF52840_XXAA) diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/nordic/sources/pal_crypto.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/nordic/sources/pal_crypto.c index 6ce1a25b..fa8bf194 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/nordic/sources/pal_crypto.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/nordic/sources/pal_crypto.c @@ -128,7 +128,7 @@ typedef union uint32_t key[BB_AES_BLOCK_SIZE / sizeof(uint32_t)]; /*!< Key. */ uint32_t clear[BB_AES_BLOCK_SIZE / sizeof(uint32_t)]; /*!< Clear. */ uint32_t cipher[BB_AES_BLOCK_SIZE / sizeof(uint32_t)]; /*!< Cipher. */ - } w; /*!< Word acess block. */ + } w; /*!< Word access block. */ } palCryptoEcbData_t; /************************************************************************************************** diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/wsf/include/hci_defs.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/wsf/include/hci_defs.h index c08206a8..ccfa40c1 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/wsf/include/hci_defs.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/wsf/include/hci_defs.h @@ -1038,7 +1038,7 @@ extern "C" { #define HCI_LE_SUP_FEAT_PATH_LOSS_MONITOR 0x0000000800000000 /*!< Path loss monitoring supported */ /**@}*/ -/** \name LE feature bit positon in FeatureSet stored in the Controller +/** \name LE feature bit position in FeatureSet stored in the Controller * */ /**@{*/ @@ -1252,11 +1252,11 @@ extern "C" { #define HCI_ADV_RPT_PHY_PRIM_LE_CODED 0x03 /*!< Advertiser PHY is LE Coded */ /**@}*/ -/** \name Extended advertising report event seconday PHY values +/** \name Extended advertising report event secondary PHY values * */ /**@{*/ -#define HCI_ADV_RPT_PHY_SEC_NONE 0x00 /*!< No packets on seconday advertising channel */ +#define HCI_ADV_RPT_PHY_SEC_NONE 0x00 /*!< No packets on secondary advertising channel */ #define HCI_ADV_RPT_PHY_SEC_LE_1M 0x01 /*!< Advertiser PHY is LE 1M */ #define HCI_ADV_RPT_PHY_SEC_LE_2M 0x02 /*!< Advertiser PHY is LE 2M */ #define HCI_ADV_RPT_PHY_SEC_LE_CODED 0x03 /*!< Advertiser PHY is LE Coded */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/wsf/include/util/bstream.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/wsf/include/util/bstream.h index ee2b12c6..51629481 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/wsf/include/util/bstream.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/wsf/include/util/bstream.h @@ -135,7 +135,7 @@ extern "C" { #define BSTREAM_TO_UINT32(n, p) {BYTES_TO_UINT32(n, p); p += 4;} /*! \brief convert little endian byte stream to uint40_t, incrementing five bytes. */ #define BSTREAM_TO_UINT40(n, p) {BYTES_TO_UINT40(n, p); p += 5;} -/*! \brief convert little endian byte stream to uint64_t, incrementing eigth bytes. */ +/*! \brief convert little endian byte stream to uint64_t, incrementing eight bytes. */ #define BSTREAM_TO_UINT64(n, p) {n = BstreamToUint64(p); p += 8;} /*! \brief convert little endian byte stream to six byte Bluetooth device address, incrementing six bytes. */ #define BSTREAM_TO_BDA(bda, p) {BdaCpy(bda, p); p += BDA_ADDR_LEN;} @@ -175,7 +175,7 @@ extern "C" { #define UINT64_TO_BSTREAM(p, n) {Uint64ToBstream(p, n); p += sizeof(uint64_t);} /*! \brief convert six byte Bluetooth device address to little endian byte stream, incrementing six bytes. */ #define BDA_TO_BSTREAM(p, bda) {BdaCpy(p, bda); p += BDA_ADDR_LEN;} -/*! \brief convert eight byte Bluetooth device address to little endian byte stream, incrementing eigth bytes. */ +/*! \brief convert eight byte Bluetooth device address to little endian byte stream, incrementing eight bytes. */ #define BDA64_TO_BSTREAM(p, bda) {Bda64ToBstream(p, bda); p += BDA_ADDR_LEN;} /**@}*/ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/wsf/include/wsf_buf.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/wsf/include/wsf_buf.h index d8f81380..e357a5e4 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/wsf/include/wsf_buf.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/wsf/include/wsf_buf.h @@ -97,7 +97,7 @@ typedef struct /*! \brief WSF buffer diagnostics - buffer allocation failure */ typedef struct { - uint8_t taskId; /*!< \brief Task handler ID where failure occured */ + uint8_t taskId; /*!< \brief Task handler ID where failure occurred */ uint16_t len; /*!< \brief Length of buffer being allocated */ } wsfBufDiagAllocFail_t; diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/wsf/include/wsf_efs.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/wsf/include/wsf_efs.h index 984405f4..e15b1296 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/wsf/include/wsf_efs.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/wsf/include/wsf_efs.h @@ -209,7 +209,7 @@ typedef struct uint32_t startAddress; /*!< \brief Start address. */ uint32_t endAddress; /*!< \brief End address. */ uint32_t pageSize; /*!< \brief Page size. */ - wsfMediaInitFunc_t *init; /*!< \brief Media intialization callback. */ + wsfMediaInitFunc_t *init; /*!< \brief Media initialization callback. */ wsfMediaEraseFunc_t *erase; /*!< \brief Media erase callback. */ wsfMediaReadFunc_t *read; /*!< \brief Media read callback. */ wsfMediaWriteFunc_t *write; /*!< \brief Media write callback. */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/wsf/include/wsf_nvm.h b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/wsf/include/wsf_nvm.h index f058f0bc..0c8b4bd1 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/wsf/include/wsf_nvm.h +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/wsf/include/wsf_nvm.h @@ -42,7 +42,7 @@ typedef void (*WsfNvmCompEvent_t)(bool_t status); /*! * \brief Read data. * - * \param charId charactor arrary for NVM ID. + * \param charId character array for NVM ID. * * \return if Read NVM successfully. */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/wsf/sources/targets/baremetal/wsf_efs.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/wsf/sources/targets/baremetal/wsf_efs.c index 94f64ac6..e196a38d 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/wsf/sources/targets/baremetal/wsf_efs.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/wsf/sources/targets/baremetal/wsf_efs.c @@ -223,7 +223,7 @@ wsfEfsHandle_t WsfEfsAddFile(uint32_t maxSize, uint8_t media, wsfEsfAttributes_t /* to become the file's address in the wsfEfsMediaTbl. */ address += wsfEfsMediaTbl[media]->startAddress; - /* Increment the address to a page boundry */ + /* Increment the address to a page boundary */ if (wsfEfsMediaTbl[media]->pageSize) { address += address % wsfEfsMediaTbl[media]->pageSize; diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/wsf/sources/targets/win32/wsf_os.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/wsf/sources/targets/win32/wsf_os.c index ac243eae..c589adb4 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/wsf/sources/targets/win32/wsf_os.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/wsf/sources/targets/win32/wsf_os.c @@ -707,7 +707,7 @@ void wsfOsInit(uint8_t msPerTick, uint16_t bufMemLen, uint8_t *pBufMem, /* block until thread starts */ while (wsfOs.task.state != WSF_TASK_STATE_STARTED) { - /* yeild this task */ + /* yield this task */ Sleep(1); } @@ -735,7 +735,7 @@ void wsfOsShutdown(void) /* block until task terminates */ while (wsfOs.timerTaskState != WSF_TASK_STATE_FREE) { - /* yeild this task */ + /* yield this task */ Sleep(1); } @@ -746,7 +746,7 @@ void wsfOsShutdown(void) /* block until thread terminate */ while (wsfOs.task.state != WSF_TASK_STATE_FREE) { - /* yeild this task */ + /* yield this task */ Sleep(1); } diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/wsf/sources/util/terminal.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/wsf/sources/util/terminal.c index 7d97f548..fddde082 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/wsf/sources/util/terminal.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/wsf/sources/util/terminal.c @@ -342,7 +342,7 @@ void TerminalRx(uint8_t dataByte) } } - /* If we still have room in the buf, put it in buf. Othewise ignore it. */ + /* If we still have room in the buf, put it in buf. Otherwise ignore it. */ else if (terminalCb.bufOffset < TERMINAL_MAX_COMMAND_LEN) { /* Ignore non-printable characters. */ diff --git a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/src/max32666_ble.c b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/src/max32666_ble.c index 9ff6a45f..6ef764d5 100644 --- a/archive/maxrefdes178-FaceId/maxrefdes178_max32666/src/max32666_ble.c +++ b/archive/maxrefdes178-FaceId/maxrefdes178_max32666/src/max32666_ble.c @@ -146,7 +146,7 @@ static const attCfg_t periphAttCfg = 15, /* ATT server service discovery connection idle timeout in seconds */ //ty 241, /* desired ATT MTU */ BLE_MAX_MTU_SIZE, /* desired ATT MTU */ - ATT_MAX_TRANS_TIMEOUT, /* transcation timeout in seconds */ + ATT_MAX_TRANS_TIMEOUT, /* transaction timeout in seconds */ 4 /* number of queued prepare writes supported by server */ }; diff --git a/maxrefdes178-AIPortrait/maxrefdes178_max32666/src/max32666_ble.c b/maxrefdes178-AIPortrait/maxrefdes178_max32666/src/max32666_ble.c index 9ff6a45f..6ef764d5 100644 --- a/maxrefdes178-AIPortrait/maxrefdes178_max32666/src/max32666_ble.c +++ b/maxrefdes178-AIPortrait/maxrefdes178_max32666/src/max32666_ble.c @@ -146,7 +146,7 @@ static const attCfg_t periphAttCfg = 15, /* ATT server service discovery connection idle timeout in seconds */ //ty 241, /* desired ATT MTU */ BLE_MAX_MTU_SIZE, /* desired ATT MTU */ - ATT_MAX_TRANS_TIMEOUT, /* transcation timeout in seconds */ + ATT_MAX_TRANS_TIMEOUT, /* transaction timeout in seconds */ 4 /* number of queued prepare writes supported by server */ }; diff --git a/maxrefdes178-CatsDogs/maxrefdes178_max32666/src/max32666_ble.c b/maxrefdes178-CatsDogs/maxrefdes178_max32666/src/max32666_ble.c index 9ff6a45f..6ef764d5 100644 --- a/maxrefdes178-CatsDogs/maxrefdes178_max32666/src/max32666_ble.c +++ b/maxrefdes178-CatsDogs/maxrefdes178_max32666/src/max32666_ble.c @@ -146,7 +146,7 @@ static const attCfg_t periphAttCfg = 15, /* ATT server service discovery connection idle timeout in seconds */ //ty 241, /* desired ATT MTU */ BLE_MAX_MTU_SIZE, /* desired ATT MTU */ - ATT_MAX_TRANS_TIMEOUT, /* transcation timeout in seconds */ + ATT_MAX_TRANS_TIMEOUT, /* transaction timeout in seconds */ 4 /* number of queued prepare writes supported by server */ }; diff --git a/maxrefdes178-DigitDetection/maxrefdes178_max32666/src/max32666_ble.c b/maxrefdes178-DigitDetection/maxrefdes178_max32666/src/max32666_ble.c index 9ff6a45f..6ef764d5 100644 --- a/maxrefdes178-DigitDetection/maxrefdes178_max32666/src/max32666_ble.c +++ b/maxrefdes178-DigitDetection/maxrefdes178_max32666/src/max32666_ble.c @@ -146,7 +146,7 @@ static const attCfg_t periphAttCfg = 15, /* ATT server service discovery connection idle timeout in seconds */ //ty 241, /* desired ATT MTU */ BLE_MAX_MTU_SIZE, /* desired ATT MTU */ - ATT_MAX_TRANS_TIMEOUT, /* transcation timeout in seconds */ + ATT_MAX_TRANS_TIMEOUT, /* transaction timeout in seconds */ 4 /* number of queued prepare writes supported by server */ }; diff --git a/maxrefdes178-FacialRecognition/maxrefdes178_max32666/Makefile b/maxrefdes178-FacialRecognition/maxrefdes178_max32666/Makefile index bbc14994..e1748881 100644 --- a/maxrefdes178-FacialRecognition/maxrefdes178_max32666/Makefile +++ b/maxrefdes178-FacialRecognition/maxrefdes178_max32666/Makefile @@ -116,7 +116,7 @@ ifeq ($(MAKECMDGOALS),sla) SRCS += sla_header.c endif -# External libray source files +# External library source files SRCS += bmi160.c # Where to find source files for this test @@ -202,7 +202,7 @@ include $(SDHC_DRIVER_DIR)/sdhc.mk #CORDIO_DIR=Cordio #include $(CORDIO_DIR)/platform/targets/maxim/build/cordio.mk -# Inlcude USB Library +# Include USB Library #MAXUSB_DIR=$(LIBS_DIR)/MAXUSB #include $(MAXUSB_DIR)/maxusb.mk diff --git a/maxrefdes178-FacialRecognition/maxrefdes178_max32666/db_gen/generate_face_db.py b/maxrefdes178-FacialRecognition/maxrefdes178_max32666/db_gen/generate_face_db.py index 843b5fcc..c4469fe0 100644 --- a/maxrefdes178-FacialRecognition/maxrefdes178_max32666/db_gen/generate_face_db.py +++ b/maxrefdes178-FacialRecognition/maxrefdes178_max32666/db_gen/generate_face_db.py @@ -69,7 +69,7 @@ def create_db_from_folder(args): def parse_arguments(): """ - Function to parse comman line arguments. + Function to parse command line arguments. """ parser = argparse.ArgumentParser(description='Create embedding database file.') parser.add_argument('--db', '-db-path', type=str, default='db', diff --git a/maxrefdes178-FacialRecognition/maxrefdes178_max32666/include/max32666_i2c.h b/maxrefdes178-FacialRecognition/maxrefdes178_max32666/include/max32666_i2c.h index fa4a3bfc..094c0a84 100644 --- a/maxrefdes178-FacialRecognition/maxrefdes178_max32666/include/max32666_i2c.h +++ b/maxrefdes178-FacialRecognition/maxrefdes178_max32666/include/max32666_i2c.h @@ -125,7 +125,7 @@ int i2c_master_reg_read_buf(uint8_t addr, uint8_t reg, uint8_t *buf, uint8_t len /** * @brief Initialize I2C peripheral - * @retval #E_NO_ERROR Intialization successful. + * @retval #E_NO_ERROR Initialization successful. * @retval "Error Code" @ref MXC_Error_Codes "Error Code" if unsuccessful. */ int i2c_master_init(void); diff --git a/maxrefdes178-FacialRecognition/maxrefdes178_max32666/include/max32666_pmic.h b/maxrefdes178-FacialRecognition/maxrefdes178_max32666/include/max32666_pmic.h index 955dce70..f06580d9 100644 --- a/maxrefdes178-FacialRecognition/maxrefdes178_max32666/include/max32666_pmic.h +++ b/maxrefdes178-FacialRecognition/maxrefdes178_max32666/include/max32666_pmic.h @@ -53,7 +53,7 @@ /** * @brief Initialize MAX20303 PMIC. Before calling this function, I2C should * be initialized via i2c_init() function. - * @retval #E_NO_ERROR Intialization successful. + * @retval #E_NO_ERROR Initialization successful. * @retval "Error Code" @ref MXC_Error_Codes "Error Code" if unsuccessful. */ int pmic_init(void); @@ -61,7 +61,7 @@ int pmic_init(void); /** * @brief Worker function for MAX20303 PMIC. Before calling this function, I2C should * be initialized via i2c_init() function. - * @retval #E_NO_ERROR Intialization successful. + * @retval #E_NO_ERROR Initialization successful. * @retval "Error Code" @ref MXC_Error_Codes "Error Code" if unsuccessful. */ int pmic_worker(void); diff --git a/maxrefdes178-FacialRecognition/maxrefdes178_max32666/maxrefdes178_max32666.ld b/maxrefdes178-FacialRecognition/maxrefdes178_max32666/maxrefdes178_max32666.ld index 476e9bac..46508b53 100644 --- a/maxrefdes178-FacialRecognition/maxrefdes178_max32666/maxrefdes178_max32666.ld +++ b/maxrefdes178-FacialRecognition/maxrefdes178_max32666/maxrefdes178_max32666.ld @@ -218,7 +218,7 @@ SECTIONS { { . = ALIGN(4); _bss = .; - *(.bss*) /*read-write zero initialized data: uninitialzed global variable*/ + *(.bss*) /*read-write zero initialized data: uninitialized global variable*/ *(COMMON) _ebss = ALIGN(., 4); } > SRAM diff --git a/maxrefdes178-FacialRecognition/maxrefdes178_max32666/src/max32666_ble.c b/maxrefdes178-FacialRecognition/maxrefdes178_max32666/src/max32666_ble.c index 9bca2ce1..9dfe63b6 100644 --- a/maxrefdes178-FacialRecognition/maxrefdes178_max32666/src/max32666_ble.c +++ b/maxrefdes178-FacialRecognition/maxrefdes178_max32666/src/max32666_ble.c @@ -146,7 +146,7 @@ static const attCfg_t periphAttCfg = 15, /* ATT server service discovery connection idle timeout in seconds */ //ty 241, /* desired ATT MTU */ BLE_MAX_MTU_SIZE, /* desired ATT MTU */ - ATT_MAX_TRANS_TIMEOUT, /* transcation timeout in seconds */ + ATT_MAX_TRANS_TIMEOUT, /* transaction timeout in seconds */ 4 /* number of queued prepare writes supported by server */ }; @@ -689,7 +689,7 @@ int ble_send_indication(uint16_t dataLen, uint8_t *data) } } - PR_ERROR("indication couldnt sent"); + PR_ERROR("could not send indication"); return E_COMM_ERR; } diff --git a/maxrefdes178-FacialRecognition/maxrefdes178_max32666/src/max32666_ble_command.c b/maxrefdes178-FacialRecognition/maxrefdes178_max32666/src/max32666_ble_command.c index f3388c7b..2a70d876 100644 --- a/maxrefdes178-FacialRecognition/maxrefdes178_max32666/src/max32666_ble_command.c +++ b/maxrefdes178-FacialRecognition/maxrefdes178_max32666/src/max32666_ble_command.c @@ -452,7 +452,7 @@ static int ble_command_execute_rx_command(void) expander_select_debugger((debugger_select_e)ble_command_buffer.total_payload_buffer[0]); break; default: - PR_ERROR("Unknwon command"); + PR_ERROR("Unknown command"); break; } diff --git a/maxrefdes178-FacialRecognition/maxrefdes178_max32666/src/max32666_lcd.c b/maxrefdes178-FacialRecognition/maxrefdes178_max32666/src/max32666_lcd.c index 1e0f57b7..620eab03 100644 --- a/maxrefdes178-FacialRecognition/maxrefdes178_max32666/src/max32666_lcd.c +++ b/maxrefdes178-FacialRecognition/maxrefdes178_max32666/src/max32666_lcd.c @@ -210,7 +210,7 @@ static int lcd_configure(void) lcd_sendSmallData(0x01); // Default value lcd_sendCommand(0xC3); // VRH set - lcd_sendSmallData(0x12); // +-4.45v (defalut +-4.1v for 0x0B) + lcd_sendSmallData(0x12); // +-4.45v (default +-4.1v for 0x0B) lcd_sendCommand(0xC4); // VDV set lcd_sendSmallData(0x20); // Default value diff --git a/maxrefdes178-FacialRecognition/maxrefdes178_max78000_audio/maxrefdes178_max78000_audio.ld b/maxrefdes178-FacialRecognition/maxrefdes178_max78000_audio/maxrefdes178_max78000_audio.ld index 5d982a31..ba729c02 100644 --- a/maxrefdes178-FacialRecognition/maxrefdes178_max78000_audio/maxrefdes178_max78000_audio.ld +++ b/maxrefdes178-FacialRecognition/maxrefdes178_max78000_audio/maxrefdes178_max78000_audio.ld @@ -36,7 +36,7 @@ FLASH_SIZE = 0x00080000; /* 512kB Flash */ BOOTLOADER_SIZE = 0x8000; /* 32k for flash bootloader */ BOOTMEM_SIZE = 0x40; /* 64 bytes of memory for flash bootloader */ -ROM_BL_PAGE_SIZE = 0x2000; /* Last page is used by ROM bootlaoder */ +ROM_BL_PAGE_SIZE = 0x2000; /* Last page is used by ROM bootloader */ MAINAPP_SIZE = FLASH_SIZE - BOOTLOADER_SIZE - BOOTMEM_SIZE - ROM_BL_PAGE_SIZE; BOOTLOADER_ORIGIN = FLASH_ORIGIN; @@ -155,7 +155,7 @@ SECTIONS { { . = ALIGN(4); _bss = .; - *(.bss*) /*read-write zero initialized data: uninitialzed global variable*/ + *(.bss*) /*read-write zero initialized data: uninitialized global variable*/ *(COMMON) _ebss = ALIGN(., 4); } > SRAM @@ -166,7 +166,7 @@ SECTIONS { _shared = .; *(.mailbox*) . = ALIGN(4); - *(.shared*) /*read-write zero initialized data: uninitialzed global variable*/ + *(.shared*) /*read-write zero initialized data: uninitialized global variable*/ _eshared = ALIGN(., 4); } > SRAM __shared_data = LOADADDR(.shared); diff --git a/maxrefdes178-FacialRecognition/maxrefdes178_max78000_audio/src/max78000_audio_main.c b/maxrefdes178-FacialRecognition/maxrefdes178_max78000_audio/src/max78000_audio_main.c index edc7e4cc..50957084 100644 --- a/maxrefdes178-FacialRecognition/maxrefdes178_max78000_audio/src/max78000_audio_main.c +++ b/maxrefdes178-FacialRecognition/maxrefdes178_max78000_audio/src/max78000_audio_main.c @@ -741,7 +741,7 @@ static uint8_t cnn_load_data(uint8_t* pIn) uint32_t mem; uint16_t index = 0; - /* data should already be formated correctly */ + /* data should already be formatted correctly */ /* pIn is 16KB, each 1KB belongs to a memory group */ for (mem = 0x50400000; mem <= 0x50418000; mem += 0x8000) { memcpy((uint8_t*)mem, &pIn[index], 1024); @@ -771,7 +771,7 @@ static uint8_t AddTranspose(uint8_t *pIn, uint8_t *pOut, uint16_t inSize, uint16_t outSize, uint16_t width) { /* Data order in Ai85 memory (transpose is included): input(series of 8 bit samples): (0,0) ... (0,127) (1,0) ... (1,127) ...... (127,0)...(127,127) 16384 samples - output (32bit word): 16K samples in a buffer. Later, each 1K goes to a seperate CNN memory group + output (32bit word): 16K samples in a buffer. Later, each 1K goes to a separate CNN memory group 0x0000: (0,3)(0,2)(0,1)(0,0) (0,67)(0,66)(0,65)(0,64) diff --git a/maxrefdes178-FacialRecognition/maxrefdes178_max78000_video/maxrefdes178_max78000_video.ld b/maxrefdes178-FacialRecognition/maxrefdes178_max78000_video/maxrefdes178_max78000_video.ld index 112b7b06..345f3593 100644 --- a/maxrefdes178-FacialRecognition/maxrefdes178_max78000_video/maxrefdes178_max78000_video.ld +++ b/maxrefdes178-FacialRecognition/maxrefdes178_max78000_video/maxrefdes178_max78000_video.ld @@ -36,7 +36,7 @@ FLASH_SIZE = 0x00080000; /* 512kB Flash */ BOOTLOADER_SIZE = 0x8000; /* 32k for flash bootloader */ BOOTMEM_SIZE = 0x40; /* 64 bytes of memory for flash bootloader */ -ROM_BL_PAGE_SIZE = 0x2000; /* Last page is used by ROM bootlaoder */ +ROM_BL_PAGE_SIZE = 0x2000; /* Last page is used by ROM bootloader */ MAINAPP_SIZE = FLASH_SIZE - BOOTLOADER_SIZE - BOOTMEM_SIZE - ROM_BL_PAGE_SIZE; BOOTLOADER_ORIGIN = FLASH_ORIGIN; @@ -155,7 +155,7 @@ SECTIONS { { . = ALIGN(4); _bss = .; - *(.bss*) /*read-write zero initialized data: uninitialzed global variable*/ + *(.bss*) /*read-write zero initialized data: uninitialized global variable*/ *(COMMON) _ebss = ALIGN(., 4); } > SRAM @@ -166,7 +166,7 @@ SECTIONS { _shared = .; *(.mailbox*) . = ALIGN(4); - *(.shared*) /*read-write zero initialized data: uninitialzed global variable*/ + *(.shared*) /*read-write zero initialized data: uninitialized global variable*/ _eshared = ALIGN(., 4); } > SRAM __shared_data = LOADADDR(.shared); diff --git a/maxrefdes178-ImageCapture/maxrefdes178_max32666/src/max32666_ble.c b/maxrefdes178-ImageCapture/maxrefdes178_max32666/src/max32666_ble.c index 9ff6a45f..6ef764d5 100644 --- a/maxrefdes178-ImageCapture/maxrefdes178_max32666/src/max32666_ble.c +++ b/maxrefdes178-ImageCapture/maxrefdes178_max32666/src/max32666_ble.c @@ -146,7 +146,7 @@ static const attCfg_t periphAttCfg = 15, /* ATT server service discovery connection idle timeout in seconds */ //ty 241, /* desired ATT MTU */ BLE_MAX_MTU_SIZE, /* desired ATT MTU */ - ATT_MAX_TRANS_TIMEOUT, /* transcation timeout in seconds */ + ATT_MAX_TRANS_TIMEOUT, /* transaction timeout in seconds */ 4 /* number of queued prepare writes supported by server */ }; diff --git a/maxrefdes178-UNet/maxrefdes178_max32666/src/max32666_ble.c b/maxrefdes178-UNet/maxrefdes178_max32666/src/max32666_ble.c index 9ff6a45f..6ef764d5 100644 --- a/maxrefdes178-UNet/maxrefdes178_max32666/src/max32666_ble.c +++ b/maxrefdes178-UNet/maxrefdes178_max32666/src/max32666_ble.c @@ -146,7 +146,7 @@ static const attCfg_t periphAttCfg = 15, /* ATT server service discovery connection idle timeout in seconds */ //ty 241, /* desired ATT MTU */ BLE_MAX_MTU_SIZE, /* desired ATT MTU */ - ATT_MAX_TRANS_TIMEOUT, /* transcation timeout in seconds */ + ATT_MAX_TRANS_TIMEOUT, /* transaction timeout in seconds */ 4 /* number of queued prepare writes supported by server */ }; diff --git a/maxrefdes178-WildLife/maxrefdes178_max32666/src/max32666_ble.c b/maxrefdes178-WildLife/maxrefdes178_max32666/src/max32666_ble.c index 9ff6a45f..6ef764d5 100644 --- a/maxrefdes178-WildLife/maxrefdes178_max32666/src/max32666_ble.c +++ b/maxrefdes178-WildLife/maxrefdes178_max32666/src/max32666_ble.c @@ -146,7 +146,7 @@ static const attCfg_t periphAttCfg = 15, /* ATT server service discovery connection idle timeout in seconds */ //ty 241, /* desired ATT MTU */ BLE_MAX_MTU_SIZE, /* desired ATT MTU */ - ATT_MAX_TRANS_TIMEOUT, /* transcation timeout in seconds */ + ATT_MAX_TRANS_TIMEOUT, /* transaction timeout in seconds */ 4 /* number of queued prepare writes supported by server */ }; diff --git a/pyproject.toml b/pyproject.toml index c8af4e87..fc01957c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ target-version = ['py36'] [tool.codespell] count = '' -ignore-words-list = 'pres,cconfiguration' +ignore-words-list = 'pres,cconfiguration,anormal,pEvent,ANS,alignIn,filType,filtype,GLight,apon,cLen' quiet-level = 3 -skip = '*.dasm,*.map,./.mypy_cache,./venv,./.git,./super-linter.log,./maxrefdes178-FaceId/maxrefdes178_max32666/Cordio' +skip = '*.dasm,*.map,*.pdf,./.mypy_cache,./venv,./.git,./super-linter.log,./maxrefdes178-FaceId/maxrefdes178_max32666/Cordio,./pyproject.toml' ignore-regex = '^\s+"image/png".*$'