[api] rename ChannelMaskPage0 to ChannelMask (#3665)

This commit is contained in:
Zhanglong Xia
2019-03-13 07:49:25 -07:00
committed by Jonathan Hui
parent a99816a225
commit ce24abb7bb
6 changed files with 26 additions and 26 deletions
+4 -4
View File
@@ -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;