@@ -1115,35 +1115,38 @@ otError otLinkSetRegion(otInstance *aInstance, uint16_t aRegionCode);
11151115otError otLinkGetRegion (otInstance * aInstance , uint16_t * aRegionCode );
11161116
11171117/**
1118- * Gets the Wake-up channel .
1118+ * Gets the Thread Direct Wake Channel .
11191119 *
1120- * Requires `OPENTHREAD_CONFIG_WAKEUP_COORDINATOR_ENABLE` or `OPENTHREAD_CONFIG_WAKEUP_END_DEVICE_ENABLE`.
1120+ * Requires `OPENTHREAD_CONFIG_THREAD_DIRECT_WAKE_INITIATOR_ENABLE` or
1121+ * `OPENTHREAD_CONFIG_THREAD_DIRECT_WAKE_LISTENER_ENABLE`.
11211122 *
11221123 * @param[in] aInstance A pointer to an OpenThread instance.
11231124 *
1124- * @returns The Wake-up channel .
1125+ * @returns The Wake Channel (always 20) .
11251126 */
11261127uint8_t otLinkGetWakeupChannel (otInstance * aInstance );
11271128
11281129/**
1129- * Sets the Wake-up channel .
1130+ * Sets the Thread Direct Wake Channel .
11301131 *
1131- * Requires `OPENTHREAD_CONFIG_WAKEUP_COORDINATOR_ENABLE` or `OPENTHREAD_CONFIG_WAKEUP_END_DEVICE_ENABLE`.
1132+ * Requires `OPENTHREAD_CONFIG_THREAD_DIRECT_WAKE_INITIATOR_ENABLE` or
1133+ * `OPENTHREAD_CONFIG_THREAD_DIRECT_WAKE_LISTENER_ENABLE`.
1134+ *
1135+ * The Thread Direct feature mandates channel 20 (`OPENTHREAD_CONFIG_THREAD_DIRECT_DEFAULT_WAKE_CHANNEL`)
1136+ * as the sole Wake Channel. Any other value returns `OT_ERROR_INVALID_ARGS`.
11321137 *
11331138 * @param[in] aInstance A pointer to an OpenThread instance.
1134- * @param[in] aChannel The Wake-up sample channel. Channel value should be `0` (Set Wake-up Channel unspecified,
1135- * which means the device will use the PAN channel) or within the range [1, 10] (if 915-MHz
1136- * supported) and [11, 26] (if 2.4 GHz supported).
1139+ * @param[in] aChannel The Wake Channel. Must equal 20.
11371140 *
1138- * @retval OT_ERROR_NONE Successfully set the Wake-up channel .
1139- * @retval OT_ERROR_INVALID_ARGS Invalid @p aChannel.
1141+ * @retval OT_ERROR_NONE Successfully set the Wake Channel .
1142+ * @retval OT_ERROR_INVALID_ARGS @p aChannel is not 20 .
11401143 */
11411144otError otLinkSetWakeupChannel (otInstance * aInstance , uint8_t aChannel );
11421145
11431146/**
11441147 * Enables or disables listening for wake-up frames.
11451148 *
1146- * Requires `OPENTHREAD_CONFIG_WAKEUP_END_DEVICE_ENABLE `.
1149+ * Requires `OPENTHREAD_CONFIG_THREAD_DIRECT_WAKE_LISTENER_ENABLE `.
11471150 *
11481151 * @param[in] aInstance A pointer to an OpenThread instance.
11491152 * @param[in] aEnable true to enable listening for wake-up frames, or false otherwise.
@@ -1157,7 +1160,7 @@ otError otLinkSetWakeUpListenEnabled(otInstance *aInstance, bool aEnable);
11571160/**
11581161 * Returns whether listening for wake-up frames is enabled.
11591162 *
1160- * Requires `OPENTHREAD_CONFIG_WAKEUP_END_DEVICE_ENABLE `.
1163+ * Requires `OPENTHREAD_CONFIG_THREAD_DIRECT_WAKE_LISTENER_ENABLE `.
11611164 *
11621165 * @param[in] aInstance A pointer to an OpenThread instance.
11631166 *
@@ -1169,7 +1172,7 @@ bool otLinkIsWakeupListenEnabled(otInstance *aInstance);
11691172/**
11701173 * Get the wake-up listen parameters.
11711174 *
1172- * Requires `OPENTHREAD_CONFIG_WAKEUP_END_DEVICE_ENABLE `.
1175+ * Requires `OPENTHREAD_CONFIG_THREAD_DIRECT_WAKE_LISTENER_ENABLE `.
11731176 *
11741177 * @param[in] aInstance A pointer to an OpenThread instance.
11751178 * @param[out] aInterval A pointer to return the wake-up listen interval in microseconds.
@@ -1183,7 +1186,7 @@ void otLinkGetWakeupListenParameters(otInstance *aInstance, uint32_t *aInterval,
11831186 * The listen interval must be greater than the listen duration.
11841187 * The listen duration must be greater or equal than the minimum supported.
11851188 *
1186- * Requires `OPENTHREAD_CONFIG_WAKEUP_END_DEVICE_ENABLE `.
1189+ * Requires `OPENTHREAD_CONFIG_THREAD_DIRECT_WAKE_LISTENER_ENABLE `.
11871190 *
11881191 * @param[in] aInstance A pointer to an OpenThread instance.
11891192 * @param[in] aInterval The wake-up listen interval in microseconds.
0 commit comments