mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-27 04:10:47 +00:00
net/wireless: dup g_ieee802154_status_string from kernel
dup g_ieee802154_status_string from kernel to fix cmopil issue Signed-off-by: gaohedong <gaohedong@xiaomi.com>
This commit is contained in:
parent
de6aac8afb
commit
9dc6781bf9
1 changed files with 34 additions and 0 deletions
|
|
@ -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
|
||||
****************************************************************************/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue