calypso  2.1.0.0
Macros
Calypso Device Settings

Settings for registers of Calypso Click driver. More...

Macros

#define CALYPSO_CMD_AT   "AT"
 Calypso control commands. More...
 
#define CALYPSO_CMD_AT_START   "AT+start"
 
#define CALYPSO_CMD_AT_TEST   "AT+test"
 
#define CALYPSO_CMD_AT_REBOOT   "AT+reboot"
 
#define CALYPSO_CMD_AT_GET   "AT+get"
 
#define CALYPSO_CMD_AT_SET   "AT+set"
 
#define CALYPSO_CMD_AT_WLAN_SET_MODE   "AT+wlanSetMode"
 
#define CALYPSO_CMD_AT_WLAN_SCAN   "AT+wlanScan"
 
#define CALYPSO_CMD_AT_WLAN_CONNECT   "AT+wlanConnect"
 
#define CALYPSO_CMD_AT_WLAN_DISCONNECT   "AT+wlanDisconnect"
 
#define CALYPSO_CMD_AT_WLAN_PROFILE_ADD   "AT+wlanProfileAdd"
 
#define CALYPSO_CMD_AT_WLAN_PROFILE_GET   "AT+wlanProfileGet"
 
#define CALYPSO_CMD_AT_WLAN_PROFILE_DEL   "AT+wlanProfileDel"
 
#define CALYPSO_CMD_AT_WLAN_SET   "AT+wlanSet"
 
#define CALYPSO_CMD_AT_WLAN_GET   "AT+wlanGet"
 
#define CALYPSO_CMD_AT_WLAN_POLICY_SET   "AT+wlanPolicySet"
 
#define CALYPSO_CMD_AT_WLAN_POLICY_GET   "AT+wlanPolicyGet"
 
#define CALYPSO_CMD_AT_NET_CFG_SET   "AT+netCfgSet"
 
#define CALYPSO_CMD_AT_NET_CFG_GET   "AT+netCfgGet"
 
#define CALYPSO_CMD_AT_SOCKET   "AT+socket"
 
#define CALYPSO_CMD_AT_CLOSE   "AT+close"
 
#define CALYPSO_CMD_AT_BIND   "AT+bind"
 
#define CALYPSO_CMD_AT_LISTEN   "AT+listen"
 
#define CALYPSO_CMD_AT_CONNECT   "AT+connect"
 
#define CALYPSO_CMD_AT_ACCEPT   "AT+accept"
 
#define CALYPSO_CMD_AT_SELECT   "AT+select"
 
#define CALYPSO_CMD_AT_SET_SOCK_OPT   "AT+setSockOpt"
 
#define CALYPSO_CMD_AT_GET_SOCK_OPT   "AT+getSockOpt"
 
#define CALYPSO_CMD_AT_RECV   "AT+recv"
 
#define CALYPSO_CMD_AT_RECV_FROM   "AT+recvFrom"
 
#define CALYPSO_CMD_AT_SEND   "AT+send"
 
#define CALYPSO_CMD_AT_SEND_TO   "AT+sendTo"
 
#define CALYPSO_CMD_AT_GPIO_GET   "AT+gpioGet"
 
#define CALYPSO_CMD_AT_GPIO_SET   "AT+gpioSet"
 
#define CALYPSO_RSP_OK   "OK"
 Calypso response codes. More...
 
#define CALYPSO_RSP_ERROR   "ERROR"
 
#define CALYPSO_RSP_READY   "+eventstartup"
 
#define CALYPSO_RSP_CONNECTED   "+eventwlan:connect"
 
#define CALYPSO_APP_MODE_AT_COMMAND   0x00
 Calypso APP mode settings. More...
 
#define CALYPSO_APP_MODE_OTA   0x01
 
#define CALYPSO_APP_MODE_PROVISIONIG   0x02
 
#define CALYPSO_APP_MODE_TRANSPARENT   0x03
 
#define CALYPSO_REG_INPUT_PORT   0x00
 Calypso Port expander register address settings. More...
 
#define CALYPSO_REG_OUTPUT_PORT   0x01
 
#define CALYPSO_REG_POLARITY_INVERSION   0x02
 
#define CALYPSO_REG_CONFIGURATION   0x03
 
#define CALYPSO_TX_DRV_BUFFER_SIZE   256
 Calypso driver buffer size. More...
 
#define CALYPSO_RX_DRV_BUFFER_SIZE   256
 
#define CALYPSO_PIN_NONE_MASK   0x00
 Calypso driver buffer size. More...
 
#define CALYPSO_PIN_ALL_MASK   0x0F
 
