#include "utils/WMDefs.h"
#include <string.h>
#include "utils/ComSLIP.h"
#include "Arduino.h"
Go to the source code of this file.
◆ WIMODLR_RESPOMSE_TIMEOUT_MS
| #define WIMODLR_RESPOMSE_TIMEOUT_MS 1000; |
default timeout in ms for waiting for a response msg from WiMOD
◆ WIMODLR_SERIAL_BAUDRATE
| #define WIMODLR_SERIAL_BAUDRATE 115200 |
default serial baudrate to communicate with a WiMOD module
◆ TWiMODLRResultCodes
Result codes for the local serial communication itself.
| Enumerator |
|---|
| WiMODLR_RESULT_OK | OK, no error
|
| WiMODLR_RESULT_PAYLOAD_LENGTH_ERROR | given payload is too big
|
| WiMODLR_RESULT_PAYLOAD_PTR_ERROR | wrong pointer to payload (NULL?)
|
| WiMODLR_RESULT_TRANMIT_ERROR | Error sending data to WiMOD via serial interface
|
| WiMODLR_RESULT_SLIP_ENCODER_ERROR | Error during SLIP encoding
|
| WiMODLR_RESULT_NO_RESPONSE | The WiMOD did not respond to a request command
|
◆ TWiMODStackError
Internal error reasons; not to be used in user code.
| Enumerator |
|---|
| WIMOD_STACK_ERR_UNKNOWN_RX_MESSAGE | rx message is not processed
|
| WIMOD_STACK_ERR_UNKNOWN_RX_SAP_ID | unknown SAP-ID
|
| WIMOD_STACK_ERR_UNKNOWN_RX_CMD_ID | unknown CMD-ID
|