1 Star 0 Fork 5K

罗小黑 / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
wifiiot_errno-h.md 53.04 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

wifiiot_errno.h

Overview

Related Modules:

Wifiiot

Description:

Defines error codes used by the Wi-Fi module.

Since:

1.0

Version:

1.0

Summary

Macros

Macro Name and Value

Description

WIFI_IOT_SUCCESS 0

Defines a module-level return value to indicate a successful operation.

WIFI_IOT_FAILURE (-1)

Defines a module-level return value to indicate an operation failure.

WIFI_IOT_ERR_UART_INVALID_PARAMETER 0x80001000

Defines a UART error code to indicate an invalid parameter.

WIFI_IOT_ERR_UART_INVALID_SUSPEND 0x80001001

Defines a UART error code to indicate an invalid pause operation.

WIFI_IOT_ERR_UART_INVALID_PARITY 0x80001002

Defines a UART error code to indicate an invalid parity check.

WIFI_IOT_ERR_UART_INVALID_DATA_BITS 0x80001003

Defines a UART error code to indicate an invalid data bit.

WIFI_IOT_ERR_UART_INVALID_STOP_BITS 0x80001004

Defines a UART error code to indicate an invalid stop bit.

WIFI_IOT_ERR_UART_INVALID_BAUD 0x80001005

Defines a UART error code to indicate an invalid baud rate.

WIFI_IOT_ERR_UART_INVALID_COM_PORT 0x80001006

Defines a UART error code to indicate an invalid port number.

WIFI_IOT_ERR_UART_NOT_SUPPORT_DMA 0x80001007

Defines a UART error code to indicate a non-support for DMA.

WIFI_IOT_ERR_UART_NOT_BLOCK_MODE 0x80001008

Defines a UART error code to indicate the non-block mode.

WIFI_IOT_ERR_GPIO_INVALID_PARAMETER 0x80001040

Defines a GPIO error code to indicate an invalid parameter.

WIFI_IOT_ERR_GPIO_REPEAT_INIT 0x80001041

Defines a GPIO error code to indicate repeated initialization.

WIFI_IOT_ERR_GPIO_NOT_INIT 0x80001042

Defines a GPIO error code to indicate non-initialization.

WIFI_IOT_ERR_GPIO_NOT_SUPPORT 0x80001043

Defines a GPIO error code to indicate a non-support.

WIFI_IOT_ERR_FLASH_NOT_INIT 0x800010C0

Defines a flash error code to indicate non-initialization.

WIFI_IOT_ERR_FLASH_INVALID_PARAM 0x800010C1

Defines a flash error code to indicate an invalid parameter.

WIFI_IOT_ERR_FLASH_INVALID_PARAM_BEYOND_ADDR 0x800010C2

Defines a flash error code to indicate that the address is out of range.

WIFI_IOT_ERR_FLASH_INVALID_PARAM_SIZE_ZERO 0x800010C3

Defines a flash error code to indicate that the parameter size is 0

WIFI_IOT_ERR_FLASH_INVALID_PARAM_ERASE_NOT_ALIGN 0x800010C4

Defines a flash error code to indicate that the erase size is not aligned.

WIFI_IOT_ERR_FLASH_INVALID_PARAM_IOCTRL_DATA_NULL 0x800010C5

Defines a flash error code to indicate that the data of the I/O controller is empty.

WIFI_IOT_ERR_FLASH_INVALID_PARAM_DATA_NULL 0x800010C6

Defines a flash error code to indicate empty data.

WIFI_IOT_ERR_FLASH_INVALID_PARAM_PAD1 0x800010C7

Defines a flash error code to indicate that pad1 is incorrect.

WIFI_IOT_ERR_FLASH_INVALID_PARAM_PAD2 0x800010C8

Defines a flash error code to indicate that pad2 is incorrect.

WIFI_IOT_ERR_FLASH_INVALID_PARAM_PAD3 0x800010C9

Defines a flash error code to indicate that pad3 is incorrect.

WIFI_IOT_ERR_FLASH_INVALID_PARAM_PAD4 0x800010CA

Defines a flash error code to indicate that pad4 is incorrect.

WIFI_IOT_ERR_FLASH_TIME_OUT_WAIT_READY 0x800010CB

Defines a flash error code to indicate a timeout on waiting for ready.

WIFI_IOT_ERR_FLASH_QUAD_MODE_READ_REG1 0x800010CC

Defines a flash error code to indicate that an error occurs when reading register 1.

WIFI_IOT_ERR_FLASH_QUAD_MODE_READ_REG2 0x800010CD

Defines a flash error code to indicate that an error occurs when reading register 2.

WIFI_IOT_ERR_FLASH_QUAD_MODE_COMPARE_REG 0x800010CE

Defines a flash error code to indicate that an error occurs when comparing registers.

WIFI_IOT_ERR_FLASH_NO_MATCH_FLASH 0x800010CF

Defines a flash error code to indicate a flash mismatch.

