diff --git a/include/platform/radio.h b/include/platform/radio.h index 2f9e6c636..ec51e2079 100644 --- a/include/platform/radio.h +++ b/include/platform/radio.h @@ -90,8 +90,8 @@ typedef enum otRadioCaps { kRadioCapsNone = 0, ///< None kRadioCapsAckTimeout = 1, ///< Radio supports AckTime event - kRadioCapsEnergyScan = 2, ///< Radio supports Enegery Scans - kRadioCapsTransmitRetries = 4, ///< Radio supports transmission retry logic with collission avoidance + kRadioCapsEnergyScan = 2, ///< Radio supports Energy Scans + kRadioCapsTransmitRetries = 4, ///< Radio supports transmission retry logic with collision avoidance } otRadioCaps; /** diff --git a/src/core/Makefile.am b/src/core/Makefile.am index b785cb252..19b78f04d 100644 --- a/src/core/Makefile.am +++ b/src/core/Makefile.am @@ -133,7 +133,7 @@ if OPENTHREAD_ENABLE_JAM_DETECTION SOURCES_COMMON += \ utils/jam_detector.cpp \ $(NULL) -endif # OPENTHREAD_ENABLE_DHCP6_SERVER +endif # OPENTHREAD_ENABLE_JAM_DETECTION libopenthread_ftd_a_CPPFLAGS = \ $(CPPFLAGS_COMMON) \ diff --git a/src/core/meshcop/dtls.hpp b/src/core/meshcop/dtls.hpp index a29b376ec..ae8457401 100644 --- a/src/core/meshcop/dtls.hpp +++ b/src/core/meshcop/dtls.hpp @@ -235,7 +235,7 @@ private: ThreadNetif &mNetif; }; -} // namspace MeshCoP +} // namespace MeshCoP } // namespace Thread #endif // DTLS_HPP_ diff --git a/src/core/thread/mle.hpp b/src/core/thread/mle.hpp index 6fa64e028..8ad046758 100644 --- a/src/core/thread/mle.hpp +++ b/src/core/thread/mle.hpp @@ -454,7 +454,7 @@ public: * This method generates an MLE Announce message. * * @param[in] aChannel The channel to use when transmitting. - * @param[in] aOrphanAnnounce To indiciate if MLE Announce is sent from an orphan end device. + * @param[in] aOrphanAnnounce To indicate if MLE Announce is sent from an orphan end device. * * @retval kThreadError_None Successfully generated an MLE Announce message. * @retval kThreadError_NoBufs Insufficient buffers to generate the MLE Announce message. @@ -977,7 +977,7 @@ protected: * This method appends a Active Timestamp TLV to a message. * * @param[in] aMessage A reference to the message. - * @param[in] aCouldUseLocal Ture to use local Active Timestamp when network Active Timestamp is not available, False not. + * @param[in] aCouldUseLocal True to use local Active Timestamp when network Active Timestamp is not available, False not. * * @retval kThreadError_None Successfully appended the Active Timestamp TLV. * @retval kThreadError_NoBufs Insufficient buffers available to append the Active Timestamp TLV. @@ -989,7 +989,7 @@ protected: * This method appends a Pending Timestamp TLV to a message. * * @param[in] aMessage A reference to the message. - * @param[in] aCouldUseLocal Ture to use local Pending Timestamp when network Pending Timestamp is not available, False not. + * @param[in] aCouldUseLocal True to use local Pending Timestamp when network Pending Timestamp is not available, False not. * * @retval kThreadError_None Successfully appended the Pending Timestamp TLV. * @retval kThreadError_NoBufs Insufficient buffers available to append the Pending Timestamp TLV. diff --git a/src/core/thread/mle_router_ftd.hpp b/src/core/thread/mle_router_ftd.hpp index cb6f0d57e..e01a5306a 100644 --- a/src/core/thread/mle_router_ftd.hpp +++ b/src/core/thread/mle_router_ftd.hpp @@ -507,7 +507,7 @@ public: ThreadError RemoveStoredChild(uint16_t aChildRloc16); /** - * This method store a child infomation into non-volatile memory. + * This method store a child information into non-volatile memory. * * @param[in] aChildRloc16 The child RLOC16 to store. * diff --git a/src/core/thread/network_data_leader.hpp b/src/core/thread/network_data_leader.hpp index dfeebd556..7a0f591fd 100644 --- a/src/core/thread/network_data_leader.hpp +++ b/src/core/thread/network_data_leader.hpp @@ -193,7 +193,7 @@ public: #if OPENTHREAD_ENABLE_DHCP6_SERVER || OPENTHREAD_ENABLE_DHCP6_CLIENT /** - * This method gets the Rloc of Dhcp Agent of speficified contextId. + * This method gets the Rloc of Dhcp Agent of specified contextId. * * @param[in] aContextId A pointer to the Commissioning Data value. * @param[out] aRloc16 The reference of which for output the Rloc16.