nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
slm_defines.h File Reference
#include <nrf_socket.h>
#include "slm_trap_macros.h"

Go to the source code of this file.

Macros

#define INVALID_SOCKET   -1
 
#define INVALID_SEC_TAG   -1
 
#define INVALID_ROLE   -1
 
#define INVALID_DTLS_CID   -1
 
#define SLM_AT_MAX_CMD_LEN   4096
 
#define SLM_AT_MAX_RSP_LEN   2100
 
#define SLM_MAX_PAYLOAD_SIZE   1024 /** max size of payload sent in command mode */
 
#define SLM_MAX_MESSAGE_SIZE   NRF_SOCKET_TLS_MAX_MESSAGE_SIZE
 
#define SLM_MAX_URL   128 /** max size of URL string */
 
#define SLM_MAX_FILEPATH   128 /** max size of filepath string */
 
#define SLM_MAX_USERNAME   32 /** max size of username in login */
 
#define SLM_MAX_PASSWORD   32 /** max size of password in login */
 
#define SLM_NRF52_BLK_SIZE   4096 /** nRF52 flash block size for write operation */
 
#define SLM_NRF52_BLK_TIME   2000 /** nRF52 flash block write time in millisecond (1.x second) */
 
#define POWER_PIN_IS_ENABLED   (CONFIG_SLM_POWER_PIN != -1)
 
#define INDICATE_PIN_IS_ENABLED   (CONFIG_SLM_INDICATE_PIN != -1)
 

Enumerations

enum  { SILENT_AT_COMMAND_RET = __ELASTERROR }