WIFI_IOT_ERR_FLASH_WRITE_ENABLE 0x800010D0

Defines a flash error code to indicate a failure in enabling write.

WIFI_IOT_ERR_FLASH_NO_MATCH_ERASE_SIZE 0x800010D1

Defines a flash error code to indicate a mismatch in the size of data to erase.

WIFI_IOT_ERR_FLASH_MAX_SPI_OP 0x800010D2

Defines a flash error code to indicate the maximum value of the SPI operation.

WIFI_IOT_ERR_FLASH_NOT_SUPPORT_IOCTRL_ID 0x800010D3

Defines a flash error code to indicate an unsupported IO controller ID..

WIFI_IOT_ERR_FLASH_INVALID_CHIP_ID 0x800010D4

Defines a flash error code to indicate an invalid chip ID.

WIFI_IOT_ERR_FLASH_RE_INIT 0x800010D5

Defines a flash error code to indicate repeated initialization.

WIFI_IOT_ERR_FLASH_WRITE_NOT_SUPPORT_ERASE 0x800010D6

Defines a flash error code to indicate a non-support for data erasure.

WIFI_IOT_ERR_FLASH_WRITE_COMPARE_WRONG 0x800010D7

Defines a flash error code to indicate that an error occurs when comparing the data written.

WIFI_IOT_ERR_FLASH_WAIT_CFG_START_TIME_OUT 0x800010D8

Defines a flash error code to indicate a timeout on waiting for a configuration to start.

WIFI_IOT_ERR_FLASH_PATITION_INIT_FAIL 0x800010D9

Defines a flash error code to indicate a partition initialization failure.

WIFI_IOT_ERR_FLASH_INITILIZATION 0x800010DA

Defines a flash error code to indicate initialization.

WIFI_IOT_ERR_FLASH_ERASE_NOT_4K_ALIGN 0x800010DB

Defines a flash error code to indicate that the size of data to erase is not a multiple of 4K bytes.

WIFI_IOT_ERR_FLASH_PROTECT_NOT_SUPPORT 0x800010DC

Defines a flash error code to indicate a non-support.

WIFI_IOT_ERR_FLASH_PROTECT_NOT_INIT 0x800010DD

Defines a flash error code to indicate non-initialization.

WIFI_IOT_ERR_FLASH_PROTECT_RE_INIT 0x800010DE

Defines a flash error code to indicate repeated initialization.

WIFI_IOT_ERR_FLASH_PROTECT_NOT_FIND_CHIP 0x800010DF

Defines a flash error code to indicate that no chip is found.

WIFI_IOT_ERR_FLASH_CRYPTO_INVALID_PARAM 0x800010F0

Defines a flash error code to indicate an invalid parameter.

WIFI_IOT_ERR_FLASH_CRYPTO_BEYOND_ADDR_SIZE 0x800010F1

Defines a flash error code to indicate that the address is out of range.

WIFI_IOT_ERR_FLASH_CRYPTO_MALLOC_FAIL 0x800001F2

Defines a flash error code to indicate a failure in applying for memory.

WIFI_IOT_ERR_FLASH_CRYPTO_DATA_ENCRYPT_ERR 0x800001F3

Defines a flash error code to indicate an encryption error.

WIFI_IOT_ERR_FLASH_CRYPTO_DATA_DECRYPT_ERR 0x800001F4

Defines a flash error code to indicate a decryption error.

WIFI_IOT_ERR_FLASH_CRYPTO_KEY_EMPTY_ERR 0x800001F5

Defines a flash error code to indicate an empty key value.

WIFI_IOT_ERR_FLASH_CRYPTO_MEMCPY_FAIL 0x800001F6

Defines a flash error code to indicate a copy failure.

WIFI_IOT_ERR_FLASH_CRYPTO_NOT_SUPPORT 0x800001F7

Defines a flash error code to indicate a non-support for encryption.

WIFI_IOT_ERR_FLASH_CRYPTO_PREPARE_ERR 0x800001F8

Defines a flash error code to indicate an incorrect parameter during encryption.

WIFI_IOT_ERR_FLASH_CRYPTO_KEY_INVALID_ERR 0x800001F9

Defines a flash error code to indicate an invalid key.

WIFI_IOT_ERR_FLASH_CRYPTO_KEY_SAVE_ERR 0x800001FA

Defines a flash error code to indicate a failure in saving the key.

WIFI_IOT_ERR_FLASH_CRYPTO_KERNEL_ADDR_ERR 0x800001FB

Defines a flash error code to indicate an incorrect kernel address..

WIFI_IOT_ERR_I2C_NOT_INIT 0x80001180

Defines an I2C error code to indicate a non-support.

WIFI_IOT_ERR_I2C_INVALID_PARAMETER 0x80001181

Defines an I2C error code to indicate an invalid parameter.

WIFI_IOT_ERR_I2C_TIMEOUT_START 0x80001182

Defines an I2C error code to indicate a start timeout.