#define CALYPSO_PIN_AP0_MASK   0x01
 
#define CALYPSO_PIN_AP1_MASK   0x02
 
#define CALYPSO_PIN_BOOT_MASK   0x04
 
#define CALYPSO_PIN_RM2_MASK   0x08
 
#define CALYPSO_PIN_STATE_HIGH   0x01
 Calypso pin states. More...
 
#define CALYPSO_PIN_STATE_LOW   0x00
 
#define CALYPSO_DEVICE_ADDRESS   0x41
 Calypso device address setting. More...
 

Detailed Description

Settings for registers of Calypso Click driver.

Macro Definition Documentation

◆ CALYPSO_APP_MODE_AT_COMMAND

#define CALYPSO_APP_MODE_AT_COMMAND   0x00

Calypso APP mode settings.

Specified APP mode settings of Calypso Click driver.

◆ CALYPSO_APP_MODE_OTA

#define CALYPSO_APP_MODE_OTA   0x01

◆ CALYPSO_APP_MODE_PROVISIONIG

#define CALYPSO_APP_MODE_PROVISIONIG   0x02

◆ CALYPSO_APP_MODE_TRANSPARENT

#define CALYPSO_APP_MODE_TRANSPARENT   0x03

◆ CALYPSO_CMD_AT

#define CALYPSO_CMD_AT   "AT"

Calypso control commands.

Specified setting for control commands of Calypso Click driver.

◆ CALYPSO_CMD_AT_ACCEPT

#define CALYPSO_CMD_AT_ACCEPT   "AT+accept"

◆ CALYPSO_CMD_AT_BIND

#define CALYPSO_CMD_AT_BIND   "AT+bind"

◆ CALYPSO_CMD_AT_CLOSE

#define CALYPSO_CMD_AT_CLOSE   "AT+close"

◆ CALYPSO_CMD_AT_CONNECT

#define CALYPSO_CMD_AT_CONNECT   "AT+connect"

◆ CALYPSO_CMD_AT_GET

#define CALYPSO_CMD_AT_GET   "AT+get"

◆ CALYPSO_CMD_AT_GET_SOCK_OPT

#define CALYPSO_CMD_AT_GET_SOCK_OPT   "AT+getSockOpt"

◆ CALYPSO_CMD_AT_GPIO_GET

#define CALYPSO_CMD_AT_GPIO_GET   "AT+gpioGet"

◆ CALYPSO_CMD_AT_GPIO_SET

#define CALYPSO_CMD_AT_GPIO_SET   "AT+gpioSet"

◆ CALYPSO_CMD_AT_LISTEN

#define CALYPSO_CMD_AT_LISTEN   "AT+listen"

◆ CALYPSO_CMD_AT_NET_CFG_GET

#define CALYPSO_CMD_AT_NET_CFG_GET   "AT+netCfgGet"

◆ CALYPSO_CMD_AT_NET_CFG_SET

#define CALYPSO_CMD_AT_NET_CFG_SET   "AT+netCfgSet"

◆ CALYPSO_CMD_AT_REBOOT

#define CALYPSO_CMD_AT_REBOOT   "AT+reboot"

◆ CALYPSO_CMD_AT_RECV

#define CALYPSO_CMD_AT_RECV   "AT+recv"

◆ CALYPSO_CMD_AT_RECV_FROM

#define CALYPSO_CMD_AT_RECV_FROM   "AT+recvFrom"

◆ CALYPSO_CMD_AT_SELECT

#define CALYPSO_CMD_AT_SELECT   "AT+select"

◆ CALYPSO_CMD_AT_SEND

#define CALYPSO_CMD_AT_SEND   "AT+send"

◆ CALYPSO_CMD_AT_SEND_TO

#define CALYPSO_CMD_AT_SEND_TO   "AT+sendTo"

◆ CALYPSO_CMD_AT_SET

#define CALYPSO_CMD_AT_SET   "AT+set"

◆ CALYPSO_CMD_AT_SET_SOCK_OPT

#define CALYPSO_CMD_AT_SET_SOCK_OPT   "AT+setSockOpt"

◆ CALYPSO_CMD_AT_SOCKET

#define CALYPSO_CMD_AT_SOCKET   "AT+socket"

◆ CALYPSO_CMD_AT_START

#define CALYPSO_CMD_AT_START   "AT+start"

◆ CALYPSO_CMD_AT_TEST

#define CALYPSO_CMD_AT_TEST   "AT+test"

◆ CALYPSO_CMD_AT_WLAN_CONNECT

#define CALYPSO_CMD_AT_WLAN_CONNECT   "AT+wlanConnect"

