mirror of
https://github.com/espressif/openthread.git
synced 2026-10-09 17:27:41 +00:00
[style] remove const values in declarations (#3705)
This commit is contained in:
committed by
Jonathan Hui
parent
e00114b3f1
commit
c7cd21f8b7
@@ -267,7 +267,7 @@ otError otLinkRawSrcMatchEnable(otInstance *aInstance, bool aEnable);
|
|||||||
* @retval OT_ERROR_INVALID_STATE If the raw link-layer isn't enabled.
|
* @retval OT_ERROR_INVALID_STATE If the raw link-layer isn't enabled.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
otError otLinkRawSrcMatchAddShortEntry(otInstance *aInstance, const uint16_t aShortAddress);
|
otError otLinkRawSrcMatchAddShortEntry(otInstance *aInstance, uint16_t aShortAddress);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adding extended address to the source match table.
|
* Adding extended address to the source match table.
|
||||||
@@ -293,7 +293,7 @@ otError otLinkRawSrcMatchAddExtEntry(otInstance *aInstance, const otExtAddress *
|
|||||||
* @retval OT_ERROR_INVALID_STATE If the raw link-layer isn't enabled.
|
* @retval OT_ERROR_INVALID_STATE If the raw link-layer isn't enabled.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
otError otLinkRawSrcMatchClearShortEntry(otInstance *aInstance, const uint16_t aShortAddress);
|
otError otLinkRawSrcMatchClearShortEntry(otInstance *aInstance, uint16_t aShortAddress);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Removing extended address to the source match table of the radio.
|
* Removing extended address to the source match table of the radio.
|
||||||
|
|||||||
@@ -1888,7 +1888,7 @@ extern "C" {
|
|||||||
* @param[in] aLength Number of bytes to print.
|
* @param[in] aLength Number of bytes to print.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
void otDump(otLogLevel aLevel, otLogRegion aRegion, const char *aId, const void *aBuf, const size_t aLength);
|
void otDump(otLogLevel aLevel, otLogRegion aRegion, const char *aId, const void *aBuf, size_t aLength);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This function converts a log level to a prefix string for appending to log message.
|
* This function converts a log level to a prefix string for appending to log message.
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ public:
|
|||||||
* @param[in] aType The type of the dataset, active or pending.
|
* @param[in] aType The type of the dataset, active or pending.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
explicit Dataset(const Tlv::Type aType);
|
explicit Dataset(Tlv::Type aType);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method clears the Dataset.
|
* This method clears the Dataset.
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ public:
|
|||||||
* @param[in] aType The type of the dataset, active or pending.
|
* @param[in] aType The type of the dataset, active or pending.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
DatasetLocal(Instance &aInstance, const Tlv::Type aType);
|
DatasetLocal(Instance &aInstance, Tlv::Type aType);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method indicates whether this is an Active or Pending Dataset.
|
* This method indicates whether this is an Active or Pending Dataset.
|
||||||
|
|||||||
@@ -173,7 +173,7 @@ protected:
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
DatasetManager(Instance & aInstance,
|
DatasetManager(Instance & aInstance,
|
||||||
const Tlv::Type aType,
|
Tlv::Type aType,
|
||||||
const char * aUriGet,
|
const char * aUriGet,
|
||||||
const char * aUriSet,
|
const char * aUriSet,
|
||||||
TimerMilli::Handler aTimerHandler);
|
TimerMilli::Handler aTimerHandler);
|
||||||
|
|||||||
Reference in New Issue
Block a user