From 430aefe659f8565948ef3b302ea3b5b592c131ae Mon Sep 17 00:00:00 2001 From: liwenjun Date: Tue, 24 Dec 2024 09:14:06 +0800 Subject: [PATCH] =?UTF-8?q?HDF=E6=95=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: liwenjun --- wlan/chip/v1_0/ChipTypes.idl | 13 +++++++++++++ wlan/chip/v1_0/IChipIface.idl | 14 ++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/wlan/chip/v1_0/ChipTypes.idl b/wlan/chip/v1_0/ChipTypes.idl index a9c92319..b4b209fb 100644 --- a/wlan/chip/v1_0/ChipTypes.idl +++ b/wlan/chip/v1_0/ChipTypes.idl @@ -183,4 +183,17 @@ struct SignalPollResult { int c1Rssi; unsigned char[] ext; }; + +/** + * @brief Defines the projection parameters, This interface is preferentially used to communicate with the Wi-Fi service. + * + * @since 5.0 + * @version 1.0 + */ +struct ProjectionScreenCmdParam { + /** ID of the projection command. */ + int cmdId; + /** Content of the projection command. */ + byte[] buf; +}; /** @} */ \ No newline at end of file diff --git a/wlan/chip/v1_0/IChipIface.idl b/wlan/chip/v1_0/IChipIface.idl index 1596635a..089a6f7e 100644 --- a/wlan/chip/v1_0/IChipIface.idl +++ b/wlan/chip/v1_0/IChipIface.idl @@ -353,5 +353,19 @@ interface IChipIface { * @version 1.0 */ GetCoexictenceChannelList([in] String ifName, [out] unsigned char[] paramBuf); + + /** + * @brief Sets the projection parameters, This interface is preferentially used to communicate with the Wi-Fi service. + * + * @param ifName Indicates the NIC name. + * @param param Indicates the projection parameters to set. + * + * @return Returns 0 if the operation is successful. + * @return Returns a negative value if the operation fails. + * + * @since 5.0 + * @version 1.0 + */ + SetProjectionScreenParam([in] String ifName, [in] struct ProjectionScreenCmdParam param); }; /** @} */ \ No newline at end of file -- Gitee