documentation
.HELP!
WINC1500 IoT Software API Documentation
WINC1500 IoT Software APIs: SSL
WINC1500 IoT Software API
previous page
next page
WINC1500 IoT Software APIs
19.5.2
WINC Software API Reference Manual
Modules
SSL
Modules
Enumeration/Typedefs
Functions
Detailed Description
Generated on Thu Jan 26 2017 22:15:21 for WINC1500 IoT Software APIs by
1.8.13
previous page
start
next page
Menu
Homepage
Table of contents
WINC1500 API Reference Manual
Introduction
WINC1500 ASIC
WINC1500 Firmware Driver Architecture
IoT Application Software Configuration
Wi-Fi Software API Files
License
Modules
SSL
Enumeration/Typedefs
tpfAppSSLCb
Functions
m2m_ssl_init
m2m_ssl_handshake_rsp
m2m_ssl_send_certs_to_winc
m2m_ssl_retrieve_cert
m2m_ssl_retrieve_hash
m2m_ssl_stop_processing_certs
m2m_ssl_ecc_process_done
m2m_ssl_set_active_ciphersuites
WLAN
Defines
CommonDefines
M2M_TIME_OUT_DELAY
M2M_SUCCESS
M2M_ERR_SEND
M2M_ERR_RCV
M2M_ERR_MEM_ALLOC
M2M_ERR_TIME_OUT
M2M_ERR_INIT
M2M_ERR_BUS_FAIL
M2M_NOT_YET
M2M_ERR_FIRMWARE
M2M_SPI_FAIL
M2M_ERR_FIRMWARE_bURN
M2M_ACK
M2M_ERR_FAIL
M2M_ERR_FW_VER_MISMATCH
M2M_ERR_SCAN_IN_PROGRESS
M2M_ERR_INVALID_ARG
M2M_ERR_INVALID
I2C_ERR_LARGE_ADDRESS
I2C_ERR_TX_ABRT
I2C_ERR_OVER_SIZE
ERR_PREFIX_NMIS
ERR_FIRMEWARE_EXCEED_SIZE
PROGRAM_START
BOOT_SUCCESS
BOOT_START
NBIT31
NBIT30
NBIT29
NBIT28
NBIT27
NBIT26
NBIT25
NBIT24
NBIT23
NBIT22
NBIT21
NBIT20
NBIT19
NBIT18
NBIT17
NBIT16
NBIT15
NBIT14
NBIT13
NBIT12
NBIT11
NBIT10
NBIT9
NBIT8
NBIT7
NBIT6
NBIT5
NBIT4
NBIT3
NBIT2
NBIT1
NBIT0
M2M_MAX
M2M_SEL
WORD_ALIGN
DATA_PKT_OFFSET
BYTE_0
BYTE_1
BYTE_2
BYTE_3
M2M_MAJOR_SHIFT
M2M_MINOR_SHIFT
M2M_PATCH_SHIFT
M2M_DRV_VERSION_SHIFT
M2M_FW_VERSION_SHIFT
M2M_GET_MAJOR
M2M_GET_MINOR
M2M_GET_PATCH
M2M_GET_FW_VER
M2M_GET_DRV_VER
M2M_GET_DRV_MAJOR
M2M_GET_DRV_MINOR
M2M_GET_DRV_PATCH
M2M_GET_FW_MAJOR
M2M_GET_FW_MINOR
M2M_GET_FW_PATCH
M2M_MAKE_VERSION
M2M_MAKE_VERSION_INFO
REL_19_5_2_VER
REL_19_5_1_VER
REL_19_5_0_VER
REL_19_4_6_VER
REL_19_4_5_VER
REL_19_4_4_VER
REL_19_4_3_VER
REL_19_4_2_VER
REL_19_4_1_VER
REL_19_4_0_VER
REL_19_3_1_VER
REL_19_3_0_VER
REL_19_2_2_VER
REL_19_2_1_VER
REL_19_2_0_VER
REL_19_1_0_VER
REL_19_0_0_VER
M2M_RELEASE_VERSION_MAJOR_NO
M2M_RELEASE_VERSION_MINOR_NO
M2M_RELEASE_VERSION_PATCH_NO
M2M_RELEASE_VERSION_SVN_VERSION
M2M_MIN_REQ_DRV_VERSION_MAJOR_NO
M2M_MIN_REQ_DRV_VERSION_MINOR_NO
M2M_MIN_REQ_DRV_VERSION_PATCH_NO
M2M_MIN_REQ_DRV_SVN_VERSION
M2M_BUFFER_MAX_SIZE
M2M_MAC_ADDRES_LEN
M2M_ETHERNET_HDR_OFFSET
M2M_ETHERNET_HDR_LEN
M2M_MAX_SSID_LEN
M2M_MAX_PSK_LEN
M2M_MIN_PSK_LEN
M2M_DEVICE_NAME_MAX
M2M_LISTEN_INTERVAL
MAX_HIDDEN_SITES
M2M_1X_USR_NAME_MAX
M2M_1X_PWD_MAX
M2M_CUST_IE_LEN_MAX
PWR_DEFAULT
M2M_CONFIG_CMD_BASE
M2M_STA_CMD_BASE
M2M_AP_CMD_BASE
M2M_P2P_CMD_BASE
M2M_SERVER_CMD_BASE
M2M_OTA_CMD_BASE
M2M_CRYPTO_CMD_BASE
M2M_MAX_GRP_NUM_REQ
WEP_40_KEY_STRING_SIZE
WEP_104_KEY_STRING_SIZE
WEP_KEY_MAX_INDEX
M2M_SHA256_CONTEXT_BUFF_LEN
M2M_SCAN_DEFAULT_NUM_SLOTS
M2M_SCAN_DEFAULT_SLOT_TIME
M2M_SCAN_DEFAULT_NUM_PROBE
TLS_FILE_NAME_MAX
TLS_SRV_SEC_MAX_FILES
TLS_SRV_SEC_START_PATTERN_LEN
OTA_STATUS_VALID
OTA_STATUS_INVALID
OTA_MAGIC_VALUE
M2M_MAGIC_APP
OTA_FORMAT_VER_0
OTA_FORMAT_VER_1
OTA_SHA256_DIGEST_SIZE
TLS_CRL_DATA_MAX_LEN
TLS_CRL_MAX_ENTRIES
TLS_CRL_TYPE_NONE
TLS_CRL_TYPE_CERT_HASH
tenuM2mDefaultConnErrcode
M2M_DEFAULT_CONN_INPROGRESS
M2M_DEFAULT_CONN_FAIL
M2M_DEFAULT_CONN_SCAN_MISMATCH
M2M_DEFAULT_CONN_EMPTY_LIST
Function
m2m_ota_init
m2m_ota_init
m2m_ota_notif_set_url
m2m_ota_notif_set_url
m2m_ota_notif_check_for_update
m2m_ota_notif_check_for_update
m2m_ota_notif_sched
m2m_ota_notif_sched
m2m_ota_start_update
m2m_ota_start_update
m2m_ota_start_update_crt
m2m_ota_rollback
m2m_ota_rollback
m2m_ota_rollback_crt
m2m_ota_abort
m2m_ota_abort
m2m_ota_switch_firmware
m2m_ota_switch_firmware
m2m_ota_switch_crt
m2m_ota_get_firmware_version
m2m_wifi_download_mode
m2m_wifi_download_mode
m2m_wifi_init
m2m_wifi_init
m2m_wifi_deinit
m2m_wifi_deinit
m2m_wifi_handle_events
m2m_wifi_handle_events
m2m_wifi_send_crl
m2m_wifi_send_crl
m2m_wifi_default_connect
m2m_wifi_default_connect
m2m_wifi_connect
m2m_wifi_connect
m2m_wifi_connect_sc
m2m_wifi_disconnect
m2m_wifi_disconnect
m2m_wifi_start_provision_mode
m2m_wifi_start_provision_mode
m2m_wifi_stop_provision_mode
m2m_wifi_stop_provision_mode
m2m_wifi_get_connection_info
m2m_wifi_get_connection_info
m2m_wifi_set_mac_address
m2m_wifi_set_mac_address
m2m_wifi_wps
m2m_wifi_wps
m2m_wifi_wps_disable
m2m_wifi_wps_disable
m2m_wifi_p2p
m2m_wifi_p2p
m2m_wifi_p2p_disconnect
m2m_wifi_p2p_disconnect
m2m_wifi_enable_ap
m2m_wifi_enable_ap
m2m_wifi_disable_ap
m2m_wifi_disable_ap
m2m_wifi_set_static_ip
m2m_wifi_set_static_ip
m2m_wifi_request_dhcp_client
m2m_wifi_request_dhcp_client
m2m_wifi_request_dhcp_server
m2m_wifi_request_dhcp_server
m2m_wifi_enable_dhcp
m2m_wifi_enable_dhcp
m2m_wifi_set_scan_options
m2m_wifi_set_scan_region
m2m_wifi_set_scan_region
m2m_wifi_request_scan
m2m_wifi_request_scan
m2m_wifi_request_scan_passive
m2m_wifi_request_scan_ssid_list
m2m_wifi_get_num_ap_found
m2m_wifi_get_num_ap_found
m2m_wifi_req_scan_result
m2m_wifi_req_scan_result
m2m_wifi_req_curr_rssi
m2m_wifi_req_curr_rssi
m2m_wifi_get_otp_mac_address
m2m_wifi_get_otp_mac_address
m2m_wifi_get_mac_address
m2m_wifi_get_mac_address
m2m_wifi_set_sleep_mode
m2m_wifi_set_sleep_mode
m2m_wifi_request_sleep
m2m_wifi_request_sleep
m2m_wifi_get_sleep_mode
m2m_wifi_get_sleep_mode
m2m_wifi_req_client_ctrl
m2m_wifi_req_client_ctrl
m2m_wifi_req_server_init
m2m_wifi_req_server_init
m2m_wifi_set_device_name
m2m_wifi_set_device_name
m2m_wifi_set_lsn_int
m2m_wifi_set_lsn_int
m2m_wifi_enable_monitoring_mode
m2m_wifi_enable_monitoring_mode
m2m_wifi_disable_monitoring_mode
m2m_wifi_disable_monitoring_mode
m2m_wifi_send_wlan_pkt
m2m_wifi_send_wlan_pkt
m2m_wifi_send_ethernet_pkt
m2m_wifi_send_ethernet_pkt
m2m_wifi_enable_sntp
m2m_wifi_enable_sntp
m2m_wifi_set_sytem_time
m2m_wifi_set_sytem_time
m2m_wifi_get_sytem_time
m2m_wifi_get_sytem_time
m2m_wifi_set_cust_InfoElement
m2m_wifi_set_cust_InfoElement
m2m_wifi_set_power_profile
m2m_wifi_set_power_profile
m2m_wifi_set_tx_power
m2m_wifi_set_tx_power
m2m_wifi_enable_firmware_logs
m2m_wifi_enable_firmware_logs
m2m_wifi_set_battery_voltage
m2m_wifi_set_battery_voltage
m2m_wifi_set_gains
m2m_wifi_set_gains
m2m_wifi_get_firmware_version
m2m_wifi_get_firmware_version
m2m_wifi_prng_get_random_bytes
m2m_wifi_prng_get_random_bytes
DataTypes
tstrM2mPwrMode
u8PwrMode
__PAD24__
tstrM2mTxPwrLevel
u8TxPwrLevel
__PAD24__
tstrM2mEnableLogs
u8Enable
__PAD24__
tstrM2mBatteryVoltage
u16BattVolt
__PAD16__
tstrM2mWifiGainsParams
u8PPAGFor11B
u8PPAGFor11GN
tstrM2mWifiWepParams
u8KeyIndx
u8KeySz
au8WepKey
__PAD24__
tstr1xAuthCredentials
au8UserName
au8Passwd
tuniM2MWifiAuth
au8PSK
strCred1x
strWepInfo
tstrM2MWifiSecInfo
uniAuth
u8SecType
__PAD__
tstrM2mWifiConnect
strSec
u16Ch
au8SSID
u8NoSaveCred
__PAD__
tstrM2MWPSConnect
u8TriggerType
acPinNumber
__PAD24__
tstrM2MWPSInfo
u8AuthType
u8Ch
au8SSID
au8PSK
tstrM2MDefaultConnResp
s8ErrorCode
__PAD24__
tstrM2MScanOption
u8NumOfSlot
u8SlotTime
u8ProbesPerSlot
s8RssiThresh
tstrM2MScanRegion
u16ScanRegion
__PAD16__
tstrM2MScan
u8ChNum
__RSVD8__
u16PassiveScanTime
tstrCyptoResp
s8Resp
__PAD24__
tstrM2mScanDone
u8NumofCh
s8ScanState
__PAD16__
tstrM2mReqScanResult
u8Index
__PAD24__
tstrM2mWifiscanResult
u8index
s8rssi
u8AuthType
u8ch
au8BSSID
au8SSID
_PAD8_
tstrM2mWifiStateChanged
u8CurrState
u8ErrCode
__PAD16__
tstrM2mPsType
u8PsType
u8BcastEn
__PAD16__
tstrM2mSlpReqTime
u32SleepTime
tstrM2mLsnInt
u16LsnInt
__PAD16__
tstrM2MWifiMonitorModeCtrl
u8ChannelID
u8FrameType
u8FrameSubtype
au8SrcMacAddress
au8DstMacAddress
au8BSSID
u8EnRecvHdr
__PAD16__
tstrM2MWifiRxPacketInfo
u8FrameType
u8FrameSubtype
u8ServiceClass
u8Priority
u8HeaderLength
u8CipherType
au8SrcMacAddress
au8DstMacAddress
au8BSSID
u16DataLength
u16FrameLength
u32DataRateKbps
s8RSSI
__PAD24__
tstrM2MWifiTxPacketInfo
u16PacketSize
u16HeaderLength
tstrM2MP2PConnect
u8ListenChannel
__PAD24__
tstrM2MAPConfig
au8SSID
u8ListenChannel
u8KeyIndx
u8KeySz
au8WepKey
u8SecType
u8SsidHide
au8DHCPServerIP
au8Key
__PAD24__
tstrM2mServerInit
u8Channel
__PAD24__
tstrM2mClientState
u8State
__PAD24__
tstrM2Mservercmd
u8cmd
__PAD24__
tstrM2mSetMacAddress
au8Mac
__PAD16__
tstrM2MDeviceNameConfig
au8DeviceName
tstrM2MIPConfig
u32StaticIP
u32Gateway
u32DNS
u32SubnetMask
u32DhcpLeaseTime
tstrM2mIpRsvdPkt
u16PktSz
u16PktOffset
tstrM2MProvisionModeConfig
strApConfig
acHttpServerDomainName
u8EnableRedirect
__PAD24__
tstrM2MProvisionInfo
au8SSID
au8Password
u8SecType
u8Status
tstrM2MConnInfo
acSSID
u8SecType
au8IPAddr
au8MACAddress
s8RSSI
__PAD24__
tstrOtaInitHdr
u32OtaMagicValue
u32OtaPayloadSzie
tstrOtaControlSec
u32OtaMagicValue
u32OtaFormatVersion
u32OtaSequenceNumber
u32OtaLastCheckTime
u32OtaCurrentworkingImagOffset
u32OtaCurrentworkingImagFirmwareVer
u32OtaRollbackImageOffset
u32OtaRollbackImageValidStatus
u32OtaRollbackImagFirmwareVer
u32OtaCortusAppWorkingOffset
u32OtaCortusAppWorkingValidSts
u32OtaCortusAppWorkingVer
u32OtaCortusAppRollbackOffset
u32OtaCortusAppRollbackValidSts
u32OtaCortusAppRollbackVer
u32OtaControlSecCrc
tstrOtaUpdateStatusResp
u8OtaUpdateStatusType
u8OtaUpdateStatus
_PAD16_
tstrOtaUpdateInfo
u8NcfUpgradeVersion
u8NcfCurrentVersion
u8NcdUpgradeVersion
u8NcdRequiredUpgrade
u8DownloadUrlOffset
u8DownloadUrlSize
__PAD8__
tstrSystemTime
u16Year
u8Month
u8Day
u8Hour
u8Minute
u8Second
__PAD8__
tstrM2MMulticastMac
au8macaddress
u8AddRemove
__PAD8__
tstrPrng
pu8RngBuff
u16PrngSize
__PAD16__
tstrTlsCrlEntry
u8DataLen
au8Data
__PAD24__
tstrTlsCrlInfo
u8CrlType
u8Rsv1
u8Rsv2
u8Rsv3
astrTlsCrl
tstrTlsSrvSecFileEntry
acFileName
u32FileSize
u32FileAddr
tstrTlsSrvSecHdr
au8SecStartPattern
u32nEntries
u32NextWriteAddr
astrEntries
tstrSslSetActiveCsList
u32CsBMP
tstrM2mPwrState
tpfOtaNotifCb
tpfOtaUpdateCb
tenuOtaError
OTA_SUCCESS
OTA_ERR_WORKING_IMAGE_LOAD_FAIL
OTA_ERR_INVAILD_CONTROL_SEC
M2M_ERR_OTA_SWITCH_FAIL
M2M_ERR_OTA_START_UPDATE_FAIL
M2M_ERR_OTA_ROLLBACK_FAIL
M2M_ERR_OTA_INVAILD_FLASH_SIZE
M2M_ERR_OTA_INVAILD_ARG
M2M_ERR_OTA_INPROGRESS
tenuM2mConnChangedErrcode
M2M_ERR_SCAN_FAIL
M2M_ERR_JOIN_FAIL
M2M_ERR_AUTH_FAIL
M2M_ERR_ASSOC_FAIL
M2M_ERR_CONN_INPROGRESS
tenuM2mWepKeyIndex
M2M_WIFI_WEP_KEY_INDEX_1
M2M_WIFI_WEP_KEY_INDEX_2
M2M_WIFI_WEP_KEY_INDEX_3
M2M_WIFI_WEP_KEY_INDEX_4
tenuM2mPwrMode
PWR_AUTO
PWR_LOW1
PWR_LOW2
PWR_HIGH
tenuM2mTxPwrLevel
TX_PWR_HIGH
TX_PWR_MED
TX_PWR_LOW
tenuM2mReqGroup
M2M_REQ_GROUP_MAIN
M2M_REQ_GROUP_WIFI
M2M_REQ_GROUP_IP
M2M_REQ_GROUP_HIF
M2M_REQ_GROUP_OTA
M2M_REQ_GROUP_SSL
M2M_REQ_GROUP_CRYPTO
M2M_REQ_GROUP_SIGMA
tenuM2mReqpkt
M2M_REQ_CONFIG_PKT
M2M_REQ_DATA_PKT
tenuM2mConfigCmd
M2M_WIFI_REQ_RESTART
M2M_WIFI_REQ_SET_MAC_ADDRESS
M2M_WIFI_REQ_CURRENT_RSSI
M2M_WIFI_RESP_CURRENT_RSSI
M2M_WIFI_REQ_GET_CONN_INFO
M2M_WIFI_RESP_CONN_INFO
M2M_WIFI_REQ_SET_DEVICE_NAME
M2M_WIFI_REQ_START_PROVISION_MODE
M2M_WIFI_RESP_PROVISION_INFO
M2M_WIFI_REQ_STOP_PROVISION_MODE
M2M_WIFI_REQ_SET_SYS_TIME
M2M_WIFI_REQ_ENABLE_SNTP_CLIENT
M2M_WIFI_REQ_DISABLE_SNTP_CLIENT
M2M_WIFI_RESP_MEMORY_RECOVER
M2M_WIFI_REQ_CUST_INFO_ELEMENT
M2M_WIFI_REQ_SCAN
M2M_WIFI_RESP_SCAN_DONE
M2M_WIFI_REQ_SCAN_RESULT
M2M_WIFI_RESP_SCAN_RESULT
M2M_WIFI_REQ_SET_SCAN_OPTION
M2M_WIFI_REQ_SET_SCAN_REGION
M2M_WIFI_REQ_SET_POWER_PROFILE
M2M_WIFI_REQ_SET_TX_POWER
M2M_WIFI_REQ_SET_BATTERY_VOLTAGE
M2M_WIFI_REQ_SET_ENABLE_LOGS
M2M_WIFI_REQ_GET_SYS_TIME
M2M_WIFI_RESP_GET_SYS_TIME
M2M_WIFI_REQ_SEND_ETHERNET_PACKET
M2M_WIFI_RESP_ETHERNET_RX_PACKET
M2M_WIFI_REQ_SET_MAC_MCAST
M2M_WIFI_REQ_GET_PRNG
M2M_WIFI_RESP_GET_PRNG
M2M_WIFI_REQ_SCAN_SSID_LIST
M2M_WIFI_REQ_SET_GAINS
M2M_WIFI_REQ_PASSIVE_SCAN
M2M_WIFI_MAX_CONFIG_ALL
tenuM2mStaCmd
M2M_WIFI_REQ_CONNECT
M2M_WIFI_REQ_DEFAULT_CONNECT
M2M_WIFI_RESP_DEFAULT_CONNECT
M2M_WIFI_REQ_DISCONNECT
M2M_WIFI_RESP_CON_STATE_CHANGED
M2M_WIFI_REQ_SLEEP
M2M_WIFI_REQ_WPS_SCAN
M2M_WIFI_REQ_WPS
M2M_WIFI_REQ_START_WPS
M2M_WIFI_REQ_DISABLE_WPS
M2M_WIFI_REQ_DHCP_CONF
M2M_WIFI_RESP_IP_CONFIGURED
M2M_WIFI_RESP_IP_CONFLICT
M2M_WIFI_REQ_ENABLE_MONITORING
M2M_WIFI_REQ_DISABLE_MONITORING
M2M_WIFI_RESP_WIFI_RX_PACKET
M2M_WIFI_REQ_SEND_WIFI_PACKET
M2M_WIFI_REQ_LSN_INT
M2M_WIFI_REQ_DOZE
M2M_WIFI_MAX_STA_ALL
tenuM2mApCmd
M2M_WIFI_REQ_ENABLE_AP
M2M_WIFI_REQ_DISABLE_AP
M2M_WIFI_REQ_RESTART_AP
M2M_WIFI_MAX_AP_ALL
tenuM2mP2pCmd
M2M_WIFI_REQ_P2P_INT_CONNECT
M2M_WIFI_REQ_ENABLE_P2P
M2M_WIFI_REQ_DISABLE_P2P
M2M_WIFI_REQ_P2P_REPOST
M2M_WIFI_MAX_P2P_ALL
tenuM2mServerCmd
M2M_WIFI_REQ_CLIENT_CTRL
M2M_WIFI_RESP_CLIENT_INFO
M2M_WIFI_REQ_SERVER_INIT
M2M_WIFI_MAX_SERVER_ALL
tenuM2mOtaCmd
M2M_OTA_REQ_NOTIF_SET_URL
M2M_OTA_REQ_NOTIF_CHECK_FOR_UPDATE
M2M_OTA_REQ_NOTIF_SCHED
M2M_OTA_REQ_START_FW_UPDATE
M2M_OTA_REQ_SWITCH_FIRMWARE
M2M_OTA_REQ_ROLLBACK_FW
M2M_OTA_RESP_NOTIF_UPDATE_INFO
M2M_OTA_RESP_UPDATE_STATUS
M2M_OTA_REQ_TEST
M2M_OTA_REQ_START_CRT_UPDATE
M2M_OTA_REQ_SWITCH_CRT_IMG
M2M_OTA_REQ_ROLLBACK_CRT
M2M_OTA_REQ_ABORT
M2M_OTA_MAX_ALL
tenuM2mCryptoCmd
M2M_CRYPTO_REQ_SHA256_INIT
M2M_CRYPTO_RESP_SHA256_INIT
M2M_CRYPTO_REQ_SHA256_UPDATE
M2M_CRYPTO_RESP_SHA256_UPDATE
M2M_CRYPTO_REQ_SHA256_FINSIH
M2M_CRYPTO_RESP_SHA256_FINSIH
M2M_CRYPTO_REQ_RSA_SIGN_GEN
M2M_CRYPTO_RESP_RSA_SIGN_GEN
M2M_CRYPTO_REQ_RSA_SIGN_VERIFY
M2M_CRYPTO_RESP_RSA_SIGN_VERIFY
M2M_CRYPTO_MAX_ALL
tenuM2mIpCmd
M2M_IP_REQ_STATIC_IP_CONF
M2M_IP_REQ_ENABLE_DHCP
M2M_IP_REQ_DISABLE_DHCP
tenuM2mSigmaCmd
M2M_SIGMA_ENABLE
M2M_SIGMA_TA_START
M2M_SIGMA_TA_STATS
M2M_SIGMA_TA_RECEIVE_STOP
M2M_SIGMA_ICMP_ARP
M2M_SIGMA_ICMP_RX
M2M_SIGMA_ICMP_TX
M2M_SIGMA_UDP_TX
M2M_SIGMA_UDP_TX_DEFER
M2M_SIGMA_SECURITY_POLICY
M2M_SIGMA_SET_SYSTIME
tenuM2mSslCmd
M2M_SSL_REQ_CERT_VERIF
M2M_SSL_REQ_ECC
M2M_SSL_RESP_ECC
M2M_SSL_IND_CRL
M2M_SSL_IND_CERTS_ECC
M2M_SSL_REQ_SET_CS_LIST
M2M_SSL_RESP_SET_CS_LIST
tenuM2mConnState
M2M_WIFI_DISCONNECTED
M2M_WIFI_CONNECTED
M2M_WIFI_UNDEF
tenuM2mSecType
M2M_WIFI_SEC_INVALID
M2M_WIFI_SEC_OPEN
M2M_WIFI_SEC_WPA_PSK
M2M_WIFI_SEC_WEP
M2M_WIFI_SEC_802_1X
tenuM2mSsidMode
SSID_MODE_VISIBLE
SSID_MODE_HIDDEN
tenuM2mScanCh
M2M_WIFI_CH_1
M2M_WIFI_CH_2
M2M_WIFI_CH_3
M2M_WIFI_CH_4
M2M_WIFI_CH_5
M2M_WIFI_CH_6
M2M_WIFI_CH_7
M2M_WIFI_CH_8
M2M_WIFI_CH_9
M2M_WIFI_CH_10
M2M_WIFI_CH_11
M2M_WIFI_CH_12
M2M_WIFI_CH_13
M2M_WIFI_CH_14
M2M_WIFI_CH_ALL
tenuM2mScanRegion
REG_CH_1
REG_CH_2
REG_CH_3
REG_CH_4
REG_CH_5
REG_CH_6
REG_CH_7
REG_CH_8
REG_CH_9
REG_CH_10
REG_CH_11
REG_CH_12
REG_CH_13
REG_CH_14
REG_CH_ALL
NORTH_AMERICA
EUROPE
ASIA
tenuPowerSaveModes
M2M_NO_PS
M2M_PS_AUTOMATIC
M2M_PS_H_AUTOMATIC
M2M_PS_DEEP_AUTOMATIC
M2M_PS_MANUAL
tenuM2mWifiMode
M2M_WIFI_MODE_NORMAL
M2M_WIFI_MODE_ATE_HIGH
M2M_WIFI_MODE_ATE_LOW
M2M_WIFI_MODE_ETHERNET
M2M_WIFI_MODE_MAX
tenuWPSTrigger
WPS_PIN_TRIGGER
WPS_PBC_TRIGGER
tenuOtaUpdateStatus
OTA_STATUS_SUCSESS
OTA_STATUS_FAIL
OTA_STATUS_INVAILD_ARG
OTA_STATUS_INVAILD_RB_IMAGE
OTA_STATUS_INVAILD_FLASH_SIZE
OTA_STATUS_AlREADY_ENABLED
OTA_STATUS_UPDATE_INPROGRESS
OTA_STATUS_IMAGE_VERIF_FAILED
OTA_STATUS_CONNECTION_ERROR
OTA_STATUS_SERVER_ERROR
OTA_STATUS_ABORTED
tenuOtaUpdateStatusType
DL_STATUS
SW_STATUS
RB_STATUS
AB_STATUS
tenuSslCertExpSettings
SSL_CERT_EXP_CHECK_DISABLE
SSL_CERT_EXP_CHECK_ENABLE
SSL_CERT_EXP_CHECK_EN_IF_SYS_TIME
BSP
Defines
NMI_API
CONST
NULL
BSP_MIN
DataTypes
tpfNmBspIsr
uint8
uint16
uint32
sint8
sint16
sint32
Function
nm_bsp_init
nm_bsp_init
nm_bsp_deinit
nm_bsp_deinit
nm_bsp_reset
nm_bsp_reset
nm_bsp_sleep
nm_bsp_sleep
nm_bsp_register_isr
nm_bsp_register_isr
nm_bsp_interrupt_ctrl
nm_bsp_interrupt_ctrl
Socket
Defines
TCP/IP Defines
HOSTNAME_MAX_SIZE
SOCKET_BUFFER_MAX_LENGTH
AF_INET
SOCK_STREAM
SOCK_DGRAM
SOCKET_FLAGS_SSL
TCP_SOCK_MAX
UDP_SOCK_MAX
MAX_SOCKET
SOL_SOCKET
SOL_SSL_SOCKET
SO_SET_UDP_SEND_CALLBACK
IP_ADD_MEMBERSHIP
IP_DROP_MEMBERSHIP
TLS Defines
TLS Socket Options
SO_SSL_BYPASS_X509_VERIF
SO_SSL_SNI
SO_SSL_ENABLE_SESSION_CACHING
SO_SSL_ENABLE_SNI_VALIDATION
Legacy names for TLS Cipher Suite IDs
SSL_ENABLE_RSA_SHA_SUITES
SSL_ENABLE_RSA_SHA256_SUITES
SSL_ENABLE_DHE_SHA_SUITES
SSL_ENABLE_DHE_SHA256_SUITES
SSL_ENABLE_RSA_GCM_SUITES
SSL_ENABLE_DHE_GCM_SUITES
SSL_ENABLE_ALL_SUITES
TLS Cipher Suite IDs
SSL_CIPHER_RSA_WITH_AES_128_CBC_SHA
SSL_CIPHER_RSA_WITH_AES_128_CBC_SHA256
SSL_CIPHER_DHE_RSA_WITH_AES_128_CBC_SHA
SSL_CIPHER_DHE_RSA_WITH_AES_128_CBC_SHA256
SSL_CIPHER_RSA_WITH_AES_128_GCM_SHA256
SSL_CIPHER_DHE_RSA_WITH_AES_128_GCM_SHA256
SSL_CIPHER_RSA_WITH_AES_256_CBC_SHA
SSL_CIPHER_RSA_WITH_AES_256_CBC_SHA256
SSL_CIPHER_DHE_RSA_WITH_AES_256_CBC_SHA
SSL_CIPHER_DHE_RSA_WITH_AES_256_CBC_SHA256
SSL_CIPHER_ECDHE_RSA_WITH_AES_128_CBC_SHA
SSL_CIPHER_ECDHE_RSA_WITH_AES_256_CBC_SHA
SSL_CIPHER_ECDHE_RSA_WITH_AES_128_CBC_SHA256
SSL_CIPHER_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256
SSL_CIPHER_ECDHE_RSA_WITH_AES_128_GCM_SHA256
SSL_CIPHER_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
SSL_ECC_ONLY_CIPHERS
SSL_ECC_ALL_CIPHERS
SSL_NON_ECC_CIPHERS_AES_128
SSL_ECC_CIPHERS_AES_256
SSL_NON_ECC_CIPHERS_AES_256
SSL_CIPHER_ALL
Error Codes
SOCK_ERR_NO_ERROR
SOCK_ERR_INVALID_ADDRESS
SOCK_ERR_ADDR_ALREADY_IN_USE
SOCK_ERR_MAX_TCP_SOCK
SOCK_ERR_MAX_UDP_SOCK
SOCK_ERR_INVALID_ARG
SOCK_ERR_MAX_LISTEN_SOCK
SOCK_ERR_INVALID
SOCK_ERR_ADDR_IS_REQUIRED
SOCK_ERR_CONN_ABORTED
SOCK_ERR_TIMEOUT
SOCK_ERR_BUFFER_FULL
_htonl
_htons
_ntohl
_ntohs
DataTypes
Asynchronous Events
tstrSocketBindMsg
status
tstrSocketListenMsg
status
tstrSocketAcceptMsg
sock
strAddr
tstrSocketConnectMsg
sock
s8Error
tstrSocketRecvMsg
pu8Buffer
s16BufferSize
u16RemainingSize
strRemoteAddr
tpfAppSocketCb
tpfAppResolveCb
tpfPingCb
tenuSocketCallbackMsgType
SOCKET_MSG_BIND
SOCKET_MSG_LISTEN
SOCKET_MSG_DNS_RESOLVE
SOCKET_MSG_ACCEPT
SOCKET_MSG_CONNECT
SOCKET_MSG_RECV
SOCKET_MSG_SEND
SOCKET_MSG_SENDTO
SOCKET_MSG_RECVFROM
in_addr
s_addr
sockaddr
sa_family
sa_data
sockaddr_in
sin_family
sin_port
sin_addr
sin_zero
SOCKET
Function
socketInit
socketInit
socketDeinit
registerSocketCallback
registerSocketCallback
socket
socket
bind
bind
listen
listen
accept
accept
connect
connect
recv
recv
recvfrom
recvfrom
send
send
sendto
sendto
close
close
nmi_inet_addr
nmi_inet_addr
gethostbyname
gethostbyname
sslEnableCertExpirationCheck
sslEnableCertExpirationCheck
setsockopt
setsockopt
getsockopt
getsockopt
m2m_ping_req
m2m_ping_req
Data Structures
Data Structures
in_addr
s_addr
sockaddr
sa_family
sa_data
sockaddr_in
sin_family
sin_port
sin_addr
sin_zero
tstr1xAuthCredentials
au8UserName
au8Passwd
tstrCyptoResp
s8Resp
__PAD24__
tstrEthInitParam
pfAppWifiCb
pfAppEthCb
au8ethRcvBuf
u16ethRcvBufSize
u8EthernetEnable
__PAD8__
tstrM2MAPConfig
au8SSID
u8ListenChannel
u8KeyIndx
u8KeySz
au8WepKey
u8SecType
u8SsidHide
au8DHCPServerIP
au8Key
__PAD24__
tstrM2mBatteryVoltage
u16BattVolt
__PAD16__
tstrM2mClientState
u8State
__PAD24__
tstrM2MConnInfo
acSSID
u8SecType
au8IPAddr
au8MACAddress
s8RSSI
__PAD24__
tstrM2MDefaultConnResp
s8ErrorCode
__PAD24__
tstrM2MDeviceNameConfig
au8DeviceName
tstrM2mEnableLogs
u8Enable
__PAD24__
tstrM2MIPConfig
u32StaticIP
u32Gateway
u32DNS
u32SubnetMask
u32DhcpLeaseTime
tstrM2mIpCtrlBuf
u16DataSize
u16RemainigDataSize
tstrM2mIpRsvdPkt
u16PktSz
u16PktOffset
tstrM2mLsnInt
u16LsnInt
__PAD16__
tstrM2MMulticastMac
au8macaddress
u8AddRemove
__PAD8__
tstrM2MP2PConnect
u8ListenChannel
__PAD24__
tstrM2MProvisionInfo
au8SSID
au8Password
u8SecType
u8Status
tstrM2MProvisionModeConfig
strApConfig
acHttpServerDomainName
u8EnableRedirect
__PAD24__
tstrM2mPsType
u8PsType
u8BcastEn
__PAD16__
tstrM2mPwrMode
u8PwrMode
__PAD24__
tstrM2mPwrState
tstrM2mReqScanResult
u8Index
__PAD24__
tstrM2MScan
u8ChNum
__RSVD8__
u16PassiveScanTime
tstrM2mScanDone
u8NumofCh
s8ScanState
__PAD16__
tstrM2MScanOption
u8NumOfSlot
u8SlotTime
u8ProbesPerSlot
s8RssiThresh
tstrM2MScanRegion
u16ScanRegion
__PAD16__
tstrM2Mservercmd
u8cmd
__PAD24__
tstrM2mServerInit
u8Channel
__PAD24__
tstrM2mSetMacAddress
au8Mac
__PAD16__
tstrM2mSlpReqTime
u32SleepTime
tstrM2mTxPwrLevel
u8TxPwrLevel
__PAD24__
tstrM2mWifiConnect
strSec
u16Ch
au8SSID
u8NoSaveCred
__PAD__
tstrM2mWifiGainsParams
u8PPAGFor11B
u8PPAGFor11GN
tstrM2MWifiMonitorModeCtrl
u8ChannelID
u8FrameType
u8FrameSubtype
au8SrcMacAddress
au8DstMacAddress
au8BSSID
u8EnRecvHdr
__PAD16__
tstrM2MWifiRxPacketInfo
u8FrameType
u8FrameSubtype
u8ServiceClass
u8Priority
u8HeaderLength
u8CipherType
au8SrcMacAddress
au8DstMacAddress
au8BSSID
u16DataLength
u16FrameLength
u32DataRateKbps
s8RSSI
__PAD24__
tstrM2mWifiscanResult
u8index
s8rssi
u8AuthType
u8ch
au8BSSID
au8SSID
_PAD8_
tstrM2MWifiSecInfo
uniAuth
u8SecType
__PAD__
tstrM2mWifiStateChanged
u8CurrState
u8ErrCode
__PAD16__
tstrM2MWifiTxPacketInfo
u16PacketSize
u16HeaderLength
tstrM2mWifiWepParams
u8KeyIndx
u8KeySz
au8WepKey
__PAD24__
tstrM2MWPSConnect
u8TriggerType
acPinNumber
__PAD24__
tstrM2MWPSInfo
u8AuthType
u8Ch
au8SSID
au8PSK
tstrOtaControlSec
u32OtaMagicValue
u32OtaFormatVersion
u32OtaSequenceNumber
u32OtaLastCheckTime
u32OtaCurrentworkingImagOffset
u32OtaCurrentworkingImagFirmwareVer
u32OtaRollbackImageOffset
u32OtaRollbackImageValidStatus
u32OtaRollbackImagFirmwareVer
u32OtaCortusAppWorkingOffset
u32OtaCortusAppWorkingValidSts
u32OtaCortusAppWorkingVer
u32OtaCortusAppRollbackOffset
u32OtaCortusAppRollbackValidSts
u32OtaCortusAppRollbackVer
u32OtaControlSecCrc
tstrOtaInitHdr
u32OtaMagicValue
u32OtaPayloadSzie
tstrOtaUpdateInfo
u8NcfUpgradeVersion
u8NcfCurrentVersion
u8NcdUpgradeVersion
u8NcdRequiredUpgrade
u8DownloadUrlOffset
u8DownloadUrlSize
__PAD8__
tstrOtaUpdateStatusResp
u8OtaUpdateStatusType
u8OtaUpdateStatus
_PAD16_
tstrPrng
pu8RngBuff
u16PrngSize
__PAD16__
tstrSocketAcceptMsg
sock
strAddr
tstrSocketBindMsg
status
tstrSocketConnectMsg
sock
s8Error
tstrSocketListenMsg
status
tstrSocketRecvMsg
pu8Buffer
s16BufferSize
u16RemainingSize
strRemoteAddr
tstrSslSetActiveCsList
u32CsBMP
tstrSystemTime
u16Year
u8Month
u8Day
u8Hour
u8Minute
u8Second
__PAD8__
tstrTlsCrlEntry
u8DataLen
au8Data
__PAD24__
tstrTlsCrlInfo
u8CrlType
u8Rsv1
u8Rsv2
u8Rsv3
astrTlsCrl
tstrTlsSrvSecFileEntry
acFileName
u32FileSize
u32FileAddr
tstrTlsSrvSecHdr
au8SecStartPattern
u32nEntries
u32NextWriteAddr
astrEntries
tstrWifiInitParam
pfAppWifiCb
pfAppMonCb
strEthInitParam
tuniM2MWifiAuth
au8PSK
strCred1x
strWepInfo
Data Fields
All
_
a
p
s
u
Variables
_
a
p
s
u
Get in touch
Submit feedback about this site to:
[email protected]