This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git

commit 9dc6781bf9c72ba7cd6d7e9a701e268e72c009d3
Author: gaohedong <[email protected]>
AuthorDate: Mon Aug 25 21:34:29 2025 +0800

    net/wireless: dup g_ieee802154_status_string from kernel
    
    dup g_ieee802154_status_string from kernel to fix cmopil issue
    
    Signed-off-by: gaohedong <[email protected]>
---
 wireless/ieee802154/i8sak/i8sak_main.c | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/wireless/ieee802154/i8sak/i8sak_main.c 
b/wireless/ieee802154/i8sak/i8sak_main.c
index 1d48777a7..a085e731b 100644
--- a/wireless/ieee802154/i8sak/i8sak_main.c
+++ b/wireless/ieee802154/i8sak/i8sak_main.c
@@ -122,6 +122,40 @@ static int i8sak_daemon(int argc, FAR char *argv[]);
 static int i8sak_showusage(FAR const char *progname, int exitcode);
 static void i8sak_switch_instance(FAR char *ifname);
 
+/****************************************************************************
+ * Public Data
+ ****************************************************************************/
+
+#if defined(CONFIG_BUILD_PROTECTED) || defined(CONFIG_BUILD_KERNEL)
+FAR const char *g_ieee802154_status_string[] =
+{
+  "Success",
+  "Out of capacity",
+  "Denied",
+  "Failure",
+  "Beacon loss",
+  "Channel access failure",
+  "Disable TRX failure",
+  "Failed security check",
+  "Frame too long",
+  "Invalid GTS",
+  "Invalid handle",
+  "Invalid parameter",
+  "No ack",
+  "No beacon",
+  "No data",
+  "No short address",
+  "PAN ID conflict",
+  "Realignment",
+  "Transaction expired",
+  "Transaction overflow",
+  "Tx active",
+  "Unavailable key",
+  "Unsupported attribute",
+  "Limit reached",
+};
+#endif
+
 /****************************************************************************
  * Public Functions
  ****************************************************************************/

Reply via email to