lr4 2.0.0.0

Macros

#define LR4_CMD_RESET   0x30
 
#define LR4_CMD_FACTORY_RESET   0x31
 
#define LR4_CMD_EEPROM_WRITE   0x32
 
#define LR4_CMD_EEPROM_READ   0x33
 
#define LR4_CMD_GET_FW_VERSION   0x34
 
#define LR4_CMD_GET_SERIAL_NO   0x35
 
#define LR4_CMD_GET_DEV_EUI   0x36
 
#define LR4_CMD_JOIN   0x40
 
#define LR4_CMD_GET_ACTIVATION_STATUS   0x42
 
#define LR4_CMD_SET_APP_KEY   0x43
 
#define LR4_CMD_SET_APP_SESSION_KEY   0x44
 
#define LR4_CMD_SET_NWK_SESSION_KEY   0x45
 
#define LR4_CMD_TX_MSG   0x46
 
#define LR4_CMD_GET_SESSION_STATUS   0x4A
 
#define LR4_CMD_SET_NEXT_DR   0x4B
 
#define LR4_CMD_SET_BATTERY_LVL   0x50
 
#define LR4_CMD_GET_BATTERY_LVL   0x51
 
#define LR4_CMD_SET_UPLINK_CNT   0x52
 
#define LR4_CMD_GET_UPLINK_CNT   0x53
 
#define LR4_CMD_SET_DOWNLINK_CNT   0x54
 
#define LR4_CMD_GET_DOWNLINK_CNT   0x55
 
#define LR4_CMD_SET_CH_PARAMETERS   0x57
 
#define LR4_CMD_GET_CH_PARAMETERS   0x58
 
#define LR4_INDICATES_JOIN   0x41
 
#define LR4_INDICATES_TX_MSG_CONFIRMED   0x47
 
#define LR4_INDICATES_TX_MSG_UNCONFIRMED   0x48
 
#define LR4_INDICATES_RX_MSG   0x49
 
#define LR4_ERR_ADDR_RANGE   0x01
 
#define LR4_ERR_NOT_IDLE   0x02
 
#define LR4_ERR_PL_LEN   0xFC
 
#define LR4_ERR_CHKSUM   0xFD
 
#define LR4_ERR_RESPONSE   0xFE
 
#define LR4_ERR_HEADER   0xFF
 
#define LR4_JOIN_ACTIVATION_BY_PERSONALIZATION_MODE   0x00
 
#define LR4_JOIN_OVER_THE_AIR_ACTIVATION_MODE   0x01
 
#define LR4_GET_ACTIVATION_MODE   0x00
 
#define LR4_GET_SESSION_STATUS_MODE   0x01
 
#define LR4_SET_APP_KEY_MODE   0x00
 
#define LR4_SET_NWK_SESSION_KEY_MODE   0x01
 
#define LR4_UPLINK_CNT   0x00
 
#define LR4_DOWNLINK_CNT   0x01
 
#define LR4_CHANNEL_DISABLED   0x00
 
#define LR4_CHANNEL_ENABLED   0x01
 
#define LR4_UNCONFIRMED_TRANSMISSION   0x00
 
#define LR4_CONFIRMED_TRANSMISSION   0x01
 
#define LR4_STATUS_IDLE   0x00
 
#define LR4_STATUS_BUSY   0x01
 
#define LR4_STATUS_DEV_NOT_ACTIVATED   0x02
 
#define LR4_STATUS_DELAYED   0x03
 
#define LR4_STATUS_NOT_ACTIVATED   0x00
 
#define LR4_STATUS_JOINING   0x01
 
#define LR4_STATUS_JOINED   0x02
 
#define LR4_STATUS_MAC_ERROR   0x03
 

Detailed Description

Macro Definition Documentation

◆ LR4_CHANNEL_DISABLED

#define LR4_CHANNEL_DISABLED   0x00

◆ LR4_CHANNEL_ENABLED

#define LR4_CHANNEL_ENABLED   0x01

◆ LR4_CMD_EEPROM_READ

#define LR4_CMD_EEPROM_READ   0x33

◆ LR4_CMD_EEPROM_WRITE

#define LR4_CMD_EEPROM_WRITE   0x32

◆ LR4_CMD_FACTORY_RESET

#define LR4_CMD_FACTORY_RESET   0x31

◆ LR4_CMD_GET_ACTIVATION_STATUS

#define LR4_CMD_GET_ACTIVATION_STATUS   0x42

◆ LR4_CMD_GET_BATTERY_LVL

#define LR4_CMD_GET_BATTERY_LVL   0x51

◆ LR4_CMD_GET_CH_PARAMETERS

#define LR4_CMD_GET_CH_PARAMETERS   0x58

◆ LR4_CMD_GET_DEV_EUI

#define LR4_CMD_GET_DEV_EUI   0x36

◆ LR4_CMD_GET_DOWNLINK_CNT

#define LR4_CMD_GET_DOWNLINK_CNT   0x55

◆ LR4_CMD_GET_FW_VERSION

#define LR4_CMD_GET_FW_VERSION   0x34

