Fix spelling typos in comments. (#530)

This commit is contained in:
Abtin Keshavarzian
2016-09-07 11:04:53 -07:00
committed by Jonathan Hui
parent 8bb3d4d3c3
commit a0b4120248
11 changed files with 22 additions and 22 deletions
+3 -3
View File
@@ -415,7 +415,7 @@ typedef struct otIp6Prefix
uint8_t mLength; ///< The IPv6 prefix length.
} otIp6Prefix;
#define OT_NETWORK_DATA_ITERATOR_INIT 0 ///< Initializeer for otNetworkDataIterator.
#define OT_NETWORK_DATA_ITERATOR_INIT 0 ///< Initializer for otNetworkDataIterator.
typedef uint8_t otNetworkDataIterator; ///< Used to iterate through Network Data information.
@@ -524,7 +524,7 @@ typedef struct otMacWhitelistEntry
{
otExtAddress mExtAddress; ///< IEEE 802.15.4 Extended Address
int8_t mRssi; ///< RSSI value
bool mValid : 1; ///< Indicates whether or not the whitelist entry is vaild
bool mValid : 1; ///< Indicates whether or not the whitelist entry is valid
bool mFixedRssi : 1; ///< Indicates whether or not the RSSI value is fixed.
} otMacWhitelistEntry;
@@ -535,7 +535,7 @@ typedef struct otMacWhitelistEntry
typedef struct otMacBlacklistEntry
{
otExtAddress mExtAddress; ///< IEEE 802.15.4 Extended Address
bool mValid; ///< Indicates whether or not the blacklist entry is vaild
bool mValid; ///< Indicates whether or not the blacklist entry is valid
} otMacBlacklistEntry;
/**
+3 -3
View File
@@ -788,7 +788,7 @@ ThreadError otSendPendingGet(const uint8_t *aTlvTypes, uint8_t aLength);
ThreadError otSendPendingSet(const otOperationalDataset *aDataset, const uint8_t *aTlvs, uint8_t aLength);
/**
* Get the data poll period of sleepy end deivce.
* Get the data poll period of sleepy end device.
*
* @returns The data poll period of sleepy end device.
*
@@ -797,7 +797,7 @@ ThreadError otSendPendingSet(const otOperationalDataset *aDataset, const uint8_t
uint32_t otGetPollPeriod(void);
/**
* Set the data poll period for sleepy end deivce.
* Set the data poll period for sleepy end device.
*
* param[in] aPollPeriod data poll period.
*
@@ -1382,7 +1382,7 @@ otDeviceRole otGetDeviceRole(void);
* @param[in] aIndex An index into the EID cache table.
* @param[out] aEntry A pointer to where the EID information is placed.
*
* @retval kThreadError_None Successfully retreieved the EID cache entry.
* @retval kThreadError_None Successfully retrieved the EID cache entry.
* @retval kThreadError_InvalidArgs @p aIndex was out of bounds or @p aEntry was NULL.
*
*/
+1 -1
View File
@@ -29,7 +29,7 @@
/**
* @file
* @brief
* This file includes platform abstractions for miscelaneous behaviors.
* This file includes platform abstractions for miscellaneous behaviors.
*/
#ifndef OT_PLATFORM_MISC_H
+2 -2
View File
@@ -120,7 +120,7 @@ typedef enum PhyState
* The following are valid radio state transitions:
*
* (Radio ON)
* +----------+ Enable() +-------+ Receive() +---------+ Trasnmit() +----------+
* +----------+ Enable() +-------+ Receive() +---------+ Transmit() +----------+
* | |----------->| |----------->| |-------------->| |
* | Disabled | | Sleep | | Receive | | Transmit |
* | |<-----------| |<-----------| |<--------------| |
@@ -240,7 +240,7 @@ ThreadError otPlatRadioReceive(uint8_t aChannel);
extern void otPlatRadioReceiveDone(RadioPacket *aPacket, ThreadError aError);
/**
* The radio tranitions from Transmit to Receive.
* The radio transitions from Transmit to Receive.
* This method returns a pointer to the transmit buffer.
*
* The caller forms the IEEE 802.15.4 frame in this buffer then calls otPlatRadioTransmit() to request transmission.
+2 -2
View File
@@ -113,7 +113,7 @@ ThreadError otPlatSettingsAbandonChange(void);
* aValueLength. The initial value of aValueLength is the
* maximum number of bytes to be written to aValue.
*
* This function can be used to check for the existance of
* This function can be used to check for the existence of
* a key without fetching the value by setting aValue and
* aValueLength to NULL. You can also check the length of
* the setting without fetching it by setting only aValue
@@ -214,7 +214,7 @@ ThreadError otPlatSettingsAdd(uint16_t aKey, const uint8_t *aValue, int aValueLe
* that is required to maintain the relative order of the
* values associated with aKey. For example, if you have three
* items ordered (A, B, C) and you delete B, the resulting order
* is guarateed to be (A, C).
* is guaranteed to be (A, C).
*
* @param[in] aKey
* The key associated with the requested setting.