What are the "remote cdc header return error codes" for wl & mfg_test?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

[WICED_SDK-2.2.1]

Sometimes I see failures using wl with the manufacturing test app.

The mfg_test app returns error codes when there are failures.

Is there documentation in the SDK that shows what these wl error codes mean?

0 Likes
1 Reply
Anonymous
Not applicable
Error codes are available from <WICED-SDK>/Apps/test/mfg_test/src/include/bcmutils.h

Copied below for reference...

#define BCME_OK    0 /* Success */

#define BCME_ERROR   -1 /* Error generic */

#define BCME_BADARG   -2 /* Bad Argument */

#define BCME_BADOPTION   -3 /* Bad option */

#define BCME_NOTUP   -4 /* Not up */

#define BCME_NOTDOWN   -5 /* Not down */

#define BCME_NOTAP   -6 /* Not AP */

#define BCME_NOTSTA   -7 /* Not STA  */

#define BCME_BADKEYIDX   -8 /* BAD Key Index */

#define BCME_RADIOOFF    -9 /* Radio Off */

#define BCME_NOTBANDLOCKED  -10 /* Not  band locked */

#define BCME_NOCLK   -11 /* No Clock */

#define BCME_BADRATESET   -12 /* BAD Rate valueset */

#define BCME_BADBAND   -13 /* BAD Band */

#define BCME_BUFTOOSHORT  -14 /* Buffer too short */

#define BCME_BUFTOOLONG   -15 /* Buffer too long */

#define BCME_BUSY   -16 /* Busy */

#define BCME_NOTASSOCIATED  -17 /* Not Associated */

#define BCME_BADSSIDLEN   -18 /* Bad SSID len */

#define BCME_OUTOFRANGECHAN  -19 /* Out of Range Channel */

#define BCME_BADCHAN   -20 /* Bad Channel */

#define BCME_BADADDR   -21 /* Bad Address */

#define BCME_NORESOURCE   -22 /* Not Enough Resources */

#define BCME_UNSUPPORTED  -23 /* Unsupported */

#define BCME_BADLEN   -24 /* Bad length */

#define BCME_NOTREADY   -25 /* Not Ready */

#define BCME_EPERM   -26 /* Not Permitted */

#define BCME_NOMEM   -27 /* No Memory */

#define BCME_ASSOCIATED   -28 /* Associated */

#define BCME_RANGE   -29 /* Not In Range */

#define BCME_NOTFOUND   -30 /* Not Found */

#define BCME_WME_NOT_ENABLED  -31 /* WME Not Enabled */

#define BCME_TSPEC_NOTFOUND  -32 /* TSPEC Not Found */

#define BCME_ACM_NOTSUPPORTED  -33 /* ACM Not Supported */

#define BCME_NOT_WME_ASSOCIATION -34 /* Not WME Association */

#define BCME_SDIO_ERROR   -35 /* SDIO Bus Error */

#define BCME_DONGLE_DOWN  -36 /* Dongle Not Accessible */

#define BCME_VERSION   -37  /* Incorrect version */

#define BCME_TXFAIL   -38  /* TX failure */

#define BCME_RXFAIL   -39 /* RX failure */

#define BCME_NODEVICE   -40  /* Device not present */

#define BCME_NMODE_DISABLED  -41  /* NMODE disabled */

#define BCME_NONRESIDENT  -42 /* access to nonresident overlay */

0 Likes