◆ LR4_CMD_GET_SERIAL_NO

#define LR4_CMD_GET_SERIAL_NO   0x35

◆ LR4_CMD_GET_SESSION_STATUS

#define LR4_CMD_GET_SESSION_STATUS   0x4A

◆ LR4_CMD_GET_UPLINK_CNT

#define LR4_CMD_GET_UPLINK_CNT   0x53

◆ LR4_CMD_JOIN

#define LR4_CMD_JOIN   0x40

◆ LR4_CMD_RESET

#define LR4_CMD_RESET   0x30

◆ LR4_CMD_SET_APP_KEY

#define LR4_CMD_SET_APP_KEY   0x43

◆ LR4_CMD_SET_APP_SESSION_KEY

#define LR4_CMD_SET_APP_SESSION_KEY   0x44

◆ LR4_CMD_SET_BATTERY_LVL

#define LR4_CMD_SET_BATTERY_LVL   0x50

◆ LR4_CMD_SET_CH_PARAMETERS

#define LR4_CMD_SET_CH_PARAMETERS   0x57

◆ LR4_CMD_SET_DOWNLINK_CNT

#define LR4_CMD_SET_DOWNLINK_CNT   0x54

◆ LR4_CMD_SET_NEXT_DR

#define LR4_CMD_SET_NEXT_DR   0x4B

◆ LR4_CMD_SET_NWK_SESSION_KEY

#define LR4_CMD_SET_NWK_SESSION_KEY   0x45

◆ LR4_CMD_SET_UPLINK_CNT

#define LR4_CMD_SET_UPLINK_CNT   0x52

◆ LR4_CMD_TX_MSG

#define LR4_CMD_TX_MSG   0x46

◆ LR4_CONFIRMED_TRANSMISSION

#define LR4_CONFIRMED_TRANSMISSION   0x01

◆ LR4_DOWNLINK_CNT

#define LR4_DOWNLINK_CNT   0x01

◆ LR4_ERR_ADDR_RANGE

#define LR4_ERR_ADDR_RANGE   0x01

◆ LR4_ERR_CHKSUM

#define LR4_ERR_CHKSUM   0xFD

◆ LR4_ERR_HEADER

#define LR4_ERR_HEADER   0xFF

◆ LR4_ERR_NOT_IDLE

#define LR4_ERR_NOT_IDLE   0x02

◆ LR4_ERR_PL_LEN

#define LR4_ERR_PL_LEN   0xFC

◆ LR4_ERR_RESPONSE

#define LR4_ERR_RESPONSE   0xFE

◆ LR4_GET_ACTIVATION_MODE

#define LR4_GET_ACTIVATION_MODE   0x00

◆ LR4_GET_SESSION_STATUS_MODE

#define LR4_GET_SESSION_STATUS_MODE   0x01

◆ LR4_INDICATES_JOIN

#define LR4_INDICATES_JOIN   0x41

◆ LR4_INDICATES_RX_MSG

#define LR4_INDICATES_RX_MSG   0x49

◆ LR4_INDICATES_TX_MSG_CONFIRMED

#define LR4_INDICATES_TX_MSG_CONFIRMED   0x47

◆ LR4_INDICATES_TX_MSG_UNCONFIRMED

#define LR4_INDICATES_TX_MSG_UNCONFIRMED   0x48

◆ LR4_JOIN_ACTIVATION_BY_PERSONALIZATION_MODE

#define LR4_JOIN_ACTIVATION_BY_PERSONALIZATION_MODE   0x00

◆ LR4_JOIN_OVER_THE_AIR_ACTIVATION_MODE

#define LR4_JOIN_OVER_THE_AIR_ACTIVATION_MODE   0x01

◆ LR4_SET_APP_KEY_MODE

#define LR4_SET_APP_KEY_MODE   0x00

◆ LR4_SET_NWK_SESSION_KEY_MODE

#define LR4_SET_NWK_SESSION_KEY_MODE   0x01

◆ LR4_STATUS_BUSY

#define LR4_STATUS_BUSY   0x01

◆ LR4_STATUS_DELAYED

#define LR4_STATUS_DELAYED   0x03

◆ LR4_STATUS_DEV_NOT_ACTIVATED

#define LR4_STATUS_DEV_NOT_ACTIVATED   0x02

◆ LR4_STATUS_IDLE

#define LR4_STATUS_IDLE   0x00

◆ LR4_STATUS_JOINED

#define LR4_STATUS_JOINED   0x02

◆ LR4_STATUS_JOINING

#define LR4_STATUS_JOINING   0x01

◆ LR4_STATUS_MAC_ERROR

#define LR4_STATUS_MAC_ERROR   0x03

◆ LR4_STATUS_NOT_ACTIVATED

#define LR4_STATUS_NOT_ACTIVATED   0x00

◆ LR4_UNCONFIRMED_TRANSMISSION

#define LR4_UNCONFIRMED_TRANSMISSION   0x00

◆ LR4_UPLINK_CNT

#define LR4_UPLINK_CNT   0x00