◆ CALYPSO_CMD_AT_WLAN_DISCONNECT

#define CALYPSO_CMD_AT_WLAN_DISCONNECT   "AT+wlanDisconnect"

◆ CALYPSO_CMD_AT_WLAN_GET

#define CALYPSO_CMD_AT_WLAN_GET   "AT+wlanGet"

◆ CALYPSO_CMD_AT_WLAN_POLICY_GET

#define CALYPSO_CMD_AT_WLAN_POLICY_GET   "AT+wlanPolicyGet"

◆ CALYPSO_CMD_AT_WLAN_POLICY_SET

#define CALYPSO_CMD_AT_WLAN_POLICY_SET   "AT+wlanPolicySet"

◆ CALYPSO_CMD_AT_WLAN_PROFILE_ADD

#define CALYPSO_CMD_AT_WLAN_PROFILE_ADD   "AT+wlanProfileAdd"

◆ CALYPSO_CMD_AT_WLAN_PROFILE_DEL

#define CALYPSO_CMD_AT_WLAN_PROFILE_DEL   "AT+wlanProfileDel"

◆ CALYPSO_CMD_AT_WLAN_PROFILE_GET

#define CALYPSO_CMD_AT_WLAN_PROFILE_GET   "AT+wlanProfileGet"

◆ CALYPSO_CMD_AT_WLAN_SCAN

#define CALYPSO_CMD_AT_WLAN_SCAN   "AT+wlanScan"

◆ CALYPSO_CMD_AT_WLAN_SET

#define CALYPSO_CMD_AT_WLAN_SET   "AT+wlanSet"

◆ CALYPSO_CMD_AT_WLAN_SET_MODE

#define CALYPSO_CMD_AT_WLAN_SET_MODE   "AT+wlanSetMode"

◆ CALYPSO_DEVICE_ADDRESS

#define CALYPSO_DEVICE_ADDRESS   0x41

Calypso device address setting.

Specified setting for device slave address selection of Calypso Click driver.

◆ CALYPSO_PIN_ALL_MASK

#define CALYPSO_PIN_ALL_MASK   0x0F

◆ CALYPSO_PIN_AP0_MASK

#define CALYPSO_PIN_AP0_MASK   0x01

◆ CALYPSO_PIN_AP1_MASK

#define CALYPSO_PIN_AP1_MASK   0x02

◆ CALYPSO_PIN_BOOT_MASK

#define CALYPSO_PIN_BOOT_MASK   0x04

◆ CALYPSO_PIN_NONE_MASK

#define CALYPSO_PIN_NONE_MASK   0x00

Calypso driver buffer size.

Specified size of driver ring buffer.

Note
Increase buffer size if needed.

◆ CALYPSO_PIN_RM2_MASK

#define CALYPSO_PIN_RM2_MASK   0x08

◆ CALYPSO_PIN_STATE_HIGH

#define CALYPSO_PIN_STATE_HIGH   0x01

Calypso pin states.

Specified pin states of Calypso Click driver.

◆ CALYPSO_PIN_STATE_LOW

#define CALYPSO_PIN_STATE_LOW   0x00

◆ CALYPSO_REG_CONFIGURATION

#define CALYPSO_REG_CONFIGURATION   0x03

◆ CALYPSO_REG_INPUT_PORT

#define CALYPSO_REG_INPUT_PORT   0x00

Calypso Port expander register address settings.

Specified Port expander register address settings of Calypso Click driver.

◆ CALYPSO_REG_OUTPUT_PORT

#define CALYPSO_REG_OUTPUT_PORT   0x01

◆ CALYPSO_REG_POLARITY_INVERSION

#define CALYPSO_REG_POLARITY_INVERSION   0x02

◆ CALYPSO_RSP_CONNECTED

#define CALYPSO_RSP_CONNECTED   "+eventwlan:connect"

◆ CALYPSO_RSP_ERROR

#define CALYPSO_RSP_ERROR   "ERROR"

◆ CALYPSO_RSP_OK

#define CALYPSO_RSP_OK   "OK"

Calypso response codes.

Specified response codes of Calypso Click driver.

◆ CALYPSO_RSP_READY

#define CALYPSO_RSP_READY   "+eventstartup"

◆ CALYPSO_RX_DRV_BUFFER_SIZE

#define CALYPSO_RX_DRV_BUFFER_SIZE   256

◆ CALYPSO_TX_DRV_BUFFER_SIZE

#define CALYPSO_TX_DRV_BUFFER_SIZE   256

Calypso driver buffer size.

Specified size of driver ring buffer.

Note
Increase buffer size if needed.