LORAWAN ED Certification Application.
Copyright (c) 2018 Microchip Technology Inc. and its subsidiaries.
Functions | |
void | cert_app_init (void) |
Function to Initialize the Demo application. More... | |
void | cert_app_timer_callback (uint8_t param) |
StackRetStatus_t | cert_set_join_parameters (ActivationType_t activation_type) |
void cert_app_init | ( | void | ) |
Function to Initialize the Demo application.
Function to Initialize the Demo application.
References CERT_APP_ACTIVATION_TYPE, cert_appdata_callback(), cert_joindata_callback(), cert_select_band(), cert_set_join_parameters(), cert_set_mac_parameters(), certAppTimerId, LORAWAN_ABP, LORAWAN_Init(), LORAWAN_Join(), LORAWAN_OTAA, LORAWAN_SUCCESS, PDS_RestoreAll(), print_stack_status(), SwTimerCreate(), and tx_cw_timer.
Referenced by runCertApp().
void cert_app_timer_callback | ( | uint8_t | param | ) |
References bTxCnf, _LorawanSendReq::buffer, _LorawanSendReq::bufferLength, CERT_APP_FPORT, cert_app_timer_callback(), certAppTimeout, certAppTimerId, clear_linkcheck, cnfTxInProgress, _LorawanSendReq::confirmed, CURRENT_DATARATE, LINK_CHECK_PERIOD, LORAWAN_GetAttr(), LORAWAN_Send(), LORAWAN_SetAttr(), LORAWAN_SUCCESS, MS_TO_US, NULL, pktRxd, _LorawanSendReq::port, print_array(), print_stack_status(), sendData, sendDataLen, sendFport, SW_TIMEOUT_RELATIVE, SwTimerStart(), and UPLINK_COUNTER.
Referenced by cert_app_timer_callback(), cert_joindata_callback(), and enddevice_cpc_execute_command().
StackRetStatus_t cert_set_join_parameters | ( | ActivationType_t | activation_type | ) |
References ACTIVATION_BY_PERSONALIZATION, APP_KEY, appKey, APPS_KEY, appsKey, bandTable, CRYPTODEVICE_ENABLED, current_band, CURRENT_DATARATE, DEV_ADDR, DEV_EUI, devAddr, devEui, DR0, DR2, ISM_JPN923, ISM_THAI923, JOIN_EUI, joinEui, LORAWAN_SetAttr(), LORAWAN_SUCCESS, NWKS_KEY, nwksKey, and print_array().
Referenced by cert_app_init().