mirror of
https://github.com/espressif/openthread.git
synced 2026-09-10 03:00:09 +00:00
[api] rename ChannelMaskPage0 to ChannelMask (#3665)
This commit is contained in:
committed by
Jonathan Hui
parent
a99816a225
commit
ce24abb7bb
@@ -152,10 +152,10 @@ enum
|
||||
};
|
||||
|
||||
/**
|
||||
* This type represents Channel Mask Page 0.
|
||||
* This type represents Channel Mask.
|
||||
*
|
||||
*/
|
||||
typedef uint32_t otChannelMaskPage0;
|
||||
typedef uint32_t otChannelMask;
|
||||
|
||||
#define OT_CHANNEL_1_MASK (1 << 1) ///< Channel 1
|
||||
#define OT_CHANNEL_2_MASK (1 << 2) ///< Channel 2
|
||||
@@ -201,7 +201,7 @@ typedef struct otOperationalDatasetComponents
|
||||
bool mIsChannelPresent : 1; ///< TRUE if Channel is present, FALSE otherwise.
|
||||
bool mIsPSKcPresent : 1; ///< TRUE if PSKc is present, FALSE otherwise.
|
||||
bool mIsSecurityPolicyPresent : 1; ///< TRUE if Security Policy is present, FALSE otherwise.
|
||||
bool mIsChannelMaskPage0Present : 1; ///< TRUE if Channel Mask Page 0 is present, FALSE otherwise.
|
||||
bool mIsChannelMaskPresent : 1; ///< TRUE if Channel Mask is present, FALSE otherwise.
|
||||
} otOperationalDatasetComponents;
|
||||
|
||||
/**
|
||||
@@ -223,7 +223,7 @@ typedef struct otOperationalDataset
|
||||
uint16_t mChannel; ///< Channel
|
||||
otPSKc mPSKc; ///< PSKc
|
||||
otSecurityPolicy mSecurityPolicy; ///< Security Policy
|
||||
otChannelMaskPage0 mChannelMaskPage0; ///< Channel Mask Page 0
|
||||
otChannelMask mChannelMask; ///< Channel Mask
|
||||
otOperationalDatasetComponents mComponents; ///< Specifies which components are set in the Dataset.
|
||||
} otOperationalDataset;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user