WIFI_IOT_ERR_I2C_TIMEOUT_WAIT 0x80001183

Defines an I2C error code to indicate a wait timeout.

WIFI_IOT_ERR_I2C_TIMEOUT_STOP 0x80001184

Defines an I2C error code to indicate a stop timeout.

WIFI_IOT_ERR_I2C_TIMEOUT_RCV_BYTE 0x80001185

Defines an I2C error code to indicate a receive timeout.

WIFI_IOT_ERR_I2C_TIMEOUT_RCV_BYTE_PROC 0x80001186

Defines an I2C error code to indicate a processing timeout.

WIFI_IOT_ERR_I2C_WAIT_SEM_FAIL 0x80001187

Defines an I2C error code to indicate a waiting failure.

WIFI_IOT_ERR_I2C_START_ACK_ERR 0x80001188

Defines an I2C error code to indicate a responding failure.

WIFI_IOT_ERR_I2C_WAIT_ACK_ERR 0x80001189

Defines an I2C error code to indicate a failure in waiting for a response.

WIFI_IOT_ERR_SPI_NOT_INIT 0x800011C0

Defines an SPI error code to indicate non-initialization.

WIFI_IOT_ERR_SPI_REINIT 0x800011C1

Defines an SPI error code to indicate repeated initialization.

WIFI_IOT_ERR_SPI_PARAMETER_WRONG 0x800011C2

Defines an SPI error code to indicate a parameter error.

WIFI_IOT_ERR_SPI_BUSY 0x800011C3

Defines an SPI error code to indicate the busy state.

WIFI_IOT_ERR_SPI_WRITE_TIMEOUT 0x800011C4

Defines an SPI error code to indicate a write timeout.

WIFI_IOT_ERR_SPI_READ_TIMEOUT 0x800011C5

Defines an SPI error code to indicate a read timeout.

WIFI_IOT_ERR_SPI_NOT_SUPPORT_DMA 0x800011C6

Defines an SPI error code to indicate a non-support for DMA.

WIFI_IOT_ERR_SDIO_INVALID_PARAMETER 0x80001280

Defines an SDIO error code to indicate an invalid parameter.

WIFI_IOT_ERR_ADC_PARAMETER_WRONG 0x80001300

Defines an ADC error code to indicate a parameter error.

WIFI_IOT_ERR_ADC_INVALID_CHANNEL_ID 0x80001301

Defines an ADC error code to indicate an invalid channel.

WIFI_IOT_ERR_ADC_TIMEOUT 0x80001302

Defines an ADC error code to indicate a timeout.

WIFI_IOT_ERR_ADC_NOT_INIT 0x80001303

Defines an ADC error code to indicate non-initialization.

WIFI_IOT_ERR_PWM_NO_INIT 0x80001340

Defines a PWM error code to indicate non-initialization.

WIFI_IOT_ERR_PWM_INITILIZATION_ALREADY 0x80001341

Defines a PWM error code to indicate an initialization error.

WIFI_IOT_ERR_PWM_INVALID_PARAMETER 0x80001342

Defines a PWM error code to indicate an invalid parameter.

WIFI_IOT_ERR_DMA_INVALID_PARA 0x80001380

Defines a DMA error code to indicate an invalid parameter.

WIFI_IOT_ERR_DMA_NOT_INIT 0x80001381

Defines a DMA error code to indicate non-initialization.

WIFI_IOT_ERR_DMA_BUSY 0x80001382

Defines a DMA error code to indicate the busy state.

WIFI_IOT_ERR_DMA_TRANSFER_FAIL 0x80001383

Defines a DMA error code to indicate a transmission failure.

WIFI_IOT_ERR_DMA_TRANSFER_TIMEOUT 0x80001384

Defines a DMA error code to indicate a transmission timeout.

WIFI_IOT_ERR_DMA_GET_NOTE_FAIL 0x80001385

Defines a DMA error code to indicate a retrieval failure.

WIFI_IOT_ERR_DMA_LLI_NOT_CREATE 0x80001386

Defines a DMA error code to indicate that the LLI is not created.

WIFI_IOT_ERR_DMA_CH_IRQ_ENABLE_FAIL 0x80001387

Defines a DMA error code to indicate a failure in enabling channel interrupt.

WIFI_IOT_ERR_I2S_INVALID_PARAMETER 0x80001400

Defines an I2S error code to indicate an invalid parameter.

WIFI_IOT_ERR_I2S_WRITE_TIMEOUT 0x80001401

Defines an I2S error code to indicate a write timeout.

WIFI_IOT_ERR_AT_NAME_OR_FUNC_REPEAT_REGISTERED 0x80003280

Defines an AT error code to indicate repeated function registration.

WIFI_IOT_ERR_AT_INVALID_PARAMETER 0x80003281

Defines an AT error code to indicate an invalid parameter.

1
https://gitee.com/lawguiren/docs.git
git@gitee.com:lawguiren/docs.git
lawguiren
docs
docs
master

搜索帮助