Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: modem_ref_helper_for_v5_3_217
alp_lwan.h
00001 // ======================================================================= 00002 /// @file alp.h 00003 /// @defgroup ALP 00004 // ======================================================================= 00005 00006 //====================================================================== 00007 //====================================================================== 00008 // LWAN Interface 00009 //====================================================================== 00010 //====================================================================== 00011 00012 #ifndef __ALP_LWAN_H__ 00013 #define __ALP_LWAN_H__ 00014 00015 #include "hal_types.h" 00016 00017 #include "alp.h" 00018 00019 #include "lora.h" // TODO cleanup lora headers 00020 00021 #define ALP_LWAN_ISTAT_NONE 0 00022 #define ALP_LWAN_ISTAT_UNS (1<<0) 00023 #define ALP_LWAN_ISTAT_RESP (1<<1) 00024 00025 typedef enum 00026 { 00027 // LoRaWAN device class A 00028 // LoRaWAN Specification V1.0, chapter 3ff 00029 LWAN_CLASS_A, 00030 // LoRaWAN device class B 00031 // LoRaWAN Specification V1.0, chapter 8ff 00032 LWAN_CLASS_B, 00033 // LoRaWAN device class C 00034 // LoRaWAN Specification V1.0, chapter 17ff 00035 LWAN_CLASS_C, 00036 }lwan_dev_class_t; 00037 00038 TYPEDEF_STRUCT_PACKED { 00039 u8 type; 00040 lwan_cfg_t cfg; 00041 } lwan_itf_cfg_t; 00042 #define FS_LWAN_ITF_SIZE (sizeof(lwan_itf_cfg_t)) 00043 #endif // __ALP_LWAN_H__
Generated on Wed Jul 20 2022 12:33:07 by
