XDK API  3.6.0
Documentation
Data Structures | Macros | Typedefs | Enumerations | Functions
device.h File Reference
#include "simplelink.h"
+ Include dependency graph for device.h:
+ This graph shows which files directly or indirectly include this file:

Data Structures

struct  _SlPartialVersion
 
struct  sl_DeviceDriverErrorReport
 
struct  sl_DeviceReport
 
struct  sl_DeviceReportAbort
 
struct  SlDateTime_t
 
struct  SlDeviceEvent_t
 
union  SlDeviceEventData_u
 
struct  SlVersionFull
 

Macros

#define __DEVICE_H__
 
#define EVENT_DROPPED_DEVICE_ASYNC_GENERAL_ERROR   (0x00000001L)
 
#define EVENT_DROPPED_NETAPP_IP_LEASED   (0x00000004L)
 
#define EVENT_DROPPED_NETAPP_IP_RELEASED   (0x00000008L)
 
#define EVENT_DROPPED_NETAPP_IPACQUIRED   (0x00000001L)
 
#define EVENT_DROPPED_NETAPP_IPACQUIRED_V6   (0x00000002L)
 
#define EVENT_DROPPED_SOCKET_TXFAILEDASYNCRESPONSE   (0x00000001L)
 
#define EVENT_DROPPED_WLAN_STA_CONNECTED   (0x00000004L)
 
#define EVENT_DROPPED_WLAN_STA_DISCONNECTED   (0x00000008L)
 
#define EVENT_DROPPED_WLAN_WLANASYNCDISCONNECTEDRESPONSE   (0x00000002L)
 
#define EVENT_DROPPED_WLAN_WLANASYNCONNECTEDRESPONSE   (0x00000001L)
 
#define SL_API_ABORTED   (-100)
 
#define SL_BAD_INTERFACE   (-2004)
 
#define SL_DEVICE_FATAL_ERROR_EVENT   SL_DEVICE_GENERAL_ERROR_EVENT
 
#define SL_DEVICE_GENERAL_CONFIGURATION   (1)
 
#define SL_DEVICE_GENERAL_CONFIGURATION_DATE_TIME   (11)
 
#define SL_DEVICE_GENERAL_VERSION   (12)
 
#define SL_DEVICE_STATUS   (2)
 
#define SL_ERROR_CON_MGMT_STATUS_AP_DEAUTHENTICATE   SL_GENERAL_ERROR_CON_MGMT_STATUS_AP_DEAUTHENTICATE
 
#define SL_ERROR_CON_MGMT_STATUS_AP_DISASSOCIATE   SL_GENERAL_ERROR_CON_MGMT_STATUS_AP_DISASSOCIATE
 
#define SL_ERROR_CON_MGMT_STATUS_ASSOC_REJECT   SL_GENERAL_ERROR_CON_MGMT_STATUS_ASSOC_REJECT
 
#define SL_ERROR_CON_MGMT_STATUS_AUTH_REJECT   SL_GENERAL_ERROR_CON_MGMT_STATUS_AUTH_REJECT
 
#define SL_ERROR_CON_MGMT_STATUS_DISCONNECT_DURING_CONNECT   SL_GENERAL_ERROR_CON_MGMT_STATUS_DISCONNECT_DURING_CONNECT
 
#define SL_ERROR_CON_MGMT_STATUS_MIC_FAILURE   SL_GENERAL_ERROR_CON_MGMT_STATUS_MIC_FAILURE
 
#define SL_ERROR_CON_MGMT_STATUS_ROAMING_TRIGGER   SL_GENERAL_ERROR_CON_MGMT_STATUS_ROAMING_TRIGGER
 
#define SL_ERROR_CON_MGMT_STATUS_ROC_FAILURE   SL_GENERAL_ERROR_CON_MGMT_STATUS_ROC_FAILURE
 
#define SL_ERROR_CON_MGMT_STATUS_SECURITY_FAILURE   SL_GENERAL_ERROR_CON_MGMT_STATUS_SECURITY_FAILURE
 
#define SL_ERROR_CON_MGMT_STATUS_SG_RESELECT   SL_GENERAL_ERROR_CON_MGMT_STATUS_SG_RESELECT
 
#define SL_ERROR_CON_MGMT_STATUS_UNSPECIFIED   SL_GENERAL_ERROR_CON_MGMT_STATUS_UNSPECIFIED
 
#define SL_ERROR_DHCP_CLIENT_RENEW_FAILED   (-100) /* DHCP client error */
 
#define SL_ERROR_DHCP_SERVER_ENABLE_FAILED   (-83) /* DHCP server enable failed */
 
#define SL_ERROR_FS_FILE_TABLE_LOAD_FAILED   (-77) /* init file system failed */
 
#define SL_ERROR_GENERAL_ERROR   (-127)
 
#define SL_ERROR_HOSTAPD_BSSID_VALIDATION_ERROR   (-79) /* Ap configurations BSSID error */
 
#define SL_ERROR_HOSTAPD_FAILED_TO_SETUP_INTERFACE   (-80) /* Ap configurations interface error */
 
#define SL_ERROR_HOSTAPD_INIT_FAIL   (-73) /* init error code */
 
#define SL_ERROR_HOSTAPD_INIT_IF_FAIL   (-74) /* init error code */
 
#define SL_ERROR_HTTP_SERVER_ENABLE_FAILED   (-82) /* HTTP server enable failed */
 
#define SL_ERROR_ILLEGAL_CHANNEL   (-61) /* supplicant error */
 
#define SL_ERROR_LENGTH_ERROR_PREFIX   (-116) /* Uart header length error */
 
