Demo HCI Implementation for WiMOD-LR Devices  V2.0.3
WiMOD_SAP_DEVMGMT_ProLink.h
Go to the documentation of this file.
1 /*
2  * WiMOD_SAP_DEVMGMT_ProLink.h
3  *
4  * Created on: Jan 3, 2022
5  * Author: tux
6  */
7 
8 //------------------------------------------------------------------------------
38 //------------------------------------------------------------------------------
39 
40 
41 
42 #ifndef ARDUINO_SAP_WIMOD_SAP_DEVMGMT_PROLINK_H_
43 #define ARDUINO_SAP_WIMOD_SAP_DEVMGMT_PROLINK_H_
44 
45 
46 //------------------------------------------------------------------------------
47 //
48 // Section Includes Files
49 //
50 //------------------------------------------------------------------------------
51 
54 
55 //------------------------------------------------------------------------------
56 //
57 // Section class
58 //
59 //------------------------------------------------------------------------------
60 
65 {
66 public:
67  WiMOD_SAP_DevMgmt_ProLink(TWiMODLRHCI* hci, UINT8* buffer, UINT16 bufferSize);
68  virtual ~WiMOD_SAP_DevMgmt_ProLink(void);
69 
70 
71  virtual TWiMODLRResultCodes SetRadioStack(const TRadioStack_Mode& stackMode, UINT8* statusRsp);
72  virtual TWiMODLRResultCodes GetRadioStack(TRadioStack_Mode* stackMode, UINT8* statusRsp);
73 
74  virtual TWiMODLRResultCodes SetDeviceConfig(const TProLinkDeviceConfig& config, UINT8* statusRsp);
75  virtual TWiMODLRResultCodes GetDeviceConfig(TProLinkDeviceConfig* config, UINT8* statusRsp);
76 
77  virtual TWiMODLRResultCodes ResetDeviceConfig(UINT8* statusRsp);
78 
79  virtual TWiMODLRResultCodes GetDeviceStatus(TProLinkDeviceStatus* devStatus, UINT8* statusRsp);
80  /* deprecated / unsupported by now*/
81  virtual TWiMODLRResultCodes GetSystemStatus(TWiMODLR_DevMgmt_SystemStatus* info, UINT8* statusRsp);
82 
83 protected:
84  TWiMODLRResultCodes unsupportedCmd(UINT8* statusRsp);
85 
86 
87 };
88 
89 
90 
91 #endif /* ARDUINO_SAP_WIMOD_SAP_DEVMGMT_PROLINK_H_ */
WiMOD_SAP_DEVMGMT_Lorawan.h
DEVMGMT_SAP_ID
#define DEVMGMT_SAP_ID
Definition: WiMOD_SAP_DEVMGMT_IDs.h:61
TWiMODLRHCI
Internal helper class for processing SLIP frames.
Definition: WiMODLRHCI.h:235
WiMODLR_RESULT_TRANMIT_ERROR
@ WiMODLR_RESULT_TRANMIT_ERROR
Definition: WiMODLRHCI.h:154
TWiMODLR_HCIMessage
basic low level HCI message structure used for all serial messages to/from WiMOD
Definition: WiMODLRHCI.h:120
WiMODLR_RESULT_OK
@ WiMODLR_RESULT_OK
Definition: WiMODLRHCI.h:151
TWiMODLR_HCIMessage::Payload
UINT8 Payload[WIMODLR_HCI_MSG_PAYLOAD_SIZE]
Definition: WiMODLRHCI.h:132
TWiMODLRResultCodes
TWiMODLRResultCodes
Result codes for the local serial communication itself.
Definition: WiMODLRHCI.h:149
WiMOD_SAP_DevMgmt_Lorawan
Implementation for the ServiceAccessPoint DeviceManagement.
Definition: WiMOD_SAP_DEVMGMT_Lorawan.h:63
TWiMODLR_DevMgmt_SystemStatus
Basic information about system status of the WiMOD.
Definition: WiMOD_SAP_DEVMGMT_IDs.h:234