Status Register; Error Code - RAK RAK411 Programming Manual

Spi-wifi module
Table of Contents

Advertisement

3.4.6 Status Register

Description:
Here is the byte of status read, the last two bits representative the data type of module
feedback.
Bit7: SPI_STATUS
Bit6: reserve
Bit5: reserve
Bit4: reserve
Bit3: Send_full, Indicates that the module is unable to respond to the command
at this time, except for reading status and reading data
Bit 2 Upgrade_err, Upgrade error, need to reset the module
Bit1: Buffer_full=1, The internal data cache area of module is full, valid when
SPI_STATUS is 1
Bit0: Data_flag=1, Module has data to inform host (response of command or
received data), valid when SPI_STATUS is 1

3.4.7 Error code

When the command frame error, will prompt the error code returned,detailed as follows:
Code
-1
Parameter input error (parameter is unable to identify / missing parameter /
command is too long / other illegal parameters)
-11
System error (restart module)
-12
Fatal error (contact manufacturer)
Other
Please refer to the following commands
Description
SHENZHEN RAKWIRELESS TECHNOLOGY CO., LTD
12
RAK411 PROGRAMMING MANUAL
COPYRIGHT ©
ETDX1603021415
V1.7

Advertisement

Table of Contents
loading

Table of Contents