#define SL_ERROR_MDNS_CREATE_FAIL   (-121) /* mDNS create failed */
 
#define SL_ERROR_MDNS_ENABLE_FAIL   (-81) /* mDNS enable failed */
 
#define SL_ERROR_PREFERRED_NETWORK_LIST_FULL   (-93) /* supplicant error */
 
#define SL_ERROR_PREFERRED_NETWORKS_FILE_LOAD_FAILED   (-78) /* init file system failed */
 
#define SL_ERROR_PREFERRED_NETWORKS_FILE_WRITE_FAILED   (-94) /* supplicant error */
 
#define SL_ERROR_STATIC_ADDR_SUBNET_ERROR   (-60) /* network stack error*/
 
#define SL_ERROR_SUPPLICANT_ERROR   (-72) /* init error code */
 
#define SL_ERROR_WAKELOCK_ERROR_PREFIX   (-115) /* Wake lock expired */
 
#define SL_ERROR_WLAN_DRV_INIT_FAIL   (-75) /* init error code */
 
#define SL_ERROR_WLAN_DRV_START_FAIL   (-76) /* wlan start error */
 
#define SL_ESMALLBUF   (-2001)
 
#define SL_EVENT_CLASS_BSD   (3)
 
#define SL_EVENT_CLASS_DEVICE   (1)
 
#define SL_EVENT_CLASS_FS   (6)
 
#define SL_EVENT_CLASS_GLOBAL   (0)
 
#define SL_EVENT_CLASS_NETAPP   (4)
 
#define SL_EVENT_CLASS_NETCFG   (5)
 
#define SL_EVENT_CLASS_WLAN   (2)
 
#define SL_EZEROLEN   (-2002)
 
#define SL_GENERAL_ERROR_CON_MGMT_STATUS_AP_DEAUTHENTICATE   (-106)
 
#define SL_GENERAL_ERROR_CON_MGMT_STATUS_AP_DISASSOCIATE   (-107)
 
#define SL_GENERAL_ERROR_CON_MGMT_STATUS_ASSOC_REJECT   (-104)
 
#define SL_GENERAL_ERROR_CON_MGMT_STATUS_AUTH_REJECT   (-103)
 
#define SL_GENERAL_ERROR_CON_MGMT_STATUS_DISCONNECT_DURING_CONNECT   (-109)
 
#define SL_GENERAL_ERROR_CON_MGMT_STATUS_MIC_FAILURE   (-112)
 
#define SL_GENERAL_ERROR_CON_MGMT_STATUS_ROAMING_TRIGGER   (-108)
 
#define SL_GENERAL_ERROR_CON_MGMT_STATUS_ROC_FAILURE   (-111)
 
#define SL_GENERAL_ERROR_CON_MGMT_STATUS_SECURITY_FAILURE   (-105)
 
#define SL_GENERAL_ERROR_CON_MGMT_STATUS_SG_RESELECT   (-110)
 
#define SL_GENERAL_ERROR_CON_MGMT_STATUS_UNSPECIFIED   (-102)
 
#define SL_INVALPARAM   (-2003)
 
#define SL_NETAPP_HTTPGETTOKENVALUE_EVENT   (1)
 
#define SL_NETAPP_HTTPPOSTTOKENVALUE_EVENT   (2)
 
#define SL_NETAPP_IP_LEASED_EVENT   (3)
 
#define SL_NETAPP_IP_RELEASED_EVENT   (4)
 
#define SL_NETAPP_IPV4_IPACQUIRED_EVENT   (1)
 
#define SL_NETAPP_IPV6_IPACQUIRED_EVENT   (2)
 
#define SL_POOL_IS_EMPTY   (-2000)
 
#define SL_SOCKET_ASYNC_EVENT   (2)
 
#define SL_SOCKET_TX_FAILED_EVENT   (1)
 
#define SL_WLAN_CONNECT_EVENT   (1)
 
#define SL_WLAN_CONNECTION_FAILED_EVENT   (9)
 
#define SL_WLAN_DISCONNECT_EVENT   (2)
 
#define SL_WLAN_P2P_DEV_FOUND_EVENT   (7)
 
#define SL_WLAN_P2P_NEG_REQ_RECEIVED_EVENT   (8)
 
#define SL_WLAN_SMART_CONFIG_COMPLETE_EVENT   (3)
 
#define SL_WLAN_SMART_CONFIG_STOP_EVENT   (4)
 
#define SL_WLAN_STA_CONNECTED_EVENT   (5)
 
#define SL_WLAN_STA_DISCONNECTED_EVENT   (6)
 
#define STATUS_DEVICE_SMART_CONFIG_ACTIVE   (0x80000000L)
 
#define STATUS_WLAN_STA_CONNECTED   (0x80000000L)
 

Typedefs

typedef void(* P_INIT_CALLBACK )(_u32 Status)
 

Enumerations

enum  SlDeviceDriverError_e
 
enum  SlDriverAPIWithTimeout_e
 
enum  SlErrorSender_e
 

Functions

_i16 sl_Start (const void *pIfHdl, _i8 *pDevName, const P_INIT_CALLBACK pInitCallBack)
 Start the SimpleLink device. More...
 
_i16 sl_Stop (const _u16 timeout)
 Stop the SimpleLink device. More...
 
void sl_Task (void)
 Internal function for setting device configurations. More...
 

Macro Definition Documentation

#define __DEVICE_H__

All rights reserved. The use is subject to the XDK SDK EULA by Bosch Connected Devices and Solutions GmbH.
This documentation file has been automatically generated on Thu Mar 14 2019 19:12:47 by doxygen 1.8.8