|
enum | _SERVICE_LORA_MAC_CMD {
SERVICE_LORA_MAC_CMD_NONE,
SERVICE_LORA_MAC_CMD_DEVICE_TIME,
SERVICE_LORA_MAC_CMD_PING_SLOT_INFO
} |
|
enum | _SERVICE_LORA_CLASS_B_STATE {
SERVICE_LORA_CLASS_B_S0,
SERVICE_LORA_CLASS_B_S1,
SERVICE_LORA_CLASS_B_S2,
SERVICE_LORA_CLASS_B_S3,
SERVICE_LORA_CLASS_B_COMPLETED
} |
|
enum | _TIMEREQ_STATE {
TIMEREQ_DISABLED,
TIMEREQ_ENABLED
} |
|
enum | _SERVICE_LORA_TX_POWER {
SERVICE_LORA_TX_POWER_0 = TX_POWER_0,
SERVICE_LORA_TX_POWER_1 = TX_POWER_1,
SERVICE_LORA_TX_POWER_2 = TX_POWER_2,
SERVICE_LORA_TX_POWER_3 = TX_POWER_3,
SERVICE_LORA_TX_POWER_4 = TX_POWER_4,
SERVICE_LORA_TX_POWER_5 = TX_POWER_5,
SERVICE_LORA_TX_POWER_6 = TX_POWER_6,
SERVICE_LORA_TX_POWER_7 = TX_POWER_7,
SERVICE_LORA_TX_POWER_8 = TX_POWER_8,
SERVICE_LORA_TX_POWER_9 = TX_POWER_9,
SERVICE_LORA_TX_POWER_10 = TX_POWER_10,
SERVICE_LORA_TX_POWER_11 = TX_POWER_11,
SERVICE_LORA_TX_POWER_12 = TX_POWER_12,
SERVICE_LORA_TX_POWER_13 = TX_POWER_13,
SERVICE_LORA_TX_POWER_14 = TX_POWER_14,
SERVICE_LORA_TX_POWER_15 = TX_POWER_15,
SERVICE_LORA_TX_POWER_MAX = TX_POWER_15
} |
|
enum | _SERVICE_LORA_WORK_MODE {
SERVICE_LORA_P2P = 0,
SERVICE_LORAWAN = 1,
SERVICE_LORA_FSK = 2
} |
|
enum | _LINK_CHECK_MODE {
LINK_CHECK_DISABLE = 0,
LINK_CHECK_ONCE = 1,
LINK_CHECK_EVERYTIME = 2
} |
|
enum | _SERVICE_LORA_CONFIRM_MODE {
SERVICE_LORA_NO_ACK = 0,
SERVICE_LORA_ACK = 1
} |
|
enum | _SERVICE_LORA_JOIN_MODE {
SERVICE_LORA_ABP = 0,
SERVICE_LORA_OTAA = 1
} |
|
enum | _SERVICE_LORA_DATA_RATE {
SERVICE_LORA_DR_0 = DR_0,
SERVICE_LORA_DR_1 = DR_1,
SERVICE_LORA_DR_2 = DR_2,
SERVICE_LORA_DR_3 = DR_3,
SERVICE_LORA_DR_4 = DR_4,
SERVICE_LORA_DR_5 = DR_5,
SERVICE_LORA_DR_6 = DR_6,
SERVICE_LORA_DR_7 = DR_7,
SERVICE_LORA_DR_8 = DR_8,
SERVICE_LORA_DR_9 = DR_9,
SERVICE_LORA_DR_10 = DR_10,
SERVICE_LORA_DR_11 = DR_11,
SERVICE_LORA_DR_12 = DR_12,
SERVICE_LORA_DR_13 = DR_13,
SERVICE_LORA_DR_14 = DR_14,
SERVICE_LORA_DR_15 = DR_15
} |
|
enum | _SERVICE_LORA_CH_EIGHT_MODE {
SERVICE_LORA_CH_EIGHT_MODE_0,
SERVICE_LORA_CH_EIGHT_MODE_1,
SERVICE_LORA_CH_EIGHT_MODE_2,
SERVICE_LORA_CH_EIGHT_MODE_3,
SERVICE_LORA_CH_EIGHT_MODE_4,
SERVICE_LORA_CH_EIGHT_MODE_5,
SERVICE_LORA_CH_EIGHT_MODE_6,
SERVICE_LORA_CH_EIGHT_MODE_7,
SERVICE_LORA_CH_EIGHT_MODE_8
} |
|
enum | _SERVICE_LORA_CLASS {
SERVICE_LORA_CLASS_A = 0,
SERVICE_LORA_CLASS_B = 1,
SERVICE_LORA_CLASS_C = 2
} |
|
enum | _AS923_SUB_BAND {
AS923_1 = 1,
AS923_2 = 2,
AS923_3 = 3,
AS923_4 = 4
} |
|
enum | _SERVICE_LORA_BAND {
SERVICE_LORA_AS923 = LORAMAC_REGION_AS923,
SERVICE_LORA_AU915 = LORAMAC_REGION_AU915,
SERVICE_LORA_CN470 = LORAMAC_REGION_CN470,
SERVICE_LORA_CN779 = LORAMAC_REGION_CN779,
SERVICE_LORA_EU433 = LORAMAC_REGION_EU433,
SERVICE_LORA_EU868 = LORAMAC_REGION_EU868,
SERVICE_LORA_KR920 = LORAMAC_REGION_KR920,
SERVICE_LORA_IN865 = LORAMAC_REGION_IN865,
SERVICE_LORA_US915 = LORAMAC_REGION_US915,
SERVICE_LORA_RU864 = LORAMAC_REGION_RU864,
SERVICE_LORA_AS923_2 = 20,
SERVICE_LORA_AS923_3 = 21,
SERVICE_LORA_AS923_4 = 22
} |
|
|
LmHandlerErrorStatus_t | LmHandlerPackageRegister (uint8_t id, void *params) |
|
bool | LmHandlerPackageIsInitialized (uint8_t id) |
|
bool | LmHandlerPackageIsRunning (uint8_t id) |
|
void | LmHandlerPackagesProcess (void) |
|
int32_t | service_lora_init (SERVICE_LORA_BAND band) |
|
SERVICE_LORA_BAND | service_lora_get_band (void) |
|
int32_t | service_lora_set_band (SERVICE_LORA_BAND band) |
|
int32_t | service_lora_get_app_eui (uint8_t *buff, uint32_t len) |
|
int32_t | service_lora_set_app_eui (uint8_t *buff, uint32_t len) |
|
int32_t | service_lora_get_app_key (uint8_t *buff, uint32_t len) |
|
int32_t | service_lora_set_app_key (uint8_t *buff, uint32_t len) |
|
int32_t | service_lora_get_app_skey (uint8_t *buff, uint32_t len) |
|
int32_t | service_lora_set_app_skey (uint8_t *buff, uint32_t len) |
|
int32_t | service_lora_get_dev_addr (uint8_t *buff, uint32_t len) |
|
int32_t | service_lora_set_dev_addr (uint8_t *buff, uint32_t len) |
|
int32_t | service_lora_get_dev_eui (uint8_t *buff, uint32_t len) |
|
int32_t | service_lora_set_dev_eui (uint8_t *buff, uint32_t len) |
|
int32_t | service_lora_get_net_id (uint8_t *buff, uint32_t len) |
|
int32_t | service_lora_set_nwk_id (uint8_t *buff, uint32_t len) |
|
int32_t | service_lora_get_nwk_skey (uint8_t *buff, uint32_t len) |
|
int32_t | service_lora_set_nwk_skey (uint8_t *buff, uint32_t len) |
|
int32_t | service_lora_get_McRoot_key (uint8_t *buff) |
|
int32_t | service_lora_set_lora_default (void) |
|
uint8_t | service_lora_get_retry (void) |
|
int32_t | service_lora_set_retry (uint8_t retry) |
|
SERVICE_LORA_CONFIRM_MODE | service_lora_get_cfm (void) |
|
int32_t | service_lora_set_cfm (SERVICE_LORA_CONFIRM_MODE cfm) |
|
bool | service_lora_get_cfs (void) |
|
int32_t | service_lora_join (int32_t param1, int32_t param2, int32_t param3, int32_t param4) |
|
SERVICE_LORA_WORK_MODE | service_lora_get_nwm (void) |
|
int32_t | service_lora_set_nwm (SERVICE_LORA_WORK_MODE nwm) |
|
SERVICE_LORA_JOIN_MODE | service_lora_get_njm (void) |
|
int32_t | service_lora_set_njm (SERVICE_LORA_JOIN_MODE njm, bool commit) |
|
bool | service_lora_get_njs (void) |
|
int32_t | service_lora_send (uint8_t *buff, uint32_t len, SERVICE_LORA_SEND_INFO info, bool blocking) |
|
bool | service_lora_get_adr (void) |
|
int32_t | service_lora_set_adr (bool adr, bool commit) |
|
SERVICE_LORA_CLASS | service_lora_get_class (void) |
|
SERVICE_LORA_CLASS | service_lora_get_real_class_from_stack (void) |
|
int32_t | service_lora_set_class (SERVICE_LORA_CLASS device_class, bool commit) |
|
bool | service_lora_get_dcs (void) |
|
int32_t | service_lora_set_dcs (uint8_t dutycycle, bool commit) |
|
SERVICE_LORA_DATA_RATE | service_lora_get_dr (void) |
|
int32_t | service_lora_set_dr (SERVICE_LORA_DATA_RATE dr, bool commit) |
|
uint32_t | service_lora_get_jn1dl (void) |
|
int32_t | service_lora_set_jn1dl (uint32_t jn1dl, bool commit) |
|
uint32_t | service_lora_get_jn2dl (void) |
|
int32_t | service_lora_set_jn2dl (uint32_t jn2dl, bool commit) |
|
bool | service_lora_get_pub_nwk_mode (void) |
|
int32_t | service_lora_set_pub_nwk_mode (bool pnm, bool commit) |
|
uint32_t | service_lora_get_rx1dl (void) |
|
int32_t | service_lora_set_rx1dl (uint32_t rx1dl, bool commit) |
|
uint32_t | service_lora_get_rx2dl (void) |
|
int32_t | service_lora_set_rx2dl (uint32_t rx2dl, bool commit) |
|
uint8_t | service_lora_get_txpower (void) |
|
int32_t | service_lora_set_txpower (uint8_t txp, bool commit) |
|
uint8_t | service_lora_get_ping_slot_periodicity (void) |
|
int32_t | service_lora_set_ping_slot_periodicity (uint8_t periodicity) |
|
uint32_t | service_lora_get_beacon_freq (void) |
|
uint32_t | service_lora_get_beacon_time (void) |
|
int16_t | service_lora_get_rssi (void) |
|
int8_t | service_lora_get_snr (void) |
|
int32_t | service_lora_get_local_time (char *local_time) |
|
uint32_t | service_lora_get_lorawan_version (char **version) |
|
uint32_t | service_lora_get_rx2freq (void) |
|
uint32_t | service_lora_set_rx2freq (uint32_t freq, bool commit) |
|
uint32_t | service_lora_set_rx2dr (SERVICE_LORA_DATA_RATE datarate, bool commit) |
|
SERVICE_LORA_DATA_RATE | service_lora_get_rx2dr (void) |
|
int32_t | service_lora_set_linkcheck (uint8_t mode) |
|
uint8_t | service_lora_get_linkcheck (void) |
|
void | service_lora_lptp_send_callback (int status) |
|
int32_t | service_lora_lptp_send (uint8_t port, bool ack, uint8_t *p_data, uint16_t len) |
|
bool | service_lora_get_join_start (void) |
|
int32_t | service_lora_set_join_start (bool join_start) |
|
bool | service_lora_get_auto_join (void) |
|
int32_t | service_lora_set_auto_join (bool auto_join) |
|
uint32_t | service_lora_get_auto_join_period (void) |
|
int32_t | service_lora_set_auto_join_period (uint32_t auto_join_period) |
|
uint32_t | service_lora_get_auto_join_max_cnt (void) |
|
int32_t | service_lora_set_auto_join_max_cnt (uint32_t auto_join_period) |
|
int32_t | service_lora_get_last_recv (uint8_t *port, uint8_t *buff, uint32_t len) |
|
int32_t | service_lora_set_che (uint8_t sub_band) |
|
int32_t | service_lora_get_che (void) |
|
beacon_bgw_t | service_lora_get_beacon_gwspecific (void) |
|
int32_t | service_lora_get_chs (void) |
|
int32_t | service_lora_set_chs (uint32_t frequency) |
|
int32_t | service_lora_register_recv_cb (service_lora_recv_cb callback) |
|
int32_t | service_lora_register_join_cb (service_lora_join_cb callback) |
|
int32_t | service_lora_register_send_cb (service_lora_send_cb callback) |
|
uint32_t | service_lora_get_beacon_dr (void) |
|
SERVICE_LORA_CLASS_B_STATE | service_lora_get_class_b_state (void) |
|
int32_t | service_lora_query_txPossible (int16_t len) |
|
void | service_lora_suspend (void) |
|
void | service_lora_resume (void) |
|
uint8_t | service_lora_get_timereq (void) |
|
int32_t | service_lora_set_timereq (uint8_t mode) |
|
void | service_lora_systemMaxRxError (void) |
|
int32_t | service_lora_get_lbt () |
|
int32_t | service_lora_set_lbt (uint8_t enable) |
|
int16_t | service_lora_get_lbt_rssi () |
|
int32_t | service_lora_set_lbt_rssi (int16_t rssi) |
|
uint32_t | service_lora_get_lbt_scantime () |
|
int32_t | service_lora_set_lbt_scantime (uint32_t time) |
|
Provide LoRa service layer for API layer to use.
- Author
- Rakwireless
- Version
- 0.0.0
- Date
- 2021.5