8 #ifndef ARDUINO_HWTEST_WIMODLR_TEST_H_ 9 #define ARDUINO_HWTEST_WIMODLR_TEST_H_ 14 #include "HwTest/WiMOD_SAP_PTS.h" 15 #include "utils/FreqCalc.h" 21 #define WIMOD_LR_TEST_SERIAL_BAUDRATE 115200 23 #define WiMOD_LR_TEST_TX_BUFFER_SIZE 100 32 WiMODLRTEST(Stream& s);
41 bool SetApplicationMode(
TWiMDLRResultCodes* hciResult = NULL, UINT8* rspStatus = NULL);
44 bool SetDigitalOutput(UINT8* msg, UINT8 msgLen,
TWiMDLRResultCodes* hciResult = NULL, UINT8* rspStatus = NULL);
45 bool SetRadioTestMode(
const TWiMODTEST_PTS_TestConfig* testCfg,
TWiMDLRResultCodes* hciResult = NULL, UINT8* rspStatus = NULL);
47 void calcFreqToRegister(uint32_t freq, uint8_t* msb, uint8_t* mid, uint8_t* lsb);
48 uint32_t calcRegisterToFreq(uint8_t msb, uint8_t mid, uint8_t lsb);
51 UINT8 GetLastResponseStatus(
void);
55 bool copyResultInfos(
TWiMDLRResultCodes* hciResult, UINT8* rspStatus, UINT8 successValue);
64 UINT8 txBuffer[WiMOD_LR_BASE_TX_BUFFER_SIZE];
TWiMDLRResultCodes
Result codes for the local serial communication itself.
Definition: WiMODLRHCI.h:149
basic low level HCI message structure used for all serial messages to/from WiMOD
Definition: WiMODLRHCI.h:120
Internal helper class for processing SLIP frames.
Definition: WiMODLRHCI.h:229
Implementation for the ServiceAccessPoint DeviceManagement.
Definition: WiMOD_SAP_DEVMGMT.h:109
virtual void end(void)
shutdown function
Definition: WiMODLRHCI.cpp:98
Declarations for the High-level Interface for WiMOD LR-Base firmware.
virtual void begin(void)
Init function of the generic HCI message handler.
Definition: WiMODLRHCI.cpp:83