diff --git a/CHANGELOG.md b/CHANGELOG.md index 32e3ae0..3d434c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,24 @@ # CHANGES -### 03/06/2015 - 1.0.0 +### 07/2015 - 1.0.1 +- Updated SDK to original version 1.1.0. +- Fixed a bug in cc_timer.c (line 690). A memset was used to clear a struct but the size passed was of a pointer. +- Added BACK_UP_ARM_REGISTERS and RESTORE_ARM_REGISTERS macros to GCC. In cc_pm.c. +- Changed asm to __asm. In cc_pm.c, lines 318, 319 and 320. +- Fixed UNUSED macro in cc_types.h to avoid warnings of uninitialized variables. +- Added braces to initializer in dma_hal.c (lines 184-215). +- Added CPUipsr function for gcc in interrupt_hal.c +- Added initial condition to temp variable in cc_uart_isr (uart_hal.c, line 147). +- Fixed missing HttpString.h and HttpConfig in Http web server. +- Removed interfaces library (the _if.c files must be linked to project now). +- Removed netapps library (each netapp have its own library now). +- Fixed all the examples from the new SDK version (except bootloader and dynamic library). +- Changed directory structure (libraries source are now unde the folder "src" in the same way that they are within TI SDK). +- Updated documentation. +- Updated FreeRTOS to v8.2.1. +- Every project must include a FreeRTOSConfig.h now. + +### 03/2015 - 1.0.0 - Removed FreeRTOS and FatFS source code. This must be placed inside the project from now on. - libosi doesn't have FreeRTOS included. @@ -8,17 +26,17 @@ from now on. - Fixed variable path CC3200SDK to CC3200-Linux-SDK. - All examples now contains a .elf and a raw .bin file. -### 02/03/2015 +### 02/2015 - Fixed FreeRTOSHooks.c and startup.c includes. -### 01/28/2015-2 +### 01/2015-2 - -O3 is buggy, compiling with -Os now -### 01/28/2015 +### 01/2015 - All libs are compiled with -O3 and no -g - Added makefile to root dir -### 01/27/2015 +### 01/2015 - Added LP_Buttom example. - Added Assembler help do docs. diff --git a/Makefile b/Makefile index 26a8ae4..0038c7f 100644 --- a/Makefile +++ b/Makefile @@ -1,31 +1,39 @@ -DRIVERLIB = source/driverlib -SIMPLELINK = source/simplelink -OSLIB = source/oslib -MIDDLEWARE = source/middleware -INTERFACES = source/interfaces -NETAPP = source/netapps - -ifeq ("${target}", "NONOS") - SDK_TARGETS = $(SIMPLELINK) $(MIDDLEWARE) $(INTERFACES) $(NETAPP) -else - ifeq ("${target}", "TINY") - SDK_TARGETS = $(SIMPLELINK) - else - SDK_TARGETS = $(DRIVERLIB) $(SIMPLELINK) $(OSLIB) $(MIDDLEWARE) $(INTERFACES) $(NETAPP) - endif -endif - -.PHONY: all $(SDK_TARGETS) -all: $(SDK_TARGETS) +DRIVERLIB = src/driverlib +SIMPLELINK = src/simplelink +OSLIB = src/oslib +MIDDLEWARE = src/middleware +WEBCLIENT = src/netapps/http/client +WEBSERVER = src/netapps/http/server +JSON = src/netapps/json +MQTT = src/netapps/mqtt +SMTP = src/netapps/smtp/client +TFTP = src/netapps/tftp/client +XMPP = src/netapps/xmpp/client -clean: - rm -rf lib/* +SDK_TARGETS = $(DRIVERLIB) $(SIMPLELINK) $(OSLIB) $(MIDDLEWARE) $(WEBCLIENT) $(WEBSERVER) $(JSON) $(MQTT) $(SMTP) $(TFTP) $(XMPP) +SDK_TARGETS_NONOS = $(SIMPLELINK) $(MIDDLEWARE) +SDK_TARGETS_TINY = $(SIMPLELINK) + + +.PHONY: all +all: os nonos tiny + +os: $(SDK_TARGETS) + +nonos: $(SDK_TARGETS_NONOS) + +tiny: $(SDK_TARGETS_TINY) + +.PHONY: $(SDK_TARGETS) $(SDK_TARGETS): - @$(MAKE) -C $@; + @$(MAKE) -C $@ $(SDK_TARGETS_NONOS): - @$(MAKE) -C $@ target=NONOS; + @$(MAKE) -C $@ target=NONOS $(SDK_TARGETS_TINY): @$(MAKE) -C $@ target=TINY; + +clean: + rm -rf lib/* \ No newline at end of file diff --git a/README.md b/README.md index 8ae452d..46f7244 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,11 @@ # CC3200-Linux-SDK -version 1.0.0 - ### Overview This repo contains a reworked SDK for the CC3200 microcontroller, from Texas Instruments, to work under linux. -The intention is to provide a way to develop for this platform while TI doesn't +The intention is to provide a way to develop in this platform while TI doesn't release an official SDK for linux. -Currently, it works with Ubuntu and Slackware (tested with version 14.10). +Currently, it works with Ubuntu (tested with version 14.10) and Slackware. The TI SDK version used for this rework is the 1.0.0 and the original can be found at : http://www.ti.com/tool/cc3200sdk. @@ -18,7 +16,7 @@ For instructions on how to use it, please see USAGE.md file. - The directory structure of the SDK. - Replaced all the makefiles for the libs (some of them just didn't work). - Fixed small issues with gcc for the libraries. -- Ported almost all examples to work with eclipse (except the OTA-NONOS and the +- Ported almost all examples to work with eclipse (except dynamic library and the application bootloader). - Added extra documentation (Datasheet and etc). @@ -30,12 +28,14 @@ The SDK is organized as follow - ROOT - doc -> Documentation - examples -> Contain several examples adapted to work with eclipse and gcc. - - include -> Directory for the header files (.h). - lib -> Pre-compiled library files. - other -> Configuration files and freeRTOS. - - source -> The source files and make files for all the libraries. + - src -> The source files and make files for all the libraries. ### Rebuilding the libs Open a terminal in the root directory and do a "make". For the nonos versions -use "make target=NONOS" and for the simplelink tiny "make target=TINY". +use "make nonos" and for the simplelink tiny "make tiny". + +07/2015 +version 1.0.1 diff --git a/docs/CC3200 Simplelink OTA Extlib API User's Guide.chm b/docs/CC3200 Simplelink OTA Extlib API User's Guide.chm index 217b8c2..46333f7 100644 Binary files a/docs/CC3200 Simplelink OTA Extlib API User's Guide.chm and b/docs/CC3200 Simplelink OTA Extlib API User's Guide.chm differ diff --git a/docs/CC3200-Peripheral_Driver_Library_User's_Guide.chm b/docs/CC3200-Peripheral_Driver_Library_User's_Guide.chm index 320ea33..4ebfa65 100644 Binary files a/docs/CC3200-Peripheral_Driver_Library_User's_Guide.chm and b/docs/CC3200-Peripheral_Driver_Library_User's_Guide.chm differ diff --git a/docs/CC3200-Power_Management_Framework.pdf b/docs/CC3200-Power_Management_Framework.pdf index 6f0fe57..b9caabb 100644 Binary files a/docs/CC3200-Power_Management_Framework.pdf and b/docs/CC3200-Power_Management_Framework.pdf differ diff --git a/docs/CC3200-Programmers_Guide.pdf b/docs/CC3200-Programmers_Guide.pdf index c3bdd69..c2cc240 100644 Binary files a/docs/CC3200-Programmers_Guide.pdf and b/docs/CC3200-Programmers_Guide.pdf differ diff --git a/docs/CC3200-SDK_Release_Note.pdf b/docs/CC3200-SDK_Release_Note.pdf new file mode 100644 index 0000000..340221e Binary files /dev/null and b/docs/CC3200-SDK_Release_Note.pdf differ diff --git a/docs/hardware/CC3200-LAUNCHXL_ASSY_FAB_Rev3p2.pdf b/docs/hardware/CC3200-LAUNCHXL_ASSY_FAB_Rev3p2.pdf new file mode 100644 index 0000000..6f68475 Binary files /dev/null and b/docs/hardware/CC3200-LAUNCHXL_ASSY_FAB_Rev3p2.pdf differ diff --git a/docs/hardware/CC3200-LAUNCHXL_ASSY_FAB_Rev4p1.pdf b/docs/hardware/CC3200-LAUNCHXL_ASSY_FAB_Rev4p1.pdf new file mode 100644 index 0000000..2195743 Binary files /dev/null and b/docs/hardware/CC3200-LAUNCHXL_ASSY_FAB_Rev4p1.pdf differ diff --git a/docs/hardware/CC3200-LaunchPad_Hardware_User_Guide.pdf b/docs/hardware/CC3200-LaunchPad_Hardware_User_Guide.pdf index fa5daeb..63be442 100644 Binary files a/docs/hardware/CC3200-LaunchPad_Hardware_User_Guide.pdf and b/docs/hardware/CC3200-LaunchPad_Hardware_User_Guide.pdf differ diff --git a/docs/netapps/http/http_client.chm b/docs/netapps/http/http_client.chm new file mode 100644 index 0000000..0bdf01f Binary files /dev/null and b/docs/netapps/http/http_client.chm differ diff --git a/docs/netapps/mqtt/lib/client/MQTT_Client.chm b/docs/netapps/mqtt/lib/client/MQTT_Client.chm new file mode 100644 index 0000000..a57db9a Binary files /dev/null and b/docs/netapps/mqtt/lib/client/MQTT_Client.chm differ diff --git a/docs/netapps/mqtt/lib/server/MQTT_Server.chm b/docs/netapps/mqtt/lib/server/MQTT_Server.chm new file mode 100644 index 0000000..94396e3 Binary files /dev/null and b/docs/netapps/mqtt/lib/server/MQTT_Server.chm differ diff --git a/docs/netapps/mqtt/sl/client/sl_mqtt_client.chm b/docs/netapps/mqtt/sl/client/sl_mqtt_client.chm new file mode 100644 index 0000000..326d737 Binary files /dev/null and b/docs/netapps/mqtt/sl/client/sl_mqtt_client.chm differ diff --git a/docs/netapps/mqtt/sl/server/sl_mqtt_server.chm b/docs/netapps/mqtt/sl/server/sl_mqtt_server.chm new file mode 100644 index 0000000..76901e0 Binary files /dev/null and b/docs/netapps/mqtt/sl/server/sl_mqtt_server.chm differ diff --git a/docs/simplelink_api/html/_include_2user_8h_source.html b/docs/simplelink_api/html/_include_2user_8h_source.html deleted file mode 100644 index ed392f2..0000000 --- a/docs/simplelink_api/html/_include_2user_8h_source.html +++ /dev/null @@ -1,338 +0,0 @@ - - - - -SimpleLink Host Driver: user.h Source File - - - - - - - - - - - - - - -
-
- - - - - - -
-
SimpleLink Host Driver 1.0.0.0
-
-
- - -
-
- -
-
-
- -
-
-
-
user.h
-
-
-
00001 //*****************************************************************************
-00002 // user.h
-00003 //
-00004 // user header file for CC3200 Simplelink
-00005 //
-00006 // Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
-00007 //
-00008 //
-00009 //  Redistribution and use in source and binary forms, with or without
-00010 //  modification, are permitted provided that the following conditions
-00011 //  are met:
-00012 //
-00013 //    Redistributions of source code must retain the above copyright
-00014 //    notice, this list of conditions and the following disclaimer.
-00015 //
-00016 //    Redistributions in binary form must reproduce the above copyright
-00017 //    notice, this list of conditions and the following disclaimer in the
-00018 //    documentation and/or other materials provided with the
-00019 //    distribution.
-00020 //
-00021 //    Neither the name of Texas Instruments Incorporated nor the names of
-00022 //    its contributors may be used to endorse or promote products derived
-00023 //    from this software without specific prior written permission.
-00024 //
-00025 //  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-00026 //  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-00027 //  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-00028 //  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-00029 //  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-00030 //  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-00031 //  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-00032 //  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-00033 //  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-00034 //  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-00035 //  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-00036 //
-00037 //*****************************************************************************
-00038 
-00039 #ifndef __USER_H__
-00040 #define __USER_H__
-00041 
-00042 #ifdef  __cplusplus
-00043 extern "C" {
-00044 #endif
-00045 
-00046 #include <string.h>
-00047 #include "cc_pal.h"
-00048 
-00049 
-00050 
-00051 
-00088 #define MAX_CONCURRENT_ACTIONS 10
-00089 
-00129 #define SL_INC_ARG_CHECK
-00130 
-00131 
-00151 #define SL_INC_STD_BSD_API_NAMING
-00152 
-00153 
-00167 #define SL_INC_EXT_API
-00168 
-00182 #define SL_INC_WLAN_PKG
-00183 
-00197 #define SL_INC_SOCKET_PKG
-00198 
-00212 #define SL_INC_NET_APP_PKG
-00213 
-00227 #define SL_INC_NET_CFG_PKG
-00228 
-00242 #define SL_INC_NVMEM_PKG
-00243 
-00257 #define SL_INC_SOCK_SERVER_SIDE_API
-00258 
-00272 #define SL_INC_SOCK_CLIENT_SIDE_API
-00273 
-00287 #define SL_INC_SOCK_RECV_API
-00288 
-00302 #define SL_INC_SOCK_SEND_API
-00303 
-00348 #define sl_DeviceEnable()                       NwpPowerOn()
-00349 
-00362 #define sl_DeviceDisable()                      NwpPowerOff()
-00363 
-00395 #define _SlFd_t                                 Fd_t
-00396 
-00430 #define sl_IfOpen                           spi_Open
-00431 
-00449 #define sl_IfClose                          spi_Close
-00450 
-00475 #define sl_IfRead                           spi_Read
-00476 
-00505 #define sl_IfWrite                          spi_Write
-00506 
-00530 #define sl_IfRegIntHdlr(InterruptHdl , pValue)          NwpRegisterInterruptHandler(InterruptHdl , pValue)
-00531 
-00545 #define sl_IfMaskIntHdlr()                                                              NwpMaskInterrupt()
-00546 
-00559 #define sl_IfUnMaskIntHdlr()                                                            NwpUnMaskInterrupt()
-00560 
-00561 
-00562 
-00606 /*
-00607 #define SL_MEMORY_MGMT_DYNAMIC  1
-00608 #define SL_MEMORY_MGMT_STATIC  0
-00609 
-00610 #define SL_MEMORY_MGMT  SL_MEMORY_MGMT_DYNAMIC
-00611 */
-00612 
-00613 
-00641 /* #define SL_START_WRITE_STAT */
-00642 
-00643 
-00677 /*
-00678 #define SL_PLATFORM_MULTI_THREADED
-00679 */
-00680 
-00681 #ifdef SL_PLATFORM_MULTI_THREADED
-00682 #include "osi.h"
-00683 
-00684 
-00691 #define SL_OS_RET_CODE_OK                       ((int)OSI_OK)
-00692 
-00699 #define SL_OS_WAIT_FOREVER                      ((OsiTime_t)OSI_WAIT_FOREVER)
-00700 
-00707 #define SL_OS_NO_WAIT                           ((OsiTime_t)OSI_NO_WAIT)
-00708 
-00716 #define _SlTime_t                               OsiTime_t
-00717 
-00731 typedef OsiSyncObj_t                            _SlSyncObj_t;
-00732 
-00733 
-00748 #define sl_SyncObjCreate(pSyncObj,pName)            osi_SyncObjCreate(pSyncObj)
-00749 
-00750 
-00761 #define sl_SyncObjDelete(pSyncObj)                  osi_SyncObjDelete(pSyncObj)
-00762 
-00763 
-00776 #define sl_SyncObjSignal(pSyncObj)                osi_SyncObjSignal(pSyncObj)
-00777 
-00790 #define sl_SyncObjSignalFromIRQ(pSyncObj)           osi_SyncObjSignalFromISR(pSyncObj)
-00791 
-00807 #define sl_SyncObjWait(pSyncObj,Timeout)            osi_SyncObjWait(pSyncObj,Timeout)
-00808 
-00819 typedef OsiLockObj_t                            _SlLockObj_t;
-00820 
-00834 #define sl_LockObjCreate(pLockObj,pName)            osi_LockObjCreate(pLockObj)
-00835 
-00846 #define sl_LockObjDelete(pLockObj)                  osi_LockObjDelete(pLockObj)
-00847 
-00867 #define sl_LockObjLock(pLockObj,Timeout)           osi_LockObjLock(pLockObj,Timeout)
-00868 
-00879 #define sl_LockObjUnlock(pLockObj)                   osi_LockObjUnlock(pLockObj)
-00880 
-00881 #endif
-00882 
-00899 #define SL_PLATFORM_EXTERNAL_SPAWN
-00900 
-00901 #ifdef SL_PLATFORM_EXTERNAL_SPAWN
-00902 #define sl_Spawn(pEntry,pValue,flags)       osi_Spawn(pEntry,pValue,flags)
-00903 #endif
-00904 
-00905 #ifdef SL_MEMORY_MGMT_DYNAMIC
-00906 #ifdef SL_PLATFORM_MULTI_THREADED
-00907 #define sl_Malloc(Size)                                 mem_Malloc(Size)
-00908 #define sl_Free(pMem)                                   mem_Free(pMem)
-00909 #else
-00910 #include <stdlib.h>
-00911 #define sl_Malloc(Size)                                 malloc(Size)
-00912 #define sl_Free(pMem)                                   free(pMem)
-00913 #endif
-00914 #endif
-00915 
-00949 //#define sl_GeneralEvtHdlr
-00950 
-00951 
-00962 #define sl_WlanEvtHdlr                     SimpleLinkWlanEventHandler
-00963 
-00964 
-00975 #define sl_NetAppEvtHdlr                        SimpleLinkNetAppEventHandler
-00976 
-00994 #define sl_HttpServerCallback   SimpleLinkHttpServerCallback
-00995 
-01005 /*
-01006 #define sl_SockEvtHdlr
-01007 */
-01008 
-01009 
-01018 #ifdef  __cplusplus
-01019 }
-01020 #endif // __cplusplus
-01021 
-01022 #endif // __USER_H__
-
-
- - -
- All Data Structures Variables
- - -
- -
- - - - diff --git a/docs/simplelink_api/html/_simple_link_8h_source.html b/docs/simplelink_api/html/_simple_link_8h_source.html deleted file mode 100644 index 2479c2b..0000000 --- a/docs/simplelink_api/html/_simple_link_8h_source.html +++ /dev/null @@ -1,352 +0,0 @@ - - - - - - -CC32XX SimpleLink Host Driver: SimpleLink.h Source File - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- -
- All Data Structures Functions Variables Typedefs Groups Pages
- - -
- -
- -
-
-
SimpleLink.h
-
-
-
1 /*
-
2  * simplelink.h - CC31xx/CC32xx Host Driver Implementation
-
3  *
-
4  * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
-
5  *
-
6  *
-
7  * Redistribution and use in source and binary forms, with or without
-
8  * modification, are permitted provided that the following conditions
-
9  * are met:
-
10  *
-
11  * Redistributions of source code must retain the above copyright
-
12  * notice, this list of conditions and the following disclaimer.
-
13  *
-
14  * Redistributions in binary form must reproduce the above copyright
-
15  * notice, this list of conditions and the following disclaimer in the
-
16  * documentation and/or other materials provided with the
-
17  * distribution.
-
18  *
-
19  * Neither the name of Texas Instruments Incorporated nor the names of
-
20  * its contributors may be used to endorse or promote products derived
-
21  * from this software without specific prior written permission.
-
22  *
-
23  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-
24  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-
25  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-
26  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-
27  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-
28  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-
29  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-
30  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-
31  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-
32  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-
33  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
34  *
-
35 */
-
36 
-
37 
-
184 #ifndef __SIMPLELINK_H__
-
185 #define __SIMPLELINK_H__
-
186 
-
187 #include "../user.h"
-
188 
-
189 #ifdef __cplusplus
-
190 extern "C"
-
191 {
-
192 #endif
-
193 
-
194 
-
218 /*****************************************************************************/
-
219 /* Macro declarations for Host Driver version */
-
220 /*****************************************************************************/
-
221 #define SL_DRIVER_VERSION "1.0.0.1"
-
222 #define SL_MAJOR_VERSION_NUM 1L
-
223 #define SL_MINOR_VERSION_NUM 0L
-
224 #define SL_VERSION_NUM 0L
-
225 #define SL_SUB_VERSION_NUM 1L
-
226 
-
227 
-
228 /*****************************************************************************/
-
229 /* Macro declarations for predefined configurations */
-
230 /*****************************************************************************/
-
231 
-
232 #ifdef SL_TINY
-
233 #undef SL_INC_ARG_CHECK
-
234 #undef SL_INC_EXT_API
-
235 #undef SL_INC_SOCK_CLIENT_SIDE_API
-
236 #undef SL_INC_SOCK_SEND_API
-
237 #undef SL_INC_WLAN_PKG
-
238 #undef SL_INC_NET_APP_PKG
-
239 #undef SL_INC_NET_CFG_PKG
-
240 #undef SL_INC_FS_PKG
-
241 #define SL_INC_SOCK_SERVER_SIDE_API
-
242 #define SL_INC_SOCK_RECV_API
-
243 #define SL_INC_SOCKET_PKG
-
244 #endif
-
245 
-
246 #ifdef SL_SMALL
-
247 #undef SL_INC_EXT_API
-
248 #undef SL_INC_NET_APP_PKG
-
249 #undef SL_INC_NET_CFG_PKG
-
250 #undef SL_INC_FS_PKG
-
251 #define SL_INC_ARG_CHECK
-
252 #define SL_INC_WLAN_PKG
-
253 #define SL_INC_SOCKET_PKG
-
254 #define SL_INC_SOCK_CLIENT_SIDE_API
-
255 #define SL_INC_SOCK_SERVER_SIDE_API
-
256 #define SL_INC_SOCK_RECV_API
-
257 #define SL_INC_SOCK_SEND_API
-
258 #endif
-
259 
-
260 #ifdef SL_FULL
-
261 #define SL_INC_EXT_API
-
262 #define SL_INC_NET_APP_PKG
-
263 #define SL_INC_NET_CFG_PKG
-
264 #define SL_INC_FS_PKG
-
265 #define SL_INC_ARG_CHECK
-
266 #define SL_INC_WLAN_PKG
-
267 #define SL_INC_SOCKET_PKG
-
268 #define SL_INC_SOCK_CLIENT_SIDE_API
-
269 #define SL_INC_SOCK_SERVER_SIDE_API
-
270 #define SL_INC_SOCK_RECV_API
-
271 #define SL_INC_SOCK_SEND_API
-
272 #endif
-
273 
-
274 #define SL_RET_CODE_OK (0)
-
275 #define SL_RET_CODE_INVALID_INPUT (-2)
-
276 #define SL_RET_CODE_SELF_ERROR (-3)
-
277 #define SL_RET_CODE_NWP_IF_ERROR (-4)
-
278 #define SL_RET_CODE_MALLOC_ERROR (-5)
-
279 
-
280 #define sl_Memcpy memcpy
-
281 #define sl_Memset memset
-
282 
-
283 #define sl_SyncObjClear(pObj) sl_SyncObjWait(pObj,SL_OS_NO_WAIT)
-
284 
-
285 #define SL_MAX_SOCKETS (8)
-
286 
-
287 
-
288 /*****************************************************************************/
-
289 /* Types definitions */
-
290 /*****************************************************************************/
-
291 typedef void (*_SlSpawnEntryFunc_t)(void* pValue);
-
292 
-
293 #ifndef NULL
-
294 #define NULL (0)
-
295 #endif
-
296 
-
297 #ifndef FALSE
-
298 #define FALSE (0)
-
299 #endif
-
300 
-
301 #ifndef TRUE
-
302 #define TRUE (!FALSE)
-
303 #endif
-
304 
-
305 #ifndef OK
-
306 #define OK (0)
-
307 #endif
-
308 
-
309 #ifndef _SL_USER_TYPES
-
310  #define _u8 unsigned char
-
311  #define _i8 signed char
-
312 
-
313  #define _u16 unsigned short
-
314  #define _i16 signed short
-
315 
-
316  #define _u32 unsigned long
-
317  #define _i32 signed long
-
318  #define _volatile volatile
-
319  #define _const const
-
320 #endif
-
321 
-
322 typedef _u16 _SlOpcode_t;
-
323 typedef _u8 _SlArgSize_t;
-
324 typedef _i16 _SlDataSize_t;
-
325 typedef _i16 _SlReturnVal_t;
-
326 
-
327 #ifdef __cplusplus
-
328 }
-
329 #endif /* __cplusplus */
-
330 
-
331 
-
332 
-
333 /*****************************************************************************/
-
334 /* Include files */
-
335 /*****************************************************************************/
-
336 
-
337 #ifdef SL_PLATFORM_MULTI_THREADED
-
338  #include "../source/spawn.h"
-
339 #else
-
340  #include "../source/nonos.h"
-
341 #endif
-
342 
-
343 
-
344 /*
-
345  objInclusion.h and user.h must be included before all api header files
-
346  objInclusion.h must be the last arrangement just before including the API header files
-
347  since it based on the other configurations to decide which object should be included
-
348 */
-
349 #include "../source/objInclusion.h"
-
350 #include "trace.h"
-
351 #include "fs.h"
-
352 #include "socket.h"
-
353 #include "netapp.h"
-
354 #include "wlan.h"
-
355 #include "device.h"
-
356 #include "netcfg.h"
-
357 #include "wlan_rx_filters.h"
-
358 
-
359 
-
360 
-
361 /* Async functions description*/
-
362 
-
382 #if (defined(sl_GeneralEvtHdlr))
-
383 extern void sl_GeneralEvtHdlr(SlDeviceEvent_t *pSlDeviceEvent);
-
384 #endif
-
385 
-
386 
-
460 #if (defined(sl_WlanEvtHdlr))
-
461 extern void sl_WlanEvtHdlr(SlWlanEvent_t *pSlWlanEvent);
-
462 #endif
-
463 
-
464 
-
491 #if (defined(sl_NetAppEvtHdlr))
-
492 extern void sl_NetAppEvtHdlr(SlNetAppEvent_t *pSlNetApp);
-
493 #endif
-
494 
-
513 #if (defined(sl_SockEvtHdlr))
-
514 extern void sl_SockEvtHdlr(SlSockEvent_t *pSlSockEvent);
-
515 #endif
-
516 
-
545 #if (defined(sl_HttpServerCallback))
-
546 extern void sl_HttpServerCallback(SlHttpServerEvent_t *pSlHttpServerEvent, SlHttpServerResponse_t *pSlHttpServerResponse);
-
547 #endif
-
548 
-
555 #ifdef __cplusplus
-
556 }
-
557 #endif /* __cplusplus */
-
558 
-
559 #endif /* __SIMPLELINK_H__ */
-
560 
-
Definition: device.h:266
-
Definition: socket.h:433
-
void sl_HttpServerCallback(SlHttpServerEvent_t *pSlHttpServerEvent, SlHttpServerResponse_t *pSlHttpServerResponse)
HTTP server async event.
-
Definition: wlan.h:409
-
Definition: socket.h:554
-
Definition: netapp.h:247
-
void sl_SockEvtHdlr(SlSockEvent_t *pSlSockEvent)
Socket Async event handler.
-
void sl_WlanEvtHdlr(SlWlanEvent_t *pSlWlanEvent)
General async event for inspecting general events.
-
Definition: netapp.h:253
-
void sl_NetAppEvtHdlr(SlNetAppEvent_t *pSlNetApp)
NETAPP Async event handler.
-
-
- - - - diff --git a/docs/simplelink_api/html/annotated.html b/docs/simplelink_api/html/annotated.html index a28bc57..c28f7d4 100644 --- a/docs/simplelink_api/html/annotated.html +++ b/docs/simplelink_api/html/annotated.html @@ -1,206 +1,207 @@ - - - - - - -CC32XX SimpleLink Host Driver: Data Structures - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- -
- All Data Structures Functions Variables Typedefs Groups Pages
- - -
- -
- -
-
-
Data Structures
-
-
-
Here are the data structures with brief descriptions:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 C_SlDeviceEventData_u
 C_slHttpServerData_t
 C_slHttpServerPostData_t
 C_slHttpServerString_t
 C_SlPartialVersion
 C_WlanRxFilterOperationCommandBuff_t
 C_WlanRxFilterPrePreparedFiltersCommandBuff_t
 C_WlanRxFilterPrePreparedFiltersCommandResponseBuff_t
 C_WlanRxFilterRetrieveEnableStatusCommandResponseBuff_t
 C_WlanRxFilterUpdateArgsCommandBuff_t
 Csl_DeviceReport
 Csl_protocol_InfoElement_t
 Csl_protocol_WlanSetInfoElement_t
 CSl_WlanNetworkEntry_t
 CSlDateTime_t
 CSlDeviceEvent_t
 CSlFdSet_t
 CSlFsFileInfo_t
 CSlGetRxStatResponse_t
 CSlGetSecParamsExt_t
 CSlHttpServerEvent_t
 CSlHttpServerEventData_u
 CSlHttpServerResponse_t
 CSlHttpServerResponsedata_u
 CSlIn6Addr_t
 CSlInAddr_t
 CSlIpLeasedAsync_t
 CSlIpReleasedAsync_t
 CSlIpV4AcquiredAsync_t
 CSlIpV6AcquiredAsync_t
 CSlNetAppDhcpServerBasicOpt_t
 CSlNetAppEvent_t
 CSlNetAppEventData_u
 CSlNetAppGetFullServiceIpv4List_t
 CSlNetAppGetFullServiceWithTextIpv4List_t
 CSlNetAppGetShortServiceIpv4List_t
 CSlNetAppServiceAdvertiseTimingParameters_t
 CSlNetCfgIpV4Args_t
 CslPeerInfoAsyncResponse_t
 CSlPingReport_t
 CSlPingStartCommand_t
 CSlrxFilterAction_t
 CSlrxFilterActionType_t
 CSlrxFilterCombinationType_t
 CSlrxFilterFlags_t
 CSlrxFilterHeaderArg_t
 CSlrxFilterHeaderType_t
 CSlrxFilterPayloadType_t
 CSlrxFilterRegxPattern_t
 CSlrxFilterRule_t
 CSlrxFilterRuleHeaderArgsAndMask_t
 CSlrxFilterTrigger_t
 CSlrxFilterTriggerConnectionStates_t
 CSlrxFilterTriggerRoles_t
 CSlSecParams_t
 CSlSecParamsExt_t
 CslSmartConfigStartAsyncResponse_t
 CslSmartConfigStopAsyncResponse_t
 CSlSockAddr_t
 CSlSockAddrIn6_t
 CSlSockAddrIn_t
 CSlSocketAsyncEvent_t
 CSlSockEvent_t
 CSlSockEventData_t
 CSlSockIpMreq
 CSlSockKeepalive_t
 CSlSockNonblocking_t
 CSlSockReuseaddr_t
 CSlSockSecureMask
 CSlSockSecureMethod
 CSlSockWinsize_t
 CSlTimeval_t
 CSlTransceiverRxOverHead_t
 CSlVersionFull
 CslWlanConnectAsyncResponse_t
 CslWlanConnFailureAsyncResponse_t
 CSlWlanEvent_t
 CSlWlanEventData_u
 CslWlanScanParamCommand_t
 Csock_secureFiles
-
-
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: Data Structures + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Data Structures Functions Variables Groups Pages
+ + +
+ +
+ +
+
+
Data Structures
+
+
+
Here are the data structures with brief descriptions:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
oC_SlDeviceEventData_u
oC_slHttpServerData_t
oC_slHttpServerPostData_t
oC_slHttpServerString_t
oC_SlPartialVersion
oC_WlanRxFilterOperationCommandBuff_t
oC_WlanRxFilterPrePreparedFiltersCommandBuff_t
oC_WlanRxFilterPrePreparedFiltersCommandResponseBuff_t
oC_WlanRxFilterRetrieveEnableStatusCommandResponseBuff_t
oC_WlanRxFilterUpdateArgsCommandBuff_t
oCsl_DeviceReport
oCsl_DeviceReportAbort
oCsl_protocol_InfoElement_t
oCsl_protocol_WlanSetInfoElement_t
oCSl_WlanNetworkEntry_t
oCSlDateTime_t
oCSlDeviceEvent_t
oCSlFdSet_t
oCSlFsFileInfo_t
oCSlGetRxStatResponse_t
oCSlGetSecParamsExt_t
oCSlHttpServerEvent_t
oCSlHttpServerEventData_u
oCSlHttpServerResponse_t
oCSlHttpServerResponsedata_u
oCSlIn6Addr_t
oCSlInAddr_t
oCSlIpLeasedAsync_t
oCSlIpReleasedAsync_t
oCSlIpV4AcquiredAsync_t
oCSlIpV6AcquiredAsync_t
oCSlNetAppDhcpServerBasicOpt_t
oCSlNetAppEvent_t
oCSlNetAppEventData_u
oCSlNetAppGetFullServiceIpv4List_t
oCSlNetAppGetFullServiceWithTextIpv4List_t
oCSlNetAppGetShortServiceIpv4List_t
oCSlNetAppServiceAdvertiseTimingParameters_t
oCSlNetCfgIpV4Args_t
oCslPeerInfoAsyncResponse_t
oCSlPingReport_t
oCSlPingStartCommand_t
oCSlrxFilterAction_t
oCSlrxFilterActionType_t
oCSlrxFilterCombinationType_t
oCSlrxFilterFlags_t
oCSlrxFilterHeaderArg_t
oCSlrxFilterHeaderType_t
oCSlrxFilterPayloadType_t
oCSlrxFilterRegxPattern_t
oCSlrxFilterRule_t
oCSlrxFilterRuleHeaderArgsAndMask_t
oCSlrxFilterTrigger_t
oCSlrxFilterTriggerConnectionStates_t
oCSlrxFilterTriggerRoles_t
oCSlSecParams_t
oCSlSecParamsExt_t
oCslSmartConfigStartAsyncResponse_t
oCslSmartConfigStopAsyncResponse_t
oCSlSockAddr_t
oCSlSockAddrIn6_t
oCSlSockAddrIn_t
oCSlSocketAsyncEvent_t
oCSlSockEvent_t
oCSlSockEventData_u
oCSlSockIpMreq
oCSlSockKeepalive_t
oCSlSockNonblocking_t
oCSlSockReuseaddr_t
oCSlSockSecureMask
oCSlSockSecureMethod
oCSlSockTxFailEventData_t
oCSlSockWinsize_t
oCSlTimeval_t
oCSlTransceiverRxOverHead_t
oCSlVersionFull
oCslWlanConnectAsyncResponse_t
oCslWlanConnFailureAsyncResponse_t
oCSlWlanEvent_t
oCSlWlanEventData_u
oCslWlanScanParamCommand_t
\Csock_secureFiles
+
+
+
+ + + + diff --git a/docs/simplelink_api/html/annotated.js b/docs/simplelink_api/html/annotated.js index 86fdfd6..0d90e82 100644 --- a/docs/simplelink_api/html/annotated.js +++ b/docs/simplelink_api/html/annotated.js @@ -1,83 +1,85 @@ -var annotated = -[ - [ "_SlDeviceEventData_u", "union___sl_device_event_data__u.html", "union___sl_device_event_data__u" ], - [ "_slHttpServerData_t", "struct__sl_http_server_data__t.html", "struct__sl_http_server_data__t" ], - [ "_slHttpServerPostData_t", "struct__sl_http_server_post_data__t.html", "struct__sl_http_server_post_data__t" ], - [ "_slHttpServerString_t", "struct__sl_http_server_string__t.html", "struct__sl_http_server_string__t" ], - [ "_SlPartialVersion", "struct___sl_partial_version.html", "struct___sl_partial_version" ], - [ "_WlanRxFilterOperationCommandBuff_t", "struct___wlan_rx_filter_operation_command_buff__t.html", "struct___wlan_rx_filter_operation_command_buff__t" ], - [ "_WlanRxFilterPrePreparedFiltersCommandBuff_t", "struct___wlan_rx_filter_pre_prepared_filters_command_buff__t.html", "struct___wlan_rx_filter_pre_prepared_filters_command_buff__t" ], - [ "_WlanRxFilterPrePreparedFiltersCommandResponseBuff_t", "struct___wlan_rx_filter_pre_prepared_filters_command_response_buff__t.html", "struct___wlan_rx_filter_pre_prepared_filters_command_response_buff__t" ], - [ "_WlanRxFilterRetrieveEnableStatusCommandResponseBuff_t", "struct___wlan_rx_filter_retrieve_enable_status_command_response_buff__t.html", "struct___wlan_rx_filter_retrieve_enable_status_command_response_buff__t" ], - [ "_WlanRxFilterUpdateArgsCommandBuff_t", "struct___wlan_rx_filter_update_args_command_buff__t.html", "struct___wlan_rx_filter_update_args_command_buff__t" ], - [ "sl_DeviceReport", "structsl___device_report.html", "structsl___device_report" ], - [ "sl_protocol_InfoElement_t", "structsl__protocol___info_element__t.html", "structsl__protocol___info_element__t" ], - [ "sl_protocol_WlanSetInfoElement_t", "structsl__protocol___wlan_set_info_element__t.html", "structsl__protocol___wlan_set_info_element__t" ], - [ "Sl_WlanNetworkEntry_t", "struct_sl___wlan_network_entry__t.html", "struct_sl___wlan_network_entry__t" ], - [ "SlDateTime_t", "struct_sl_date_time__t.html", "struct_sl_date_time__t" ], - [ "SlDeviceEvent_t", "struct_sl_device_event__t.html", "struct_sl_device_event__t" ], - [ "SlFdSet_t", "struct_sl_fd_set__t.html", "struct_sl_fd_set__t" ], - [ "SlFsFileInfo_t", "struct_sl_fs_file_info__t.html", "struct_sl_fs_file_info__t" ], - [ "SlGetRxStatResponse_t", "struct_sl_get_rx_stat_response__t.html", "struct_sl_get_rx_stat_response__t" ], - [ "SlGetSecParamsExt_t", "struct_sl_get_sec_params_ext__t.html", "struct_sl_get_sec_params_ext__t" ], - [ "SlHttpServerEvent_t", "struct_sl_http_server_event__t.html", "struct_sl_http_server_event__t" ], - [ "SlHttpServerEventData_u", "union_sl_http_server_event_data__u.html", "union_sl_http_server_event_data__u" ], - [ "SlHttpServerResponse_t", "struct_sl_http_server_response__t.html", "struct_sl_http_server_response__t" ], - [ "SlHttpServerResponsedata_u", "union_sl_http_server_responsedata__u.html", "union_sl_http_server_responsedata__u" ], - [ "SlIn6Addr_t", "struct_sl_in6_addr__t.html", "struct_sl_in6_addr__t" ], - [ "SlInAddr_t", "struct_sl_in_addr__t.html", "struct_sl_in_addr__t" ], - [ "SlIpLeasedAsync_t", "struct_sl_ip_leased_async__t.html", "struct_sl_ip_leased_async__t" ], - [ "SlIpReleasedAsync_t", "struct_sl_ip_released_async__t.html", "struct_sl_ip_released_async__t" ], - [ "SlIpV4AcquiredAsync_t", "struct_sl_ip_v4_acquired_async__t.html", "struct_sl_ip_v4_acquired_async__t" ], - [ "SlIpV6AcquiredAsync_t", "struct_sl_ip_v6_acquired_async__t.html", "struct_sl_ip_v6_acquired_async__t" ], - [ "SlNetAppDhcpServerBasicOpt_t", "struct_sl_net_app_dhcp_server_basic_opt__t.html", "struct_sl_net_app_dhcp_server_basic_opt__t" ], - [ "SlNetAppEvent_t", "struct_sl_net_app_event__t.html", "struct_sl_net_app_event__t" ], - [ "SlNetAppEventData_u", "union_sl_net_app_event_data__u.html", "union_sl_net_app_event_data__u" ], - [ "SlNetAppGetFullServiceIpv4List_t", "struct_sl_net_app_get_full_service_ipv4_list__t.html", "struct_sl_net_app_get_full_service_ipv4_list__t" ], - [ "SlNetAppGetFullServiceWithTextIpv4List_t", "struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html", "struct_sl_net_app_get_full_service_with_text_ipv4_list__t" ], - [ "SlNetAppGetShortServiceIpv4List_t", "struct_sl_net_app_get_short_service_ipv4_list__t.html", "struct_sl_net_app_get_short_service_ipv4_list__t" ], - [ "SlNetAppServiceAdvertiseTimingParameters_t", "struct_sl_net_app_service_advertise_timing_parameters__t.html", "struct_sl_net_app_service_advertise_timing_parameters__t" ], - [ "SlNetCfgIpV4Args_t", "struct_sl_net_cfg_ip_v4_args__t.html", "struct_sl_net_cfg_ip_v4_args__t" ], - [ "slPeerInfoAsyncResponse_t", "structsl_peer_info_async_response__t.html", "structsl_peer_info_async_response__t" ], - [ "SlPingReport_t", "struct_sl_ping_report__t.html", "struct_sl_ping_report__t" ], - [ "SlPingStartCommand_t", "struct_sl_ping_start_command__t.html", "struct_sl_ping_start_command__t" ], - [ "SlrxFilterAction_t", "struct_slrx_filter_action__t.html", "struct_slrx_filter_action__t" ], - [ "SlrxFilterActionType_t", "union_slrx_filter_action_type__t.html", "union_slrx_filter_action_type__t" ], - [ "SlrxFilterCombinationType_t", "struct_slrx_filter_combination_type__t.html", "struct_slrx_filter_combination_type__t" ], - [ "SlrxFilterFlags_t", "union_slrx_filter_flags__t.html", "union_slrx_filter_flags__t" ], - [ "SlrxFilterHeaderArg_t", "union_slrx_filter_header_arg__t.html", "union_slrx_filter_header_arg__t" ], - [ "SlrxFilterHeaderType_t", "struct_slrx_filter_header_type__t.html", "struct_slrx_filter_header_type__t" ], - [ "SlrxFilterPayloadType_t", "struct_slrx_filter_payload_type__t.html", "struct_slrx_filter_payload_type__t" ], - [ "SlrxFilterRegxPattern_t", "struct_slrx_filter_regx_pattern__t.html", "struct_slrx_filter_regx_pattern__t" ], - [ "SlrxFilterRule_t", "union_slrx_filter_rule__t.html", "union_slrx_filter_rule__t" ], - [ "SlrxFilterRuleHeaderArgsAndMask_t", "struct_slrx_filter_rule_header_args_and_mask__t.html", "struct_slrx_filter_rule_header_args_and_mask__t" ], - [ "SlrxFilterTrigger_t", "struct_slrx_filter_trigger__t.html", "struct_slrx_filter_trigger__t" ], - [ "SlrxFilterTriggerConnectionStates_t", "union_slrx_filter_trigger_connection_states__t.html", "union_slrx_filter_trigger_connection_states__t" ], - [ "SlrxFilterTriggerRoles_t", "union_slrx_filter_trigger_roles__t.html", "union_slrx_filter_trigger_roles__t" ], - [ "SlSecParams_t", "struct_sl_sec_params__t.html", "struct_sl_sec_params__t" ], - [ "SlSecParamsExt_t", "struct_sl_sec_params_ext__t.html", "struct_sl_sec_params_ext__t" ], - [ "slSmartConfigStartAsyncResponse_t", "structsl_smart_config_start_async_response__t.html", "structsl_smart_config_start_async_response__t" ], - [ "slSmartConfigStopAsyncResponse_t", "structsl_smart_config_stop_async_response__t.html", "structsl_smart_config_stop_async_response__t" ], - [ "SlSockAddr_t", "struct_sl_sock_addr__t.html", "struct_sl_sock_addr__t" ], - [ "SlSockAddrIn6_t", "struct_sl_sock_addr_in6__t.html", "struct_sl_sock_addr_in6__t" ], - [ "SlSockAddrIn_t", "struct_sl_sock_addr_in__t.html", "struct_sl_sock_addr_in__t" ], - [ "SlSocketAsyncEvent_t", "struct_sl_socket_async_event__t.html", "struct_sl_socket_async_event__t" ], - [ "SlSockEvent_t", "struct_sl_sock_event__t.html", "struct_sl_sock_event__t" ], - [ "SlSockEventData_t", "struct_sl_sock_event_data__t.html", "struct_sl_sock_event_data__t" ], - [ "SlSockIpMreq", "struct_sl_sock_ip_mreq.html", "struct_sl_sock_ip_mreq" ], - [ "SlSockKeepalive_t", "struct_sl_sock_keepalive__t.html", "struct_sl_sock_keepalive__t" ], - [ "SlSockNonblocking_t", "struct_sl_sock_nonblocking__t.html", "struct_sl_sock_nonblocking__t" ], - [ "SlSockReuseaddr_t", "struct_sl_sock_reuseaddr__t.html", "struct_sl_sock_reuseaddr__t" ], - [ "SlSockSecureMask", "struct_sl_sock_secure_mask.html", "struct_sl_sock_secure_mask" ], - [ "SlSockSecureMethod", "struct_sl_sock_secure_method.html", "struct_sl_sock_secure_method" ], - [ "SlSockWinsize_t", "struct_sl_sock_winsize__t.html", "struct_sl_sock_winsize__t" ], - [ "SlTimeval_t", "struct_sl_timeval__t.html", "struct_sl_timeval__t" ], - [ "SlTransceiverRxOverHead_t", "struct_sl_transceiver_rx_over_head__t.html", "struct_sl_transceiver_rx_over_head__t" ], - [ "SlVersionFull", "struct_sl_version_full.html", "struct_sl_version_full" ], - [ "slWlanConnectAsyncResponse_t", "structsl_wlan_connect_async_response__t.html", "structsl_wlan_connect_async_response__t" ], - [ "slWlanConnFailureAsyncResponse_t", "structsl_wlan_conn_failure_async_response__t.html", "structsl_wlan_conn_failure_async_response__t" ], - [ "SlWlanEvent_t", "struct_sl_wlan_event__t.html", "struct_sl_wlan_event__t" ], - [ "SlWlanEventData_u", "union_sl_wlan_event_data__u.html", "union_sl_wlan_event_data__u" ], - [ "slWlanScanParamCommand_t", "structsl_wlan_scan_param_command__t.html", "structsl_wlan_scan_param_command__t" ], - [ "sock_secureFiles", "structsock__secure_files.html", "structsock__secure_files" ] +var annotated = +[ + [ "_SlDeviceEventData_u", "union___sl_device_event_data__u.html", "union___sl_device_event_data__u" ], + [ "_slHttpServerData_t", "struct__sl_http_server_data__t.html", "struct__sl_http_server_data__t" ], + [ "_slHttpServerPostData_t", "struct__sl_http_server_post_data__t.html", "struct__sl_http_server_post_data__t" ], + [ "_slHttpServerString_t", "struct__sl_http_server_string__t.html", "struct__sl_http_server_string__t" ], + [ "_SlPartialVersion", "struct___sl_partial_version.html", "struct___sl_partial_version" ], + [ "_WlanRxFilterOperationCommandBuff_t", "struct___wlan_rx_filter_operation_command_buff__t.html", "struct___wlan_rx_filter_operation_command_buff__t" ], + [ "_WlanRxFilterPrePreparedFiltersCommandBuff_t", "struct___wlan_rx_filter_pre_prepared_filters_command_buff__t.html", "struct___wlan_rx_filter_pre_prepared_filters_command_buff__t" ], + [ "_WlanRxFilterPrePreparedFiltersCommandResponseBuff_t", "struct___wlan_rx_filter_pre_prepared_filters_command_response_buff__t.html", "struct___wlan_rx_filter_pre_prepared_filters_command_response_buff__t" ], + [ "_WlanRxFilterRetrieveEnableStatusCommandResponseBuff_t", "struct___wlan_rx_filter_retrieve_enable_status_command_response_buff__t.html", "struct___wlan_rx_filter_retrieve_enable_status_command_response_buff__t" ], + [ "_WlanRxFilterUpdateArgsCommandBuff_t", "struct___wlan_rx_filter_update_args_command_buff__t.html", "struct___wlan_rx_filter_update_args_command_buff__t" ], + [ "sl_DeviceReport", "structsl___device_report.html", "structsl___device_report" ], + [ "sl_DeviceReportAbort", "structsl___device_report_abort.html", "structsl___device_report_abort" ], + [ "sl_protocol_InfoElement_t", "structsl__protocol___info_element__t.html", "structsl__protocol___info_element__t" ], + [ "sl_protocol_WlanSetInfoElement_t", "structsl__protocol___wlan_set_info_element__t.html", "structsl__protocol___wlan_set_info_element__t" ], + [ "Sl_WlanNetworkEntry_t", "struct_sl___wlan_network_entry__t.html", "struct_sl___wlan_network_entry__t" ], + [ "SlDateTime_t", "struct_sl_date_time__t.html", "struct_sl_date_time__t" ], + [ "SlDeviceEvent_t", "struct_sl_device_event__t.html", "struct_sl_device_event__t" ], + [ "SlFdSet_t", "struct_sl_fd_set__t.html", "struct_sl_fd_set__t" ], + [ "SlFsFileInfo_t", "struct_sl_fs_file_info__t.html", "struct_sl_fs_file_info__t" ], + [ "SlGetRxStatResponse_t", "struct_sl_get_rx_stat_response__t.html", "struct_sl_get_rx_stat_response__t" ], + [ "SlGetSecParamsExt_t", "struct_sl_get_sec_params_ext__t.html", "struct_sl_get_sec_params_ext__t" ], + [ "SlHttpServerEvent_t", "struct_sl_http_server_event__t.html", "struct_sl_http_server_event__t" ], + [ "SlHttpServerEventData_u", "union_sl_http_server_event_data__u.html", "union_sl_http_server_event_data__u" ], + [ "SlHttpServerResponse_t", "struct_sl_http_server_response__t.html", "struct_sl_http_server_response__t" ], + [ "SlHttpServerResponsedata_u", "union_sl_http_server_responsedata__u.html", "union_sl_http_server_responsedata__u" ], + [ "SlIn6Addr_t", "struct_sl_in6_addr__t.html", "struct_sl_in6_addr__t" ], + [ "SlInAddr_t", "struct_sl_in_addr__t.html", "struct_sl_in_addr__t" ], + [ "SlIpLeasedAsync_t", "struct_sl_ip_leased_async__t.html", "struct_sl_ip_leased_async__t" ], + [ "SlIpReleasedAsync_t", "struct_sl_ip_released_async__t.html", "struct_sl_ip_released_async__t" ], + [ "SlIpV4AcquiredAsync_t", "struct_sl_ip_v4_acquired_async__t.html", "struct_sl_ip_v4_acquired_async__t" ], + [ "SlIpV6AcquiredAsync_t", "struct_sl_ip_v6_acquired_async__t.html", "struct_sl_ip_v6_acquired_async__t" ], + [ "SlNetAppDhcpServerBasicOpt_t", "struct_sl_net_app_dhcp_server_basic_opt__t.html", "struct_sl_net_app_dhcp_server_basic_opt__t" ], + [ "SlNetAppEvent_t", "struct_sl_net_app_event__t.html", "struct_sl_net_app_event__t" ], + [ "SlNetAppEventData_u", "union_sl_net_app_event_data__u.html", "union_sl_net_app_event_data__u" ], + [ "SlNetAppGetFullServiceIpv4List_t", "struct_sl_net_app_get_full_service_ipv4_list__t.html", "struct_sl_net_app_get_full_service_ipv4_list__t" ], + [ "SlNetAppGetFullServiceWithTextIpv4List_t", "struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html", "struct_sl_net_app_get_full_service_with_text_ipv4_list__t" ], + [ "SlNetAppGetShortServiceIpv4List_t", "struct_sl_net_app_get_short_service_ipv4_list__t.html", "struct_sl_net_app_get_short_service_ipv4_list__t" ], + [ "SlNetAppServiceAdvertiseTimingParameters_t", "struct_sl_net_app_service_advertise_timing_parameters__t.html", "struct_sl_net_app_service_advertise_timing_parameters__t" ], + [ "SlNetCfgIpV4Args_t", "struct_sl_net_cfg_ip_v4_args__t.html", "struct_sl_net_cfg_ip_v4_args__t" ], + [ "slPeerInfoAsyncResponse_t", "structsl_peer_info_async_response__t.html", "structsl_peer_info_async_response__t" ], + [ "SlPingReport_t", "struct_sl_ping_report__t.html", "struct_sl_ping_report__t" ], + [ "SlPingStartCommand_t", "struct_sl_ping_start_command__t.html", "struct_sl_ping_start_command__t" ], + [ "SlrxFilterAction_t", "struct_slrx_filter_action__t.html", "struct_slrx_filter_action__t" ], + [ "SlrxFilterActionType_t", "union_slrx_filter_action_type__t.html", "union_slrx_filter_action_type__t" ], + [ "SlrxFilterCombinationType_t", "struct_slrx_filter_combination_type__t.html", "struct_slrx_filter_combination_type__t" ], + [ "SlrxFilterFlags_t", "union_slrx_filter_flags__t.html", "union_slrx_filter_flags__t" ], + [ "SlrxFilterHeaderArg_t", "union_slrx_filter_header_arg__t.html", "union_slrx_filter_header_arg__t" ], + [ "SlrxFilterHeaderType_t", "struct_slrx_filter_header_type__t.html", "struct_slrx_filter_header_type__t" ], + [ "SlrxFilterPayloadType_t", "struct_slrx_filter_payload_type__t.html", "struct_slrx_filter_payload_type__t" ], + [ "SlrxFilterRegxPattern_t", "struct_slrx_filter_regx_pattern__t.html", "struct_slrx_filter_regx_pattern__t" ], + [ "SlrxFilterRule_t", "union_slrx_filter_rule__t.html", "union_slrx_filter_rule__t" ], + [ "SlrxFilterRuleHeaderArgsAndMask_t", "struct_slrx_filter_rule_header_args_and_mask__t.html", "struct_slrx_filter_rule_header_args_and_mask__t" ], + [ "SlrxFilterTrigger_t", "struct_slrx_filter_trigger__t.html", "struct_slrx_filter_trigger__t" ], + [ "SlrxFilterTriggerConnectionStates_t", "union_slrx_filter_trigger_connection_states__t.html", "union_slrx_filter_trigger_connection_states__t" ], + [ "SlrxFilterTriggerRoles_t", "union_slrx_filter_trigger_roles__t.html", "union_slrx_filter_trigger_roles__t" ], + [ "SlSecParams_t", "struct_sl_sec_params__t.html", "struct_sl_sec_params__t" ], + [ "SlSecParamsExt_t", "struct_sl_sec_params_ext__t.html", "struct_sl_sec_params_ext__t" ], + [ "slSmartConfigStartAsyncResponse_t", "structsl_smart_config_start_async_response__t.html", "structsl_smart_config_start_async_response__t" ], + [ "slSmartConfigStopAsyncResponse_t", "structsl_smart_config_stop_async_response__t.html", "structsl_smart_config_stop_async_response__t" ], + [ "SlSockAddr_t", "struct_sl_sock_addr__t.html", "struct_sl_sock_addr__t" ], + [ "SlSockAddrIn6_t", "struct_sl_sock_addr_in6__t.html", "struct_sl_sock_addr_in6__t" ], + [ "SlSockAddrIn_t", "struct_sl_sock_addr_in__t.html", "struct_sl_sock_addr_in__t" ], + [ "SlSocketAsyncEvent_t", "struct_sl_socket_async_event__t.html", "struct_sl_socket_async_event__t" ], + [ "SlSockEvent_t", "struct_sl_sock_event__t.html", "struct_sl_sock_event__t" ], + [ "SlSockEventData_u", "union_sl_sock_event_data__u.html", "union_sl_sock_event_data__u" ], + [ "SlSockIpMreq", "struct_sl_sock_ip_mreq.html", "struct_sl_sock_ip_mreq" ], + [ "SlSockKeepalive_t", "struct_sl_sock_keepalive__t.html", "struct_sl_sock_keepalive__t" ], + [ "SlSockNonblocking_t", "struct_sl_sock_nonblocking__t.html", "struct_sl_sock_nonblocking__t" ], + [ "SlSockReuseaddr_t", "struct_sl_sock_reuseaddr__t.html", "struct_sl_sock_reuseaddr__t" ], + [ "SlSockSecureMask", "struct_sl_sock_secure_mask.html", "struct_sl_sock_secure_mask" ], + [ "SlSockSecureMethod", "struct_sl_sock_secure_method.html", "struct_sl_sock_secure_method" ], + [ "SlSockTxFailEventData_t", "struct_sl_sock_tx_fail_event_data__t.html", "struct_sl_sock_tx_fail_event_data__t" ], + [ "SlSockWinsize_t", "struct_sl_sock_winsize__t.html", "struct_sl_sock_winsize__t" ], + [ "SlTimeval_t", "struct_sl_timeval__t.html", "struct_sl_timeval__t" ], + [ "SlTransceiverRxOverHead_t", "struct_sl_transceiver_rx_over_head__t.html", "struct_sl_transceiver_rx_over_head__t" ], + [ "SlVersionFull", "struct_sl_version_full.html", "struct_sl_version_full" ], + [ "slWlanConnectAsyncResponse_t", "structsl_wlan_connect_async_response__t.html", "structsl_wlan_connect_async_response__t" ], + [ "slWlanConnFailureAsyncResponse_t", "structsl_wlan_conn_failure_async_response__t.html", "structsl_wlan_conn_failure_async_response__t" ], + [ "SlWlanEvent_t", "struct_sl_wlan_event__t.html", "struct_sl_wlan_event__t" ], + [ "SlWlanEventData_u", "union_sl_wlan_event_data__u.html", "union_sl_wlan_event_data__u" ], + [ "slWlanScanParamCommand_t", "structsl_wlan_scan_param_command__t.html", "structsl_wlan_scan_param_command__t" ], + [ "sock_secureFiles", "structsock__secure_files.html", "structsock__secure_files" ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/cc__pal_8h_source.html b/docs/simplelink_api/html/cc__pal_8h_source.html deleted file mode 100644 index 2022690..0000000 --- a/docs/simplelink_api/html/cc__pal_8h_source.html +++ /dev/null @@ -1,223 +0,0 @@ - - - - -SimpleLink Host Driver: cc_pal.h Source File - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
-
-
cc_pal.h
-
-
-
00001 
-00002 /******************************************************************************
-00003 *
-00004 *   Copyright (C) 2013 Texas Instruments Incorporated
-00005 *
-00006 *   All rights reserved. Property of Texas Instruments Incorporated.
-00007 *   Restricted rights to use, duplicate or disclose this code are
-00008 *   granted through contract.
-00009 *
-00010 *   The program may not be used without the written permission of
-00011 *   Texas Instruments Incorporated or against the terms and conditions
-00012 *   stipulated in the agreement under which this program has been supplied,
-00013 *   and under no circumstances can it be used with non-TI connectivity device.
-00014 *
-00015 ******************************************************************************/
-00016 
-00017 #ifndef __CC31xx_PAL_H__
-00018 #define __CC31xx_PAL_H__
-00019 
-00020 #ifdef  __cplusplus
-00021 extern "C" {
-00022 #endif
-00023 
-00024 
-00025 
-00026   
-00032 typedef int Fd_t;
-00033 
-00034 
-00044 typedef void (*SL_P_EVENT_HANDLER)(void);
-00045 
-00046 #define P_EVENT_HANDLER SL_P_EVENT_HANDLER
-00047 
-00072 Fd_t spi_Open(char *ifName, unsigned long flags);
-00073 
-00086 int spi_Close(Fd_t fd);
-00087 
-00104 int spi_Read(Fd_t fd, unsigned char *pBuff, int len);
-00105 
-00126 int spi_Write(Fd_t fd, unsigned char *pBuff, int len);
-00127 
-00143 int NwpRegisterInterruptHandler(P_EVENT_HANDLER InterruptHdl , void* pValue);
-00144 
-00145 
-00154 void NwpMaskInterrupt();
-00155 
-00156 
-00165 void NwpUnMaskInterrupt(); 
-00166 
-00167 
-00168 void NwpPowerOff(void);
-00169 
-00170 void NwpPowerOn(void);
-00171 
-00172 void cc_UDMAChannelSelect(unsigned int uiChannel);
-00173 
-00174 void cc_SetupTransfer(
-00175                   unsigned long ulChannel, 
-00176                   unsigned long ulMode,
-00177                   unsigned long ulItemCount,
-00178                   unsigned long ulItemSize, 
-00179                   unsigned long ulArbSize,
-00180                   void *pvSrcBuf, 
-00181                   unsigned long ulSrcInc,
-00182                   void *pvDstBuf, 
-00183                   unsigned long ulDstInc);
-00184 
-00185 
-00186 
-00187 #ifdef  __cplusplus
-00188 }
-00189 #endif // __cplusplus
-00190 
-00191 
-00192 #endif
-00193 
-
-
- - -
- All Data Structures Variables
- - -
- -
- - - - diff --git a/docs/simplelink_api/html/classes.html b/docs/simplelink_api/html/classes.html index 0718b04..59cf664 100644 --- a/docs/simplelink_api/html/classes.html +++ b/docs/simplelink_api/html/classes.html @@ -1,147 +1,146 @@ - - - - - - -CC32XX SimpleLink Host Driver: Data Structure Index - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- -
- All Data Structures Functions Variables Typedefs Groups Pages
- - -
- -
- -
-
-
Data Structure Index
-
-
-
S | _
- - - - - - - - - - - - - - - - - - - -
  S  
-
SlIpV4AcquiredAsync_t   SlrxFilterHeaderType_t   SlSockKeepalive_t   _SlPartialVersion   
SlIpV6AcquiredAsync_t   SlrxFilterPayloadType_t   SlSockNonblocking_t   _WlanRxFilterOperationCommandBuff_t   
Sl_WlanNetworkEntry_t   SlNetAppDhcpServerBasicOpt_t   SlrxFilterRegxPattern_t   SlSockReuseaddr_t   _WlanRxFilterPrePreparedFiltersCommandBuff_t   
SlDateTime_t   SlNetAppEvent_t   SlrxFilterRule_t   SlSockSecureMask   _WlanRxFilterPrePreparedFiltersCommandResponseBuff_t   
SlDeviceEvent_t   SlNetAppEventData_u   SlrxFilterRuleHeaderArgsAndMask_t   SlSockSecureMethod   _WlanRxFilterRetrieveEnableStatusCommandResponseBuff_t   
SlFdSet_t   SlNetAppGetFullServiceIpv4List_t   SlrxFilterTrigger_t   SlSockWinsize_t   _WlanRxFilterUpdateArgsCommandBuff_t   
SlFsFileInfo_t   SlNetAppGetFullServiceWithTextIpv4List_t   SlrxFilterTriggerConnectionStates_t   SlTimeval_t   
  s  
-
SlGetRxStatResponse_t   SlNetAppGetShortServiceIpv4List_t   SlrxFilterTriggerRoles_t   SlTransceiverRxOverHead_t   
SlGetSecParamsExt_t   SlNetAppServiceAdvertiseTimingParameters_t   SlSecParams_t   SlVersionFull   sl_DeviceReport   
SlHttpServerEvent_t   SlNetCfgIpV4Args_t   SlSecParamsExt_t   SlWlanEvent_t   sl_protocol_InfoElement_t   
SlHttpServerEventData_u   SlPingReport_t   SlSockAddr_t   SlWlanEventData_u   sl_protocol_WlanSetInfoElement_t   
SlHttpServerResponse_t   SlPingStartCommand_t   SlSockAddrIn6_t   
  _  
-
slPeerInfoAsyncResponse_t   
SlHttpServerResponsedata_u   SlrxFilterAction_t   SlSockAddrIn_t   slSmartConfigStartAsyncResponse_t   
SlIn6Addr_t   SlrxFilterActionType_t   SlSocketAsyncEvent_t   _SlDeviceEventData_u   slSmartConfigStopAsyncResponse_t   
SlInAddr_t   SlrxFilterCombinationType_t   SlSockEvent_t   _slHttpServerData_t   slWlanConnectAsyncResponse_t   
SlIpLeasedAsync_t   SlrxFilterFlags_t   SlSockEventData_t   _slHttpServerPostData_t   slWlanConnFailureAsyncResponse_t   
SlIpReleasedAsync_t   SlrxFilterHeaderArg_t   SlSockIpMreq   _slHttpServerString_t   slWlanScanParamCommand_t   
-
S | _
-
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: Data Structure Index + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Data Structures Functions Variables Groups Pages
+ + +
+ +
+ +
+
+
Data Structure Index
+
+
+
S | _
+ + + + + + + + + + + + + + + + + + + + +
  S  
+
SlInAddr_t   SlrxFilterCombinationType_t   SlSocketAsyncEvent_t   slWlanScanParamCommand_t   
SlIpLeasedAsync_t   SlrxFilterFlags_t   SlSockEvent_t   sock_secureFiles   
sl_DeviceReport   SlIpReleasedAsync_t   SlrxFilterHeaderArg_t   SlSockEventData_u   
  _  
+
sl_DeviceReportAbort   SlIpV4AcquiredAsync_t   SlrxFilterHeaderType_t   SlSockIpMreq   
sl_protocol_InfoElement_t   SlIpV6AcquiredAsync_t   SlrxFilterPayloadType_t   SlSockKeepalive_t   _SlDeviceEventData_u   
sl_protocol_WlanSetInfoElement_t   SlNetAppDhcpServerBasicOpt_t   SlrxFilterRegxPattern_t   SlSockNonblocking_t   _slHttpServerData_t   
Sl_WlanNetworkEntry_t   SlNetAppEvent_t   SlrxFilterRule_t   SlSockReuseaddr_t   _slHttpServerPostData_t   
SlDateTime_t   SlNetAppEventData_u   SlrxFilterRuleHeaderArgsAndMask_t   SlSockSecureMask   _slHttpServerString_t   
SlDeviceEvent_t   SlNetAppGetFullServiceIpv4List_t   SlrxFilterTrigger_t   SlSockSecureMethod   _SlPartialVersion   
SlFdSet_t   SlNetAppGetFullServiceWithTextIpv4List_t   SlrxFilterTriggerConnectionStates_t   SlSockTxFailEventData_t   _WlanRxFilterOperationCommandBuff_t   
SlFsFileInfo_t   SlNetAppGetShortServiceIpv4List_t   SlrxFilterTriggerRoles_t   SlSockWinsize_t   _WlanRxFilterPrePreparedFiltersCommandBuff_t   
SlGetRxStatResponse_t   SlNetAppServiceAdvertiseTimingParameters_t   SlSecParams_t   SlTimeval_t   _WlanRxFilterPrePreparedFiltersCommandResponseBuff_t   
SlGetSecParamsExt_t   SlNetCfgIpV4Args_t   SlSecParamsExt_t   SlTransceiverRxOverHead_t   _WlanRxFilterRetrieveEnableStatusCommandResponseBuff_t   
SlHttpServerEvent_t   slPeerInfoAsyncResponse_t   slSmartConfigStartAsyncResponse_t   SlVersionFull   _WlanRxFilterUpdateArgsCommandBuff_t   
SlHttpServerEventData_u   SlPingReport_t   slSmartConfigStopAsyncResponse_t   slWlanConnectAsyncResponse_t   
SlHttpServerResponse_t   SlPingStartCommand_t   SlSockAddr_t   slWlanConnFailureAsyncResponse_t   
SlHttpServerResponsedata_u   SlrxFilterAction_t   SlSockAddrIn6_t   SlWlanEvent_t   
SlIn6Addr_t   SlrxFilterActionType_t   SlSockAddrIn_t   SlWlanEventData_u   
+
S | _
+
+
+ + + + diff --git a/docs/simplelink_api/html/datatypes_8h_source.html b/docs/simplelink_api/html/datatypes_8h_source.html deleted file mode 100644 index 9d4c812..0000000 --- a/docs/simplelink_api/html/datatypes_8h_source.html +++ /dev/null @@ -1,250 +0,0 @@ - - - - -SimpleLink Host Driver: datatypes.h Source File - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
-
-
datatypes.h
-
-
-
00001 /******************************************************************************
-00002 *
-00003 *   Copyright (C) 2013 Texas Instruments Incorporated
-00004 *
-00005 *   All rights reserved. Property of Texas Instruments Incorporated.
-00006 *   Restricted rights to use, duplicate or disclose this code are
-00007 *   granted through contract.
-00008 *
-00009 *   The program may not be used without the written permission of
-00010 *   Texas Instruments Incorporated or against the terms and conditions
-00011 *   stipulated in the agreement under which this program has been supplied,
-00012 *   and under no circumstances can it be used with non-TI connectivity device.
-00013 *
-00014 ******************************************************************************/
-00015 
-00016 #ifndef __SL_DATA_TYPES__
-00017 #define __SL_DATA_TYPES__
-00018 
-00019 
-00020 #ifdef  __cplusplus
-00021 extern "C" {
-00022 #endif
-00023 
-00024 
-00025 #ifndef NULL
-00026 #define NULL        (0)
-00027 #endif
-00028 
-00029 #ifndef FALSE
-00030 #define FALSE       (0)
-00031 #endif
-00032 
-00033 #ifndef TRUE
-00034 #define TRUE        (!FALSE)
-00035 #endif
-00036 
-00037 #ifndef OK
-00038 #define OK          (0)
-00039 #endif
-00040 
-00041 #ifndef _INT8
-00042 #define _INT8
-00043 typedef signed   char   INT8;
-00044 #endif
-00045 
-00046 #ifndef _UINT8
-00047 #define _UINT8
-00048 typedef unsigned char   UINT8;
-00049 #endif
-00050 
-00051 #ifndef _INT16
-00052 #define _INT16
-00053 typedef signed   short  INT16;
-00054 #endif
-00055 
-00056 #ifndef _UINT16
-00057 #define _UINT16
-00058 typedef unsigned short  UINT16;
-00059 #endif
-00060 
-00061 #ifndef _BOOLEAN
-00062 #define _BOOLEAN
-00063 typedef unsigned char   BOOLEAN;
-00064 #endif
-00065 
-00066 #ifdef _WIN32
-00067     typedef unsigned int    UINT32, *PUINT32;
-00068     typedef signed   int    INT32, *PINT32;
-00069 #else
-00070 
-00071 #ifndef _INT32
-00072 #define _INT32
-00073 typedef signed   long   INT32;
-00074 #endif
-00075 
-00076 #ifndef _UINT32
-00077 #define _UINT32
-00078 typedef unsigned long   UINT32;
-00079 #endif
-00080 
-00081 #ifndef _UINT64
-00082 #define _UINT64
-00083 typedef unsigned long long   UINT64;
-00084 #endif
-00085 
-00086 #endif /* _WIN32 */
-00087 
-00088 typedef int             INT;
-00089 typedef char            CHAR;
-00090 
-00091 typedef float                   FLOAT;
-00092 typedef double                  DOUBLE;
-00093 
-00094 typedef UINT16  _SlOpcode_t;
-00095 typedef UINT8   _SlArgSize_t;
-00096 typedef INT16   _SlDataSize_t;
-00097 typedef INT     _SlReturnVal_t;
-00098 
-00099 #ifdef  __cplusplus
-00100 }
-00101 #endif /* __cplusplus */
-00102 
-00103 #endif /* __SL_DATA_TYPE__ */
-
-
- - -
- All Data Structures Variables
- - -
- -
- - - - diff --git a/docs/simplelink_api/html/device_8h_source.html b/docs/simplelink_api/html/device_8h_source.html index 53f31a9..1a59d7f 100644 --- a/docs/simplelink_api/html/device_8h_source.html +++ b/docs/simplelink_api/html/device_8h_source.html @@ -1,467 +1,476 @@ - - - - - - -CC32XX SimpleLink Host Driver: device.h Source File - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- -
- All Data Structures Functions Variables Typedefs Groups Pages
- - -
- -
- -
-
-
device.h
-
-
-
1 /*
-
2  * device.h - CC31xx/CC32xx Host Driver Implementation
-
3  *
-
4  * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
-
5  *
-
6  *
-
7  * Redistribution and use in source and binary forms, with or without
-
8  * modification, are permitted provided that the following conditions
-
9  * are met:
-
10  *
-
11  * Redistributions of source code must retain the above copyright
-
12  * notice, this list of conditions and the following disclaimer.
-
13  *
-
14  * Redistributions in binary form must reproduce the above copyright
-
15  * notice, this list of conditions and the following disclaimer in the
-
16  * documentation and/or other materials provided with the
-
17  * distribution.
-
18  *
-
19  * Neither the name of Texas Instruments Incorporated nor the names of
-
20  * its contributors may be used to endorse or promote products derived
-
21  * from this software without specific prior written permission.
-
22  *
-
23  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-
24  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-
25  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-
26  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-
27  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-
28  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-
29  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-
30  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-
31  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-
32  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-
33  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
34  *
-
35 */
-
36 
-
37 #ifndef __DEVICE_H__
-
38 #define __DEVICE_H__
-
39 
-
40 /*****************************************************************************/
-
41 /* Include files */
-
42 /*****************************************************************************/
-
43 #include "simplelink.h"
-
44 
-
45 #ifdef __cplusplus
-
46 extern "C" {
-
47 #endif
-
48 
-
49 
-
50 
-
58 /*****************************************************************************/
-
59 /* Macro declarations */
-
60 /*****************************************************************************/
-
61 
-
62 
-
63 /* SL internal Error codes */
-
64 
-
65 /* Receive this error in case there are no resources to issue the command
-
66  If possible, increase the number of MAX_CUNCURENT_ACTIONS (result in memory increase)
-
67  If not, try again later */
-
68 #define SL_POOL_IS_EMPTY (-2000)
-
69 
-
70 /* Receive this error in case a given length for RX buffer was too small.
-
71  Receive payload was bigger than the given buffer size. Therefore, payload is cut according to receive size
-
72  Recommend to increase buffer size */
-
73 #define SL_ESMALLBUF (-2001)
-
74 
-
75 /* Receive this error in case zero length is supplied to a "get" API
-
76  Recommend to supply length according to requested information (view options defines for help) */
-
77 #define SL_EZEROLEN (-2002)
-
78 
-
79 /* User supplied invalid parameter */
-
80 #define SL_INVALPARAM (-2003)
-
81 
-
82 /* End of SL internal Error codes */
-
83 
-
84 
-
85 
-
86 /*****************************************************************************/
-
87 /* Errors returned from the general error async event */
-
88 /*****************************************************************************/
-
89 
-
90 /* Send types */
-
91 typedef enum
-
92 {
-
93  SL_ERR_SENDER_HEALTH_MON,
-
94  SL_ERR_SENDER_CLI_UART,
-
95  SL_ERR_SENDER_SUPPLICANT,
-
96  SL_ERR_SENDER_NETWORK_STACK,
-
97  SL_ERR_SENDER_WLAN_DRV_IF,
-
98  SL_ERR_SENDER_WILINK,
-
99  SL_ERR_SENDER_INIT_APP,
-
100  SL_ERR_SENDER_NETX,
-
101  SL_ERR_SENDER_HOST_APD,
-
102  SL_ERR_SENDER_MDNS,
-
103  SL_ERR_SENDER_HTTP_SERVER,
-
104  SL_ERR_SENDER_DHCP_SERVER,
-
105  SL_ERR_SENDER_DHCP_CLIENT,
-
106  SL_ERR_DISPATCHER,
-
107  SL_ERR_NUM_SENDER_LAST=0xFF
-
108 }SlErrorSender_e;
-
109 
-
110 
-
111 /* Error codes */
-
112 #define SL_ERROR_STATIC_ADDR_SUBNET_ERROR (-60) /* network stack error*/
-
113 #define SL_ERROR_ILLEGAL_CHANNEL (-61) /* supplicant error */
-
114 #define SL_ERROR_SUPPLICANT_ERROR (-72) /* init error code */
-
115 #define SL_ERROR_HOSTAPD_INIT_FAIL (-73) /* init error code */
-
116 #define SL_ERROR_HOSTAPD_INIT_IF_FAIL (-74) /* init error code */
-
117 #define SL_ERROR_WLAN_DRV_INIT_FAIL (-75) /* init error code */
-
118 #define SL_ERROR_WLAN_DRV_START_FAIL (-76) /* wlan start error */
-
119 #define SL_ERROR_FS_FILE_TABLE_LOAD_FAILED (-77) /* init file system failed */
-
120 #define SL_ERROR_PREFERRED_NETWORKS_FILE_LOAD_FAILED (-78) /* init file system failed */
-
121 #define SL_ERROR_HOSTAPD_BSSID_VALIDATION_ERROR (-79) /* Ap configurations BSSID error */
-
122 #define SL_ERROR_HOSTAPD_FAILED_TO_SETUP_INTERFACE (-80) /* Ap configurations interface error */
-
123 #define SL_ERROR_MDNS_ENABLE_FAIL (-81) /* mDNS enable failed */
-
124 #define SL_ERROR_HTTP_SERVER_ENABLE_FAILED (-82) /* HTTP server enable failed */
-
125 #define SL_ERROR_DHCP_SERVER_ENABLE_FAILED (-83) /* DHCP server enable failed */
-
126 #define SL_ERROR_PREFERRED_NETWORK_LIST_FULL (-93) /* supplicant error */
-
127 #define SL_ERROR_PREFERRED_NETWORKS_FILE_WRITE_FAILED (-94) /* supplicant error */
-
128 #define SL_ERROR_DHCP_CLIENT_RENEW_FAILED (-100) /* DHCP client error */
-
129 /* WLAN Connection management status */
-
130 #define SL_ERROR_CON_MGMT_STATUS_UNSPECIFIED (-102)
-
131 #define SL_ERROR_CON_MGMT_STATUS_AUTH_REJECT (-103)
-
132 #define SL_ERROR_CON_MGMT_STATUS_ASSOC_REJECT (-104)
-
133 #define SL_ERROR_CON_MGMT_STATUS_SECURITY_FAILURE (-105)
-
134 #define SL_ERROR_CON_MGMT_STATUS_AP_DEAUTHENTICATE (-106)
-
135 #define SL_ERROR_CON_MGMT_STATUS_AP_DISASSOCIATE (-107)
-
136 #define SL_ERROR_CON_MGMT_STATUS_ROAMING_TRIGGER (-108)
-
137 #define SL_ERROR_CON_MGMT_STATUS_DISCONNECT_DURING_CONNECT (-109)
-
138 #define SL_ERROR_CON_MGMT_STATUS_SG_RESELECT (-110)
-
139 #define SL_ERROR_CON_MGMT_STATUS_ROC_FAILURE (-111)
-
140 #define SL_ERROR_CON_MGMT_STATUS_MIC_FAILURE (-112)
-
141 /* end of WLAN connection management error statuses */
-
142 #define SL_ERROR_WAKELOCK_ERROR_PREFIX (-115) /* Wake lock expired */
-
143 #define SL_ERROR_LENGTH_ERROR_PREFIX (-116) /* Uart header length error */
-
144 #define SL_ERROR_MDNS_CREATE_FAIL (-121) /* mDNS create failed */
-
145 #define SL_ERROR_GENERAL_ERROR (-127)
-
146 
-
147 
-
148 
-
149 #define SL_DEVICE_GENERAL_CONFIGURATION (1)
-
150 #define SL_DEVICE_GENERAL_CONFIGURATION_DATE_TIME (11)
-
151 #define SL_DEVICE_GENERAL_VERSION (12)
-
152 #define SL_DEVICE_STATUS (2)
-
153 
-
154 /*
-
155  Declare the different event group classifications
-
156  The SimpleLink device send asynchronous events. Each event has a group
-
157  classification according to its nature.
-
158 */
-
159 /* SL_EVENT_CLASS_WLAN connection user events */
-
160 #define SL_WLAN_CONNECT_EVENT (1)
-
161 #define SL_WLAN_DISCONNECT_EVENT (2)
-
162 /* WLAN Smart Config user events */
-
163 #define SL_WLAN_SMART_CONFIG_COMPLETE_EVENT (3)
-
164 #define SL_WLAN_SMART_CONFIG_STOP_EVENT (4)
-
165 /* WLAN AP user events */
-
166 #define SL_WLAN_STA_CONNECTED_EVENT (5)
-
167 #define SL_WLAN_STA_DISCONNECTED_EVENT (6)
-
168 /* WLAN P2P user events */
-
169 #define SL_WLAN_P2P_DEV_FOUND_EVENT (7)
-
170 #define SL_WLAN_P2P_NEG_REQ_RECEIVED_EVENT (8)
-
171 #define SL_WLAN_CONNECTION_FAILED_EVENT (9)
-
172 /* SL_EVENT_CLASS_DEVICE user events */
-
173 #define SL_DEVICE_FATAL_ERROR_EVENT (1)
-
174 /* SL_EVENT_CLASS_BSD user events */
-
175 #define SL_SOCKET_TX_FAILED_EVENT (1)
-
176 #define SL_SOCKET_ASYNC_EVENT (2)
-
177 /* SL_EVENT_CLASS_NETAPP user events */
-
178 #define SL_NETAPP_IPV4_IPACQUIRED_EVENT (1)
-
179 #define SL_NETAPP_IPV6_IPACQUIRED_EVENT (2)
-
180 #define SL_NETAPP_IP_LEASED_EVENT (3)
-
181 #define SL_NETAPP_IP_RELEASED_EVENT (4)
-
182 
-
183 /* Server Events */
-
184 #define SL_NETAPP_HTTPGETTOKENVALUE_EVENT (1)
-
185 #define SL_NETAPP_HTTPPOSTTOKENVALUE_EVENT (2)
-
186 
-
187 
-
188 /*
-
189  Declare the different event group classifications for sl_DevGet
-
190  for getting status indications
-
191  */
-
192 
-
193 /* Events list to mask/unmask*/
-
194 #define SL_EVENT_CLASS_GLOBAL (0)
-
195 #define SL_EVENT_CLASS_DEVICE (1)
-
196 #define SL_EVENT_CLASS_WLAN (2)
-
197 #define SL_EVENT_CLASS_BSD (3)
-
198 #define SL_EVENT_CLASS_NETAPP (4)
-
199 #define SL_EVENT_CLASS_NETCFG (5)
-
200 #define SL_EVENT_CLASS_FS (6)
-
201 
-
202 
-
203 /****************** DEVICE CLASS status ****************/
-
204 #define EVENT_DROPPED_DEVICE_ASYNC_GENERAL_ERROR (0x00000001L)
-
205 #define STATUS_DEVICE_SMART_CONFIG_ACTIVE (0x80000000L)
-
206 
-
207 /****************** WLAN CLASS status ****************/
-
208 #define EVENT_DROPPED_WLAN_WLANASYNCONNECTEDRESPONSE (0x00000001L)
-
209 #define EVENT_DROPPED_WLAN_WLANASYNCDISCONNECTEDRESPONSE (0x00000002L)
-
210 #define EVENT_DROPPED_WLAN_STA_CONNECTED (0x00000004L)
-
211 #define EVENT_DROPPED_WLAN_STA_DISCONNECTED (0x00000008L)
-
212 #define STATUS_WLAN_STA_CONNECTED (0x80000000L)
-
213 
-
214 /****************** NETAPP CLASS status ****************/
-
215 #define EVENT_DROPPED_NETAPP_IPACQUIRED (0x00000001L)
-
216 #define EVENT_DROPPED_NETAPP_IPACQUIRED_V6 (0x00000002L)
-
217 #define EVENT_DROPPED_NETAPP_IP_LEASED (0x00000004L)
-
218 #define EVENT_DROPPED_NETAPP_IP_RELEASED (0x00000008L)
-
219 
-
220 /****************** BSD CLASS status ****************/
-
221 #define EVENT_DROPPED_SOCKET_TXFAILEDASYNCRESPONSE (0x00000001L)
-
222 
-
223 /****************** FS CLASS ****************/
-
224 
-
225 
-
226 
-
227 /*****************************************************************************/
-
228 /* Structure/Enum declarations */
-
229 /*****************************************************************************/
-
230 
-
231 #ifdef SL_IF_TYPE_UART
-
232 typedef struct
-
233 {
-
234  _u32 BaudRate;
-
235  _u8 FlowControlEnable;
-
236  _u8 CommPort;
-
237 } SlUartIfParams_t;
-
238 #endif
-
239 
-
240 typedef struct
-
241 {
-
242  _u32 ChipId;
-
243  _u32 FwVersion[4];
-
244  _u8 PhyVersion[4];
- -
246 
-
247 typedef struct
-
248 {
-
249  _SlPartialVersion ChipFwAndPhyVersion;
-
250  _u32 NwpVersion[4];
-
251  _u16 RomVersion;
-
252  _u16 Padding;
- -
254 
-
255 typedef struct
-
256 {
-
257  _i8 status;
-
258  SlErrorSender_e sender;
- -
260 
-
261 typedef union
-
262 {
-
263  sl_DeviceReport deviceEvent;
- -
265 
-
266 typedef struct
-
267 {
-
268  _u32 Event;
-
269  _SlDeviceEventData_u EventData;
- -
271 
-
272 typedef struct
-
273 {
-
274  /* time */
-
275  _u32 sl_tm_sec;
-
276  _u32 sl_tm_min;
-
277  _u32 sl_tm_hour;
-
278  /* date */
-
279  _u32 sl_tm_day; /* 1-31 */
-
280  _u32 sl_tm_mon; /* 1-12 */
-
281  _u32 sl_tm_year; /* YYYY 4 digits */
-
282  _u32 sl_tm_week_day; /* not required */
-
283  _u32 sl_tm_year_day; /* not required */
-
284  _u32 reserved[3];
-
285 }SlDateTime_t;
-
286 
-
287 
-
288 /******************************************************************************/
-
289 /* Type declarations */
-
290 /******************************************************************************/
-
291 typedef void (*P_INIT_CALLBACK)(_u32 Status);
-
292 
-
293 /*****************************************************************************/
-
294 /* Function prototypes */
-
295 /*****************************************************************************/
-
296 
-
346 #if _SL_INCLUDE_FUNC(sl_Start)
-
347 _i16 sl_Start(const void* pIfHdl, _i8* pDevName, const P_INIT_CALLBACK pInitCallBack);
-
348 #endif
-
349 
-
378 #if _SL_INCLUDE_FUNC(sl_Stop)
-
379 _i16 sl_Stop(_u16 timeout);
-
380 #endif
-
381 
-
382 
-
415 #if _SL_INCLUDE_FUNC(sl_DevSet)
-
416 _i32 sl_DevSet(_u8 DeviceSetId ,_u8 Option,_u8 ConfigLen, _u8 *pValues);
-
417 #endif
-
418 
-
477 #if _SL_INCLUDE_FUNC(sl_DevGet)
-
478 _i32 sl_DevGet(_u8 DeviceGetId, _u8 *pOption,_u8 *pConfigLen, _u8 *pValues);
-
479 #endif
-
480 
-
481 
-
529 #if _SL_INCLUDE_FUNC(sl_EventMaskSet)
-
530 _i16 sl_EventMaskSet(_u8 EventClass , _u32 Mask);
-
531 #endif
-
532 
-
569 #if _SL_INCLUDE_FUNC(sl_EventMaskGet)
-
570 _i16 sl_EventMaskGet(_u8 EventClass, _u32 *pMask);
-
571 #endif
-
572 
-
573 
-
594 #if _SL_INCLUDE_FUNC(sl_Task)
-
595 void sl_Task(void);
-
596 #endif
-
597 
-
598 
-
615 #ifdef SL_IF_TYPE_UART
-
616 #if _SL_INCLUDE_FUNC(sl_UartSetMode)
-
617 _i16 sl_UartSetMode(const SlUartIfParams_t* pUartParams);
-
618 #endif
-
619 #endif
-
620 
-
629 #ifdef __cplusplus
-
630 }
-
631 #endif /* __cplusplus */
-
632 
-
633 #endif /* __DEVICE_H__ */
-
634 
-
635 
-
_i16 sl_Start(const void *pIfHdl, _i8 *pDevName, const P_INIT_CALLBACK pInitCallBack)
Start the SimpleLink device.
-
Definition: device.h:266
-
Definition: device.h:261
-
Definition: device.h:240
-
_i16 sl_Stop(_u16 timeout)
Stop the SimpleLink device.
-
_i16 sl_EventMaskGet(_u8 EventClass, _u32 *pMask)
Get current event mask of the device.
-
_i32 sl_DevGet(_u8 DeviceGetId, _u8 *pOption, _u8 *pConfigLen, _u8 *pValues)
Internal function for getting device configurations.
-
Definition: device.h:272
-
_i16 sl_EventMaskSet(_u8 EventClass, _u32 Mask)
Set asynchronous event mask.
-
_i32 sl_DevSet(_u8 DeviceSetId, _u8 Option, _u8 ConfigLen, _u8 *pValues)
Internal function for setting device configurations.
-
Definition: device.h:247
-
Definition: device.h:255
-
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: device.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Data Structures Functions Variables Groups Pages
+ + +
+ +
+ +
+
+
device.h
+
+
+
1 /*
+
2  * device.h - CC31xx/CC32xx Host Driver Implementation
+
3  *
+
4  * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
+
5  *
+
6  *
+
7  * Redistribution and use in source and binary forms, with or without
+
8  * modification, are permitted provided that the following conditions
+
9  * are met:
+
10  *
+
11  * Redistributions of source code must retain the above copyright
+
12  * notice, this list of conditions and the following disclaimer.
+
13  *
+
14  * Redistributions in binary form must reproduce the above copyright
+
15  * notice, this list of conditions and the following disclaimer in the
+
16  * documentation and/or other materials provided with the
+
17  * distribution.
+
18  *
+
19  * Neither the name of Texas Instruments Incorporated nor the names of
+
20  * its contributors may be used to endorse or promote products derived
+
21  * from this software without specific prior written permission.
+
22  *
+
23  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+
24  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+
25  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+
26  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+
27  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+
28  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+
29  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+
30  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+
31  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+
32  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+
33  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
34  *
+
35 */
+
36 
+
37 /*****************************************************************************/
+
38 /* Include files */
+
39 /*****************************************************************************/
+
40 #include "simplelink.h"
+
41 
+
42 #ifndef __DEVICE_H__
+
43 #define __DEVICE_H__
+
44 
+
45 
+
46 
+
47 #ifdef __cplusplus
+
48 extern "C" {
+
49 #endif
+
50 
+
51 
+
52 
+
60 /*****************************************************************************/
+
61 /* Macro declarations */
+
62 /*****************************************************************************/
+
63 
+
64 
+
65 /* SL internal Error codes */
+
66 
+
67 /* Receive this error in case there are no resources to issue the command
+
68  If possible, increase the number of MAX_CUNCURENT_ACTIONS (result in memory increase)
+
69  If not, try again later */
+
70 #define SL_POOL_IS_EMPTY (-2000)
+
71 
+
72 /* Receive this error in case a given length for RX buffer was too small.
+
73  Receive payload was bigger than the given buffer size. Therefore, payload is cut according to receive size
+
74  Recommend to increase buffer size */
+
75 #define SL_ESMALLBUF (-2001)
+
76 
+
77 /* Receive this error in case zero length is supplied to a "get" API
+
78  Recommend to supply length according to requested information (view options defines for help) */
+
79 #define SL_EZEROLEN (-2002)
+
80 
+
81 /* User supplied invalid parameter */
+
82 #define SL_INVALPARAM (-2003)
+
83 
+
84 
+
85 /* Failed to open interface */
+
86 #define SL_BAD_INTERFACE (-2004)
+
87 
+
88 /* End of SL internal Error codes */
+
89 
+
90 
+
91 
+
92 /*****************************************************************************/
+
93 /* Errors returned from the general error async event */
+
94 /*****************************************************************************/
+
95 
+
96 /* Send types */
+
97 typedef enum
+
98 {
+
99  SL_ERR_SENDER_HEALTH_MON,
+
100  SL_ERR_SENDER_CLI_UART,
+
101  SL_ERR_SENDER_SUPPLICANT,
+
102  SL_ERR_SENDER_NETWORK_STACK,
+
103  SL_ERR_SENDER_WLAN_DRV_IF,
+
104  SL_ERR_SENDER_WILINK,
+
105  SL_ERR_SENDER_INIT_APP,
+
106  SL_ERR_SENDER_NETX,
+
107  SL_ERR_SENDER_HOST_APD,
+
108  SL_ERR_SENDER_MDNS,
+
109  SL_ERR_SENDER_HTTP_SERVER,
+
110  SL_ERR_SENDER_DHCP_SERVER,
+
111  SL_ERR_SENDER_DHCP_CLIENT,
+
112  SL_ERR_DISPATCHER,
+
113  SL_ERR_NUM_SENDER_LAST=0xFF
+
114 }SlErrorSender_e;
+
115 
+
116 
+
117 /* Error codes */
+
118 #define SL_ERROR_STATIC_ADDR_SUBNET_ERROR (-60) /* network stack error*/
+
119 #define SL_ERROR_ILLEGAL_CHANNEL (-61) /* supplicant error */
+
120 #define SL_ERROR_SUPPLICANT_ERROR (-72) /* init error code */
+
121 #define SL_ERROR_HOSTAPD_INIT_FAIL (-73) /* init error code */
+
122 #define SL_ERROR_HOSTAPD_INIT_IF_FAIL (-74) /* init error code */
+
123 #define SL_ERROR_WLAN_DRV_INIT_FAIL (-75) /* init error code */
+
124 #define SL_ERROR_WLAN_DRV_START_FAIL (-76) /* wlan start error */
+
125 #define SL_ERROR_FS_FILE_TABLE_LOAD_FAILED (-77) /* init file system failed */
+
126 #define SL_ERROR_PREFERRED_NETWORKS_FILE_LOAD_FAILED (-78) /* init file system failed */
+
127 #define SL_ERROR_HOSTAPD_BSSID_VALIDATION_ERROR (-79) /* Ap configurations BSSID error */
+
128 #define SL_ERROR_HOSTAPD_FAILED_TO_SETUP_INTERFACE (-80) /* Ap configurations interface error */
+
129 #define SL_ERROR_MDNS_ENABLE_FAIL (-81) /* mDNS enable failed */
+
130 #define SL_ERROR_HTTP_SERVER_ENABLE_FAILED (-82) /* HTTP server enable failed */
+
131 #define SL_ERROR_DHCP_SERVER_ENABLE_FAILED (-83) /* DHCP server enable failed */
+
132 #define SL_ERROR_PREFERRED_NETWORK_LIST_FULL (-93) /* supplicant error */
+
133 #define SL_ERROR_PREFERRED_NETWORKS_FILE_WRITE_FAILED (-94) /* supplicant error */
+
134 #define SL_ERROR_DHCP_CLIENT_RENEW_FAILED (-100) /* DHCP client error */
+
135 /* WLAN Connection management status */
+
136 #define SL_ERROR_CON_MGMT_STATUS_UNSPECIFIED (-102)
+
137 #define SL_ERROR_CON_MGMT_STATUS_AUTH_REJECT (-103)
+
138 #define SL_ERROR_CON_MGMT_STATUS_ASSOC_REJECT (-104)
+
139 #define SL_ERROR_CON_MGMT_STATUS_SECURITY_FAILURE (-105)
+
140 #define SL_ERROR_CON_MGMT_STATUS_AP_DEAUTHENTICATE (-106)
+
141 #define SL_ERROR_CON_MGMT_STATUS_AP_DISASSOCIATE (-107)
+
142 #define SL_ERROR_CON_MGMT_STATUS_ROAMING_TRIGGER (-108)
+
143 #define SL_ERROR_CON_MGMT_STATUS_DISCONNECT_DURING_CONNECT (-109)
+
144 #define SL_ERROR_CON_MGMT_STATUS_SG_RESELECT (-110)
+
145 #define SL_ERROR_CON_MGMT_STATUS_ROC_FAILURE (-111)
+
146 #define SL_ERROR_CON_MGMT_STATUS_MIC_FAILURE (-112)
+
147 /* end of WLAN connection management error statuses */
+
148 #define SL_ERROR_WAKELOCK_ERROR_PREFIX (-115) /* Wake lock expired */
+
149 #define SL_ERROR_LENGTH_ERROR_PREFIX (-116) /* Uart header length error */
+
150 #define SL_ERROR_MDNS_CREATE_FAIL (-121) /* mDNS create failed */
+
151 #define SL_ERROR_GENERAL_ERROR (-127)
+
152 
+
153 
+
154 
+
155 #define SL_DEVICE_GENERAL_CONFIGURATION (1)
+
156 #define SL_DEVICE_GENERAL_CONFIGURATION_DATE_TIME (11)
+
157 #define SL_DEVICE_GENERAL_VERSION (12)
+
158 #define SL_DEVICE_STATUS (2)
+
159 
+
160 /*
+
161  Declare the different event group classifications
+
162  The SimpleLink device send asynchronous events. Each event has a group
+
163  classification according to its nature.
+
164 */
+
165 
+
166 #if 1
+
167 /* SL_EVENT_CLASS_WLAN connection user events */
+
168 #define SL_WLAN_CONNECT_EVENT (1)
+
169 #define SL_WLAN_DISCONNECT_EVENT (2)
+
170 /* WLAN Smart Config user events */
+
171 #define SL_WLAN_SMART_CONFIG_COMPLETE_EVENT (3)
+
172 #define SL_WLAN_SMART_CONFIG_STOP_EVENT (4)
+
173 /* WLAN AP user events */
+
174 #define SL_WLAN_STA_CONNECTED_EVENT (5)
+
175 #define SL_WLAN_STA_DISCONNECTED_EVENT (6)
+
176 /* WLAN P2P user events */
+
177 #define SL_WLAN_P2P_DEV_FOUND_EVENT (7)
+
178 #define SL_WLAN_P2P_NEG_REQ_RECEIVED_EVENT (8)
+
179 #define SL_WLAN_CONNECTION_FAILED_EVENT (9)
+
180 /* SL_EVENT_CLASS_DEVICE user events */
+
181 #define SL_DEVICE_FATAL_ERROR_EVENT (1)
+
182 #define SL_DEVICE_ABORT_ERROR_EVENT (2)
+
183 
+
184 /* SL_EVENT_CLASS_BSD user events */
+
185 #define SL_SOCKET_TX_FAILED_EVENT (1)
+
186 #define SL_SOCKET_ASYNC_EVENT (2)
+
187 /* SL_EVENT_CLASS_NETAPP user events */
+
188 #define SL_NETAPP_IPV4_IPACQUIRED_EVENT (1)
+
189 #define SL_NETAPP_IPV6_IPACQUIRED_EVENT (2)
+
190 #define SL_NETAPP_IP_LEASED_EVENT (3)
+
191 #define SL_NETAPP_IP_RELEASED_EVENT (4)
+
192 
+
193 /* Server Events */
+
194 #define SL_NETAPP_HTTPGETTOKENVALUE_EVENT (1)
+
195 #define SL_NETAPP_HTTPPOSTTOKENVALUE_EVENT (2)
+
196 #endif
+
197 
+
198 
+
199 /*
+
200  Declare the different event group classifications for sl_DevGet
+
201  for getting status indications
+
202  */
+
203 
+
204 /* Events list to mask/unmask*/
+
205 #define SL_EVENT_CLASS_GLOBAL (0)
+
206 #define SL_EVENT_CLASS_DEVICE (1)
+
207 #define SL_EVENT_CLASS_WLAN (2)
+
208 #define SL_EVENT_CLASS_BSD (3)
+
209 #define SL_EVENT_CLASS_NETAPP (4)
+
210 #define SL_EVENT_CLASS_NETCFG (5)
+
211 #define SL_EVENT_CLASS_FS (6)
+
212 
+
213 
+
214 /****************** DEVICE CLASS status ****************/
+
215 #define EVENT_DROPPED_DEVICE_ASYNC_GENERAL_ERROR (0x00000001L)
+
216 #define STATUS_DEVICE_SMART_CONFIG_ACTIVE (0x80000000L)
+
217 
+
218 /****************** WLAN CLASS status ****************/
+
219 #define EVENT_DROPPED_WLAN_WLANASYNCONNECTEDRESPONSE (0x00000001L)
+
220 #define EVENT_DROPPED_WLAN_WLANASYNCDISCONNECTEDRESPONSE (0x00000002L)
+
221 #define EVENT_DROPPED_WLAN_STA_CONNECTED (0x00000004L)
+
222 #define EVENT_DROPPED_WLAN_STA_DISCONNECTED (0x00000008L)
+
223 #define STATUS_WLAN_STA_CONNECTED (0x80000000L)
+
224 
+
225 /****************** NETAPP CLASS status ****************/
+
226 #define EVENT_DROPPED_NETAPP_IPACQUIRED (0x00000001L)
+
227 #define EVENT_DROPPED_NETAPP_IPACQUIRED_V6 (0x00000002L)
+
228 #define EVENT_DROPPED_NETAPP_IP_LEASED (0x00000004L)
+
229 #define EVENT_DROPPED_NETAPP_IP_RELEASED (0x00000008L)
+
230 
+
231 /****************** BSD CLASS status ****************/
+
232 #define EVENT_DROPPED_SOCKET_TXFAILEDASYNCRESPONSE (0x00000001L)
+
233 
+
234 /****************** FS CLASS ****************/
+
235 
+
236 
+
237 
+
238 /*****************************************************************************/
+
239 /* Structure/Enum declarations */
+
240 /*****************************************************************************/
+
241 
+
242 #define ROLE_UNKNOWN_ERR (-1)
+
243 
+
244 #ifdef SL_IF_TYPE_UART
+
245 typedef struct
+
246 {
+
247  _u32 BaudRate;
+
248  _u8 FlowControlEnable;
+
249  _u8 CommPort;
+
250 } SlUartIfParams_t;
+
251 #endif
+
252 
+
253 typedef struct
+
254 {
+
255  _u32 ChipId;
+
256  _u32 FwVersion[4];
+
257  _u8 PhyVersion[4];
+ +
259 
+
260 typedef struct
+
261 {
+
262  _SlPartialVersion ChipFwAndPhyVersion;
+
263  _u32 NwpVersion[4];
+
264  _u16 RomVersion;
+
265  _u16 Padding;
+ +
267 
+
268 
+
269 typedef struct
+
270 {
+
271  _u32 AbortType;
+
272  _u32 AbortData;
+ +
274 
+
275 
+
276 typedef struct
+
277 {
+
278  _i8 status;
+
279  SlErrorSender_e sender;
+ +
281 
+
282 typedef union
+
283 {
+
284  sl_DeviceReport deviceEvent;
+
285  sl_DeviceReportAbort deviceReport;
+ +
287 
+
288 typedef struct
+
289 {
+
290  _u32 Event;
+
291  _SlDeviceEventData_u EventData;
+ +
293 
+
294 typedef struct
+
295 {
+
296  /* time */
+
297  _u32 sl_tm_sec;
+
298  _u32 sl_tm_min;
+
299  _u32 sl_tm_hour;
+
300  /* date */
+
301  _u32 sl_tm_day; /* 1-31 */
+
302  _u32 sl_tm_mon; /* 1-12 */
+
303  _u32 sl_tm_year; /* YYYY 4 digits */
+
304  _u32 sl_tm_week_day; /* not required */
+
305  _u32 sl_tm_year_day; /* not required */
+
306  _u32 reserved[3];
+
307 }SlDateTime_t;
+
308 
+
309 
+
310 /******************************************************************************/
+
311 /* Type declarations */
+
312 /******************************************************************************/
+
313 typedef void (*P_INIT_CALLBACK)(_u32 Status);
+
314 
+
315 /*****************************************************************************/
+
316 /* Function prototypes */
+
317 /*****************************************************************************/
+
318 
+
368 #if _SL_INCLUDE_FUNC(sl_Start)
+
369 _i16 sl_Start(const void* pIfHdl, _i8* pDevName, const P_INIT_CALLBACK pInitCallBack);
+
370 #endif
+
371 
+
400 #if _SL_INCLUDE_FUNC(sl_Stop)
+
401 _i16 sl_Stop(const _u16 timeout);
+
402 #endif
+
403 
+
404 
+
437 #if _SL_INCLUDE_FUNC(sl_DevSet)
+
438 _i32 sl_DevSet(const _u8 DeviceSetId ,const _u8 Option,const _u8 ConfigLen,const _u8 *pValues);
+
439 #endif
+
440 
+
501 #if _SL_INCLUDE_FUNC(sl_DevGet)
+
502 _i32 sl_DevGet(const _u8 DeviceGetId,_u8 *pOption,_u8 *pConfigLen, _u8 *pValues);
+
503 #endif
+
504 
+
505 
+
553 #if _SL_INCLUDE_FUNC(sl_EventMaskSet)
+
554 _i16 sl_EventMaskSet(const _u8 EventClass ,const _u32 Mask);
+
555 #endif
+
556 
+
593 #if _SL_INCLUDE_FUNC(sl_EventMaskGet)
+
594 _i16 sl_EventMaskGet(const _u8 EventClass,_u32 *pMask);
+
595 #endif
+
596 
+
597 
+
618 #if _SL_INCLUDE_FUNC(sl_Task)
+
619 void sl_Task(void);
+
620 #endif
+
621 
+
622 
+
639 #ifdef SL_IF_TYPE_UART
+
640 #if _SL_INCLUDE_FUNC(sl_UartSetMode)
+
641 _i16 sl_UartSetMode(const SlUartIfParams_t* pUartParams);
+
642 #endif
+
643 #endif
+
644 
+
653 #ifdef __cplusplus
+
654 }
+
655 #endif /* __cplusplus */
+
656 
+
657 #endif /* __DEVICE_H__ */
+
658 
+
659 
+
+
+ + + + diff --git a/docs/simplelink_api/html/dir_856524284ebe840938865dc061f982fb.html b/docs/simplelink_api/html/dir_856524284ebe840938865dc061f982fb.html deleted file mode 100644 index 1c91aaf..0000000 --- a/docs/simplelink_api/html/dir_856524284ebe840938865dc061f982fb.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - -CC32XX SimpleLink Host Driver: Include Directory Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - -
-
- -
-
-
- -
- -
- All Data Structures Functions Variables Typedefs Groups Pages
- - -
- -
- -
-
-
Include Directory Reference
-
-
- - - - - - - - - - - - - - - - - - - - -

-Files

file  device.h [code]
 
file  fs.h [code]
 
file  netapp.h [code]
 
file  netcfg.h [code]
 
 
file  socket.h [code]
 
file  trace.h [code]
 
file  wlan.h [code]
 
file  wlan_rx_filters.h [code]
 
-
-
- - - - diff --git a/docs/simplelink_api/html/dir_d44c64559bbebec7f509842c48db8b23.html b/docs/simplelink_api/html/dir_d44c64559bbebec7f509842c48db8b23.html new file mode 100644 index 0000000..a4a5613 --- /dev/null +++ b/docs/simplelink_api/html/dir_d44c64559bbebec7f509842c48db8b23.html @@ -0,0 +1,139 @@ + + + + + + +CC32XX SimpleLink Host Driver: include Directory Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + +
+
+ +
+
+
+ +
+ +
+ All Data Structures Functions Variables Groups Pages
+ + +
+ +
+ +
+
+
include Directory Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + +

+Files

file  device.h [code]
 
file  fs.h [code]
 
file  netapp.h [code]
 
file  netcfg.h [code]
 
 
file  socket.h [code]
 
file  trace.h [code]
 
file  user.h [code]
 
file  wlan.h [code]
 
file  wlan_rx_filters.h [code]
 
+
+
+ + + + diff --git a/docs/simplelink_api/html/doc_2simplelink_2user_8h_source.html b/docs/simplelink_api/html/doc_2simplelink_2user_8h_source.html deleted file mode 100644 index efc44b0..0000000 --- a/docs/simplelink_api/html/doc_2simplelink_2user_8h_source.html +++ /dev/null @@ -1,316 +0,0 @@ - - - - -SimpleLink Host Driver: user.h Source File - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
-
-
user.h
-
-
-
00001 /******************************************************************************
-00002 *
-00003 *   Copyright (C) 2013 Texas Instruments Incorporated
-00004 *
-00005 *   All rights reserved. Property of Texas Instruments Incorporated.
-00006 *   Restricted rights to use, duplicate or disclose this code are
-00007 *   granted through contract.
-00008 *
-00009 *   The program may not be used without the written permission of
-00010 *   Texas Instruments Incorporated or against the terms and conditions
-00011 *   stipulated in the agreement under which this program has been supplied,
-00012 *   and under no circumstances can it be used with non-TI connectivity device.
-00013 *
-00014 ******************************************************************************/
-00015     
-00016 
-00017 #ifndef __USER_H__
-00018 #define __USER_H__
-00019 
-00020 
-00021 #ifdef  __cplusplus
-00022 extern "C" {
-00023 #endif
-00024 
-00025 
-00043 #include <string.h>  
-00044 #include "cc_pal.h"
-00045 
-00065 #define MAX_CONCURRENT_ACTIONS 10
-00066 
-00107 #define SL_INC_ARG_CHECK
-00108 
-00109 
-00129 #define SL_INC_STD_BSD_API_NAMING
-00130 
-00131 
-00145 #define SL_INC_EXT_API
-00146 
-00160 #define SL_INC_WLAN_PKG
-00161 
-00175 #define SL_INC_SOCKET_PKG
-00176 
-00190 #define SL_INC_NET_APP_PKG
-00191 
-00205 #define SL_INC_NET_CFG_PKG
-00206 
-00220 #define SL_INC_NVMEM_PKG
-00221 
-00235 #define SL_INC_SOCK_SERVER_SIDE_API
-00236 
-00250 #define SL_INC_SOCK_CLIENT_SIDE_API
-00251 
-00265 #define SL_INC_SOCK_RECV_API
-00266 
-00280 #define SL_INC_SOCK_SEND_API
-00281 
-00313 #define sl_DeviceEnable()                       NwpPowerOn()
-00314 
-00322 #define sl_DeviceDisable()                      NwpPowerOff()
-00323 
-00354 #define _SlFd_t                                 Fd_t
-00355 
-00389 #define sl_IfOpen                           spi_Open
-00390 
-00408 #define sl_IfClose                          spi_Close
-00409 
-00434 #define sl_IfRead                           spi_Read
-00435 
-00464 #define sl_IfWrite                          spi_Write
-00465 
-00489 #define sl_IfRegIntHdlr(InterruptHdl , pValue)          NwpRegisterInterruptHandler(InterruptHdl , pValue)   
-00490 
-00504 #define sl_IfMaskIntHdlr()                                                              NwpMaskInterrupt()
-00505 
-00518 #define sl_IfUnMaskIntHdlr()                                                            NwpUnMaskInterrupt()
-00519     
-00536 /* #define SL_START_WRITE_STAT */
-00537 
-00574 #define SL_PLATFORM_MULTI_THREADED
-00575 
-00576 #ifdef SL_PLATFORM_MULTI_THREADED
-00577 #include "osi.h"
-00578 
-00579 
-00586 #define SL_OS_RET_CODE_OK                       ((int)OSI_OK)
-00587 
-00594 #define SL_OS_WAIT_FOREVER                      ((OsiTime_t)OSI_WAIT_FOREVER)
-00595 
-00602 #define SL_OS_NO_WAIT                           ((OsiTime_t)OSI_NO_WAIT)
-00603 
-00611 #define _SlTime_t                               OsiTime_t
-00612 
-00626 typedef OsiSyncObj_t                            _SlSyncObj_t;
-00627 
-00628     
-00643 #define sl_SyncObjCreate(pSyncObj,pName)            osi_SyncObjCreate(pSyncObj)
-00644 
-00645 
-00656 #define sl_SyncObjDelete(pSyncObj)                  osi_SyncObjDelete(pSyncObj)
-00657 
-00658 
-00671 #define sl_SyncObjSignal(pSyncObj)                osi_SyncObjSignal(pSyncObj)  
-00672 
-00685 #define sl_SyncObjSignalFromIRQ(pSyncObj)           osi_SyncObjSignalFromISR(pSyncObj)
-00686 
-00702 #define sl_SyncObjWait(pSyncObj,Timeout)            osi_SyncObjWait(pSyncObj,Timeout)  
-00703 
-00714 typedef OsiLockObj_t                            _SlLockObj_t;
-00715 
-00729 #define sl_LockObjCreate(pLockObj,pName)            osi_LockObjCreate(pLockObj)
-00730 
-00741 #define sl_LockObjDelete(pLockObj)                  osi_LockObjDelete(pLockObj)
-00742 
-00762 #define sl_LockObjLock(pLockObj,Timeout)           osi_LockObjLock(pLockObj,Timeout) 
-00763 
-00774 #define sl_LockObjUnlock(pLockObj)                   osi_LockObjUnlock(pLockObj) 
-00775 
-00776 #endif
-00777 
-00794 #define SL_PLATFORM_EXTERNAL_SPAWN
-00795 
-00796 #ifdef SL_PLATFORM_EXTERNAL_SPAWN
-00797 #define sl_Spawn(pEntry,pValue,flags)       osi_Spawn(pEntry,pValue,flags)        
-00798 #endif
-00799 
-00842 /*
-00843 #define SL_MEMORY_MGMT_DYNAMIC  1
-00844 #define SL_MEMORY_MGMT_STATIC  0
-00845 
-00846 #define SL_MEMORY_MGMT  SL_MEMORY_MGMT_DYNAMIC
-00847 */
-00848 #ifdef SL_MEMORY_MGMT_DYNAMIC
-00849 
-00850 #ifdef SL_PLATFORM_MULTI_THREADED
-00851 
-00858 #define sl_Malloc(Size)                                 mem_Malloc(Size)
-00859 
-00866 #define sl_Free(pMem)                                   mem_Free(pMem)
-00867 
-00868 #else
-00869 #include <stdlib.h>
-00876 #define sl_Malloc(Size)                                 malloc(Size)
-00877 
-00884 #define sl_Free(pMem)                                   free(pMem)
-00885 #endif
-00886                         
-00887 #endif
-00888 
-00921 /*
-00922 #define sl_GeneralEvtHdlr
-00923 */
-00924 
-00938 #define sl_WlanEvtHdlr                     SimpleLinkWlanEventHandler         
-00939 
-00940 
-00954 #define sl_NetAppEvtHdlr                        SimpleLinkNetAppEventHandler              
-00955 
-00973 #define sl_HttpServerCallback   SimpleLinkHttpServerCallback
-00974 
-00983 /*
-00984 #define sl_SockEvtHdlr
-00985 */
-00986 
-00987 
-00996 #ifdef  __cplusplus
-00997 }
-00998 #endif // __cplusplus
-00999 
-01000 #endif // __USER_H__
-
-
- - -
- All Data Structures Variables
- - -
- -
- - - - diff --git a/docs/simplelink_api/html/doxygen.css b/docs/simplelink_api/html/doxygen.css index 0a8f962..f4caaf5 100644 --- a/docs/simplelink_api/html/doxygen.css +++ b/docs/simplelink_api/html/doxygen.css @@ -1,1440 +1,1186 @@ -/* The standard CSS for doxygen 1.8.7 */ - -body, table, div, p, dl { - font: 400 14px/22px Roboto,sans-serif; -} - -/* @group Heading Levels */ - -h1.groupheader { - font-size: 150%; -} - -.title { - font: 400 14px/28px Roboto,sans-serif; - font-size: 150%; - font-weight: bold; - margin: 10px 2px; -} - -h2.groupheader { - border-bottom: 1px solid #879ECB; - color: #354C7B; - font-size: 150%; - font-weight: normal; - margin-top: 1.75em; - padding-top: 8px; - padding-bottom: 4px; - width: 100%; -} - -h3.groupheader { - font-size: 100%; -} - -h1, h2, h3, h4, h5, h6 { - -webkit-transition: text-shadow 0.5s linear; - -moz-transition: text-shadow 0.5s linear; - -ms-transition: text-shadow 0.5s linear; - -o-transition: text-shadow 0.5s linear; - transition: text-shadow 0.5s linear; - margin-right: 15px; -} - -h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { - text-shadow: 0 0 15px cyan; -} - -dt { - font-weight: bold; -} - -div.multicol { - -moz-column-gap: 1em; - -webkit-column-gap: 1em; - -moz-column-count: 3; - -webkit-column-count: 3; -} - -p.startli, p.startdd { - margin-top: 2px; -} - -p.starttd { - margin-top: 0px; -} - -p.endli { - margin-bottom: 0px; -} - -p.enddd { - margin-bottom: 4px; -} - -p.endtd { - margin-bottom: 2px; -} - -/* @end */ - -caption { - font-weight: bold; -} - -span.legend { - font-size: 70%; - text-align: center; -} - -h3.version { - font-size: 90%; - text-align: center; -} - -div.qindex, div.navtab{ - background-color: #EBEFF6; - border: 1px solid #A3B4D7; - text-align: center; -} - -div.qindex, div.navpath { - width: 100%; - line-height: 140%; -} - -div.navtab { - margin-right: 15px; -} - -/* @group Link Styling */ - -a { - color: #3D578C; - font-weight: normal; - text-decoration: none; -} - -.contents a:visited { - color: #4665A2; -} - -a:hover { - text-decoration: underline; -} - -a.qindex { - font-weight: bold; -} - -a.qindexHL { - font-weight: bold; - background-color: #9CAFD4; - color: #ffffff; - border: 1px double #869DCA; -} - -.contents a.qindexHL:visited { - color: #ffffff; -} - -a.el { - font-weight: bold; -} - -a.elRef { -} - -a.code, a.code:visited, a.line, a.line:visited { - color: #4665A2; -} - -a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { - color: #4665A2; -} - -/* @end */ - -dl.el { - margin-left: -1cm; -} - -pre.fragment { - border: 1px solid #C4CFE5; - background-color: #FBFCFD; - padding: 4px 6px; - margin: 4px 8px 4px 2px; - overflow: auto; - word-wrap: break-word; - font-size: 9pt; - line-height: 125%; - font-family: monospace, fixed; - font-size: 105%; -} - -div.fragment { - padding: 4px 6px; - margin: 4px 8px 4px 2px; - background-color: #FBFCFD; - border: 1px solid #C4CFE5; -} - -div.line { - font-family: monospace, fixed; - font-size: 13px; - min-height: 13px; - line-height: 1.0; - text-wrap: unrestricted; - white-space: -moz-pre-wrap; /* Moz */ - white-space: -pre-wrap; /* Opera 4-6 */ - white-space: -o-pre-wrap; /* Opera 7 */ - white-space: pre-wrap; /* CSS3 */ - word-wrap: break-word; /* IE 5.5+ */ - text-indent: -53px; - padding-left: 53px; - padding-bottom: 0px; - margin: 0px; - -webkit-transition-property: background-color, box-shadow; - -webkit-transition-duration: 0.5s; - -moz-transition-property: background-color, box-shadow; - -moz-transition-duration: 0.5s; - -ms-transition-property: background-color, box-shadow; - -ms-transition-duration: 0.5s; - -o-transition-property: background-color, box-shadow; - -o-transition-duration: 0.5s; - transition-property: background-color, box-shadow; - transition-duration: 0.5s; -} - -div.line.glow { - background-color: cyan; - box-shadow: 0 0 10px cyan; -} - - -span.lineno { - padding-right: 4px; - text-align: right; - border-right: 2px solid #0F0; - background-color: #E8E8E8; - white-space: pre; -} -span.lineno a { - background-color: #D8D8D8; -} - -span.lineno a:hover { - background-color: #C8C8C8; -} - -div.ah { - background-color: black; - font-weight: bold; - color: #ffffff; - margin-bottom: 3px; - margin-top: 3px; - padding: 0.2em; - border: solid thin #333; - border-radius: 0.5em; - -webkit-border-radius: .5em; - -moz-border-radius: .5em; - box-shadow: 2px 2px 3px #999; - -webkit-box-shadow: 2px 2px 3px #999; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; - background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); - background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000); -} - -div.groupHeader { - margin-left: 16px; - margin-top: 12px; - font-weight: bold; -} - -div.groupText { - margin-left: 16px; - font-style: italic; -} - -body { - background-color: white; - color: black; - margin: 0; -} - -div.contents { - margin-top: 10px; - margin-left: 12px; - margin-right: 8px; -} - -td.indexkey { - background-color: #EBEFF6; - font-weight: bold; - border: 1px solid #C4CFE5; - margin: 2px 0px 2px 0; - padding: 2px 10px; - white-space: nowrap; - vertical-align: top; -} - -td.indexvalue { - background-color: #EBEFF6; - border: 1px solid #C4CFE5; - padding: 2px 10px; - margin: 2px 0px; -} - -tr.memlist { - background-color: #EEF1F7; -} - -p.formulaDsp { - text-align: center; -} - -img.formulaDsp { - -} - -img.formulaInl { - vertical-align: middle; -} - -div.center { - text-align: center; - margin-top: 0px; - margin-bottom: 0px; - padding: 0px; -} - -div.center img { - border: 0px; -} - -address.footer { - text-align: right; - padding-right: 12px; -} - -img.footer { - border: 0px; - vertical-align: middle; -} - -/* @group Code Colorization */ - -span.keyword { - color: #008000 -} - -span.keywordtype { - color: #604020 -} - -span.keywordflow { - color: #e08000 -} - -span.comment { - color: #800000 -} - -span.preprocessor { - color: #806020 -} - -span.stringliteral { - color: #002080 -} - -span.charliteral { - color: #008080 -} - -span.vhdldigit { - color: #ff00ff -} - -span.vhdlchar { - color: #000000 -} - -span.vhdlkeyword { - color: #700070 -} - -span.vhdllogic { - color: #ff0000 -} - -blockquote { - background-color: #F7F8FB; - border-left: 2px solid #9CAFD4; - margin: 0 24px 0 4px; - padding: 0 12px 0 16px; -} - -/* @end */ - -/* -.search { - color: #003399; - font-weight: bold; -} - -form.search { - margin-bottom: 0px; - margin-top: 0px; -} - -input.search { - font-size: 75%; - color: #000080; - font-weight: normal; - background-color: #e8eef2; -} -*/ - -td.tiny { - font-size: 75%; -} - -.dirtab { - padding: 4px; - border-collapse: collapse; - border: 1px solid #A3B4D7; -} - -th.dirtab { - background: #EBEFF6; - font-weight: bold; -} - -hr { - height: 0px; - border: none; - border-top: 1px solid #4A6AAA; -} - -hr.footer { - height: 1px; -} - -/* @group Member Descriptions */ - -table.memberdecls { - border-spacing: 0px; - padding: 0px; -} - -.memberdecls td, .fieldtable tr { - -webkit-transition-property: background-color, box-shadow; - -webkit-transition-duration: 0.5s; - -moz-transition-property: background-color, box-shadow; - -moz-transition-duration: 0.5s; - -ms-transition-property: background-color, box-shadow; - -ms-transition-duration: 0.5s; - -o-transition-property: background-color, box-shadow; - -o-transition-duration: 0.5s; - transition-property: background-color, box-shadow; - transition-duration: 0.5s; -} - -.memberdecls td.glow, .fieldtable tr.glow { - background-color: cyan; - box-shadow: 0 0 15px cyan; -} - -.mdescLeft, .mdescRight, -.memItemLeft, .memItemRight, -.memTemplItemLeft, .memTemplItemRight, .memTemplParams { - background-color: #F9FAFC; - border: none; - margin: 4px; - padding: 1px 0 0 8px; -} - -.mdescLeft, .mdescRight { - padding: 0px 8px 4px 8px; - color: #555; -} - -.memSeparator { - border-bottom: 1px solid #DEE4F0; - line-height: 1px; - margin: 0px; - padding: 0px; -} - -.memItemLeft, .memTemplItemLeft { - white-space: nowrap; -} - -.memItemRight { - width: 100%; -} - -.memTemplParams { - color: #4665A2; - white-space: nowrap; - font-size: 80%; -} - -/* @end */ - -/* @group Member Details */ - -/* Styles for detailed member documentation */ - -.memtemplate { - font-size: 80%; - color: #4665A2; - font-weight: normal; - margin-left: 9px; -} - -.memnav { - background-color: #EBEFF6; - border: 1px solid #A3B4D7; - text-align: center; - margin: 2px; - margin-right: 15px; - padding: 2px; -} - -.mempage { - width: 100%; -} - -.memitem { - padding: 0; - margin-bottom: 10px; - margin-right: 5px; - -webkit-transition: box-shadow 0.5s linear; - -moz-transition: box-shadow 0.5s linear; - -ms-transition: box-shadow 0.5s linear; - -o-transition: box-shadow 0.5s linear; - transition: box-shadow 0.5s linear; - display: table !important; - width: 100%; -} - -.memitem.glow { - box-shadow: 0 0 15px cyan; -} - -.memname { - font-weight: bold; - margin-left: 6px; -} - -.memname td { - vertical-align: bottom; -} - -.memproto, dl.reflist dt { - border-top: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; - padding: 6px 0px 6px 0px; - color: #253555; - font-weight: bold; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - background-image:url('nav_f.png'); - background-repeat:repeat-x; - background-color: #E2E8F2; - /* opera specific markup */ - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - border-top-right-radius: 4px; - border-top-left-radius: 4px; - /* firefox specific markup */ - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - -moz-border-radius-topright: 4px; - -moz-border-radius-topleft: 4px; - /* webkit specific markup */ - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - -webkit-border-top-right-radius: 4px; - -webkit-border-top-left-radius: 4px; - -} - -.memdoc, dl.reflist dd { - border-bottom: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; - padding: 6px 10px 2px 10px; - background-color: #FBFCFD; - border-top-width: 0; - background-image:url('nav_g.png'); - background-repeat:repeat-x; - background-color: #FFFFFF; - /* opera specific markup */ - border-bottom-left-radius: 4px; - border-bottom-right-radius: 4px; - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - /* firefox specific markup */ - -moz-border-radius-bottomleft: 4px; - -moz-border-radius-bottomright: 4px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - /* webkit specific markup */ - -webkit-border-bottom-left-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); -} - -dl.reflist dt { - padding: 5px; -} - -dl.reflist dd { - margin: 0px 0px 10px 0px; - padding: 5px; -} - -.paramkey { - text-align: right; -} - -.paramtype { - white-space: nowrap; -} - -.paramname { - color: #602020; - white-space: nowrap; -} -.paramname em { - font-style: normal; -} -.paramname code { - line-height: 14px; -} - -.params, .retval, .exception, .tparams { - margin-left: 0px; - padding-left: 0px; -} - -.params .paramname, .retval .paramname { - font-weight: bold; - vertical-align: top; -} - -.params .paramtype { - font-style: italic; - vertical-align: top; -} - -.params .paramdir { - font-family: "courier new",courier,monospace; - vertical-align: top; -} - -table.mlabels { - border-spacing: 0px; -} - -td.mlabels-left { - width: 100%; - padding: 0px; -} - -td.mlabels-right { - vertical-align: bottom; - padding: 0px; - white-space: nowrap; -} - -span.mlabels { - margin-left: 8px; -} - -span.mlabel { - background-color: #728DC1; - border-top:1px solid #5373B4; - border-left:1px solid #5373B4; - border-right:1px solid #C4CFE5; - border-bottom:1px solid #C4CFE5; - text-shadow: none; - color: white; - margin-right: 4px; - padding: 2px 3px; - border-radius: 3px; - font-size: 7pt; - white-space: nowrap; - vertical-align: middle; -} - - - -/* @end */ - -/* these are for tree view inside a (index) page */ - -div.directory { - margin: 10px 0px; - border-top: 1px solid #9CAFD4; - border-bottom: 1px solid #9CAFD4; - width: 100%; -} - -.directory table { - border-collapse:collapse; -} - -.directory td { - margin: 0px; - padding: 0px; - vertical-align: top; -} - -.directory td.entry { - white-space: nowrap; - padding-right: 6px; - padding-top: 3px; -} - -.directory td.entry a { - outline:none; -} - -.directory td.entry a img { - border: none; -} - -.directory td.desc { - width: 100%; - padding-left: 6px; - padding-right: 6px; - padding-top: 3px; - border-left: 1px solid rgba(0,0,0,0.05); -} - -.directory tr.even { - padding-left: 6px; - background-color: #F7F8FB; -} - -.directory img { - vertical-align: -30%; -} - -.directory .levels { - white-space: nowrap; - width: 100%; - text-align: right; - font-size: 9pt; -} - -.directory .levels span { - cursor: pointer; - padding-left: 2px; - padding-right: 2px; - color: #3D578C; -} - -.arrow { - color: #9CAFD4; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - cursor: pointer; - font-size: 80%; - display: inline-block; - width: 16px; - height: 22px; -} - -.icon { - font-family: Arial, Helvetica; - font-weight: bold; - font-size: 12px; - height: 14px; - width: 16px; - display: inline-block; - background-color: #728DC1; - color: white; - text-align: center; - border-radius: 4px; - margin-left: 2px; - margin-right: 2px; -} - -.icona { - width: 24px; - height: 22px; - display: inline-block; -} - -.iconfopen { - width: 24px; - height: 18px; - margin-bottom: 4px; - background-image:url('ftv2folderopen.png'); - background-position: 0px -4px; - background-repeat: repeat-y; - vertical-align:top; - display: inline-block; -} - -.iconfclosed { - width: 24px; - height: 18px; - margin-bottom: 4px; - background-image:url('ftv2folderclosed.png'); - background-position: 0px -4px; - background-repeat: repeat-y; - vertical-align:top; - display: inline-block; -} - -.icondoc { - width: 24px; - height: 18px; - margin-bottom: 4px; - background-image:url('ftv2doc.png'); - background-position: 0px -4px; - background-repeat: repeat-y; - vertical-align:top; - display: inline-block; -} - -table.directory { - font: 400 14px Roboto,sans-serif; -} - -/* @end */ - -div.dynheader { - margin-top: 8px; - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -address { - font-style: normal; - color: #2A3D61; -} - -table.doxtable { - border-collapse:collapse; - margin-top: 4px; - margin-bottom: 4px; -} - -table.doxtable td, table.doxtable th { - border: 1px solid #2D4068; - padding: 3px 7px 2px; -} - -table.doxtable th { - background-color: #374F7F; - color: #FFFFFF; - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; -} - -table.fieldtable { - /*width: 100%;*/ - margin-bottom: 10px; - border: 1px solid #A8B8D9; - border-spacing: 0px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; - -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); - box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); -} - -.fieldtable td, .fieldtable th { - padding: 3px 7px 2px; -} - -.fieldtable td.fieldtype, .fieldtable td.fieldname { - white-space: nowrap; - border-right: 1px solid #A8B8D9; - border-bottom: 1px solid #A8B8D9; - vertical-align: top; -} - -.fieldtable td.fieldname { - padding-top: 3px; -} - -.fieldtable td.fielddoc { - border-bottom: 1px solid #A8B8D9; - /*width: 100%;*/ -} - -.fieldtable td.fielddoc p:first-child { - margin-top: 0px; -} - -.fieldtable td.fielddoc p:last-child { - margin-bottom: 2px; -} - -.fieldtable tr:last-child td { - border-bottom: none; -} - -.fieldtable th { - background-image:url('nav_f.png'); - background-repeat:repeat-x; - background-color: #E2E8F2; - font-size: 90%; - color: #253555; - padding-bottom: 4px; - padding-top: 5px; - text-align:left; - -moz-border-radius-topleft: 4px; - -moz-border-radius-topright: 4px; - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - border-top-left-radius: 4px; - border-top-right-radius: 4px; - border-bottom: 1px solid #A8B8D9; -} - - -.tabsearch { - top: 0px; - left: 10px; - height: 36px; - background-image: url('tab_b.png'); - z-index: 101; - overflow: hidden; - font-size: 13px; -} - -.navpath ul -{ - font-size: 11px; - background-image:url('tab_b.png'); - background-repeat:repeat-x; - background-position: 0 -5px; - height:30px; - line-height:30px; - color:#8AA0CC; - border:solid 1px #C2CDE4; - overflow:hidden; - margin:0px; - padding:0px; -} - -.navpath li -{ - list-style-type:none; - float:left; - padding-left:10px; - padding-right:15px; - background-image:url('bc_s.png'); - background-repeat:no-repeat; - background-position:right; - color:#364D7C; -} - -.navpath li.navelem a -{ - height:32px; - display:block; - text-decoration: none; - outline: none; - color: #283A5D; - font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - text-decoration: none; -} - -.navpath li.navelem a:hover -{ - color:#6884BD; -} - -.navpath li.footer -{ - list-style-type:none; - float:right; - padding-left:10px; - padding-right:15px; - background-image:none; - background-repeat:no-repeat; - background-position:right; - color:#364D7C; - font-size: 8pt; -} - - -div.summary -{ - float: right; - font-size: 8pt; - padding-right: 5px; - width: 50%; - text-align: right; -} - -div.summary a -{ - white-space: nowrap; -} - -div.ingroups -{ - font-size: 8pt; - width: 50%; - text-align: left; -} - -div.ingroups a -{ - white-space: nowrap; -} - -div.header -{ - background-image:url('nav_h.png'); - background-repeat:repeat-x; - background-color: #F9FAFC; - margin: 0px; - border-bottom: 1px solid #C4CFE5; -} - -div.headertitle -{ - padding: 5px 5px 5px 10px; -} - -dl -{ - padding: 0 0 0 10px; -} - -/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug */ -dl.section -{ - margin-left: 0px; - padding-left: 0px; -} - -dl.note -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #D0C000; -} - -dl.warning, dl.attention -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #FF0000; -} - -dl.pre, dl.post, dl.invariant -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #00D000; -} - -dl.deprecated -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #505050; -} - -dl.todo -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #00C0E0; -} - -dl.test -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #3030E0; -} - -dl.bug -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #C08050; -} - -dl.section dd { - margin-bottom: 6px; -} - - -#projectlogo -{ - text-align: center; - vertical-align: bottom; - border-collapse: separate; -} - -#projectlogo img -{ - border: 0px none; -} - -#projectname -{ - font: 300% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 2px 0px; -} - -#projectbrief -{ - font: 120% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 0px; -} - -#projectnumber -{ - font: 50% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 0px; -} - -#titlearea -{ - padding: 0px; - margin: 0px; - width: 100%; - border-bottom: 1px solid #5373B4; -} - -.image -{ - text-align: center; -} - -.dotgraph -{ - text-align: center; -} - -.mscgraph -{ - text-align: center; -} - -.diagraph -{ - text-align: center; -} - -.caption -{ - font-weight: bold; -} - -div.zoom -{ - border: 1px solid #90A5CE; -} - -dl.citelist { - margin-bottom:50px; -} - -dl.citelist dt { - color:#334975; - float:left; - font-weight:bold; - margin-right:10px; - padding:5px; -} - -dl.citelist dd { - margin:2px 0; - padding:5px 0; -} - -div.toc { - padding: 14px 25px; - background-color: #F4F6FA; - border: 1px solid #D8DFEE; - border-radius: 7px 7px 7px 7px; - float: right; - height: auto; - margin: 0 20px 10px 10px; - width: 200px; -} - -div.toc li { - background: url("bdwn.png") no-repeat scroll 0 5px transparent; - font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; - margin-top: 5px; - padding-left: 10px; - padding-top: 2px; -} - -div.toc h3 { - font: bold 12px/1.2 Arial,FreeSans,sans-serif; - color: #4665A2; - border-bottom: 0 none; - margin: 0; -} - -div.toc ul { - list-style: none outside none; - border: medium none; - padding: 0px; -} - -div.toc li.level1 { - margin-left: 0px; -} - -div.toc li.level2 { - margin-left: 15px; -} - -div.toc li.level3 { - margin-left: 30px; -} - -div.toc li.level4 { - margin-left: 45px; -} - -.inherit_header { - font-weight: bold; - color: gray; - cursor: pointer; - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.inherit_header td { - padding: 6px 0px 2px 5px; -} - -.inherit { - display: none; -} - -tr.heading h2 { - margin-top: 12px; - margin-bottom: 4px; -} - -/* tooltip related style info */ - -.ttc { - position: absolute; - display: none; -} - -#powerTip { - cursor: default; - white-space: nowrap; - background-color: white; - border: 1px solid gray; - border-radius: 4px 4px 4px 4px; - box-shadow: 1px 1px 7px gray; - display: none; - font-size: smaller; - max-width: 80%; - opacity: 0.9; - padding: 1ex 1em 1em; - position: absolute; - z-index: 2147483647; -} - -#powerTip div.ttdoc { - color: grey; - font-style: italic; -} - -#powerTip div.ttname a { - font-weight: bold; -} - -#powerTip div.ttname { - font-weight: bold; -} - -#powerTip div.ttdeci { - color: #006318; -} - -#powerTip div { - margin: 0px; - padding: 0px; - font: 12px/16px Roboto,sans-serif; -} - -#powerTip:before, #powerTip:after { - content: ""; - position: absolute; - margin: 0px; -} - -#powerTip.n:after, #powerTip.n:before, -#powerTip.s:after, #powerTip.s:before, -#powerTip.w:after, #powerTip.w:before, -#powerTip.e:after, #powerTip.e:before, -#powerTip.ne:after, #powerTip.ne:before, -#powerTip.se:after, #powerTip.se:before, -#powerTip.nw:after, #powerTip.nw:before, -#powerTip.sw:after, #powerTip.sw:before { - border: solid transparent; - content: " "; - height: 0; - width: 0; - position: absolute; -} - -#powerTip.n:after, #powerTip.s:after, -#powerTip.w:after, #powerTip.e:after, -#powerTip.nw:after, #powerTip.ne:after, -#powerTip.sw:after, #powerTip.se:after { - border-color: rgba(255, 255, 255, 0); -} - -#powerTip.n:before, #powerTip.s:before, -#powerTip.w:before, #powerTip.e:before, -#powerTip.nw:before, #powerTip.ne:before, -#powerTip.sw:before, #powerTip.se:before { - border-color: rgba(128, 128, 128, 0); -} - -#powerTip.n:after, #powerTip.n:before, -#powerTip.ne:after, #powerTip.ne:before, -#powerTip.nw:after, #powerTip.nw:before { - top: 100%; -} - -#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { - border-top-color: #ffffff; - border-width: 10px; - margin: 0px -10px; -} -#powerTip.n:before { - border-top-color: #808080; - border-width: 11px; - margin: 0px -11px; -} -#powerTip.n:after, #powerTip.n:before { - left: 50%; -} - -#powerTip.nw:after, #powerTip.nw:before { - right: 14px; -} - -#powerTip.ne:after, #powerTip.ne:before { - left: 14px; -} - -#powerTip.s:after, #powerTip.s:before, -#powerTip.se:after, #powerTip.se:before, -#powerTip.sw:after, #powerTip.sw:before { - bottom: 100%; -} - -#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { - border-bottom-color: #ffffff; - border-width: 10px; - margin: 0px -10px; -} - -#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { - border-bottom-color: #808080; - border-width: 11px; - margin: 0px -11px; -} - -#powerTip.s:after, #powerTip.s:before { - left: 50%; -} - -#powerTip.sw:after, #powerTip.sw:before { - right: 14px; -} - -#powerTip.se:after, #powerTip.se:before { - left: 14px; -} - -#powerTip.e:after, #powerTip.e:before { - left: 100%; -} -#powerTip.e:after { - border-left-color: #ffffff; - border-width: 10px; - top: 50%; - margin-top: -10px; -} -#powerTip.e:before { - border-left-color: #808080; - border-width: 11px; - top: 50%; - margin-top: -11px; -} - -#powerTip.w:after, #powerTip.w:before { - right: 100%; -} -#powerTip.w:after { - border-right-color: #ffffff; - border-width: 10px; - top: 50%; - margin-top: -10px; -} -#powerTip.w:before { - border-right-color: #808080; - border-width: 11px; - top: 50%; - margin-top: -11px; -} - -@media print -{ - #top { display: none; } - #side-nav { display: none; } - #nav-path { display: none; } - body { overflow:visible; } - h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } - .summary { display: none; } - .memitem { page-break-inside: avoid; } - #doc-content - { - margin-left:0 !important; - height:auto !important; - width:auto !important; - overflow:inherit; - display:inline; - } -} - +/* The standard CSS for doxygen 1.8.4 */ + +body, table, div, p, dl { + font: 400 14px/22px Roboto,sans-serif; +} + +/* @group Heading Levels */ + +h1.groupheader { + font-size: 150%; +} + +.title { + font: 400 14px/28px Roboto,sans-serif; + font-size: 150%; + font-weight: bold; + margin: 10px 2px; +} + +h2.groupheader { + border-bottom: 1px solid #879ECB; + color: #354C7B; + font-size: 150%; + font-weight: normal; + margin-top: 1.75em; + padding-top: 8px; + padding-bottom: 4px; + width: 100%; +} + +h3.groupheader { + font-size: 100%; +} + +h1, h2, h3, h4, h5, h6 { + -webkit-transition: text-shadow 0.5s linear; + -moz-transition: text-shadow 0.5s linear; + -ms-transition: text-shadow 0.5s linear; + -o-transition: text-shadow 0.5s linear; + transition: text-shadow 0.5s linear; + margin-right: 15px; +} + +h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { + text-shadow: 0 0 15px cyan; +} + +dt { + font-weight: bold; +} + +div.multicol { + -moz-column-gap: 1em; + -webkit-column-gap: 1em; + -moz-column-count: 3; + -webkit-column-count: 3; +} + +p.startli, p.startdd, p.starttd { + margin-top: 2px; +} + +p.endli { + margin-bottom: 0px; +} + +p.enddd { + margin-bottom: 4px; +} + +p.endtd { + margin-bottom: 2px; +} + +/* @end */ + +caption { + font-weight: bold; +} + +span.legend { + font-size: 70%; + text-align: center; +} + +h3.version { + font-size: 90%; + text-align: center; +} + +div.qindex, div.navtab{ + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; +} + +div.qindex, div.navpath { + width: 100%; + line-height: 140%; +} + +div.navtab { + margin-right: 15px; +} + +/* @group Link Styling */ + +a { + color: #3D578C; + font-weight: normal; + text-decoration: none; +} + +.contents a:visited { + color: #4665A2; +} + +a:hover { + text-decoration: underline; +} + +a.qindex { + font-weight: bold; +} + +a.qindexHL { + font-weight: bold; + background-color: #9CAFD4; + color: #ffffff; + border: 1px double #869DCA; +} + +.contents a.qindexHL:visited { + color: #ffffff; +} + +a.el { + font-weight: bold; +} + +a.elRef { +} + +a.code, a.code:visited { + color: #4665A2; +} + +a.codeRef, a.codeRef:visited { + color: #4665A2; +} + +/* @end */ + +dl.el { + margin-left: -1cm; +} + +pre.fragment { + border: 1px solid #C4CFE5; + background-color: #FBFCFD; + padding: 4px 6px; + margin: 4px 8px 4px 2px; + overflow: auto; + word-wrap: break-word; + font-size: 9pt; + line-height: 125%; + font-family: monospace, fixed; + font-size: 105%; +} + +div.fragment { + padding: 0px; + margin: 0px; + background-color: #FBFCFD; + border: 1px solid #C4CFE5; +} + +div.line { + font-family: monospace, fixed; + font-size: 13px; + min-height: 13px; + line-height: 1.0; + text-wrap: unrestricted; + white-space: -moz-pre-wrap; /* Moz */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + white-space: pre-wrap; /* CSS3 */ + word-wrap: break-word; /* IE 5.5+ */ + text-indent: -53px; + padding-left: 53px; + padding-bottom: 0px; + margin: 0px; + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +div.line.glow { + background-color: cyan; + box-shadow: 0 0 10px cyan; +} + + +span.lineno { + padding-right: 4px; + text-align: right; + border-right: 2px solid #0F0; + background-color: #E8E8E8; + white-space: pre; +} +span.lineno a { + background-color: #D8D8D8; +} + +span.lineno a:hover { + background-color: #C8C8C8; +} + +div.ah { + background-color: black; + font-weight: bold; + color: #ffffff; + margin-bottom: 3px; + margin-top: 3px; + padding: 0.2em; + border: solid thin #333; + border-radius: 0.5em; + -webkit-border-radius: .5em; + -moz-border-radius: .5em; + box-shadow: 2px 2px 3px #999; + -webkit-box-shadow: 2px 2px 3px #999; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); + background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000); +} + +div.groupHeader { + margin-left: 16px; + margin-top: 12px; + font-weight: bold; +} + +div.groupText { + margin-left: 16px; + font-style: italic; +} + +body { + background-color: white; + color: black; + margin: 0; +} + +div.contents { + margin-top: 10px; + margin-left: 12px; + margin-right: 8px; +} + +td.indexkey { + background-color: #EBEFF6; + font-weight: bold; + border: 1px solid #C4CFE5; + margin: 2px 0px 2px 0; + padding: 2px 10px; + white-space: nowrap; + vertical-align: top; +} + +td.indexvalue { + background-color: #EBEFF6; + border: 1px solid #C4CFE5; + padding: 2px 10px; + margin: 2px 0px; +} + +tr.memlist { + background-color: #EEF1F7; +} + +p.formulaDsp { + text-align: center; +} + +img.formulaDsp { + +} + +img.formulaInl { + vertical-align: middle; +} + +div.center { + text-align: center; + margin-top: 0px; + margin-bottom: 0px; + padding: 0px; +} + +div.center img { + border: 0px; +} + +address.footer { + text-align: right; + padding-right: 12px; +} + +img.footer { + border: 0px; + vertical-align: middle; +} + +/* @group Code Colorization */ + +span.keyword { + color: #008000 +} + +span.keywordtype { + color: #604020 +} + +span.keywordflow { + color: #e08000 +} + +span.comment { + color: #800000 +} + +span.preprocessor { + color: #806020 +} + +span.stringliteral { + color: #002080 +} + +span.charliteral { + color: #008080 +} + +span.vhdldigit { + color: #ff00ff +} + +span.vhdlchar { + color: #000000 +} + +span.vhdlkeyword { + color: #700070 +} + +span.vhdllogic { + color: #ff0000 +} + +blockquote { + background-color: #F7F8FB; + border-left: 2px solid #9CAFD4; + margin: 0 24px 0 4px; + padding: 0 12px 0 16px; +} + +/* @end */ + +/* +.search { + color: #003399; + font-weight: bold; +} + +form.search { + margin-bottom: 0px; + margin-top: 0px; +} + +input.search { + font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #e8eef2; +} +*/ + +td.tiny { + font-size: 75%; +} + +.dirtab { + padding: 4px; + border-collapse: collapse; + border: 1px solid #A3B4D7; +} + +th.dirtab { + background: #EBEFF6; + font-weight: bold; +} + +hr { + height: 0px; + border: none; + border-top: 1px solid #4A6AAA; +} + +hr.footer { + height: 1px; +} + +/* @group Member Descriptions */ + +table.memberdecls { + border-spacing: 0px; + padding: 0px; +} + +.memberdecls td, .fieldtable tr { + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +.memberdecls td.glow, .fieldtable tr.glow { + background-color: cyan; + box-shadow: 0 0 15px cyan; +} + +.mdescLeft, .mdescRight, +.memItemLeft, .memItemRight, +.memTemplItemLeft, .memTemplItemRight, .memTemplParams { + background-color: #F9FAFC; + border: none; + margin: 4px; + padding: 1px 0 0 8px; +} + +.mdescLeft, .mdescRight { + padding: 0px 8px 4px 8px; + color: #555; +} + +.memSeparator { + border-bottom: 1px solid #DEE4F0; + line-height: 1px; + margin: 0px; + padding: 0px; +} + +.memItemLeft, .memTemplItemLeft { + white-space: nowrap; +} + +.memItemRight { + width: 100%; +} + +.memTemplParams { + color: #4665A2; + white-space: nowrap; + font-size: 80%; +} + +/* @end */ + +/* @group Member Details */ + +/* Styles for detailed member documentation */ + +.memtemplate { + font-size: 80%; + color: #4665A2; + font-weight: normal; + margin-left: 9px; +} + +.memnav { + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} + +.mempage { + width: 100%; +} + +.memitem { + padding: 0; + margin-bottom: 10px; + margin-right: 5px; + -webkit-transition: box-shadow 0.5s linear; + -moz-transition: box-shadow 0.5s linear; + -ms-transition: box-shadow 0.5s linear; + -o-transition: box-shadow 0.5s linear; + transition: box-shadow 0.5s linear; + display: table !important; + width: 100%; +} + +.memitem.glow { + box-shadow: 0 0 15px cyan; +} + +.memname { + font-weight: bold; + margin-left: 6px; +} + +.memname td { + vertical-align: bottom; +} + +.memproto, dl.reflist dt { + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 0px 6px 0px; + color: #253555; + font-weight: bold; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #E2E8F2; + /* opera specific markup */ + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + border-top-right-radius: 4px; + border-top-left-radius: 4px; + /* firefox specific markup */ + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + -moz-border-radius-topright: 4px; + -moz-border-radius-topleft: 4px; + /* webkit specific markup */ + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + -webkit-border-top-right-radius: 4px; + -webkit-border-top-left-radius: 4px; + +} + +.memdoc, dl.reflist dd { + border-bottom: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 10px 2px 10px; + background-color: #FBFCFD; + border-top-width: 0; + background-image:url('nav_g.png'); + background-repeat:repeat-x; + background-color: #FFFFFF; + /* opera specific markup */ + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + /* firefox specific markup */ + -moz-border-radius-bottomleft: 4px; + -moz-border-radius-bottomright: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + /* webkit specific markup */ + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +dl.reflist dt { + padding: 5px; +} + +dl.reflist dd { + margin: 0px 0px 10px 0px; + padding: 5px; +} + +.paramkey { + text-align: right; +} + +.paramtype { + white-space: nowrap; +} + +.paramname { + color: #602020; + white-space: nowrap; +} +.paramname em { + font-style: normal; +} +.paramname code { + line-height: 14px; +} + +.params, .retval, .exception, .tparams { + margin-left: 0px; + padding-left: 0px; +} + +.params .paramname, .retval .paramname { + font-weight: bold; + vertical-align: top; +} + +.params .paramtype { + font-style: italic; + vertical-align: top; +} + +.params .paramdir { + font-family: "courier new",courier,monospace; + vertical-align: top; +} + +table.mlabels { + border-spacing: 0px; +} + +td.mlabels-left { + width: 100%; + padding: 0px; +} + +td.mlabels-right { + vertical-align: bottom; + padding: 0px; + white-space: nowrap; +} + +span.mlabels { + margin-left: 8px; +} + +span.mlabel { + background-color: #728DC1; + border-top:1px solid #5373B4; + border-left:1px solid #5373B4; + border-right:1px solid #C4CFE5; + border-bottom:1px solid #C4CFE5; + text-shadow: none; + color: white; + margin-right: 4px; + padding: 2px 3px; + border-radius: 3px; + font-size: 7pt; + white-space: nowrap; + vertical-align: middle; +} + + + +/* @end */ + +/* these are for tree view when not used as main index */ + +div.directory { + margin: 10px 0px; + border-top: 1px solid #A8B8D9; + border-bottom: 1px solid #A8B8D9; + width: 100%; +} + +.directory table { + border-collapse:collapse; +} + +.directory td { + margin: 0px; + padding: 0px; + vertical-align: top; +} + +.directory td.entry { + white-space: nowrap; + padding-right: 6px; + padding-top: 3px; +} + +.directory td.entry a { + outline:none; +} + +.directory td.entry a img { + border: none; +} + +.directory td.desc { + width: 100%; + padding-left: 6px; + padding-right: 6px; + padding-top: 3px; + border-left: 1px solid rgba(0,0,0,0.05); +} + +.directory tr.even { + padding-left: 6px; + background-color: #F7F8FB; +} + +.directory img { + vertical-align: -30%; +} + +.directory .levels { + white-space: nowrap; + width: 100%; + text-align: right; + font-size: 9pt; +} + +.directory .levels span { + cursor: pointer; + padding-left: 2px; + padding-right: 2px; + color: #3D578C; +} + +div.dynheader { + margin-top: 8px; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +address { + font-style: normal; + color: #2A3D61; +} + +table.doxtable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.doxtable td, table.doxtable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.doxtable th { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +table.fieldtable { + /*width: 100%;*/ + margin-bottom: 10px; + border: 1px solid #A8B8D9; + border-spacing: 0px; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); + box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); +} + +.fieldtable td, .fieldtable th { + padding: 3px 7px 2px; +} + +.fieldtable td.fieldtype, .fieldtable td.fieldname { + white-space: nowrap; + border-right: 1px solid #A8B8D9; + border-bottom: 1px solid #A8B8D9; + vertical-align: top; +} + +.fieldtable td.fieldname { + padding-top: 3px; +} + +.fieldtable td.fielddoc { + border-bottom: 1px solid #A8B8D9; + /*width: 100%;*/ +} + +.fieldtable td.fielddoc p:first-child { + margin-top: 0px; +} + +.fieldtable td.fielddoc p:last-child { + margin-bottom: 2px; +} + +.fieldtable tr:last-child td { + border-bottom: none; +} + +.fieldtable th { + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #E2E8F2; + font-size: 90%; + color: #253555; + padding-bottom: 4px; + padding-top: 5px; + text-align:left; + -moz-border-radius-topleft: 4px; + -moz-border-radius-topright: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + border-bottom: 1px solid #A8B8D9; +} + + +.tabsearch { + top: 0px; + left: 10px; + height: 36px; + background-image: url('tab_b.png'); + z-index: 101; + overflow: hidden; + font-size: 13px; +} + +.navpath ul +{ + font-size: 11px; + background-image:url('tab_b.png'); + background-repeat:repeat-x; + background-position: 0 -5px; + height:30px; + line-height:30px; + color:#8AA0CC; + border:solid 1px #C2CDE4; + overflow:hidden; + margin:0px; + padding:0px; +} + +.navpath li +{ + list-style-type:none; + float:left; + padding-left:10px; + padding-right:15px; + background-image:url('bc_s.png'); + background-repeat:no-repeat; + background-position:right; + color:#364D7C; +} + +.navpath li.navelem a +{ + height:32px; + display:block; + text-decoration: none; + outline: none; + color: #283A5D; + font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + text-decoration: none; +} + +.navpath li.navelem a:hover +{ + color:#6884BD; +} + +.navpath li.footer +{ + list-style-type:none; + float:right; + padding-left:10px; + padding-right:15px; + background-image:none; + background-repeat:no-repeat; + background-position:right; + color:#364D7C; + font-size: 8pt; +} + + +div.summary +{ + float: right; + font-size: 8pt; + padding-right: 5px; + width: 50%; + text-align: right; +} + +div.summary a +{ + white-space: nowrap; +} + +div.ingroups +{ + font-size: 8pt; + width: 50%; + text-align: left; +} + +div.ingroups a +{ + white-space: nowrap; +} + +div.header +{ + background-image:url('nav_h.png'); + background-repeat:repeat-x; + background-color: #F9FAFC; + margin: 0px; + border-bottom: 1px solid #C4CFE5; +} + +div.headertitle +{ + padding: 5px 5px 5px 10px; +} + +dl +{ + padding: 0 0 0 10px; +} + +/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug */ +dl.section +{ + margin-left: 0px; + padding-left: 0px; +} + +dl.note +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #D0C000; +} + +dl.warning, dl.attention +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #FF0000; +} + +dl.pre, dl.post, dl.invariant +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #00D000; +} + +dl.deprecated +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #505050; +} + +dl.todo +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #00C0E0; +} + +dl.test +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #3030E0; +} + +dl.bug +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #C08050; +} + +dl.section dd { + margin-bottom: 6px; +} + + +#projectlogo +{ + text-align: center; + vertical-align: bottom; + border-collapse: separate; +} + +#projectlogo img +{ + border: 0px none; +} + +#projectname +{ + font: 300% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 2px 0px; +} + +#projectbrief +{ + font: 120% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#projectnumber +{ + font: 50% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#titlearea +{ + padding: 0px; + margin: 0px; + width: 100%; + border-bottom: 1px solid #5373B4; +} + +.image +{ + text-align: center; +} + +.dotgraph +{ + text-align: center; +} + +.mscgraph +{ + text-align: center; +} + +.caption +{ + font-weight: bold; +} + +div.zoom +{ + border: 1px solid #90A5CE; +} + +dl.citelist { + margin-bottom:50px; +} + +dl.citelist dt { + color:#334975; + float:left; + font-weight:bold; + margin-right:10px; + padding:5px; +} + +dl.citelist dd { + margin:2px 0; + padding:5px 0; +} + +div.toc { + padding: 14px 25px; + background-color: #F4F6FA; + border: 1px solid #D8DFEE; + border-radius: 7px 7px 7px 7px; + float: right; + height: auto; + margin: 0 20px 10px 10px; + width: 200px; +} + +div.toc li { + background: url("bdwn.png") no-repeat scroll 0 5px transparent; + font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; + margin-top: 5px; + padding-left: 10px; + padding-top: 2px; +} + +div.toc h3 { + font: bold 12px/1.2 Arial,FreeSans,sans-serif; + color: #4665A2; + border-bottom: 0 none; + margin: 0; +} + +div.toc ul { + list-style: none outside none; + border: medium none; + padding: 0px; +} + +div.toc li.level1 { + margin-left: 0px; +} + +div.toc li.level2 { + margin-left: 15px; +} + +div.toc li.level3 { + margin-left: 30px; +} + +div.toc li.level4 { + margin-left: 45px; +} + +.inherit_header { + font-weight: bold; + color: gray; + cursor: pointer; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.inherit_header td { + padding: 6px 0px 2px 5px; +} + +.inherit { + display: none; +} + +tr.heading h2 { + margin-top: 12px; + margin-bottom: 4px; +} + +@media print +{ + #top { display: none; } + #side-nav { display: none; } + #nav-path { display: none; } + body { overflow:visible; } + h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } + .summary { display: none; } + .memitem { page-break-inside: avoid; } + #doc-content + { + margin-left:0 !important; + height:auto !important; + width:auto !important; + overflow:inherit; + display:inline; + } +} + diff --git a/docs/simplelink_api/html/driver_8h_source.html b/docs/simplelink_api/html/driver_8h_source.html deleted file mode 100644 index abb0d3e..0000000 --- a/docs/simplelink_api/html/driver_8h_source.html +++ /dev/null @@ -1,326 +0,0 @@ - - - - -SimpleLink Host Driver: driver.h Source File - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
-
-
driver.h
-
-
-
00001 /******************************************************************************
-00002 *
-00003 *   Copyright (C) 2013 Texas Instruments Incorporated
-00004 *
-00005 *   All rights reserved. Property of Texas Instruments Incorporated.
-00006 *   Restricted rights to use, duplicate or disclose this code are
-00007 *   granted through contract.
-00008 *
-00009 *   The program may not be used without the written permission of
-00010 *   Texas Instruments Incorporated or against the terms and conditions
-00011 *   stipulated in the agreement under which this program has been supplied,
-00012 *   and under no circumstances can it be used with non-TI connectivity device.
-00013 *
-00014 ******************************************************************************/
-00015  
-00016 #ifndef __DRIVER_INT_H__
-00017 #define __DRIVER_INT_H__
-00018 
-00019 typedef struct
-00020 {
-00021     _SlOpcode_t      Opcode;
-00022     _SlArgSize_t     TxDescLen;
-00023     _SlArgSize_t     RxDescLen;
-00024 }_SlCmdCtrl_t;
-00025 
-00026 typedef struct
-00027 {
-00028     UINT16  TxPayloadLen;
-00029     UINT16  RxPayloadLen;
-00030         UINT16  ActualRxPayloadLen;
-00031     UINT8   *pTxPayload;
-00032     UINT8   *pRxPayload;
-00033 }_SlCmdExt_t;
-00034 
-00035 
-00036 typedef struct _SlArgsData_t
-00037 {
-00038     UINT8        *pArgs;
-00039         UINT8    *pData;
-00040 } _SlArgsData_t;
-00041 
-00042 
-00043 typedef struct _SlPoolObj_t
-00044 {
-00045     _SlSyncObj_t              SyncObj;
-00046          UINT8                *pRespArgs;
-00047         UINT8                         ActionID; 
-00048         UINT8                         AdditionalData; /* use for socketID and one bit which indicate supprt IPV6 or not (1=support, 0 otherwise) */
-00049     UINT8                                 NextIndex;  
-00050 
-00051 } _SlPoolObj_t;
-00052 
-00053 
-00054 typedef enum
-00055 {
-00056         SOCKET_0,
-00057         SOCKET_1,
-00058         SOCKET_2,
-00059         SOCKET_3,
-00060         SOCKET_4,
-00061         SOCKET_5,
-00062         SOCKET_6,
-00063         SOCKET_7,
-00064         MAX_SOCKET_ENUM_IDX,
-00065     ACCEPT_ID = MAX_SOCKET_ENUM_IDX,
-00066     CONNECT_ID,
-00067         SELECT_ID,
-00068         GETHOSYBYNAME_ID,
-00069         GETHOSYBYSERVICE_ID,
-00070         PING_ID,
-00071     START_STOP_ID,
-00072         RECV_ID
-00073 }_SlActionID_e;
-00074 
-00075 typedef struct _SlActionLookup_t
-00076 {
-00077     UINT8                                       ActionID;
-00078     UINT16                                  ActionAsyncOpcode;
-00079         _SlSpawnEntryFunc_t             AsyncEventHandler; 
-00080 
-00081 } _SlActionLookup_t;
-00082 
-00083 
-00084 typedef struct
-00085 {
-00086     UINT8           TxPoolCnt;
-00087     _SlLockObj_t    TxLockObj;
-00088     _SlSyncObj_t    TxSyncObj;
-00089 }_SlFlowContCB_t;
-00090 
-00091 typedef enum
-00092 {
-00093     RECV_RESP_CLASS,
-00094     CMD_RESP_CLASS,
-00095     ASYNC_EVT_CLASS,
-00096     DUMMY_MSG_CLASS
-00097 }_SlRxMsgClass_e;
-00098 
-00099 typedef struct
-00100 {
-00101     UINT8                   *pAsyncBuf;         /* place to write pointer to buffer with CmdResp's Header + Arguments */
-00102         UINT8                                   ActionIndex; 
-00103     _SlSpawnEntryFunc_t     AsyncEvtHandler;    /* place to write pointer to AsyncEvent handler (calc-ed by Opcode)   */
-00104     _SlRxMsgClass_e         RxMsgClass;         /* type of Rx message                                                 */
-00105 } AsyncExt_t;
-00106 
-00107 typedef UINT8 _SlSd_t;
-00108 
-00109 typedef struct
-00110 {
-00111         _SlCmdCtrl_t         *pCmdCtrl;
-00112         UINT8                *pTxRxDescBuff;
-00113         _SlCmdExt_t          *pCmdExt;
-00114     AsyncExt_t            AsyncExt;
-00115 }_SlFunctionParams_t;
-00116 
-00117 
-00118 typedef struct
-00119 {
-00120     _SlFd_t                          FD;
-00121     _SlLockObj_t                     GlobalLockObj;
-00122     _SlCommandHeader_t               TempProtocolHeader;
-00123     P_INIT_CALLBACK                  pInitCallback;
-00124 
-00125     _SlPoolObj_t                    ObjPool[MAX_CONCURRENT_ACTIONS];
-00126         UINT8                                                   FreePoolIdx;
-00127         UINT8                                                   PendingPoolIdx;
-00128         UINT8                                                   ActivePoolIdx;
-00129         UINT32                                                  ActiveActionsBitmap;
-00130         _SlLockObj_t                    ProtectionLockObj;
-00131 
-00132     _SlSyncObj_t                     CmdSyncObj;  
-00133     UINT8                            IsCmdRespWaited;
-00134 
-00135     _SlFlowContCB_t                  FlowContCB;
-00136 
-00137     UINT8                            TxSeqNum;
-00138     UINT8                            RxIrqCnt;
-00139     UINT8                            RxDoneCnt;
-00140     UINT8                            SocketNonBlocking;
-00141         UINT8                            SocketTXFailure;
-00142     UINT8                            RelayFlagsViaRxPayload;
-00143     /* for stack reduction the parameters are globals */
-00144     _SlFunctionParams_t              FunctionParams;
-00145 
-00146 }_SlDriverCb_t;
-00147 
-00148 extern _SlDriverCb_t* g_pCB;
-00149 extern P_SL_DEV_PING_CALLBACK  pPingCallBackFunc;
-00150 extern void _SlDrvDriverCBInit(void);
-00151 extern void _SlDrvDriverCBDeinit(void);
-00152 extern void _SlDrvRxIrqHandler(void *pValue);
-00153 extern _SlReturnVal_t  _SlDrvCmdOp(_SlCmdCtrl_t *pCmdCtrl , void* pTxRxDescBuff , _SlCmdExt_t* pCmdExt);
-00154 extern _SlReturnVal_t  _SlDrvCmdSend(_SlCmdCtrl_t *pCmdCtrl , void* pTxRxDescBuff , _SlCmdExt_t* pCmdExt);
-00155 extern _SlReturnVal_t  _SlDrvDataReadOp(_SlSd_t Sd, _SlCmdCtrl_t *pCmdCtrl , void* pTxRxDescBuff , _SlCmdExt_t* pCmdExt);
-00156 extern _SlReturnVal_t  _SlDrvDataWriteOp(_SlSd_t Sd, _SlCmdCtrl_t *pCmdCtrl , void* pTxRxDescBuff , _SlCmdExt_t* pCmdExt);
-00157 extern int  _SlDrvBasicCmd(_SlOpcode_t Opcode);
-00158 
-00159 extern void _sl_HandleAsync_InitComplete(void *pVoidBuf);
-00160 extern void _sl_HandleAsync_Connect(void *pVoidBuf);
-00161 extern void _sl_HandleAsync_Accept(void *pVoidBuf);
-00162 extern void _sl_HandleAsync_Select(void *pVoidBuf);
-00163 extern void _sl_HandleAsync_DnsGetHostByName(void *pVoidBuf);
-00164 extern void _sl_HandleAsync_DnsGetHostByService(void *pVoidBuf);
-00165 extern void _sl_HandleAsync_DnsGetHostByAddr(void *pVoidBuf);
-00166 extern void _sl_HandleAsync_PingResponse(void *pVoidBuf);
-00167 extern void _SlDrvNetAppEventHandler(void *pArgs);
-00168 extern void _SlDrvDeviceEventHandler(void *pArgs);
-00169 extern void _sl_HandleAsync_Stop(void *pVoidBuf);
-00170 extern int _SlDrvWaitForPoolObj(UINT32 ActionID, UINT8 SocketID);
-00171 extern void _SlDrvReleasePoolObj(UINT8 pObj);
-00172 extern void _SlDrvObjInit(void);  
-00173 
-00174 #define _SL_PROTOCOL_ALIGN_SIZE(msgLen)             (((msgLen)+3) & (~3))
-00175 #define _SL_IS_PROTOCOL_ALIGNED_SIZE(msgLen)        (!((msgLen) & 3))
-00176 #define _SL_PROTOCOL_CALC_LEN(pCmdCtrl,pCmdExt)     ((pCmdExt) ? \
-00177                                                      (_SL_PROTOCOL_ALIGN_SIZE(pCmdCtrl->TxDescLen) + _SL_PROTOCOL_ALIGN_SIZE(pCmdExt->TxPayloadLen)) : \
-00178                                                      (_SL_PROTOCOL_ALIGN_SIZE(pCmdCtrl->TxDescLen)))
-00179 #endif /* __DRIVER_INT_H__ */
-
-
- - -
- All Data Structures Variables
- - -
- -
- - - - diff --git a/docs/simplelink_api/html/dynsections.js b/docs/simplelink_api/html/dynsections.js index 85e1836..d56f6bd 100644 --- a/docs/simplelink_api/html/dynsections.js +++ b/docs/simplelink_api/html/dynsections.js @@ -1,97 +1,97 @@ -function toggleVisibility(linkObj) -{ - var base = $(linkObj).attr('id'); - var summary = $('#'+base+'-summary'); - var content = $('#'+base+'-content'); - var trigger = $('#'+base+'-trigger'); - var src=$(trigger).attr('src'); - if (content.is(':visible')===true) { - content.hide(); - summary.show(); - $(linkObj).addClass('closed').removeClass('opened'); - $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); - } else { - content.show(); - summary.hide(); - $(linkObj).removeClass('closed').addClass('opened'); - $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); - } - return false; -} - -function updateStripes() -{ - $('table.directory tr'). - removeClass('even').filter(':visible:even').addClass('even'); -} - -function toggleLevel(level) -{ - $('table.directory tr').each(function() { - var l = this.id.split('_').length-1; - var i = $('#img'+this.id.substring(3)); - var a = $('#arr'+this.id.substring(3)); - if (l - - - - - -CC32XX SimpleLink Host Driver: File List - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
-
-
File List
-
-
-
Here is a list of all documented files with brief descriptions:
- - - - - - - - - - - -
 device.h
 fs.h
 netapp.h
 netcfg.h
 SimpleLink.h
 socket.h
 trace.h
 user.h
 wlan.h
 wlan_rx_filters.h
-
-
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: File List + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
File List
+
+
+
Here is a list of all documented files with brief descriptions:
+ + + + + + + + + + + +
o*device.h
o*fs.h
o*netapp.h
o*netcfg.h
o*simplelink.h
o*socket.h
o*trace.h
o*user.h
o*wlan.h
\*wlan_rx_filters.h
+
+
+
+ + + + diff --git a/docs/simplelink_api/html/files.js b/docs/simplelink_api/html/files.js index 15b92d9..85ae3c2 100644 --- a/docs/simplelink_api/html/files.js +++ b/docs/simplelink_api/html/files.js @@ -1,13 +1,13 @@ -var files = -[ - [ "device.h", "device_8h_source.html", null ], - [ "fs.h", "fs_8h_source.html", null ], - [ "netapp.h", "netapp_8h_source.html", null ], - [ "netcfg.h", "netcfg_8h_source.html", null ], - [ "SimpleLink.h", "_simple_link_8h_source.html", null ], - [ "socket.h", "socket_8h_source.html", null ], - [ "trace.h", "trace_8h_source.html", null ], - [ "user.h", "user_8h_source.html", null ], - [ "wlan.h", "wlan_8h_source.html", null ], - [ "wlan_rx_filters.h", "wlan__rx__filters_8h_source.html", null ] +var files = +[ + [ "device.h", "device_8h_source.html", null ], + [ "fs.h", "fs_8h_source.html", null ], + [ "netapp.h", "netapp_8h_source.html", null ], + [ "netcfg.h", "netcfg_8h_source.html", null ], + [ "simplelink.h", "simplelink_8h_source.html", null ], + [ "socket.h", "socket_8h_source.html", null ], + [ "trace.h", "trace_8h_source.html", null ], + [ "user.h", "user_8h_source.html", null ], + [ "wlan.h", "wlan_8h_source.html", null ], + [ "wlan_rx_filters.h", "wlan__rx__filters_8h_source.html", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/flowcont_8h_source.html b/docs/simplelink_api/html/flowcont_8h_source.html deleted file mode 100644 index 183371f..0000000 --- a/docs/simplelink_api/html/flowcont_8h_source.html +++ /dev/null @@ -1,227 +0,0 @@ - - - - -SimpleLink Host Driver: flowcont.h Source File - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
-
-
flowcont.h
-
-
-
00001 /******************************************************************************
-00002 *
-00003 *   Copyright (C) 2013 Texas Instruments Incorporated
-00004 *
-00005 *   All rights reserved. Property of Texas Instruments Incorporated.
-00006 *   Restricted rights to use, duplicate or disclose this code are
-00007 *   granted through contract.
-00008 *
-00009 *   The program may not be used without the written permission of
-00010 *   Texas Instruments Incorporated or against the terms and conditions
-00011 *   stipulated in the agreement under which this program has been supplied,
-00012 *   and under no circumstances can it be used with non-TI connectivity device.
-00013 *
-00014 ******************************************************************************/
-00015 
-00016 #ifndef __FLOWCONT_H__
-00017 #define __FLOWCONT_H__
-00018 
-00019 /******************************************************************************
-00020 
-00021  If building with a C++ compiler, make all of the definitions in this header
-00022  have a C binding.
-00023 
-00024 *****************************************************************************/
-00025 #ifdef  __cplusplus
-00026 extern "C" {
-00027 #endif
-00028 
-00029 #define WLAN_STATUS_CONN 1
-00030 #define WLAN_STATUS_DISCONN 0
-00031 #define EVENT_Q_STATUS_NOT_EMPTY 1
-00032 #define EVENT_Q_STATUS_EMPTY 0
-00033 #define PENDING_RECV_STATUS_PRESENT 1
-00034 #define PENDING_RECV_STATUS_ABSENT 0
-00035 #define FW_BUSY_PKTS_STATUS_PRESENT 1
-00036 #define FW_BUSY_PKTS_STATUS_ABSENT 0
-00037 #define PENDING_CMD_STATUS_PRESENT 1
-00038 #define PENDING_CMD_STATUS_ABSENT 0
-00039 
-00040 #define FLOW_CONT_WLAN_STATUS_BIT          0
-00041 #define FLOW_CONT_EVENT_Q_STATUS_BIT       1
-00042 #define FLOW_CONT_PENDING_RECV_STATUS_BIT  2
-00043 #define FLOW_CONT_FW_BUSY_PKTS_STATUS_BIT  3
-00044 #define FLOW_CONT_PENDING_CMD_STATUS_BIT   4
-00045 
-00046 #define FLOW_CONT_WLAN_STATUS_DEFAULT          (WLAN_STATUS_DISCONN         << FLOW_CONT_WLAN_STATUS_BIT        )
-00047 #define FLOW_CONT_EVENT_Q_STATUS_DEFAULT       (EVENT_Q_STATUS_NOT_EMPTY    << FLOW_CONT_EVENT_Q_STATUS_BIT     )
-00048 #define FLOW_CONT_PENDING_RECV_STATUS_DEFAULT  (PENDING_RECV_STATUS_ABSENT  << FLOW_CONT_PENDING_RECV_STATUS_BIT)
-00049 #define FLOW_CONT_FW_BUSY_PKTS_STATUS_DEFAULT  (FW_BUSY_PKTS_STATUS_ABSENT  << FLOW_CONT_FW_BUSY_PKTS_STATUS_BIT)
-00050 #define FLOW_CONT_PENDING_CMD_STATUS_DEFAULT   (PENDING_CMD_STATUS_ABSENT   << FLOW_CONT_PENDING_CMD_STATUS_BIT )
-00051 
-00052 #define FLOW_CONT_STATUS_DEFAULT (FLOW_CONT_WLAN_STATUS_DEFAULT        |\
-00053                                   FLOW_CONT_EVENT_Q_STATUS_DEFAULT     |\
-00054                                   FLOW_CONT_PENDING_RECV_STATUS_DEFAULT|\
-00055                                   FLOW_CONT_FW_BUSY_PKTS_STATUS_DEFAULT|\
-00056                                   FLOW_CONT_PENDING_CMD_STATUS_DEFAULT )
-00057 
-00058 /*****************************************************************************
-00059 
-00060  Prototypes for the APIs.
-00061 
-00062 *****************************************************************************/
-00063 
-00064 #define FLOW_CONT_MIN 1
-00065 
-00066 extern void _SlDrvFlowContInit(void);
-00067 
-00068 extern void _SlDrvFlowContDeinit(void);
-00069 
-00070 /*****************************************************************************
-00071 
-00072  Mark the end of the C bindings section for C++ compilers.
-00073 
-00074 *****************************************************************************/
-00075 #ifdef  __cplusplus
-00076 }
-00077 #endif /* __cplusplus */
-00078 
-00079 #endif /* __FLOWCONT_H__ */
-00080 
-
-
- - -
- All Data Structures Variables
- - -
- -
- - - - diff --git a/docs/simplelink_api/html/fs_8h_source.html b/docs/simplelink_api/html/fs_8h_source.html index 4ac6f24..16c6fc6 100644 --- a/docs/simplelink_api/html/fs_8h_source.html +++ b/docs/simplelink_api/html/fs_8h_source.html @@ -1,356 +1,350 @@ - - - - - - -CC32XX SimpleLink Host Driver: fs.h Source File - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
-
-
fs.h
-
-
-
1 /*
-
2  * fs.h - CC31xx/CC32xx Host Driver Implementation
-
3  *
-
4  * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
-
5  *
-
6  *
-
7  * Redistribution and use in source and binary forms, with or without
-
8  * modification, are permitted provided that the following conditions
-
9  * are met:
-
10  *
-
11  * Redistributions of source code must retain the above copyright
-
12  * notice, this list of conditions and the following disclaimer.
-
13  *
-
14  * Redistributions in binary form must reproduce the above copyright
-
15  * notice, this list of conditions and the following disclaimer in the
-
16  * documentation and/or other materials provided with the
-
17  * distribution.
-
18  *
-
19  * Neither the name of Texas Instruments Incorporated nor the names of
-
20  * its contributors may be used to endorse or promote products derived
-
21  * from this software without specific prior written permission.
-
22  *
-
23  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-
24  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-
25  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-
26  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-
27  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-
28  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-
29  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-
30  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-
31  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-
32  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-
33  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
34  *
-
35 */
-
36 
-
37 #ifndef __FS_H__
-
38 #define __FS_H__
-
39 
-
40 /*****************************************************************************/
-
41 /* Include files */
-
42 /*****************************************************************************/
-
43 
-
44 #include "simplelink.h"
-
45 
-
46 #ifdef __cplusplus
-
47 extern "C" {
-
48 #endif
-
49 
-
57 /*****************************************************************************/
-
58 /* Macro declarations */
-
59 /*****************************************************************************/
-
60 
-
61 /* FS error codes */
-
62 #define SL_FS_OK (0)
-
63 #define SL_FS_ERR_EMPTY_SFLASH (-67)
-
64 #define SL_FS_ERR_FILE_IS_NOT_SECURE_AND_SIGN (-66)
-
65 #define SL_FS_ERASING_FLASH (-65)
-
66 #define SL_FS_FILE_HAS_NOT_BEEN_CLOSE_CORRECTLY (-64)
-
67 #define SL_FS_WRONG_SIGNATURE (-63)
-
68 #define SL_FS_WRONG_SIGNATURE_OR_CERTIFIC_NAME_LENGTH (-62)
-
69 #define SL_FS_NOT_16_ALIGNED (-61)
-
70 #define SL_FS_CERT_CHAIN_ERROR (-60)
-
71 #define SL_FS_FILE_NAME_EXIST (-59)
-
72 #define SL_FS_SECURITY_BUF_ALREADY_ALLOC (-58)
-
73 #define SL_FS_SECURE_FILE_MUST_BE_COMMIT (-57)
-
74 #define SL_FS_ERR_INCORRECT_OFFSET_ALIGNMENT (-56)
-
75 #define SL_FS_ERR_FAILED_READ_NVMEM_HEADER (-55)
-
76 #define SL_FS_WRONG_FILE_NAME (-54)
-
77 #define SL_FS_FILE_SYSTEM_IS_LOCKED (-53)
-
78 #define SL_FS_SECURITY_ALLERT (-52)
-
79 #define SL_FS_FILE_UNVALID_FILE_SIZE (-51)
-
80 #define SL_FS_ERR_TOKEN_IS_NOT_VALID (-50)
-
81 #define SL_FS_NO_DEVICE_IS_LOADED (-49)
-
82 #define SL_FS_DATA_ADDRESS_SHOUD_BE_IN_DATA_RAM (-48)
-
83 #define SL_FS_DATA_IS_NOT_ALIGNED (-47)
-
84 #define SL_FS_ERR_OVERLAP_DETECTION_THRESHHOLD (-46)
-
85 #define SL_FS_FILE_HAS_RESERVED_NV_INDEX (-45)
-
86 #define SL_FS_ERR_MAX_FS_FILES_IS_LARGER (-44)
-
87 #define SL_FS_ERR_MAX_FS_FILES_IS_SMALLER (-43)
-
88 #define SL_FS_FILE_MAX_SIZE_EXCEEDED (-42)
-
89 #define SL_FS_INVALID_BUFFER_FOR_READ (-41)
-
90 #define SL_FS_INVALID_BUFFER_FOR_WRITE (-40)
-
91 #define SL_FS_ERR_FILE_IMAGE_IS_CORRUPTED (-39)
-
92 #define SL_FS_ERR_SIZE_OF_FILE_EXT_EXCEEDED (-38)
-
93 #define SL_FS_WARNING_FILE_NAME_NOT_KEPT (-37)
-
94 #define SL_FS_ERR_DEVICE_IS_NOT_FORMATTED (-36)
-
95 #define SL_FS_ERR_FAILED_WRITE_NVMEM_HEADER (-35)
-
96 #define SL_FS_ERR_NO_AVAILABLE_NV_INDEX (-34)
-
97 #define SL_FS_ERR_FAILED_TO_ALLOCATE_MEM (-33)
-
98 #define SL_FS_ERR_FAILED_TO_READ_INTEGRITY_HEADER_2 (-32)
-
99 #define SL_FS_ERR_FAILED_TO_READ_INTEGRITY_HEADER_1 (-31)
-
100 #define SL_FS_ERR_NO_AVAILABLE_BLOCKS (-30)
-
101 #define SL_FS_ERR_FILE_MAX_SIZE_BIGGER_THAN_EXISTING_FILE (-29)
-
102 #define SL_FS_ERR_FILE_EXISTS_ON_DIFFERENT_DEVICE_ID (-28)
-
103 #define SL_FS_ERR_INVALID_ACCESS_TYPE (-27)
-
104 #define SL_FS_ERR_FILE_ALREADY_EXISTS (-26)
-
105 #define SL_FS_ERR_PROGRAM (-25)
-
106 #define SL_FS_ERR_NO_ENTRIES_AVAILABLE (-24)
-
107 #define SL_FS_ERR_FILE_ACCESS_IS_DIFFERENT (-23)
-
108 #define SL_FS_ERR_BAD_FILE_MODE (-22)
-
109 #define SL_FS_ERR_FAILED_READ_NVFILE (-21)
-
110 #define SL_FS_ERR_FAILED_INIT_STORAGE (-20)
-
111 #define SL_FS_ERR_CONTINUE_WRITE_MUST_BE_MOD_4 (-19)
-
112 #define SL_FS_ERR_FAILED_LOAD_FILE (-18)
-
113 #define SL_FS_ERR_INVALID_HANDLE (-17)
-
114 #define SL_FS_ERR_FAILED_TO_WRITE (-16)
-
115 #define SL_FS_ERR_OFFSET_OUT_OF_RANGE (-15)
-
116 #define SL_FS_ERR_ALLOC (-14)
-
117 #define SL_FS_ERR_READ_DATA_LENGTH (-13)
-
118 #define SL_FS_ERR_INVALID_FILE_ID (-12)
-
119 #define SL_FS_ERR_FILE_NOT_EXISTS (-11)
-
120 #define SL_FS_ERR_EMPTY_ERROR (-10)
-
121 #define SL_FS_ERR_INVALID_ARGS (-9)
-
122 #define SL_FS_ERR_FAILED_TO_CREATE_FILE (-8)
-
123 #define SL_FS_ERR_FS_ALREADY_LOADED (-7)
-
124 #define SL_FS_ERR_UNKNOWN (-6)
-
125 #define SL_FS_ERR_FAILED_TO_CREATE_LOCK_OBJ (-5)
-
126 #define SL_FS_ERR_DEVICE_NOT_LOADED (-4)
-
127 #define SL_FS_ERR_INVALID_MAGIC_NUM (-3)
-
128 #define SL_FS_ERR_FAILED_TO_READ (-2)
-
129 #define SL_FS_ERR_NOT_SUPPORTED (-1)
-
130 /* end of error codes */
-
131 
-
132 #define _FS_MODE_ACCESS_RESERVED_OFFSET (24)
-
133 #define _FS_MODE_ACCESS_RESERVED_MASK (0xFF)
-
134 #define _FS_MODE_ACCESS_FLAGS_OFFSET (16)
-
135 #define _FS_MODE_ACCESS_FLAGS_MASK (0xFF)
-
136 #define _FS_MODE_ACCESS_OFFSET (12)
-
137 #define _FS_MODE_ACCESS_MASK (0xF)
-
138 #define _FS_MODE_OPEN_SIZE_GRAN_OFFSET (8)
-
139 #define _FS_MODE_OPEN_SIZE_GRAN_MASK (0xF)
-
140 #define _FS_MODE_OPEN_SIZE_OFFSET (0)
-
141 #define _FS_MODE_OPEN_SIZE_MASK (0xFF)
-
142 #define MAX_MODE_SIZE (0xFF)
-
143 #define _FS_MODE(Access, SizeGran, Size,Flags) (_u32)(((_u32)((Access) & _FS_MODE_ACCESS_MASK)<<_FS_MODE_ACCESS_OFFSET) | \
-
144  ((_u32)((SizeGran) & _FS_MODE_OPEN_SIZE_GRAN_MASK)<<_FS_MODE_OPEN_SIZE_GRAN_OFFSET) | \
-
145  ((_u32)((Size) & _FS_MODE_OPEN_SIZE_MASK)<<_FS_MODE_OPEN_SIZE_OFFSET) | \
-
146  ((_u32)((Flags) & _FS_MODE_ACCESS_FLAGS_MASK)<<_FS_MODE_ACCESS_FLAGS_OFFSET))
-
147 
-
148 
-
149 /* sl_FsOpen options */
-
150 /* Open for Read */
-
151 #define FS_MODE_OPEN_READ _FS_MODE(_FS_MODE_OPEN_READ,0,0,0)
-
152 /* Open for Write (in case file exist) */
-
153 #define FS_MODE_OPEN_WRITE _FS_MODE(_FS_MODE_OPEN_WRITE,0,0,0)
-
154 /* Open for Creating a new file */
-
155 #define FS_MODE_OPEN_CREATE(maxSizeInBytes,accessModeFlags) _sl_GetCreateFsMode(maxSizeInBytes,accessModeFlags)
-
156 
-
157 /*****************************************************************************/
-
158 /* Structure/Enum declarations */
-
159 /*****************************************************************************/
-
160 typedef struct
-
161 {
-
162  _u16 flags;
-
163  _u32 FileLen;
-
164  _u32 AllocatedLen;
-
165  _u32 Token[4];
- -
167 
-
168 typedef enum
-
169 {
-
170  _FS_MODE_OPEN_READ = 0,
-
171  _FS_MODE_OPEN_WRITE,
-
172  _FS_MODE_OPEN_CREATE,
-
173  _FS_MODE_OPEN_WRITE_CREATE_IF_NOT_EXIST
-
174 }SlFsFileOpenAccessType_e;
-
175 
-
176 typedef enum
-
177 {
-
178  _FS_FILE_OPEN_FLAG_COMMIT = 0x1, /* MIRROR - for fail safe */
-
179  _FS_FILE_OPEN_FLAG_SECURE = 0x2, /* SECURE */
-
180  _FS_FILE_OPEN_FLAG_NO_SIGNATURE_TEST = 0x4, /* Relevant to secure file only */
-
181  _FS_FILE_OPEN_FLAG_STATIC = 0x8, /* Relevant to secure file only */
-
182  _FS_FILE_OPEN_FLAG_VENDOR = 0x10, /* Relevant to secure file only */
-
183  _FS_FILE_PUBLIC_WRITE= 0x20, /* Relevant to secure file only, the file can be opened for write without Token */
-
184  _FS_FILE_PUBLIC_READ = 0x40 /* Relevant to secure file only, the file can be opened for read without Token */
-
185 }SlFileOpenFlags_e;
-
186 
-
187 typedef enum
-
188 {
-
189  _FS_MODE_SIZE_GRAN_256B = 0, /* MAX_SIZE = 64K */
-
190  _FS_MODE_SIZE_GRAN_1KB, /* MAX_SIZE = 256K */
-
191  _FS_MODE_SIZE_GRAN_4KB, /* MAX_SZIE = 1M */
-
192  _FS_MODE_SIZE_GRAN_16KB, /* MAX_SIZE = 4M */
-
193  _FS_MODE_SIZE_GRAN_64KB, /* MAX_SIZE = 16M */
-
194  _FS_MAX_MODE_SIZE_GRAN
-
195 }_SlFsFileOpenMaxSizeGran_e;
-
196 
-
197 /*****************************************************************************/
-
198 /* Internal Function prototypes */
-
199 /*****************************************************************************/
-
200 _u32 _sl_GetCreateFsMode(_u32 maxSizeInBytes,_u32 accessFlags);
-
201 
-
202 /*****************************************************************************/
-
203 /* Function prototypes */
-
204 /*****************************************************************************/
-
205 
-
258 #if _SL_INCLUDE_FUNC(sl_FsOpen)
-
259 _i32 sl_FsOpen(_u8 *pFileName,_u32 AccessModeAndMaxSize,_u32 *pToken,_i32 *pFileHandle);
-
260 #endif
-
261 
-
281 #if _SL_INCLUDE_FUNC(sl_FsClose)
-
282 _i16 sl_FsClose(_i32 FileHdl,_u8* pCeritificateFileName,_u8* pSignature,_u32 SignatureLen);
-
283 #endif
-
284 
-
303 #if _SL_INCLUDE_FUNC(sl_FsRead)
-
304 _i32 sl_FsRead(_i32 FileHdl,_u32 Offset ,_u8* pData,_u32 Len);
-
305 #endif
-
306 
-
325 #if _SL_INCLUDE_FUNC(sl_FsWrite)
-
326 _i32 sl_FsWrite(_i32 FileHdl,_u32 Offset,_u8* pData,_u32 Len);
-
327 #endif
-
328 
-
346 #if _SL_INCLUDE_FUNC(sl_FsGetInfo)
-
347 _i16 sl_FsGetInfo(_u8 *pFileName,_u32 Token,SlFsFileInfo_t* pFsFileInfo);
-
348 #endif
-
349 
-
365 #if _SL_INCLUDE_FUNC(sl_FsDel)
-
366 _i16 sl_FsDel(_u8 *pFileName,_u32 Token);
-
367 #endif
-
368 
-
375 #ifdef __cplusplus
-
376 }
-
377 #endif /* __cplusplus */
-
378 
-
379 #endif /* __FS_H__ */
-
380 
-
_i16 sl_FsDel(_u8 *pFileName, _u32 Token)
Delete specific file from a storage or all files from a storage (format)
-
_i32 sl_FsOpen(_u8 *pFileName, _u32 AccessModeAndMaxSize, _u32 *pToken, _i32 *pFileHandle)
open file for read or write from/to storage device
-
_i16 sl_FsGetInfo(_u8 *pFileName, _u32 Token, SlFsFileInfo_t *pFsFileInfo)
get info on a file
-
_i32 sl_FsRead(_i32 FileHdl, _u32 Offset, _u8 *pData, _u32 Len)
Read block of data from a file in storage device.
-
_i16 sl_FsClose(_i32 FileHdl, _u8 *pCeritificateFileName, _u8 *pSignature, _u32 SignatureLen)
close file in storage device
-
_i32 sl_FsWrite(_i32 FileHdl, _u32 Offset, _u8 *pData, _u32 Len)
write block of data to a file in storage device
-
Definition: fs.h:160
-
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: fs.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
fs.h
+
+
+
1 /*
+
2  * fs.h - CC31xx/CC32xx Host Driver Implementation
+
3  *
+
4  * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
+
5  *
+
6  *
+
7  * Redistribution and use in source and binary forms, with or without
+
8  * modification, are permitted provided that the following conditions
+
9  * are met:
+
10  *
+
11  * Redistributions of source code must retain the above copyright
+
12  * notice, this list of conditions and the following disclaimer.
+
13  *
+
14  * Redistributions in binary form must reproduce the above copyright
+
15  * notice, this list of conditions and the following disclaimer in the
+
16  * documentation and/or other materials provided with the
+
17  * distribution.
+
18  *
+
19  * Neither the name of Texas Instruments Incorporated nor the names of
+
20  * its contributors may be used to endorse or promote products derived
+
21  * from this software without specific prior written permission.
+
22  *
+
23  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+
24  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+
25  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+
26  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+
27  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+
28  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+
29  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+
30  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+
31  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+
32  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+
33  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
34  *
+
35 */
+
36 
+
37 /*****************************************************************************/
+
38 /* Include files */
+
39 /*****************************************************************************/
+
40 
+
41 #include "simplelink.h"
+
42 
+
43 #ifndef __FS_H__
+
44 #define __FS_H__
+
45 
+
46 
+
47 
+
48 #ifdef __cplusplus
+
49 extern "C" {
+
50 #endif
+
51 
+
59 /*****************************************************************************/
+
60 /* Macro declarations */
+
61 /*****************************************************************************/
+
62 
+
63 /* FS error codes */
+
64 #define SL_FS_OK (0)
+
65 #define SL_FS_ERR_EMPTY_SFLASH (-67)
+
66 #define SL_FS_ERR_FILE_IS_NOT_SECURE_AND_SIGN (-66)
+
67 #define SL_FS_ERASING_FLASH (-65)
+
68 #define SL_FS_FILE_HAS_NOT_BEEN_CLOSE_CORRECTLY (-64)
+
69 #define SL_FS_WRONG_SIGNATURE (-63)
+
70 #define SL_FS_WRONG_SIGNATURE_OR_CERTIFIC_NAME_LENGTH (-62)
+
71 #define SL_FS_NOT_16_ALIGNED (-61)
+
72 #define SL_FS_CERT_CHAIN_ERROR (-60)
+
73 #define SL_FS_FILE_NAME_EXIST (-59)
+
74 #define SL_FS_SECURITY_BUF_ALREADY_ALLOC (-58)
+
75 #define SL_FS_SECURE_FILE_MUST_BE_COMMIT (-57)
+
76 #define SL_FS_ERR_INCORRECT_OFFSET_ALIGNMENT (-56)
+
77 #define SL_FS_ERR_FAILED_READ_NVMEM_HEADER (-55)
+
78 #define SL_FS_WRONG_FILE_NAME (-54)
+
79 #define SL_FS_FILE_SYSTEM_IS_LOCKED (-53)
+
80 #define SL_FS_SECURITY_ALLERT (-52)
+
81 #define SL_FS_FILE_UNVALID_FILE_SIZE (-51)
+
82 #define SL_FS_ERR_TOKEN_IS_NOT_VALID (-50)
+
83 #define SL_FS_NO_DEVICE_IS_LOADED (-49)
+
84 #define SL_FS_DATA_ADDRESS_SHOUD_BE_IN_DATA_RAM (-48)
+
85 #define SL_FS_DATA_IS_NOT_ALIGNED (-47)
+
86 #define SL_FS_ERR_OVERLAP_DETECTION_THRESHHOLD (-46)
+
87 #define SL_FS_FILE_HAS_RESERVED_NV_INDEX (-45)
+
88 #define SL_FS_ERR_MAX_FS_FILES_IS_LARGER (-44)
+
89 #define SL_FS_ERR_MAX_FS_FILES_IS_SMALLER (-43)
+
90 #define SL_FS_FILE_MAX_SIZE_EXCEEDED (-42)
+
91 #define SL_FS_INVALID_BUFFER_FOR_READ (-41)
+
92 #define SL_FS_INVALID_BUFFER_FOR_WRITE (-40)
+
93 #define SL_FS_ERR_FILE_IMAGE_IS_CORRUPTED (-39)
+
94 #define SL_FS_ERR_SIZE_OF_FILE_EXT_EXCEEDED (-38)
+
95 #define SL_FS_WARNING_FILE_NAME_NOT_KEPT (-37)
+
96 #define SL_FS_ERR_DEVICE_IS_NOT_FORMATTED (-36)
+
97 #define SL_FS_ERR_FAILED_WRITE_NVMEM_HEADER (-35)
+
98 #define SL_FS_ERR_NO_AVAILABLE_NV_INDEX (-34)
+
99 #define SL_FS_ERR_FAILED_TO_ALLOCATE_MEM (-33)
+
100 #define SL_FS_ERR_FAILED_TO_READ_INTEGRITY_HEADER_2 (-32)
+
101 #define SL_FS_ERR_FAILED_TO_READ_INTEGRITY_HEADER_1 (-31)
+
102 #define SL_FS_ERR_NO_AVAILABLE_BLOCKS (-30)
+
103 #define SL_FS_ERR_FILE_MAX_SIZE_BIGGER_THAN_EXISTING_FILE (-29)
+
104 #define SL_FS_ERR_FILE_EXISTS_ON_DIFFERENT_DEVICE_ID (-28)
+
105 #define SL_FS_ERR_INVALID_ACCESS_TYPE (-27)
+
106 #define SL_FS_ERR_FILE_ALREADY_EXISTS (-26)
+
107 #define SL_FS_ERR_PROGRAM (-25)
+
108 #define SL_FS_ERR_NO_ENTRIES_AVAILABLE (-24)
+
109 #define SL_FS_ERR_FILE_ACCESS_IS_DIFFERENT (-23)
+
110 #define SL_FS_ERR_BAD_FILE_MODE (-22)
+
111 #define SL_FS_ERR_FAILED_READ_NVFILE (-21)
+
112 #define SL_FS_ERR_FAILED_INIT_STORAGE (-20)
+
113 #define SL_FS_ERR_CONTINUE_WRITE_MUST_BE_MOD_4 (-19)
+
114 #define SL_FS_ERR_FAILED_LOAD_FILE (-18)
+
115 #define SL_FS_ERR_INVALID_HANDLE (-17)
+
116 #define SL_FS_ERR_FAILED_TO_WRITE (-16)
+
117 #define SL_FS_ERR_OFFSET_OUT_OF_RANGE (-15)
+
118 #define SL_FS_ERR_ALLOC (-14)
+
119 #define SL_FS_ERR_READ_DATA_LENGTH (-13)
+
120 #define SL_FS_ERR_INVALID_FILE_ID (-12)
+
121 #define SL_FS_ERR_FILE_NOT_EXISTS (-11)
+
122 #define SL_FS_ERR_EMPTY_ERROR (-10)
+
123 #define SL_FS_ERR_INVALID_ARGS (-9)
+
124 #define SL_FS_ERR_FAILED_TO_CREATE_FILE (-8)
+
125 #define SL_FS_ERR_FS_ALREADY_LOADED (-7)
+
126 #define SL_FS_ERR_UNKNOWN (-6)
+
127 #define SL_FS_ERR_FAILED_TO_CREATE_LOCK_OBJ (-5)
+
128 #define SL_FS_ERR_DEVICE_NOT_LOADED (-4)
+
129 #define SL_FS_ERR_INVALID_MAGIC_NUM (-3)
+
130 #define SL_FS_ERR_FAILED_TO_READ (-2)
+
131 #define SL_FS_ERR_NOT_SUPPORTED (-1)
+
132 /* end of error codes */
+
133 
+
134 #define _FS_MODE_ACCESS_RESERVED_OFFSET (24)
+
135 #define _FS_MODE_ACCESS_RESERVED_MASK (0xFF)
+
136 #define _FS_MODE_ACCESS_FLAGS_OFFSET (16)
+
137 #define _FS_MODE_ACCESS_FLAGS_MASK (0xFF)
+
138 #define _FS_MODE_ACCESS_OFFSET (12)
+
139 #define _FS_MODE_ACCESS_MASK (0xF)
+
140 #define _FS_MODE_OPEN_SIZE_GRAN_OFFSET (8)
+
141 #define _FS_MODE_OPEN_SIZE_GRAN_MASK (0xF)
+
142 #define _FS_MODE_OPEN_SIZE_OFFSET (0)
+
143 #define _FS_MODE_OPEN_SIZE_MASK (0xFF)
+
144 #define MAX_MODE_SIZE (0xFF)
+
145 #define _FS_MODE(Access, SizeGran, Size,Flags) (_u32)(((_u32)((Access) & _FS_MODE_ACCESS_MASK)<<_FS_MODE_ACCESS_OFFSET) | \
+
146  ((_u32)((SizeGran) & _FS_MODE_OPEN_SIZE_GRAN_MASK)<<_FS_MODE_OPEN_SIZE_GRAN_OFFSET) | \
+
147  ((_u32)((Size) & _FS_MODE_OPEN_SIZE_MASK)<<_FS_MODE_OPEN_SIZE_OFFSET) | \
+
148  ((_u32)((Flags) & _FS_MODE_ACCESS_FLAGS_MASK)<<_FS_MODE_ACCESS_FLAGS_OFFSET))
+
149 
+
150 
+
151 /* sl_FsOpen options */
+
152 /* Open for Read */
+
153 #define FS_MODE_OPEN_READ _FS_MODE(_FS_MODE_OPEN_READ,0,0,0)
+
154 /* Open for Write (in case file exist) */
+
155 #define FS_MODE_OPEN_WRITE _FS_MODE(_FS_MODE_OPEN_WRITE,0,0,0)
+
156 /* Open for Creating a new file */
+
157 #define FS_MODE_OPEN_CREATE(maxSizeInBytes,accessModeFlags) _sl_GetCreateFsMode(maxSizeInBytes,accessModeFlags)
+
158 
+
159 /*****************************************************************************/
+
160 /* Structure/Enum declarations */
+
161 /*****************************************************************************/
+
162 typedef struct
+
163 {
+
164  _u16 flags;
+
165  _u32 FileLen;
+
166  _u32 AllocatedLen;
+
167  _u32 Token[4];
+ +
169 
+
170 typedef enum
+
171 {
+
172  _FS_MODE_OPEN_READ = 0,
+
173  _FS_MODE_OPEN_WRITE,
+
174  _FS_MODE_OPEN_CREATE,
+
175  _FS_MODE_OPEN_WRITE_CREATE_IF_NOT_EXIST
+
176 }SlFsFileOpenAccessType_e;
+
177 
+
178 typedef enum
+
179 {
+
180  _FS_FILE_OPEN_FLAG_COMMIT = 0x1, /* MIRROR - for fail safe */
+
181  _FS_FILE_OPEN_FLAG_SECURE = 0x2, /* SECURE */
+
182  _FS_FILE_OPEN_FLAG_NO_SIGNATURE_TEST = 0x4, /* Relevant to secure file only */
+
183  _FS_FILE_OPEN_FLAG_STATIC = 0x8, /* Relevant to secure file only */
+
184  _FS_FILE_OPEN_FLAG_VENDOR = 0x10, /* Relevant to secure file only */
+
185  _FS_FILE_PUBLIC_WRITE= 0x20, /* Relevant to secure file only, the file can be opened for write without Token */
+
186  _FS_FILE_PUBLIC_READ = 0x40 /* Relevant to secure file only, the file can be opened for read without Token */
+
187 }SlFileOpenFlags_e;
+
188 
+
189 typedef enum
+
190 {
+
191  _FS_MODE_SIZE_GRAN_256B = 0, /* MAX_SIZE = 64K */
+
192  _FS_MODE_SIZE_GRAN_1KB, /* MAX_SIZE = 256K */
+
193  _FS_MODE_SIZE_GRAN_4KB, /* MAX_SZIE = 1M */
+
194  _FS_MODE_SIZE_GRAN_16KB, /* MAX_SIZE = 4M */
+
195  _FS_MODE_SIZE_GRAN_64KB, /* MAX_SIZE = 16M */
+
196  _FS_MAX_MODE_SIZE_GRAN
+
197 }_SlFsFileOpenMaxSizeGran_e;
+
198 
+
199 /*****************************************************************************/
+
200 /* Internal Function prototypes */
+
201 /*****************************************************************************/
+
202 _u32 _sl_GetCreateFsMode(_u32 maxSizeInBytes,_u32 accessFlags);
+
203 
+
204 /*****************************************************************************/
+
205 /* Function prototypes */
+
206 /*****************************************************************************/
+
207 
+
260 #if _SL_INCLUDE_FUNC(sl_FsOpen)
+
261 _i32 sl_FsOpen(const _u8 *pFileName,const _u32 AccessModeAndMaxSize,_u32 *pToken,_i32 *pFileHandle);
+
262 #endif
+
263 
+
283 #if _SL_INCLUDE_FUNC(sl_FsClose)
+
284 _i16 sl_FsClose(const _i32 FileHdl,const _u8* pCeritificateFileName,const _u8* pSignature,const _u32 SignatureLen);
+
285 #endif
+
286 
+
305 #if _SL_INCLUDE_FUNC(sl_FsRead)
+
306 _i32 sl_FsRead(const _i32 FileHdl,_u32 Offset ,_u8* pData,_u32 Len);
+
307 #endif
+
308 
+
327 #if _SL_INCLUDE_FUNC(sl_FsWrite)
+
328 _i32 sl_FsWrite(const _i32 FileHdl,_u32 Offset,_u8* pData,_u32 Len);
+
329 #endif
+
330 
+
348 #if _SL_INCLUDE_FUNC(sl_FsGetInfo)
+
349 _i16 sl_FsGetInfo(const _u8 *pFileName,const _u32 Token,SlFsFileInfo_t* pFsFileInfo);
+
350 #endif
+
351 
+
367 #if _SL_INCLUDE_FUNC(sl_FsDel)
+
368 _i16 sl_FsDel(const _u8 *pFileName,const _u32 Token);
+
369 #endif
+
370 
+
377 #ifdef __cplusplus
+
378 }
+
379 #endif /* __cplusplus */
+
380 
+
381 #endif /* __FS_H__ */
+
382 
+
+
+ + + + diff --git a/docs/simplelink_api/html/ftv2cl.png b/docs/simplelink_api/html/ftv2cl.png new file mode 100644 index 0000000..132f657 Binary files /dev/null and b/docs/simplelink_api/html/ftv2cl.png differ diff --git a/docs/simplelink_api/html/ftv2mo.png b/docs/simplelink_api/html/ftv2mo.png new file mode 100644 index 0000000..4bfb80f Binary files /dev/null and b/docs/simplelink_api/html/ftv2mo.png differ diff --git a/docs/simplelink_api/html/ftv2ns.png b/docs/simplelink_api/html/ftv2ns.png new file mode 100644 index 0000000..72e3d71 Binary files /dev/null and b/docs/simplelink_api/html/ftv2ns.png differ diff --git a/docs/simplelink_api/html/functions.html b/docs/simplelink_api/html/functions.html index 38c7139..6544a3c 100644 --- a/docs/simplelink_api/html/functions.html +++ b/docs/simplelink_api/html/functions.html @@ -1,184 +1,183 @@ - - - - - - -CC32XX SimpleLink Host Driver: Data Fields - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
-
Here is a list of all documented struct and union fields with links to the struct/union documentation for each field:
-
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: Data Fields + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
Here is a list of all documented struct and union fields with links to the struct/union documentation for each field:
+
+
+ + + + diff --git a/docs/simplelink_api/html/functions_vars.html b/docs/simplelink_api/html/functions_vars.html index 424dcbf..8564090 100644 --- a/docs/simplelink_api/html/functions_vars.html +++ b/docs/simplelink_api/html/functions_vars.html @@ -1,184 +1,183 @@ - - - - - - -CC32XX SimpleLink Host Driver: Data Fields - Variables - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
-
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: Data Fields - Variables + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
+ + + + diff --git a/docs/simplelink_api/html/group___file_system.html b/docs/simplelink_api/html/group___file_system.html index ff488f7..b6ec945 100644 --- a/docs/simplelink_api/html/group___file_system.html +++ b/docs/simplelink_api/html/group___file_system.html @@ -1,819 +1,818 @@ - - - - - - -CC32XX SimpleLink Host Driver: FileSystem - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
FileSystem
-
-
- - - - -

-Data Structures

struct  SlFsFileInfo_t
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Macros

-#define SL_FS_OK   (0)
 
-#define SL_FS_ERR_EMPTY_SFLASH   (-67)
 
-#define SL_FS_ERR_FILE_IS_NOT_SECURE_AND_SIGN   (-66)
 
-#define SL_FS_ERASING_FLASH   (-65)
 
-#define SL_FS_FILE_HAS_NOT_BEEN_CLOSE_CORRECTLY   (-64)
 
-#define SL_FS_WRONG_SIGNATURE   (-63)
 
-#define SL_FS_WRONG_SIGNATURE_OR_CERTIFIC_NAME_LENGTH   (-62)
 
-#define SL_FS_NOT_16_ALIGNED   (-61)
 
-#define SL_FS_CERT_CHAIN_ERROR   (-60)
 
-#define SL_FS_FILE_NAME_EXIST   (-59)
 
-#define SL_FS_SECURITY_BUF_ALREADY_ALLOC   (-58)
 
-#define SL_FS_SECURE_FILE_MUST_BE_COMMIT   (-57)
 
-#define SL_FS_ERR_INCORRECT_OFFSET_ALIGNMENT   (-56)
 
-#define SL_FS_ERR_FAILED_READ_NVMEM_HEADER   (-55)
 
-#define SL_FS_WRONG_FILE_NAME   (-54)
 
-#define SL_FS_FILE_SYSTEM_IS_LOCKED   (-53)
 
-#define SL_FS_SECURITY_ALLERT   (-52)
 
-#define SL_FS_FILE_UNVALID_FILE_SIZE   (-51)
 
-#define SL_FS_ERR_TOKEN_IS_NOT_VALID   (-50)
 
-#define SL_FS_NO_DEVICE_IS_LOADED   (-49)
 
-#define SL_FS_DATA_ADDRESS_SHOUD_BE_IN_DATA_RAM   (-48)
 
-#define SL_FS_DATA_IS_NOT_ALIGNED   (-47)
 
-#define SL_FS_ERR_OVERLAP_DETECTION_THRESHHOLD   (-46)
 
-#define SL_FS_FILE_HAS_RESERVED_NV_INDEX   (-45)
 
-#define SL_FS_ERR_MAX_FS_FILES_IS_LARGER   (-44)
 
-#define SL_FS_ERR_MAX_FS_FILES_IS_SMALLER   (-43)
 
-#define SL_FS_FILE_MAX_SIZE_EXCEEDED   (-42)
 
-#define SL_FS_INVALID_BUFFER_FOR_READ   (-41)
 
-#define SL_FS_INVALID_BUFFER_FOR_WRITE   (-40)
 
-#define SL_FS_ERR_FILE_IMAGE_IS_CORRUPTED   (-39)
 
-#define SL_FS_ERR_SIZE_OF_FILE_EXT_EXCEEDED   (-38)
 
-#define SL_FS_WARNING_FILE_NAME_NOT_KEPT   (-37)
 
-#define SL_FS_ERR_DEVICE_IS_NOT_FORMATTED   (-36)
 
-#define SL_FS_ERR_FAILED_WRITE_NVMEM_HEADER   (-35)
 
-#define SL_FS_ERR_NO_AVAILABLE_NV_INDEX   (-34)
 
-#define SL_FS_ERR_FAILED_TO_ALLOCATE_MEM   (-33)
 
-#define SL_FS_ERR_FAILED_TO_READ_INTEGRITY_HEADER_2   (-32)
 
-#define SL_FS_ERR_FAILED_TO_READ_INTEGRITY_HEADER_1   (-31)
 
-#define SL_FS_ERR_NO_AVAILABLE_BLOCKS   (-30)
 
-#define SL_FS_ERR_FILE_MAX_SIZE_BIGGER_THAN_EXISTING_FILE   (-29)
 
-#define SL_FS_ERR_FILE_EXISTS_ON_DIFFERENT_DEVICE_ID   (-28)
 
-#define SL_FS_ERR_INVALID_ACCESS_TYPE   (-27)
 
-#define SL_FS_ERR_FILE_ALREADY_EXISTS   (-26)
 
-#define SL_FS_ERR_PROGRAM   (-25)
 
-#define SL_FS_ERR_NO_ENTRIES_AVAILABLE   (-24)
 
-#define SL_FS_ERR_FILE_ACCESS_IS_DIFFERENT   (-23)
 
-#define SL_FS_ERR_BAD_FILE_MODE   (-22)
 
-#define SL_FS_ERR_FAILED_READ_NVFILE   (-21)
 
-#define SL_FS_ERR_FAILED_INIT_STORAGE   (-20)
 
-#define SL_FS_ERR_CONTINUE_WRITE_MUST_BE_MOD_4   (-19)
 
-#define SL_FS_ERR_FAILED_LOAD_FILE   (-18)
 
-#define SL_FS_ERR_INVALID_HANDLE   (-17)
 
-#define SL_FS_ERR_FAILED_TO_WRITE   (-16)
 
-#define SL_FS_ERR_OFFSET_OUT_OF_RANGE   (-15)
 
-#define SL_FS_ERR_ALLOC   (-14)
 
-#define SL_FS_ERR_READ_DATA_LENGTH   (-13)
 
-#define SL_FS_ERR_INVALID_FILE_ID   (-12)
 
-#define SL_FS_ERR_FILE_NOT_EXISTS   (-11)
 
-#define SL_FS_ERR_EMPTY_ERROR   (-10)
 
-#define SL_FS_ERR_INVALID_ARGS   (-9)
 
-#define SL_FS_ERR_FAILED_TO_CREATE_FILE   (-8)
 
-#define SL_FS_ERR_FS_ALREADY_LOADED   (-7)
 
-#define SL_FS_ERR_UNKNOWN   (-6)
 
-#define SL_FS_ERR_FAILED_TO_CREATE_LOCK_OBJ   (-5)
 
-#define SL_FS_ERR_DEVICE_NOT_LOADED   (-4)
 
-#define SL_FS_ERR_INVALID_MAGIC_NUM   (-3)
 
-#define SL_FS_ERR_FAILED_TO_READ   (-2)
 
-#define SL_FS_ERR_NOT_SUPPORTED   (-1)
 
-#define _FS_MODE_ACCESS_RESERVED_OFFSET   (24)
 
-#define _FS_MODE_ACCESS_RESERVED_MASK   (0xFF)
 
-#define _FS_MODE_ACCESS_FLAGS_OFFSET   (16)
 
-#define _FS_MODE_ACCESS_FLAGS_MASK   (0xFF)
 
-#define _FS_MODE_ACCESS_OFFSET   (12)
 
-#define _FS_MODE_ACCESS_MASK   (0xF)
 
-#define _FS_MODE_OPEN_SIZE_GRAN_OFFSET   (8)
 
-#define _FS_MODE_OPEN_SIZE_GRAN_MASK   (0xF)
 
-#define _FS_MODE_OPEN_SIZE_OFFSET   (0)
 
-#define _FS_MODE_OPEN_SIZE_MASK   (0xFF)
 
-#define MAX_MODE_SIZE   (0xFF)
 
#define _FS_MODE(Access, SizeGran, Size, Flags)
 
-#define FS_MODE_OPEN_READ   _FS_MODE(_FS_MODE_OPEN_READ,0,0,0)
 
-#define FS_MODE_OPEN_WRITE   _FS_MODE(_FS_MODE_OPEN_WRITE,0,0,0)
 
-#define FS_MODE_OPEN_CREATE(maxSizeInBytes, accessModeFlags)   _sl_GetCreateFsMode(maxSizeInBytes,accessModeFlags)
 
- - - - - - - -

-Enumerations

enum  SlFsFileOpenAccessType_e { _FS_MODE_OPEN_READ = 0, -_FS_MODE_OPEN_WRITE, -_FS_MODE_OPEN_CREATE, -_FS_MODE_OPEN_WRITE_CREATE_IF_NOT_EXIST - }
 
enum  SlFileOpenFlags_e {
-  _FS_FILE_OPEN_FLAG_COMMIT = 0x1, -_FS_FILE_OPEN_FLAG_SECURE = 0x2, -_FS_FILE_OPEN_FLAG_NO_SIGNATURE_TEST = 0x4, -_FS_FILE_OPEN_FLAG_STATIC = 0x8, -
-  _FS_FILE_OPEN_FLAG_VENDOR = 0x10, -_FS_FILE_PUBLIC_WRITE = 0x20, -_FS_FILE_PUBLIC_READ = 0x40 -
- }
 
enum  _SlFsFileOpenMaxSizeGran_e {
-  _FS_MODE_SIZE_GRAN_256B = 0, -_FS_MODE_SIZE_GRAN_1KB, -_FS_MODE_SIZE_GRAN_4KB, -_FS_MODE_SIZE_GRAN_16KB, -
-  _FS_MODE_SIZE_GRAN_64KB, -_FS_MAX_MODE_SIZE_GRAN -
- }
 
- - - - - - - - - - - - - - - - - - - - - -

-Functions

-_u32 _sl_GetCreateFsMode (_u32 maxSizeInBytes, _u32 accessFlags)
 
_i32 sl_FsOpen (_u8 *pFileName, _u32 AccessModeAndMaxSize, _u32 *pToken, _i32 *pFileHandle)
 open file for read or write from/to storage device More...
 
_i16 sl_FsClose (_i32 FileHdl, _u8 *pCeritificateFileName, _u8 *pSignature, _u32 SignatureLen)
 close file in storage device More...
 
_i32 sl_FsRead (_i32 FileHdl, _u32 Offset, _u8 *pData, _u32 Len)
 Read block of data from a file in storage device. More...
 
_i32 sl_FsWrite (_i32 FileHdl, _u32 Offset, _u8 *pData, _u32 Len)
 write block of data to a file in storage device More...
 
_i16 sl_FsGetInfo (_u8 *pFileName, _u32 Token, SlFsFileInfo_t *pFsFileInfo)
 get info on a file More...
 
_i16 sl_FsDel (_u8 *pFileName, _u32 Token)
 Delete specific file from a storage or all files from a storage (format) More...
 
-

Detailed Description

-

Macro Definition Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#define _FS_MODE( Access,
 SizeGran,
 Size,
 Flags 
)
-
-Value:
(_u32)(((_u32)((Access) & _FS_MODE_ACCESS_MASK)<<_FS_MODE_ACCESS_OFFSET) | \
-
((_u32)((SizeGran) & _FS_MODE_OPEN_SIZE_GRAN_MASK)<<_FS_MODE_OPEN_SIZE_GRAN_OFFSET) | \
-
((_u32)((Size) & _FS_MODE_OPEN_SIZE_MASK)<<_FS_MODE_OPEN_SIZE_OFFSET) | \
-
((_u32)((Flags) & _FS_MODE_ACCESS_FLAGS_MASK)<<_FS_MODE_ACCESS_FLAGS_OFFSET))
-
-
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_i16 sl_FsClose (_i32 FileHdl,
_u8 * pCeritificateFileName,
_u8 * pSignature,
_u32 SignatureLen 
)
-
- -

close file in storage device

-
Parameters
- - - - - -
[in]FileHdlPointer to the file (assigned from sl_FsOpen)
[in]pCeritificateFileNameReserved for future use. Use NULL.
[in]pSignatureReserved for future use. Use NULL.
[in]SignatureLenReserved for future use. Use 0.
-
-
-
Returns
On success, zero is returned. On error, an error code is returned
-
See also
sl_FsRead sl_FsWrite sl_FsOpen
-
Note
Call the fs_Close with signature = 'A' signature len = 1 for activating an abort action
-
Warning
-
Example:
sl_FsClose(FileHandle,0,0,0);
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
_i16 sl_FsDel (_u8 * pFileName,
_u32 Token 
)
-
- -

Delete specific file from a storage or all files from a storage (format)

-
Parameters
- - - -
[in]pFileNameFile Name
[in]TokenReserved for future use. Use 0
-
-
-
Returns
On success, zero is returned. On error, an error code is returned
-
See also
-
Note
belongs to basic_api
-
Warning
-
Example:
Status = sl_FsDel("FileName.html",0);
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
_i16 sl_FsGetInfo (_u8 * pFileName,
_u32 Token,
SlFsFileInfo_tpFsFileInfo 
)
-
- -

get info on a file

-
Parameters
- - - - -
[in]pFileNameFile name
[in]TokenReserved for future use. Use 0
[out]pFsFileInfoReturns the File's Information: flags,file size, allocated size and Tokens
-
-
-
Returns
On success, zero is returned. On error, an error code is returned
-
See also
sl_FsOpen
-
Note
belongs to basic_api
-
Warning
-
Example:
Status = sl_FsGetInfo("FileName.html",0,&FsFileInfo);
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_i32 sl_FsOpen (_u8 * pFileName,
_u32 AccessModeAndMaxSize,
_u32 * pToken,
_i32 * pFileHandle 
)
-
- -

open file for read or write from/to storage device

-
Parameters
- - - - - -
[in]pFileNameFile Name buffer pointer
[in]AccessModeAndMaxSizeOptions: As described below
[in]pTokenReserved for future use. Use NULL for this field
[out]pFileHandlePointing on the file and used for read and write commands to the file
-
-
-

AccessModeAndMaxSize possible input
- FS_MODE_OPEN_READ - Read a file
- FS_MODE_OPEN_WRITE - Open for write for an existing file
- FS_MODE_OPEN_CREATE(maxSizeInBytes,accessModeFlags) - Open for creating a new file. Max file size is defined in bytes.
- For optimal FS size, use max size in 4K-512 bytes steps (e.g. 3584,7680,117760)
- Several access modes bits can be combined together from SlFileOpenFlags_e enum

-
Returns
On success, zero is returned. On error, an error code is returned
-
See also
sl_FsRead sl_FsWrite sl_FsClose
-
Note
belongs to basic_api
-
Warning
-
Example:
char* DeviceFileName = "MyFile.txt";
-
unsigned long MaxSize = 63 * 1024; //62.5K is max file size
-
long DeviceFileHandle = -1;
-
long RetVal; //negative retval is an error
-
unsigned long Offset = 0;
-
unsigned char InputBuffer[100];
-
-
// Create a file and write data. The file in this example is secured, without signature and with a fail safe commit
-
RetVal = sl_FsOpen((unsigned char *)DeviceFileName,
-
FS_MODE_OPEN_CREATE(MaxSize , _FS_FILE_OPEN_FLAG_NO_SIGNATURE_TEST | _FS_FILE_OPEN_FLAG_COMMIT ),
-
NULL, &DeviceFileHandle);
-
-
Offset = 0;
-
//Preferred in secure file that the Offset and the length will be aligned to 16 bytes.
-
RetVal = sl_FsWrite( DeviceFileHandle, Offset, (unsigned char *)"HelloWorld", strlen("HelloWorld"));
-
-
RetVal = sl_FsClose(DeviceFileHandle, NULL, NULL , 0);
-
-
// open the same file for read, using the Token we got from the creation procedure above
-
RetVal = sl_FsOpen((unsigned char *)DeviceFileName,
-
FS_MODE_OPEN_READ,
-
NULL, &DeviceFileHandle);
-
-
Offset = 0;
-
RetVal = sl_FsRead( DeviceFileHandle, Offset, (unsigned char *)InputBuffer, strlen("HelloWorld"));
-
-
RetVal = sl_FsClose(DeviceFileHandle, NULL, NULL , 0);
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_i32 sl_FsRead (_i32 FileHdl,
_u32 Offset,
_u8 * pData,
_u32 Len 
)
-
- -

Read block of data from a file in storage device.

-
Parameters
- - - - - -
[in]FileHdlPointer to the file (assigned from sl_FsOpen)
[in]OffsetOffset to specific read block
[out]pDataPointer for the received data
[in]LenLength of the received data
-
-
-
Returns
On success, returns the number of read bytes. On error, negative number is returned
-
See also
sl_FsClose sl_FsWrite sl_FsOpen
-
Note
belongs to basic_api
-
Warning
-
Example:
Status = sl_FsRead(FileHandle, 0, &readBuff[0], readSize);
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_i32 sl_FsWrite (_i32 FileHdl,
_u32 Offset,
_u8 * pData,
_u32 Len 
)
-
- -

write block of data to a file in storage device

-
Parameters
- - - - - -
[in]FileHdlPointer to the file (assigned from sl_FsOpen)
[in]OffsetOffset to specific block to be written
[in]pDataPointer the transmitted data to the storage device
[in]LenLength of the transmitted data
-
-
-
Returns
On success, returns the number of written bytes. On error, an error code is returned
-
See also
-
Note
belongs to basic_api
-
Warning
-
Example:
Status = sl_FsWrite(FileHandle, 0, &buff[0], readSize);
-
- -
-
-
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: FileSystem + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
FileSystem
+
+
+ + + + +

+Data Structures

struct  SlFsFileInfo_t
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Macros

+#define SL_FS_OK   (0)
 
+#define SL_FS_ERR_EMPTY_SFLASH   (-67)
 
+#define SL_FS_ERR_FILE_IS_NOT_SECURE_AND_SIGN   (-66)
 
+#define SL_FS_ERASING_FLASH   (-65)
 
+#define SL_FS_FILE_HAS_NOT_BEEN_CLOSE_CORRECTLY   (-64)
 
+#define SL_FS_WRONG_SIGNATURE   (-63)
 
+#define SL_FS_WRONG_SIGNATURE_OR_CERTIFIC_NAME_LENGTH   (-62)
 
+#define SL_FS_NOT_16_ALIGNED   (-61)
 
+#define SL_FS_CERT_CHAIN_ERROR   (-60)
 
+#define SL_FS_FILE_NAME_EXIST   (-59)
 
+#define SL_FS_SECURITY_BUF_ALREADY_ALLOC   (-58)
 
+#define SL_FS_SECURE_FILE_MUST_BE_COMMIT   (-57)
 
+#define SL_FS_ERR_INCORRECT_OFFSET_ALIGNMENT   (-56)
 
+#define SL_FS_ERR_FAILED_READ_NVMEM_HEADER   (-55)
 
+#define SL_FS_WRONG_FILE_NAME   (-54)
 
+#define SL_FS_FILE_SYSTEM_IS_LOCKED   (-53)
 
+#define SL_FS_SECURITY_ALLERT   (-52)
 
+#define SL_FS_FILE_UNVALID_FILE_SIZE   (-51)
 
+#define SL_FS_ERR_TOKEN_IS_NOT_VALID   (-50)
 
+#define SL_FS_NO_DEVICE_IS_LOADED   (-49)
 
+#define SL_FS_DATA_ADDRESS_SHOUD_BE_IN_DATA_RAM   (-48)
 
+#define SL_FS_DATA_IS_NOT_ALIGNED   (-47)
 
+#define SL_FS_ERR_OVERLAP_DETECTION_THRESHHOLD   (-46)
 
+#define SL_FS_FILE_HAS_RESERVED_NV_INDEX   (-45)
 
+#define SL_FS_ERR_MAX_FS_FILES_IS_LARGER   (-44)
 
+#define SL_FS_ERR_MAX_FS_FILES_IS_SMALLER   (-43)
 
+#define SL_FS_FILE_MAX_SIZE_EXCEEDED   (-42)
 
+#define SL_FS_INVALID_BUFFER_FOR_READ   (-41)
 
+#define SL_FS_INVALID_BUFFER_FOR_WRITE   (-40)
 
+#define SL_FS_ERR_FILE_IMAGE_IS_CORRUPTED   (-39)
 
+#define SL_FS_ERR_SIZE_OF_FILE_EXT_EXCEEDED   (-38)
 
+#define SL_FS_WARNING_FILE_NAME_NOT_KEPT   (-37)
 
+#define SL_FS_ERR_DEVICE_IS_NOT_FORMATTED   (-36)
 
+#define SL_FS_ERR_FAILED_WRITE_NVMEM_HEADER   (-35)
 
+#define SL_FS_ERR_NO_AVAILABLE_NV_INDEX   (-34)
 
+#define SL_FS_ERR_FAILED_TO_ALLOCATE_MEM   (-33)
 
+#define SL_FS_ERR_FAILED_TO_READ_INTEGRITY_HEADER_2   (-32)
 
+#define SL_FS_ERR_FAILED_TO_READ_INTEGRITY_HEADER_1   (-31)
 
+#define SL_FS_ERR_NO_AVAILABLE_BLOCKS   (-30)
 
+#define SL_FS_ERR_FILE_MAX_SIZE_BIGGER_THAN_EXISTING_FILE   (-29)
 
+#define SL_FS_ERR_FILE_EXISTS_ON_DIFFERENT_DEVICE_ID   (-28)
 
+#define SL_FS_ERR_INVALID_ACCESS_TYPE   (-27)
 
+#define SL_FS_ERR_FILE_ALREADY_EXISTS   (-26)
 
+#define SL_FS_ERR_PROGRAM   (-25)
 
+#define SL_FS_ERR_NO_ENTRIES_AVAILABLE   (-24)
 
+#define SL_FS_ERR_FILE_ACCESS_IS_DIFFERENT   (-23)
 
+#define SL_FS_ERR_BAD_FILE_MODE   (-22)
 
+#define SL_FS_ERR_FAILED_READ_NVFILE   (-21)
 
+#define SL_FS_ERR_FAILED_INIT_STORAGE   (-20)
 
+#define SL_FS_ERR_CONTINUE_WRITE_MUST_BE_MOD_4   (-19)
 
+#define SL_FS_ERR_FAILED_LOAD_FILE   (-18)
 
+#define SL_FS_ERR_INVALID_HANDLE   (-17)
 
+#define SL_FS_ERR_FAILED_TO_WRITE   (-16)
 
+#define SL_FS_ERR_OFFSET_OUT_OF_RANGE   (-15)
 
+#define SL_FS_ERR_ALLOC   (-14)
 
+#define SL_FS_ERR_READ_DATA_LENGTH   (-13)
 
+#define SL_FS_ERR_INVALID_FILE_ID   (-12)
 
+#define SL_FS_ERR_FILE_NOT_EXISTS   (-11)
 
+#define SL_FS_ERR_EMPTY_ERROR   (-10)
 
+#define SL_FS_ERR_INVALID_ARGS   (-9)
 
+#define SL_FS_ERR_FAILED_TO_CREATE_FILE   (-8)
 
+#define SL_FS_ERR_FS_ALREADY_LOADED   (-7)
 
+#define SL_FS_ERR_UNKNOWN   (-6)
 
+#define SL_FS_ERR_FAILED_TO_CREATE_LOCK_OBJ   (-5)
 
+#define SL_FS_ERR_DEVICE_NOT_LOADED   (-4)
 
+#define SL_FS_ERR_INVALID_MAGIC_NUM   (-3)
 
+#define SL_FS_ERR_FAILED_TO_READ   (-2)
 
+#define SL_FS_ERR_NOT_SUPPORTED   (-1)
 
+#define _FS_MODE_ACCESS_RESERVED_OFFSET   (24)
 
+#define _FS_MODE_ACCESS_RESERVED_MASK   (0xFF)
 
+#define _FS_MODE_ACCESS_FLAGS_OFFSET   (16)
 
+#define _FS_MODE_ACCESS_FLAGS_MASK   (0xFF)
 
+#define _FS_MODE_ACCESS_OFFSET   (12)
 
+#define _FS_MODE_ACCESS_MASK   (0xF)
 
+#define _FS_MODE_OPEN_SIZE_GRAN_OFFSET   (8)
 
+#define _FS_MODE_OPEN_SIZE_GRAN_MASK   (0xF)
 
+#define _FS_MODE_OPEN_SIZE_OFFSET   (0)
 
+#define _FS_MODE_OPEN_SIZE_MASK   (0xFF)
 
+#define MAX_MODE_SIZE   (0xFF)
 
#define _FS_MODE(Access, SizeGran, Size, Flags)
 
+#define FS_MODE_OPEN_READ   _FS_MODE(_FS_MODE_OPEN_READ,0,0,0)
 
+#define FS_MODE_OPEN_WRITE   _FS_MODE(_FS_MODE_OPEN_WRITE,0,0,0)
 
+#define FS_MODE_OPEN_CREATE(maxSizeInBytes, accessModeFlags)   _sl_GetCreateFsMode(maxSizeInBytes,accessModeFlags)
 
+ + + + + + + +

+Enumerations

enum  SlFsFileOpenAccessType_e { _FS_MODE_OPEN_READ = 0, +_FS_MODE_OPEN_WRITE, +_FS_MODE_OPEN_CREATE, +_FS_MODE_OPEN_WRITE_CREATE_IF_NOT_EXIST + }
 
enum  SlFileOpenFlags_e {
+  _FS_FILE_OPEN_FLAG_COMMIT = 0x1, +_FS_FILE_OPEN_FLAG_SECURE = 0x2, +_FS_FILE_OPEN_FLAG_NO_SIGNATURE_TEST = 0x4, +_FS_FILE_OPEN_FLAG_STATIC = 0x8, +
+  _FS_FILE_OPEN_FLAG_VENDOR = 0x10, +_FS_FILE_PUBLIC_WRITE = 0x20, +_FS_FILE_PUBLIC_READ = 0x40 +
+ }
 
enum  _SlFsFileOpenMaxSizeGran_e {
+  _FS_MODE_SIZE_GRAN_256B = 0, +_FS_MODE_SIZE_GRAN_1KB, +_FS_MODE_SIZE_GRAN_4KB, +_FS_MODE_SIZE_GRAN_16KB, +
+  _FS_MODE_SIZE_GRAN_64KB, +_FS_MAX_MODE_SIZE_GRAN +
+ }
 
+ + + + + + + + + + + + + + + + + + + + + +

+Functions

+_u32 _sl_GetCreateFsMode (_u32 maxSizeInBytes, _u32 accessFlags)
 
_i32 sl_FsOpen (const _u8 *pFileName, const _u32 AccessModeAndMaxSize, _u32 *pToken, _i32 *pFileHandle)
 open file for read or write from/to storage device More...
 
_i16 sl_FsClose (const _i32 FileHdl, const _u8 *pCeritificateFileName, const _u8 *pSignature, const _u32 SignatureLen)
 close file in storage device More...
 
_i32 sl_FsRead (const _i32 FileHdl, _u32 Offset, _u8 *pData, _u32 Len)
 Read block of data from a file in storage device. More...
 
_i32 sl_FsWrite (const _i32 FileHdl, _u32 Offset, _u8 *pData, _u32 Len)
 write block of data to a file in storage device More...
 
_i16 sl_FsGetInfo (const _u8 *pFileName, const _u32 Token, SlFsFileInfo_t *pFsFileInfo)
 get info on a file More...
 
_i16 sl_FsDel (const _u8 *pFileName, const _u32 Token)
 Delete specific file from a storage or all files from a storage (format) More...
 
+

Detailed Description

+

Macro Definition Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#define _FS_MODE( Access,
 SizeGran,
 Size,
 Flags 
)
+
+Value:
(_u32)(((_u32)((Access) & _FS_MODE_ACCESS_MASK)<<_FS_MODE_ACCESS_OFFSET) | \
+
((_u32)((SizeGran) & _FS_MODE_OPEN_SIZE_GRAN_MASK)<<_FS_MODE_OPEN_SIZE_GRAN_OFFSET) | \
+
((_u32)((Size) & _FS_MODE_OPEN_SIZE_MASK)<<_FS_MODE_OPEN_SIZE_OFFSET) | \
+
((_u32)((Flags) & _FS_MODE_ACCESS_FLAGS_MASK)<<_FS_MODE_ACCESS_FLAGS_OFFSET))
+
+
+
+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_i16 sl_FsClose (const _i32 FileHdl,
const _u8 * pCeritificateFileName,
const _u8 * pSignature,
const _u32 SignatureLen 
)
+
+ +

close file in storage device

+
Parameters
+ + + + + +
[in]FileHdlPointer to the file (assigned from sl_FsOpen)
[in]pCeritificateFileNameReserved for future use. Use NULL.
[in]pSignatureReserved for future use. Use NULL.
[in]SignatureLenReserved for future use. Use 0.
+
+
+
Returns
On success, zero is returned. On error, an error code is returned
+
See Also
sl_FsRead sl_FsWrite sl_FsOpen
+
Note
Call the fs_Close with signature = 'A' signature len = 1 for activating an abort action
+
Warning
+
Example:
sl_FsClose(FileHandle,0,0,0);
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
_i16 sl_FsDel (const _u8 * pFileName,
const _u32 Token 
)
+
+ +

Delete specific file from a storage or all files from a storage (format)

+
Parameters
+ + + +
[in]pFileNameFile Name
[in]TokenReserved for future use. Use 0
+
+
+
Returns
On success, zero is returned. On error, an error code is returned
+
See Also
+
Note
belongs to basic_api
+
Warning
+
Example:
Status = sl_FsDel("FileName.html",0);
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
_i16 sl_FsGetInfo (const _u8 * pFileName,
const _u32 Token,
SlFsFileInfo_tpFsFileInfo 
)
+
+ +

get info on a file

+
Parameters
+ + + + +
[in]pFileNameFile name
[in]TokenReserved for future use. Use 0
[out]pFsFileInfoReturns the File's Information: flags,file size, allocated size and Tokens
+
+
+
Returns
On success, zero is returned. On error, an error code is returned
+
See Also
sl_FsOpen
+
Note
belongs to basic_api
+
Warning
+
Example:
Status = sl_FsGetInfo("FileName.html",0,&FsFileInfo);
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_i32 sl_FsOpen (const _u8 * pFileName,
const _u32 AccessModeAndMaxSize,
_u32 * pToken,
_i32 * pFileHandle 
)
+
+ +

open file for read or write from/to storage device

+
Parameters
+ + + + + +
[in]pFileNameFile Name buffer pointer
[in]AccessModeAndMaxSizeOptions: As described below
[in]pTokenReserved for future use. Use NULL for this field
[out]pFileHandlePointing on the file and used for read and write commands to the file
+
+
+

AccessModeAndMaxSize possible input
+ FS_MODE_OPEN_READ - Read a file
+ FS_MODE_OPEN_WRITE - Open for write for an existing file
+ FS_MODE_OPEN_CREATE(maxSizeInBytes,accessModeFlags) - Open for creating a new file. Max file size is defined in bytes.
+ For optimal FS size, use max size in 4K-512 bytes steps (e.g. 3584,7680,117760)
+ Several access modes bits can be combined together from SlFileOpenFlags_e enum

+
Returns
On success, zero is returned. On error, an error code is returned
+
See Also
sl_FsRead sl_FsWrite sl_FsClose
+
Note
belongs to basic_api
+
Warning
+
Example:
char* DeviceFileName = "MyFile.txt";
+
unsigned long MaxSize = 63 * 1024; //62.5K is max file size
+
long DeviceFileHandle = -1;
+
long RetVal; //negative retval is an error
+
unsigned long Offset = 0;
+
unsigned char InputBuffer[100];
+
+
// Create a file and write data. The file in this example is secured, without signature and with a fail safe commit
+
RetVal = sl_FsOpen((unsigned char *)DeviceFileName,
+
FS_MODE_OPEN_CREATE(MaxSize , _FS_FILE_OPEN_FLAG_NO_SIGNATURE_TEST | _FS_FILE_OPEN_FLAG_COMMIT ),
+
NULL, &DeviceFileHandle);
+
+
Offset = 0;
+
//Preferred in secure file that the Offset and the length will be aligned to 16 bytes.
+
RetVal = sl_FsWrite( DeviceFileHandle, Offset, (unsigned char *)"HelloWorld", strlen("HelloWorld"));
+
+
RetVal = sl_FsClose(DeviceFileHandle, NULL, NULL , 0);
+
+
// open the same file for read, using the Token we got from the creation procedure above
+
RetVal = sl_FsOpen((unsigned char *)DeviceFileName,
+
FS_MODE_OPEN_READ,
+
NULL, &DeviceFileHandle);
+
+
Offset = 0;
+
RetVal = sl_FsRead( DeviceFileHandle, Offset, (unsigned char *)InputBuffer, strlen("HelloWorld"));
+
+
RetVal = sl_FsClose(DeviceFileHandle, NULL, NULL , 0);
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_i32 sl_FsRead (const _i32 FileHdl,
_u32 Offset,
_u8 * pData,
_u32 Len 
)
+
+ +

Read block of data from a file in storage device.

+
Parameters
+ + + + + +
[in]FileHdlPointer to the file (assigned from sl_FsOpen)
[in]OffsetOffset to specific read block
[out]pDataPointer for the received data
[in]LenLength of the received data
+
+
+
Returns
On success, returns the number of read bytes. On error, negative number is returned
+
See Also
sl_FsClose sl_FsWrite sl_FsOpen
+
Note
belongs to basic_api
+
Warning
+
Example:
Status = sl_FsRead(FileHandle, 0, &readBuff[0], readSize);
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_i32 sl_FsWrite (const _i32 FileHdl,
_u32 Offset,
_u8 * pData,
_u32 Len 
)
+
+ +

write block of data to a file in storage device

+
Parameters
+ + + + + +
[in]FileHdlPointer to the file (assigned from sl_FsOpen)
[in]OffsetOffset to specific block to be written
[in]pDataPointer the transmitted data to the storage device
[in]LenLength of the transmitted data
+
+
+
Returns
On success, returns the number of written bytes. On error, an error code is returned
+
See Also
+
Note
belongs to basic_api
+
Warning
+
Example:
Status = sl_FsWrite(FileHandle, 0, &buff[0], readSize);
+
+ +
+
+
+
+ + + + diff --git a/docs/simplelink_api/html/group___file_system.js b/docs/simplelink_api/html/group___file_system.js index 0cb81d4..26efdbc 100644 --- a/docs/simplelink_api/html/group___file_system.js +++ b/docs/simplelink_api/html/group___file_system.js @@ -1,15 +1,15 @@ -var group___file_system = -[ - [ "SlFsFileInfo_t", "struct_sl_fs_file_info__t.html", [ - [ "AllocatedLen", "struct_sl_fs_file_info__t.html#a1888c786f5e31740d464bd7d88773e4b", null ], - [ "FileLen", "struct_sl_fs_file_info__t.html#a42e92a9d18f2642049165db21a2bfe82", null ], - [ "flags", "struct_sl_fs_file_info__t.html#ac19f310fccda9703415c584f0a7497f4", null ], - [ "Token", "struct_sl_fs_file_info__t.html#abdf1173d4d93434f8a910e0f84987463", null ] - ] ], - [ "sl_FsClose", "group___file_system.html#gadcea87bf2342174220435d564b894a42", null ], - [ "sl_FsDel", "group___file_system.html#ga08228317c6090bb2ce1eca508acb1f35", null ], - [ "sl_FsGetInfo", "group___file_system.html#gae3ebf3e8ef6f34ff9e3fe97e5370aa1c", null ], - [ "sl_FsOpen", "group___file_system.html#ga6a9aaae1813255fa13c7d6bc26c2904c", null ], - [ "sl_FsRead", "group___file_system.html#ga62835b890b9f9992c3db60119a627dbc", null ], - [ "sl_FsWrite", "group___file_system.html#ga32f5957d3f53ea68d1c2c80e2e2b6787", null ] +var group___file_system = +[ + [ "SlFsFileInfo_t", "struct_sl_fs_file_info__t.html", [ + [ "AllocatedLen", "struct_sl_fs_file_info__t.html#a1888c786f5e31740d464bd7d88773e4b", null ], + [ "FileLen", "struct_sl_fs_file_info__t.html#a42e92a9d18f2642049165db21a2bfe82", null ], + [ "flags", "struct_sl_fs_file_info__t.html#ac19f310fccda9703415c584f0a7497f4", null ], + [ "Token", "struct_sl_fs_file_info__t.html#abdf1173d4d93434f8a910e0f84987463", null ] + ] ], + [ "sl_FsClose", "group___file_system.html#ga12caded07ff4c66e5b6e73a36009072d", null ], + [ "sl_FsDel", "group___file_system.html#gaa3b9c7b7c0e2be74332d136b94f7940d", null ], + [ "sl_FsGetInfo", "group___file_system.html#ga6df7dfcefa195a2bc5ef81dbbcaab5ed", null ], + [ "sl_FsOpen", "group___file_system.html#ga1318606b831a75593f57fb234370dc78", null ], + [ "sl_FsRead", "group___file_system.html#ga745742b9829a05e2a502efa054f4900c", null ], + [ "sl_FsWrite", "group___file_system.html#ga23d68a0f564436b6ef08325b1a159e85", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/group___user_events.html b/docs/simplelink_api/html/group___user_events.html index a2ed779..8a6e619 100644 --- a/docs/simplelink_api/html/group___user_events.html +++ b/docs/simplelink_api/html/group___user_events.html @@ -1,549 +1,591 @@ - - - - - - -CC32XX SimpleLink Host Driver: UserEvents - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
UserEvents
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Macros

-#define SL_DRIVER_VERSION   "1.0.0.1"
 
-#define SL_MAJOR_VERSION_NUM   1L
 
-#define SL_MINOR_VERSION_NUM   0L
 
-#define SL_VERSION_NUM   0L
 
-#define SL_SUB_VERSION_NUM   1L
 
-#define SL_RET_CODE_OK   (0)
 
-#define SL_RET_CODE_INVALID_INPUT   (-2)
 
-#define SL_RET_CODE_SELF_ERROR   (-3)
 
-#define SL_RET_CODE_NWP_IF_ERROR   (-4)
 
-#define SL_RET_CODE_MALLOC_ERROR   (-5)
 
-#define sl_Memcpy   memcpy
 
-#define sl_Memset   memset
 
-#define sl_SyncObjClear(pObj)   sl_SyncObjWait(pObj,SL_OS_NO_WAIT)
 
-#define SL_MAX_SOCKETS   (8)
 
-#define NULL   (0)
 
-#define FALSE   (0)
 
-#define TRUE   (!FALSE)
 
-#define OK   (0)
 
-#define _u8   unsigned char
 
-#define _i8   signed char
 
-#define _u16   unsigned short
 
-#define _i16   signed short
 
-#define _u32   unsigned long
 
-#define _i32   signed long
 
-#define _volatile   volatile
 
-#define _const   const
 
- - - - - - - - - - - -

-Typedefs

-typedef void(* _SlSpawnEntryFunc_t )(void *pValue)
 
-typedef _u16 _SlOpcode_t
 
-typedef _u8 _SlArgSize_t
 
-typedef _i16 _SlDataSize_t
 
-typedef _i16 _SlReturnVal_t
 
- - - - - - - - - - - - - -

-Functions

void sl_WlanEvtHdlr (SlWlanEvent_t *pSlWlanEvent)
 General async event for inspecting general events. More...
 
void sl_NetAppEvtHdlr (SlNetAppEvent_t *pSlNetApp)
 NETAPP Async event handler. More...
 
void sl_SockEvtHdlr (SlSockEvent_t *pSlSockEvent)
 Socket Async event handler. More...
 
void sl_HttpServerCallback (SlHttpServerEvent_t *pSlHttpServerEvent, SlHttpServerResponse_t *pSlHttpServerResponse)
 HTTP server async event. More...
 
-

Detailed Description

-
Attention
Async event activation notes Function prototypes for event callback handlers Event handler function names should be defined in the user.h file e.g. "#define sl_WlanEvtHdlr SLWlanEventHandler" Indicates all WLAN events are handled by User func "SLWlanEventHandler" Important notes:
    -
  1. Event handlers cannot activate another SimpleLink API from the event's context
  2. -
  3. Event's data is valid during event's context. Any application data which is required for the user application should be copied or marked into user's variables
  4. -
  5. It is not recommended to delay the execution of the event callback handler
  6. -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
void sl_HttpServerCallback (SlHttpServerEvent_tpSlHttpServerEvent,
SlHttpServerResponse_tpSlHttpServerResponse 
)
-
- -

HTTP server async event.

-
Parameters
- - - -
[out]pSlHttpServerEventpointer to SlHttpServerEvent_t
[in]pSlHttpServerResponsepointer to SlHttpServerResponse_t
-
-
-
Parameters:
-
    -
  • pSlHttpServerEvent->Event = SL_NETAPP_HTTPGETTOKENVALUE_EVENT
      -
    • pSlHttpServerEvent->EventData fields:
        -
      • httpTokenName
          -
        • data
        • -
        • len
        • -
        -
      • -
      -
    • -
    • pSlHttpServerResponse->ResponseData fields:
        -
      • data
      • -
      • len
      • -
      -
    • -
    -
  • -
  • pSlHttpServerEvent->Event = SL_NETAPP_HTTPPOSTTOKENVALUE_EVENT
      -
    • pSlHttpServerEvent->EventData.httpPostData fields:
        -
      • action
      • -
      • token_name
      • -
      • token_value
      • -
      -
    • -
    • pSlHttpServerResponse->ResponseData fields:
        -
      • data
      • -
      • len
      • -
      -
    • -
    -
  • -
-
- -
-
- -
-
- - - - - - - - -
void sl_NetAppEvtHdlr (SlNetAppEvent_tpSlNetApp)
-
- -

NETAPP Async event handler.

-
Parameters
- - -
[out]pSlNetApppointer to SlNetAppEvent_t data
-
-
-
Parameters:
    -
  • pSlWlanEvent->Event = SL_NETAPP_IPV4_IPACQUIRED_EVENT, IPV4 acquired event
      -
    • pSlWlanEvent->EventData.ipAcquiredV4 fields:
        -
      • ip
      • -
      • gateway
      • -
      • dns
      • -
      -
    • -
    -
  • -
  • pSlWlanEvent->Event = SL_NETAPP_IP_LEASED_EVENT, AP or P2P go dhcp lease event
      -
    • pSlWlanEvent->EventData.ipLeased fields:
        -
      • ip_address
      • -
      • lease_time
      • -
      • mac
      • -
      -
    • -
    -
  • -
  • pSlWlanEvent->Event = SL_NETAPP_IP_RELEASED_EVENT, AP or P2P go dhcp ip release event
      -
    • pSlWlanEvent->EventData.ipReleased fields
        -
      • ip_address
      • -
      • mac
      • -
      • reason
      • -
      -
    • -
    -
  • -
-
- -
-
- -
-
- - - - - - - - -
void sl_SockEvtHdlr (SlSockEvent_tpSlSockEvent)
-
- -

Socket Async event handler.

-
Parameters
- - -
[out]pSlSockEventpointer to SlSockEvent_t data
-
-
-
Parameters:
-
    -
  • pSlSockEvent->Event = SL_SOCKET_TX_FAILED_EVENT
      -
    • pSlSockEvent->EventData fields:
        -
      • sd
      • -
      • status
      • -
      -
    • -
    -
  • -
  • pSlSockEvent->Event = SL_SOCKET_ASYNC_EVENT
      -
    • pSlSockEvent->EventData fields:
        -
      • sd
      • -
      • type: SSL_ACCEPT or RX_FRAGMENTATION_TOO_BIG or OTHER_SIDE_CLOSE_SSL_DATA_NOT_ENCRYPTED
      • -
      • val
      • -
      -
    • -
    -
  • -
-
- -
-
- -
-
- - - - - - - - -
void sl_WlanEvtHdlr (SlWlanEvent_tpSlWlanEvent)
-
- -

General async event for inspecting general events.

-
Parameters
- - -
[out]pSlDeviceEventpointer to SlDeviceEvent_t
-
-
-
Parameters:
- pSlDeviceEvent->Event = SL_DEVICE_FATAL_ERROR_EVENT
    -
  • pSlDeviceEvent->EventData.deviceEvent fields:
      -
    • status: An error code indication from the device
    • -
    • sender: The sender originator which is based on SlErrorSender_e enum
    • -
    -
  • -
-
-
Example:
printf(General Event Handler - ID=%d Sender=%d\n\n",
-
pSlDeviceEvent->EventData.deviceEvent.status, // status of the general event
-
pSlDeviceEvent->EventData.deviceEvent.sender); // sender type
-
-

WLAN Async event handler

-
Parameters
- - -
[out]pSlWlanEventpointer to SlWlanEvent_t data
-
-
-
Parameters:
-
    -
  • pSlWlanEvent->Event = SL_WLAN_CONNECT_EVENT , STA or P2P client connection indication event
      -
    • pSlWlanEvent->EventData.STAandP2PModeWlanConnected main fields:
        -
      • ssid_name
      • -
      • ssid_len
      • -
      • bssid
      • -
      • go_peer_device_name
      • -
      • go_peer_device_name_len
      • -
      -
    • -
    -
  • -
  • pSlWlanEvent->Event = SL_WLAN_DISCONNECT_EVENT , STA or P2P client disconnection event
      -
    • pSlWlanEvent->EventData.STAandP2PModeDisconnected main fields:
        -
      • ssid_name
      • -
      • ssid_len
      • -
      • reason_code
      • -
      -
    • -
    -
  • -
  • pSlWlanEvent->Event = SL_WLAN_STA_CONNECTED_EVENT , AP/P2P(Go) connected STA/P2P(Client)
      -
    • pSlWlanEvent->EventData.APModeStaConnected fields:
        -
      • go_peer_device_name
      • -
      • mac
      • -
      • go_peer_device_name_len
      • -
      • wps_dev_password_id
      • -
      • own_ssid: relevant for event sta-connected only
      • -
      • own_ssid_len: relevant for event sta-connected only
      • -
      -
    • -
    -
  • -
  • pSlWlanEvent->Event = SL_WLAN_STA_DISCONNECTED_EVENT , AP/P2P(Go) disconnected STA/P2P(Client)
      -
    • pSlWlanEvent->EventData.APModestaDisconnected fields:
        -
      • go_peer_device_name
      • -
      • mac
      • -
      • go_peer_device_name_len
      • -
      • wps_dev_password_id
      • -
      • own_ssid: relevant for event sta-connected only
      • -
      • own_ssid_len: relevant for event sta-connected only
      • -
      -
    • -
    -
  • -
  • pSlWlanEvent->Event = SL_WLAN_SMART_CONFIG_COMPLETE_EVENT
      -
    • pSlWlanEvent->EventData.smartConfigStartResponse fields:
        -
      • status
      • -
      • ssid_len
      • -
      • ssid
      • -
      • private_token_len
      • -
      • private_token
      • -
      -
    • -
    -
  • -
  • pSlWlanEvent->Event = SL_WLAN_SMART_CONFIG_STOP_EVENT
      -
    • pSlWlanEvent->EventData.smartConfigStopResponse fields:
        -
      • status
      • -
      -
    • -
    -
  • -
  • pSlWlanEvent->Event = SL_WLAN_P2P_DEV_FOUND_EVENT
      -
    • pSlWlanEvent->EventData.P2PModeDevFound fields:
        -
      • go_peer_device_name
      • -
      • mac
      • -
      • go_peer_device_name_len
      • -
      • wps_dev_password_id
      • -
      • own_ssid: relevant for event sta-connected only
      • -
      • own_ssid_len: relevant for event sta-connected only
      • -
      -
    • -
    -
  • -
  • pSlWlanEvent->Event = SL_WLAN_P2P_NEG_REQ_RECEIVED_EVENT
      -
    • pSlWlanEvent->EventData.P2PModeNegReqReceived fields
        -
      • go_peer_device_name
      • -
      • mac
      • -
      • go_peer_device_name_len
      • -
      • wps_dev_password_id
      • -
      • own_ssid: relevant for event sta-connected only
      • -
      -
    • -
    -
  • -
  • pSlWlanEvent->Event = SL_WLAN_CONNECTION_FAILED_EVENT , P2P only
      -
    • pSlWlanEvent->EventData.P2PModewlanConnectionFailure fields:
        -
      • status
      • -
      -
    • -
    -
  • -
- -
-
-
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: UserEvents + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
UserEvents
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Macros

+#define SL_DRIVER_VERSION   "1.0.0.10"
 
+#define SL_MAJOR_VERSION_NUM   1L
 
+#define SL_MINOR_VERSION_NUM   0L
 
+#define SL_VERSION_NUM   0L
 
+#define SL_SUB_VERSION_NUM   10L
 
+#define SL_RET_CODE_OK   (0)
 
+#define SL_RET_CODE_INVALID_INPUT   (-2)
 
+#define SL_RET_CODE_SELF_ERROR   (-3)
 
+#define SL_RET_CODE_NWP_IF_ERROR   (-4)
 
+#define SL_RET_CODE_MALLOC_ERROR   (-5)
 
+#define sl_Memcpy   memcpy
 
+#define sl_Memset   memset
 
+#define sl_SyncObjClear(pObj)   sl_SyncObjWait(pObj,SL_OS_NO_WAIT)
 
+#define SL_MAX_SOCKETS   (8)
 
+#define NULL   (0)
 
+#define FALSE   (0)
 
+#define TRUE   (!FALSE)
 
+#define OK   (0)
 
+#define _volatile   volatile
 
+#define _const   const
 
+#define _SlDrvHandleWlanEvents   sl_WlanEvtHdlr
 
+#define _SlDrvHandleNetAppEvents   sl_NetAppEvtHdlr
 
+#define _SlDrvHandleHttpServerEvents   sl_HttpServerCallback
 
+#define _SlDrvHandleSockEvents   sl_SockEvtHdlr
 
+#define __CONCAT(x, y)   x ## y
 
+#define __CONCAT2(x, y)   __CONCAT(x,y)
 
+ + + + + + + + + + + + + + + + + + + + + + + +

+Typedefs

+typedef unsigned char _u8
 
+typedef signed char _i8
 
+typedef unsigned short _u16
 
+typedef signed short _i16
 
+typedef unsigned long _u32
 
+typedef signed long _i32
 
+typedef _u16 _SlOpcode_t
 
+typedef _u8 _SlArgSize_t
 
+typedef _i16 _SlDataSize_t
 
+typedef _i16 _SlReturnVal_t
 
+typedef void(* _SlSpawnEntryFunc_t )(void *pValue)
 
+ + + +

+Enumerations

enum  _SlEventPropogationStatus_e { EVENT_PROPAGATION_BLOCK = 0, +EVENT_PROPAGATION_CONTINUE + }
 
+ + + + + + + + + + + + + +

+Functions

void sl_WlanEvtHdlr (SlWlanEvent_t *pSlWlanEvent)
 General async event for inspecting general events. More...
 
void sl_NetAppEvtHdlr (SlNetAppEvent_t *pSlNetApp)
 NETAPP Async event handler. More...
 
void sl_SockEvtHdlr (SlSockEvent_t *pSlSockEvent)
 Socket Async event handler. More...
 
void sl_HttpServerCallback (SlHttpServerEvent_t *pSlHttpServerEvent, SlHttpServerResponse_t *pSlHttpServerResponse)
 HTTP server async event. More...
 
+

Detailed Description

+
Attention
Async event activation notes Function prototypes for event callback handlers Event handler function names should be defined in the user.h file e.g. "#define sl_WlanEvtHdlr SLWlanEventHandler" Indicates all WLAN events are handled by User func "SLWlanEventHandler" Important notes:
    +
  1. Event handlers cannot activate another SimpleLink API from the event's context
  2. +
  3. Event's data is valid during event's context. Any application data which is required for the user application should be copied or marked into user's variables
  4. +
  5. It is not recommended to delay the execution of the event callback handler
  6. +
+
+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
void sl_HttpServerCallback (SlHttpServerEvent_tpSlHttpServerEvent,
SlHttpServerResponse_tpSlHttpServerResponse 
)
+
+ +

HTTP server async event.

+
Parameters
+ + + +
[out]pSlHttpServerEventpointer to SlHttpServerEvent_t
[in]pSlHttpServerResponsepointer to SlHttpServerResponse_t
+
+
+
Parameters:
+
    +
  • pSlHttpServerEvent->Event = SL_NETAPP_HTTPGETTOKENVALUE_EVENT
      +
    • pSlHttpServerEvent->EventData fields:
        +
      • httpTokenName
          +
        • data
        • +
        • len
        • +
        +
      • +
      +
    • +
    • pSlHttpServerResponse->ResponseData fields:
        +
      • data
      • +
      • len
      • +
      +
    • +
    +
  • +
  • pSlHttpServerEvent->Event = SL_NETAPP_HTTPPOSTTOKENVALUE_EVENT
      +
    • pSlHttpServerEvent->EventData.httpPostData fields:
        +
      • action
      • +
      • token_name
      • +
      • token_value
      • +
      +
    • +
    • pSlHttpServerResponse->ResponseData fields:
        +
      • data
      • +
      • len
      • +
      +
    • +
    +
  • +
+
+ +
+
+ +
+
+ + + + + + + + +
void sl_NetAppEvtHdlr (SlNetAppEvent_tpSlNetApp)
+
+ +

NETAPP Async event handler.

+
Parameters
+ + +
[out]pSlNetApppointer to SlNetAppEvent_t data
+
+
+
Parameters:
    +
  • pSlNetApp->Event = SL_NETAPP_IPV4_IPACQUIRED_EVENT, IPV4 acquired event
      +
    • pSlNetApp->EventData.ipAcquiredV4 fields:
        +
      • ip
      • +
      • gateway
      • +
      • dns
      • +
      +
    • +
    +
  • +
  • pSlNetApp->Event = SL_NETAPP_IP_LEASED_EVENT, AP or P2P go dhcp lease event
      +
    • pSlNetApp->EventData.ipLeased fields:
        +
      • ip_address
      • +
      • lease_time
      • +
      • mac
      • +
      +
    • +
    +
  • +
  • pSlNetApp->Event = SL_NETAPP_IP_RELEASED_EVENT, AP or P2P go dhcp ip release event
      +
    • pSlNetApp->EventData.ipReleased fields
        +
      • ip_address
      • +
      • mac
      • +
      • reason
      • +
      +
    • +
    +
  • +
+
+ +
+
+ +
+
+ + + + + + + + +
void sl_SockEvtHdlr (SlSockEvent_tpSlSockEvent)
+
+ +

Socket Async event handler.

+
Parameters
+ + +
[out]pSlSockEventpointer to SlSockEvent_t data
+
+
+
Parameters:
+
    +
  • pSlSockEvent->Event = SL_SOCKET_TX_FAILED_EVENT
      +
    • pSlSockEvent->SockTxFailData fields:
        +
      • sd
      • +
      • status
      • +
      +
    • +
    +
  • +
  • pSlSockEvent->Event = SL_SOCKET_ASYNC_EVENT
      +
    • pSlSockEvent->SockAsyncData fields:
        +
      • sd
      • +
      • type: SSL_ACCEPT or RX_FRAGMENTATION_TOO_BIG or OTHER_SIDE_CLOSE_SSL_DATA_NOT_ENCRYPTED
      • +
      • val
      • +
      +
    • +
    +
  • +
+
+ +
+
+ +
+
+ + + + + + + + +
void sl_WlanEvtHdlr (SlWlanEvent_tpSlWlanEvent)
+
+ +

General async event for inspecting general events.

+
Parameters
+ + +
[out]pSlDeviceEventpointer to SlDeviceEvent_t
+
+
+
Parameters:
+
    +
  • pSlDeviceEvent->Event = SL_DEVICE_FATAL_ERROR_EVENT
      +
    • pSlDeviceEvent->EventData.deviceEvent fields:
        +
      • status: An error code indication from the device
      • +
      • sender: The sender originator which is based on SlErrorSender_e enum
      • +
      +
    • +
    +
  • +
+
+
    +
  • pSlDeviceEvent->Event = SL_DEVICE_ABORT_ERROR_EVENT Indicates a severe error occured and the device stopped
      +
    • pSlDeviceEvent->EventData.deviceReport fields:
        +
      • AbortType: An idication of the event type
      • +
      • AbortData: Additional info about the data error
      • +
      +
    • +
    +
  • +
+
Example for fatal error:
printf(General Event Handler - ID=%d Sender=%d\n\n",
+
pSlDeviceEvent->EventData.deviceEvent.status, // status of the general event
+
pSlDeviceEvent->EventData.deviceEvent.sender); // sender type
+
+
Example for abort request:
printf(Abort type =%d Abort Data=%d\n\n",
+
pSlDeviceEvent->EventData.deviceReport.AbortType,
+
pSlDeviceEvent->EventData.deviceReport.AbortData);
+
+

WLAN Async event handler

+
Parameters
+ + +
[out]pSlWlanEventpointer to SlWlanEvent_t data
+
+
+
Parameters:
    +
  • pSlWlanEvent->Event = SL_WLAN_CONNECT_EVENT , STA or P2P client connection indication event
      +
    • pSlWlanEvent->EventData.STAandP2PModeWlanConnected main fields:
        +
      • ssid_name
      • +
      • ssid_len
      • +
      • bssid
      • +
      • go_peer_device_name
      • +
      • go_peer_device_name_len
      • +
      +
    • +
    +
  • +
  • pSlWlanEvent->Event = SL_WLAN_DISCONNECT_EVENT , STA or P2P client disconnection event
      +
    • pSlWlanEvent->EventData.STAandP2PModeDisconnected main fields:
        +
      • ssid_name
      • +
      • ssid_len
      • +
      • reason_code
      • +
      +
    • +
    +
  • +
  • pSlWlanEvent->Event = SL_WLAN_STA_CONNECTED_EVENT , AP/P2P(Go) connected STA/P2P(Client)
      +
    • pSlWlanEvent->EventData.APModeStaConnected fields:
        +
      • go_peer_device_name
      • +
      • mac
      • +
      • go_peer_device_name_len
      • +
      • wps_dev_password_id
      • +
      • own_ssid: relevant for event sta-connected only
      • +
      • own_ssid_len: relevant for event sta-connected only
      • +
      +
    • +
    +
  • +
  • pSlWlanEvent->Event = SL_WLAN_STA_DISCONNECTED_EVENT , AP/P2P(Go) disconnected STA/P2P(Client)
      +
    • pSlWlanEvent->EventData.APModestaDisconnected fields:
        +
      • go_peer_device_name
      • +
      • mac
      • +
      • go_peer_device_name_len
      • +
      • wps_dev_password_id
      • +
      • own_ssid: relevant for event sta-connected only
      • +
      • own_ssid_len: relevant for event sta-connected only
      • +
      +
    • +
    +
  • +
  • pSlWlanEvent->Event = SL_WLAN_SMART_CONFIG_COMPLETE_EVENT
      +
    • pSlWlanEvent->EventData.smartConfigStartResponse fields:
        +
      • status
      • +
      • ssid_len
      • +
      • ssid
      • +
      • private_token_len
      • +
      • private_token
      • +
      +
    • +
    +
  • +
  • pSlWlanEvent->Event = SL_WLAN_SMART_CONFIG_STOP_EVENT
      +
    • pSlWlanEvent->EventData.smartConfigStopResponse fields:
        +
      • status
      • +
      +
    • +
    +
  • +
  • pSlWlanEvent->Event = SL_WLAN_P2P_DEV_FOUND_EVENT
      +
    • pSlWlanEvent->EventData.P2PModeDevFound fields:
        +
      • go_peer_device_name
      • +
      • mac
      • +
      • go_peer_device_name_len
      • +
      • wps_dev_password_id
      • +
      • own_ssid: relevant for event sta-connected only
      • +
      • own_ssid_len: relevant for event sta-connected only
      • +
      +
    • +
    +
  • +
  • pSlWlanEvent->Event = SL_WLAN_P2P_NEG_REQ_RECEIVED_EVENT
      +
    • pSlWlanEvent->EventData.P2PModeNegReqReceived fields
        +
      • go_peer_device_name
      • +
      • mac
      • +
      • go_peer_device_name_len
      • +
      • wps_dev_password_id
      • +
      • own_ssid: relevant for event sta-connected only
      • +
      +
    • +
    +
  • +
  • pSlWlanEvent->Event = SL_WLAN_CONNECTION_FAILED_EVENT , P2P only
      +
    • pSlWlanEvent->EventData.P2PModewlanConnectionFailure fields:
        +
      • status
      • +
      +
    • +
    +
  • +
+
+ +
+
+
+
+ + + + diff --git a/docs/simplelink_api/html/group___user_events.js b/docs/simplelink_api/html/group___user_events.js index d723c26..310a763 100644 --- a/docs/simplelink_api/html/group___user_events.js +++ b/docs/simplelink_api/html/group___user_events.js @@ -1,7 +1,7 @@ -var group___user_events = -[ - [ "sl_HttpServerCallback", "group___user_events.html#gacfd6910f913239edf6eda7889877e8de", null ], - [ "sl_NetAppEvtHdlr", "group___user_events.html#gaa6d77040cbaaa41f5ddaf4f70d9d652c", null ], - [ "sl_SockEvtHdlr", "group___user_events.html#ga456ce303ecb46525a9a4bf281e82100f", null ], - [ "sl_WlanEvtHdlr", "group___user_events.html#ga43d18f96a28035b76652c652f8e9b351", null ] +var group___user_events = +[ + [ "sl_HttpServerCallback", "group___user_events.html#gacfd6910f913239edf6eda7889877e8de", null ], + [ "sl_NetAppEvtHdlr", "group___user_events.html#gaa6d77040cbaaa41f5ddaf4f70d9d652c", null ], + [ "sl_SockEvtHdlr", "group___user_events.html#ga456ce303ecb46525a9a4bf281e82100f", null ], + [ "sl_WlanEvtHdlr", "group___user_events.html#ga43d18f96a28035b76652c652f8e9b351", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/group__configuration__capabilities.html b/docs/simplelink_api/html/group__configuration__capabilities.html new file mode 100644 index 0000000..7ca2eda --- /dev/null +++ b/docs/simplelink_api/html/group__configuration__capabilities.html @@ -0,0 +1,402 @@ + + + + + + +CC32XX SimpleLink Host Driver: Configuration - Capabilities Set + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
Configuration - Capabilities Set
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Macros

#define SL_INC_ARG_CHECK
 Defines whether the SimpleLink driver perform argument check or not. More...
 
#define SL_INC_STD_BSD_API_NAMING
 Defines whether SimpleLink driver should expose standard BSD APIs or not. More...
 
#define SL_INC_EXT_API
 Defines whether to include extended API in SimpleLink driver or not. More...
 
#define SL_INC_WLAN_PKG
 Defines whether to include WLAN package in SimpleLink driver or not. More...
 
#define SL_INC_SOCKET_PKG
 Defines whether to include SOCKET package in SimpleLink driver or not. More...
 
#define SL_INC_NET_APP_PKG
 Defines whether to include NET_APP package in SimpleLink driver or not. More...
 
#define SL_INC_NET_CFG_PKG
 Defines whether to include NET_CFG package in SimpleLink driver or not. More...
 
#define SL_INC_NVMEM_PKG
 Defines whether to include NVMEM package in SimpleLink driver or not. More...
 
#define SL_INC_SOCK_SERVER_SIDE_API
 Defines whether to include socket server side APIs in SimpleLink driver or not. More...
 
#define SL_INC_SOCK_CLIENT_SIDE_API
 Defines whether to include socket client side APIs in SimpleLink driver or not. More...
 
#define SL_INC_SOCK_RECV_API
 Defines whether to include socket receive APIs in SimpleLink driver or not. More...
 
#define SL_INC_SOCK_SEND_API
 Defines whether to include socket send APIs in SimpleLink driver or not. More...
 
+

Detailed Description

+

This section IS NOT REQUIRED in case one of the following pre defined capabilities set is in use:

+
    +
  • SL_TINY
  • +
  • SL_SMALL
  • +
  • SL_FULL
  • +
+

PORTING ACTION:

+
    +
  • Define one of the pre-defined capabilities set or uncomment the relevant definitions below to select the required capabilities
  • +
+

Macro Definition Documentation

+ +
+
+ + + + +
#define SL_INC_ARG_CHECK
+
+ +

Defines whether the SimpleLink driver perform argument check or not.

+
        When defined, the SimpleLink driver perform argument check on 
+        function call. Removing this define could reduce some code 
+        size and improve slightly the performances but may impact in 
+        unpredictable behavior in case of invalid arguments
+
See Also
+
Note
belongs to configuration_sec
+
Warning
Removing argument check may cause unpredictable behavior in case of invalid arguments. In this case the user is responsible to argument validity (for example all handlers must not be NULL)
+ +
+
+ +
+
+ + + + +
#define SL_INC_EXT_API
+
+ +

Defines whether to include extended API in SimpleLink driver or not.

+
        When defined, the SimpleLink driver will include also all 
+        exteded API of the included packages
+
See Also
ext_api
+
Note
belongs to configuration_sec
+
Warning
+ +
+
+ +
+
+ + + + +
#define SL_INC_NET_APP_PKG
+
+ +

Defines whether to include NET_APP package in SimpleLink driver or not.

+
        When defined, the SimpleLink driver will include also the 
+        NET_APP package
+
See Also
+
Note
belongs to configuration_sec
+
Warning
+ +
+
+ +
+
+ + + + +
#define SL_INC_NET_CFG_PKG
+
+ +

Defines whether to include NET_CFG package in SimpleLink driver or not.

+
        When defined, the SimpleLink driver will include also 
+        the NET_CFG package
+
See Also
+
Note
belongs to configuration_sec
+
Warning
+ +
+
+ +
+
+ + + + +
#define SL_INC_NVMEM_PKG
+
+ +

Defines whether to include NVMEM package in SimpleLink driver or not.

+
        When defined, the SimpleLink driver will include also the 
+        NVMEM package
+
See Also
+
Note
belongs to configuration_sec
+
Warning
+ +
+
+ +
+
+ + + + +
#define SL_INC_SOCK_CLIENT_SIDE_API
+
+ +

Defines whether to include socket client side APIs in SimpleLink driver or not.

+
        When defined, the SimpleLink driver will include also socket 
+        client side APIs
+
See Also
client_side
+
Note
belongs to configuration_sec
+
Warning
+ +
+
+ +
+
+ + + + +
#define SL_INC_SOCK_RECV_API
+
+ +

Defines whether to include socket receive APIs in SimpleLink driver or not.

+
        When defined, the SimpleLink driver will include also socket 
+        receive side APIs
+
See Also
recv_api
+
Note
belongs to configuration_sec
+
Warning
+ +
+
+ +
+
+ + + + +
#define SL_INC_SOCK_SEND_API
+
+ +

Defines whether to include socket send APIs in SimpleLink driver or not.

+
        When defined, the SimpleLink driver will include also socket 
+        send side APIs
+
See Also
send_api
+
Note
belongs to configuration_sec
+
Warning
+ +
+
+ +
+
+ + + + +
#define SL_INC_SOCK_SERVER_SIDE_API
+
+ +

Defines whether to include socket server side APIs in SimpleLink driver or not.

+
        When defined, the SimpleLink driver will include also socket 
+        server side APIs
+
See Also
server_side
+
Note
+
Warning
+ +
+
+ +
+
+ + + + +
#define SL_INC_SOCKET_PKG
+
+ +

Defines whether to include SOCKET package in SimpleLink driver or not.

+
        When defined, the SimpleLink driver will include also 
+        the SOCKET package
+
See Also
+
Note
belongs to configuration_sec
+
Warning
+ +
+
+ +
+
+ + + + +
#define SL_INC_STD_BSD_API_NAMING
+
+ +

Defines whether SimpleLink driver should expose standard BSD APIs or not.

+
        When defined, the SimpleLink driver in addtion to its alternative
+        BSD APIs expose also standard BSD APIs.
+        Stadrad BSD API includs the following functions:
+        socket , close , accept , bind , listen     , connect , select , 
+        setsockopt  , getsockopt , recv , recvfrom , write , send , sendto , 
+        gethostbyname
+
See Also
+
Note
belongs to configuration_sec
+
Warning
+ +
+
+ +
+
+ + + + +
#define SL_INC_WLAN_PKG
+
+ +

Defines whether to include WLAN package in SimpleLink driver or not.

+
        When defined, the SimpleLink driver will include also 
+        the WLAN package
+
See Also
+
Note
belongs to configuration_sec
+
Warning
+ +
+
+
+
+ + + + diff --git a/docs/simplelink_api/html/group__configuration__capabilities.js b/docs/simplelink_api/html/group__configuration__capabilities.js new file mode 100644 index 0000000..7257da4 --- /dev/null +++ b/docs/simplelink_api/html/group__configuration__capabilities.js @@ -0,0 +1,15 @@ +var group__configuration__capabilities = +[ + [ "SL_INC_ARG_CHECK", "group__configuration__capabilities.html#gaa42d6fa27f3569e91678da37cefdd8bc", null ], + [ "SL_INC_EXT_API", "group__configuration__capabilities.html#ga4be99245edba2bfb842d8df4d09eb999", null ], + [ "SL_INC_NET_APP_PKG", "group__configuration__capabilities.html#ga7cbf8400d435a30ab34d4a2214400114", null ], + [ "SL_INC_NET_CFG_PKG", "group__configuration__capabilities.html#gacf5fb67b728e2a462af65cdf255bcf9a", null ], + [ "SL_INC_NVMEM_PKG", "group__configuration__capabilities.html#ga9188550c03f37f238eb9f30a1cbd0df0", null ], + [ "SL_INC_SOCK_CLIENT_SIDE_API", "group__configuration__capabilities.html#ga5c7e38b29356ef0962f718e0330c9856", null ], + [ "SL_INC_SOCK_RECV_API", "group__configuration__capabilities.html#gaac3f7bc7062d8af4877ad9945e0b3d18", null ], + [ "SL_INC_SOCK_SEND_API", "group__configuration__capabilities.html#gaa73df10f6f9d30adb4ab338d340ad947", null ], + [ "SL_INC_SOCK_SERVER_SIDE_API", "group__configuration__capabilities.html#gaf01455b50bce19c25ca37eef89b77557", null ], + [ "SL_INC_SOCKET_PKG", "group__configuration__capabilities.html#gabc6eb775d34a6bfdb403870731bcb2d2", null ], + [ "SL_INC_STD_BSD_API_NAMING", "group__configuration__capabilities.html#gac1149288c21844487d5355043cc29192", null ], + [ "SL_INC_WLAN_PKG", "group__configuration__capabilities.html#gad726661ffffa2ba5ec2a07004ca7424c", null ] +]; \ No newline at end of file diff --git a/docs/simplelink_api/html/group__configuration__enable__device.html b/docs/simplelink_api/html/group__configuration__enable__device.html index db72e5b..69f09df 100644 --- a/docs/simplelink_api/html/group__configuration__enable__device.html +++ b/docs/simplelink_api/html/group__configuration__enable__device.html @@ -1,171 +1,193 @@ - - - - - - -CC32XX SimpleLink Host Driver: Configuration - Device Enable/Disable - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
Configuration - Device Enable/Disable
-
-
- - - - - - - - -

-Macros

#define sl_DeviceEnable()   NwpPowerOn()
 Enable the Network Processor. More...
 
#define sl_DeviceDisable()   NwpPowerOff()
 Disable the Network Processor. More...
 
-

Detailed Description

-

The enable/disable API provide mechanism to enable/disable the network processor

-

porting ACTION:

    -
  • None
  • -
-

Macro Definition Documentation

- -
-
- - - - - - - -
#define sl_DeviceDisable()   NwpPowerOff()
-
- -

Disable the Network Processor.

-
See also
sl_DeviceEnable
-
Note
belongs to configuration_sec
- -
-
- -
-
- - - - - - - -
#define sl_DeviceEnable()   NwpPowerOn()
-
- -

Enable the Network Processor.

-
See also
sl_DeviceDisable
-
Note
belongs to configuration_sec
- -
-
-
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: Configuration - Device Enable/Disable + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
Configuration - Device Enable/Disable
+
+
+ + + + + + + + + + + +

+Macros

#define sl_DeviceEnablePreamble()   NwpPowerOnPreamble()
 Preamble to the enabling the Network Processor. Placeholder to implement any pre-process operations before enabling networking operations. More...
 
#define sl_DeviceEnable()   NwpPowerOn()
 Enable the Network Processor. More...
 
#define sl_DeviceDisable()   NwpPowerOff()
 Disable the Network Processor. More...
 
+

Detailed Description

+

The enable/disable API provide mechanism to enable/disable the network processor

+

porting ACTION:

+
    +
  • None
  • +
+

Macro Definition Documentation

+ +
+
+ + + + + + + +
#define sl_DeviceDisable()   NwpPowerOff()
+
+ +

Disable the Network Processor.

+
See Also
sl_DeviceEnable
+
Note
belongs to configuration_sec
+ +
+
+ +
+
+ + + + + + + +
#define sl_DeviceEnable()   NwpPowerOn()
+
+ +

Enable the Network Processor.

+
See Also
sl_DeviceDisable
+
Note
belongs to configuration_sec
+ +
+
+ +
+
+ + + + + + + +
#define sl_DeviceEnablePreamble()   NwpPowerOnPreamble()
+
+ +

Preamble to the enabling the Network Processor. Placeholder to implement any pre-process operations before enabling networking operations.

+
See Also
sl_DeviceEnable
+
Note
belongs to configuration_sec
+ +
+
+
+
+ + + + diff --git a/docs/simplelink_api/html/group__configuration__enable__device.js b/docs/simplelink_api/html/group__configuration__enable__device.js index cad5454..baa5dfa 100644 --- a/docs/simplelink_api/html/group__configuration__enable__device.js +++ b/docs/simplelink_api/html/group__configuration__enable__device.js @@ -1,5 +1,6 @@ -var group__configuration__enable__device = -[ - [ "sl_DeviceDisable", "group__configuration__enable__device.html#gacca1eb461c75328c51f1f31c68211f2f", null ], - [ "sl_DeviceEnable", "group__configuration__enable__device.html#ga8bbed8fdfdf8935ac0dd9a05b04d30ca", null ] +var group__configuration__enable__device = +[ + [ "sl_DeviceDisable", "group__configuration__enable__device.html#gacca1eb461c75328c51f1f31c68211f2f", null ], + [ "sl_DeviceEnable", "group__configuration__enable__device.html#ga8bbed8fdfdf8935ac0dd9a05b04d30ca", null ], + [ "sl_DeviceEnablePreamble", "group__configuration__enable__device.html#ga60ed6944dbba2084aab55225a3bfee57", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/group__configuration__events.html b/docs/simplelink_api/html/group__configuration__events.html index 65f8b64..ea7989d 100644 --- a/docs/simplelink_api/html/group__configuration__events.html +++ b/docs/simplelink_api/html/group__configuration__events.html @@ -1,433 +1,432 @@ - - - - - - -CC32XX SimpleLink Host Driver: Configuration - Event Handlers - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
Configuration - Event Handlers
-
-
- - - - - - - - - - - - - - -

-Macros

#define sl_WlanEvtHdlr   SimpleLinkWlanEventHandler
 General async event for inspecting general events. More...
 
#define sl_NetAppEvtHdlr   SimpleLinkNetAppEventHandler
 NETAPP Async event handler. More...
 
#define sl_HttpServerCallback   SimpleLinkHttpServerCallback
 HTTP server async event. More...
 
#define sl_SockEvtHdlr   SimpleLinkSockEventHandler
 Socket Async event handler. More...
 
-

Detailed Description

-

This section includes the asynchronous event handlers routines

-

porting ACTION: -define your routine as the value of this handler

-

Macro Definition Documentation

- -
-
- - - - -
#define sl_HttpServerCallback   SimpleLinkHttpServerCallback
-
- -

HTTP server async event.

-
Parameters
- - - -
[out]pSlHttpServerEventpointer to SlHttpServerEvent_t
[in]pSlHttpServerResponsepointer to SlHttpServerResponse_t
-
-
-
Parameters:
-
    -
  • pSlHttpServerEvent->Event = SL_NETAPP_HTTPGETTOKENVALUE_EVENT
      -
    • pSlHttpServerEvent->EventData fields:
        -
      • httpTokenName
          -
        • data
        • -
        • len
        • -
        -
      • -
      -
    • -
    • pSlHttpServerResponse->ResponseData fields:
        -
      • data
      • -
      • len
      • -
      -
    • -
    -
  • -
  • pSlHttpServerEvent->Event = SL_NETAPP_HTTPPOSTTOKENVALUE_EVENT
      -
    • pSlHttpServerEvent->EventData.httpPostData fields:
        -
      • action
      • -
      • token_name
      • -
      • token_value
      • -
      -
    • -
    • pSlHttpServerResponse->ResponseData fields:
        -
      • data
      • -
      • len
      • -
      -
    • -
    -
  • -
-
-
See also
-
Note
belongs to configuration_sec
-
Warning
- -
-
- -
-
- - - - -
#define sl_NetAppEvtHdlr   SimpleLinkNetAppEventHandler
-
- -

NETAPP Async event handler.

-
Parameters
- - -
[out]pSlNetApppointer to SlNetAppEvent_t data
-
-
-
Parameters:
    -
  • pSlWlanEvent->Event = SL_NETAPP_IPV4_IPACQUIRED_EVENT, IPV4 acquired event
      -
    • pSlWlanEvent->EventData.ipAcquiredV4 fields:
        -
      • ip
      • -
      • gateway
      • -
      • dns
      • -
      -
    • -
    -
  • -
  • pSlWlanEvent->Event = SL_NETAPP_IP_LEASED_EVENT, AP or P2P go dhcp lease event
      -
    • pSlWlanEvent->EventData.ipLeased fields:
        -
      • ip_address
      • -
      • lease_time
      • -
      • mac
      • -
      -
    • -
    -
  • -
  • pSlWlanEvent->Event = SL_NETAPP_IP_RELEASED_EVENT, AP or P2P go dhcp ip release event
      -
    • pSlWlanEvent->EventData.ipReleased fields
        -
      • ip_address
      • -
      • mac
      • -
      • reason
      • -
      -
    • -
    -
  • -
-
-
See also
-
Note
belongs to configuration_sec
-
Warning
- -
-
- -
-
- - - - -
#define sl_SockEvtHdlr   SimpleLinkSockEventHandler
-
- -

Socket Async event handler.

-
Parameters
- - -
[out]pSlSockEventpointer to SlSockEvent_t data
-
-
-
Parameters:
-
    -
  • pSlSockEvent->Event = SL_SOCKET_TX_FAILED_EVENT
      -
    • pSlSockEvent->EventData fields:
        -
      • sd
      • -
      • status
      • -
      -
    • -
    -
  • -
  • pSlSockEvent->Event = SL_SOCKET_ASYNC_EVENT
      -
    • pSlSockEvent->EventData fields:
        -
      • sd
      • -
      • type: SSL_ACCEPT or RX_FRAGMENTATION_TOO_BIG or OTHER_SIDE_CLOSE_SSL_DATA_NOT_ENCRYPTED
      • -
      • val
      • -
      -
    • -
    -
  • -
-
-
See also
-
Note
belongs to configuration_sec
-
Warning
- -
-
- -
-
- - - - -
#define sl_WlanEvtHdlr   SimpleLinkWlanEventHandler
-
- -

General async event for inspecting general events.

-
Parameters
- - -
[out]pSlDeviceEventpointer to SlDeviceEvent_t
-
-
-
Parameters:
- pSlDeviceEvent->Event = SL_DEVICE_FATAL_ERROR_EVENT
    -
  • pSlDeviceEvent->EventData.deviceEvent fields:
      -
    • status: An error code indication from the device
    • -
    • sender: The sender originator which is based on SlErrorSender_e enum
    • -
    -
  • -
-
-
Example:
printf(General Event Handler - ID=%d Sender=%d\n\n",
-
pSlDeviceEvent->EventData.deviceEvent.status, // status of the general event
-
pSlDeviceEvent->EventData.deviceEvent.sender); // sender type
-
-
See also
-
Note
belongs to configuration_sec
-
Warning
-

WLAN Async event handler

-
Parameters
- - -
[out]pSlWlanEventpointer to SlWlanEvent_t data
-
-
-
Parameters:
-
    -
  • pSlWlanEvent->Event = SL_WLAN_CONNECT_EVENT , STA or P2P client connection indication event
      -
    • pSlWlanEvent->EventData.STAandP2PModeWlanConnected main fields:
        -
      • ssid_name
      • -
      • ssid_len
      • -
      • bssid
      • -
      • go_peer_device_name
      • -
      • go_peer_device_name_len
      • -
      -
    • -
    -
  • -
  • pSlWlanEvent->Event = SL_WLAN_DISCONNECT_EVENT , STA or P2P client disconnection event
      -
    • pSlWlanEvent->EventData.STAandP2PModeDisconnected main fields:
        -
      • ssid_name
      • -
      • ssid_len
      • -
      • reason_code
      • -
      -
    • -
    -
  • -
  • pSlWlanEvent->Event = SL_WLAN_STA_CONNECTED_EVENT , AP/P2P(Go) connected STA/P2P(Client)
      -
    • pSlWlanEvent->EventData.APModeStaConnected fields:
        -
      • go_peer_device_name
      • -
      • mac
      • -
      • go_peer_device_name_len
      • -
      • wps_dev_password_id
      • -
      • own_ssid: relevant for event sta-connected only
      • -
      • own_ssid_len: relevant for event sta-connected only
      • -
      -
    • -
    -
  • -
  • pSlWlanEvent->Event = SL_WLAN_STA_DISCONNECTED_EVENT , AP/P2P(Go) disconnected STA/P2P(Client)
      -
    • pSlWlanEvent->EventData.APModestaDisconnected fields:
        -
      • go_peer_device_name
      • -
      • mac
      • -
      • go_peer_device_name_len
      • -
      • wps_dev_password_id
      • -
      • own_ssid: relevant for event sta-connected only
      • -
      • own_ssid_len: relevant for event sta-connected only
      • -
      -
    • -
    -
  • -
  • pSlWlanEvent->Event = SL_WLAN_SMART_CONFIG_COMPLETE_EVENT
      -
    • pSlWlanEvent->EventData.smartConfigStartResponse fields:
        -
      • status
      • -
      • ssid_len
      • -
      • ssid
      • -
      • private_token_len
      • -
      • private_token
      • -
      -
    • -
    -
  • -
  • pSlWlanEvent->Event = SL_WLAN_SMART_CONFIG_STOP_EVENT
      -
    • pSlWlanEvent->EventData.smartConfigStopResponse fields:
        -
      • status
      • -
      -
    • -
    -
  • -
  • pSlWlanEvent->Event = SL_WLAN_P2P_DEV_FOUND_EVENT
      -
    • pSlWlanEvent->EventData.P2PModeDevFound fields:
        -
      • go_peer_device_name
      • -
      • mac
      • -
      • go_peer_device_name_len
      • -
      • wps_dev_password_id
      • -
      • own_ssid: relevant for event sta-connected only
      • -
      • own_ssid_len: relevant for event sta-connected only
      • -
      -
    • -
    -
  • -
  • pSlWlanEvent->Event = SL_WLAN_P2P_NEG_REQ_RECEIVED_EVENT
      -
    • pSlWlanEvent->EventData.P2PModeNegReqReceived fields
        -
      • go_peer_device_name
      • -
      • mac
      • -
      • go_peer_device_name_len
      • -
      • wps_dev_password_id
      • -
      • own_ssid: relevant for event sta-connected only
      • -
      -
    • -
    -
  • -
  • pSlWlanEvent->Event = SL_WLAN_CONNECTION_FAILED_EVENT , P2P only
      -
    • pSlWlanEvent->EventData.P2PModewlanConnectionFailure fields:
        -
      • status
      • -
      -
    • -
    -
  • -
-
See also
-
Note
belongs to configuration_sec
-
Warning
- -
-
-
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: Configuration - Event Handlers + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
Configuration - Event Handlers
+
+
+ + + + + + + + + + + + + + +

+Macros

#define sl_WlanEvtHdlr   SimpleLinkWlanEventHandler
 General async event for inspecting general events. More...
 
#define sl_NetAppEvtHdlr   SimpleLinkNetAppEventHandler
 NETAPP Async event handler. More...
 
#define sl_HttpServerCallback   SimpleLinkHttpServerCallback
 HTTP server async event. More...
 
#define sl_SockEvtHdlr   SimpleLinkSockEventHandler
 Socket Async event handler. More...
 
+

Detailed Description

+

This section includes the asynchronous event handlers routines

+

porting ACTION: -define your routine as the value of this handler

+

Macro Definition Documentation

+ +
+
+ + + + +
#define sl_HttpServerCallback   SimpleLinkHttpServerCallback
+
+ +

HTTP server async event.

+
Parameters
+ + + +
[out]pSlHttpServerEventpointer to SlHttpServerEvent_t
[in]pSlHttpServerResponsepointer to SlHttpServerResponse_t
+
+
+
Parameters:
+
    +
  • pSlHttpServerEvent->Event = SL_NETAPP_HTTPGETTOKENVALUE_EVENT
      +
    • pSlHttpServerEvent->EventData fields:
        +
      • httpTokenName
          +
        • data
        • +
        • len
        • +
        +
      • +
      +
    • +
    • pSlHttpServerResponse->ResponseData fields:
        +
      • data
      • +
      • len
      • +
      +
    • +
    +
  • +
  • pSlHttpServerEvent->Event = SL_NETAPP_HTTPPOSTTOKENVALUE_EVENT
      +
    • pSlHttpServerEvent->EventData.httpPostData fields:
        +
      • action
      • +
      • token_name
      • +
      • token_value
      • +
      +
    • +
    • pSlHttpServerResponse->ResponseData fields:
        +
      • data
      • +
      • len
      • +
      +
    • +
    +
  • +
+
+
See Also
+
Note
belongs to configuration_sec
+
Warning
+ +
+
+ +
+
+ + + + +
#define sl_NetAppEvtHdlr   SimpleLinkNetAppEventHandler
+
+ +

NETAPP Async event handler.

+
Parameters
+ + +
[out]pSlNetApppointer to SlNetAppEvent_t data
+
+
+
Parameters:
    +
  • pSlWlanEvent->Event = SL_NETAPP_IPV4_IPACQUIRED_EVENT, IPV4 acquired event
      +
    • pSlWlanEvent->EventData.ipAcquiredV4 fields:
        +
      • ip
      • +
      • gateway
      • +
      • dns
      • +
      +
    • +
    +
  • +
  • pSlWlanEvent->Event = SL_NETAPP_IP_LEASED_EVENT, AP or P2P go dhcp lease event
      +
    • pSlWlanEvent->EventData.ipLeased fields:
        +
      • ip_address
      • +
      • lease_time
      • +
      • mac
      • +
      +
    • +
    +
  • +
  • pSlWlanEvent->Event = SL_NETAPP_IP_RELEASED_EVENT, AP or P2P go dhcp ip release event
      +
    • pSlWlanEvent->EventData.ipReleased fields
        +
      • ip_address
      • +
      • mac
      • +
      • reason
      • +
      +
    • +
    +
  • +
+
+
See Also
+
Note
belongs to configuration_sec
+
Warning
+ +
+
+ +
+
+ + + + +
#define sl_SockEvtHdlr   SimpleLinkSockEventHandler
+
+ +

Socket Async event handler.

+
Parameters
+ + +
[out]pSlSockEventpointer to SlSockEvent_t data
+
+
+
Parameters:
+
    +
  • pSlSockEvent->Event = SL_SOCKET_TX_FAILED_EVENT
      +
    • pSlSockEvent->EventData fields:
        +
      • sd
      • +
      • status
      • +
      +
    • +
    +
  • +
  • pSlSockEvent->Event = SL_SOCKET_ASYNC_EVENT
      +
    • pSlSockEvent->EventData fields:
        +
      • sd
      • +
      • type: SSL_ACCEPT or RX_FRAGMENTATION_TOO_BIG or OTHER_SIDE_CLOSE_SSL_DATA_NOT_ENCRYPTED
      • +
      • val
      • +
      +
    • +
    +
  • +
+
+
See Also
+
Note
belongs to configuration_sec
+
Warning
+ +
+
+ +
+
+ + + + +
#define sl_WlanEvtHdlr   SimpleLinkWlanEventHandler
+
+ +

General async event for inspecting general events.

+
Parameters
+ + +
[out]pSlDeviceEventpointer to SlDeviceEvent_t
+
+
+
Parameters:
+ pSlDeviceEvent->Event = SL_DEVICE_FATAL_ERROR_EVENT
    +
  • pSlDeviceEvent->EventData.deviceEvent fields:
      +
    • status: An error code indication from the device
    • +
    • sender: The sender originator which is based on SlErrorSender_e enum
    • +
    +
  • +
+
+
Example:
printf(General Event Handler - ID=%d Sender=%d\n\n",
+
pSlDeviceEvent->EventData.deviceEvent.status, // status of the general event
+
pSlDeviceEvent->EventData.deviceEvent.sender); // sender type
+
+
See Also
+
Note
belongs to configuration_sec
+
Warning
+

WLAN Async event handler

+
Parameters
+ + +
[out]pSlWlanEventpointer to SlWlanEvent_t data
+
+
+
Parameters:
    +
  • pSlWlanEvent->Event = SL_WLAN_CONNECT_EVENT , STA or P2P client connection indication event
      +
    • pSlWlanEvent->EventData.STAandP2PModeWlanConnected main fields:
        +
      • ssid_name
      • +
      • ssid_len
      • +
      • bssid
      • +
      • go_peer_device_name
      • +
      • go_peer_device_name_len
      • +
      +
    • +
    +
  • +
  • pSlWlanEvent->Event = SL_WLAN_DISCONNECT_EVENT , STA or P2P client disconnection event
      +
    • pSlWlanEvent->EventData.STAandP2PModeDisconnected main fields:
        +
      • ssid_name
      • +
      • ssid_len
      • +
      • reason_code
      • +
      +
    • +
    +
  • +
  • pSlWlanEvent->Event = SL_WLAN_STA_CONNECTED_EVENT , AP/P2P(Go) connected STA/P2P(Client)
      +
    • pSlWlanEvent->EventData.APModeStaConnected fields:
        +
      • go_peer_device_name
      • +
      • mac
      • +
      • go_peer_device_name_len
      • +
      • wps_dev_password_id
      • +
      • own_ssid: relevant for event sta-connected only
      • +
      • own_ssid_len: relevant for event sta-connected only
      • +
      +
    • +
    +
  • +
  • pSlWlanEvent->Event = SL_WLAN_STA_DISCONNECTED_EVENT , AP/P2P(Go) disconnected STA/P2P(Client)
      +
    • pSlWlanEvent->EventData.APModestaDisconnected fields:
        +
      • go_peer_device_name
      • +
      • mac
      • +
      • go_peer_device_name_len
      • +
      • wps_dev_password_id
      • +
      • own_ssid: relevant for event sta-connected only
      • +
      • own_ssid_len: relevant for event sta-connected only
      • +
      +
    • +
    +
  • +
  • pSlWlanEvent->Event = SL_WLAN_SMART_CONFIG_COMPLETE_EVENT
      +
    • pSlWlanEvent->EventData.smartConfigStartResponse fields:
        +
      • status
      • +
      • ssid_len
      • +
      • ssid
      • +
      • private_token_len
      • +
      • private_token
      • +
      +
    • +
    +
  • +
  • pSlWlanEvent->Event = SL_WLAN_SMART_CONFIG_STOP_EVENT
      +
    • pSlWlanEvent->EventData.smartConfigStopResponse fields:
        +
      • status
      • +
      +
    • +
    +
  • +
  • pSlWlanEvent->Event = SL_WLAN_P2P_DEV_FOUND_EVENT
      +
    • pSlWlanEvent->EventData.P2PModeDevFound fields:
        +
      • go_peer_device_name
      • +
      • mac
      • +
      • go_peer_device_name_len
      • +
      • wps_dev_password_id
      • +
      • own_ssid: relevant for event sta-connected only
      • +
      • own_ssid_len: relevant for event sta-connected only
      • +
      +
    • +
    +
  • +
  • pSlWlanEvent->Event = SL_WLAN_P2P_NEG_REQ_RECEIVED_EVENT
      +
    • pSlWlanEvent->EventData.P2PModeNegReqReceived fields
        +
      • go_peer_device_name
      • +
      • mac
      • +
      • go_peer_device_name_len
      • +
      • wps_dev_password_id
      • +
      • own_ssid: relevant for event sta-connected only
      • +
      +
    • +
    +
  • +
  • pSlWlanEvent->Event = SL_WLAN_CONNECTION_FAILED_EVENT , P2P only
      +
    • pSlWlanEvent->EventData.P2PModewlanConnectionFailure fields:
        +
      • status
      • +
      +
    • +
    +
  • +
+
+
See Also
+
Note
belongs to configuration_sec
+
Warning
+ +
+
+
+
+ + + + diff --git a/docs/simplelink_api/html/group__configuration__events.js b/docs/simplelink_api/html/group__configuration__events.js index 80ddb52..e350559 100644 --- a/docs/simplelink_api/html/group__configuration__events.js +++ b/docs/simplelink_api/html/group__configuration__events.js @@ -1,7 +1,7 @@ -var group__configuration__events = -[ - [ "sl_HttpServerCallback", "group__configuration__events.html#gacef3a52784e64d85ac16e3184276e8e7", null ], - [ "sl_NetAppEvtHdlr", "group__configuration__events.html#ga3c0891823e25cd59435c60d20b5d4ca2", null ], - [ "sl_SockEvtHdlr", "group__configuration__events.html#gadb456a8a930b59fe6a49a94480173f4e", null ], - [ "sl_WlanEvtHdlr", "group__configuration__events.html#ga562ae3aa3677752a7860927c6723a47c", null ] +var group__configuration__events = +[ + [ "sl_HttpServerCallback", "group__configuration__events.html#gacef3a52784e64d85ac16e3184276e8e7", null ], + [ "sl_NetAppEvtHdlr", "group__configuration__events.html#ga3c0891823e25cd59435c60d20b5d4ca2", null ], + [ "sl_SockEvtHdlr", "group__configuration__events.html#gadb456a8a930b59fe6a49a94480173f4e", null ], + [ "sl_WlanEvtHdlr", "group__configuration__events.html#ga562ae3aa3677752a7860927c6723a47c", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/group__configuration__interface.html b/docs/simplelink_api/html/group__configuration__interface.html index d95dd85..462b185 100644 --- a/docs/simplelink_api/html/group__configuration__interface.html +++ b/docs/simplelink_api/html/group__configuration__interface.html @@ -1,352 +1,352 @@ - - - - - - -CC32XX SimpleLink Host Driver: Configuration - Communication Interface - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
Configuration - Communication Interface
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - -

-Macros

-#define _SlFd_t   Fd_t
 
#define sl_IfOpen   spi_Open
 Opens an interface communication port to be used for communicating with a SimpleLink device. More...
 
#define sl_IfClose   spi_Close
 Closes an opened interface communication port. More...
 
#define sl_IfRead   spi_Read
 Attempts to read up to len bytes from an opened communication channel into a buffer starting at pBuff. More...
 
#define sl_IfWrite   spi_Write
 attempts to write up to len bytes to the SPI channel More...
 
#define sl_IfRegIntHdlr(InterruptHdl, pValue)   NwpRegisterInterruptHandler(InterruptHdl , pValue)
 register an interrupt handler routine for the host IRQ More...
 
#define sl_IfMaskIntHdlr()   NwpMaskInterrupt()
 Masks the Host IRQ. More...
 
#define sl_IfUnMaskIntHdlr()   NwpUnMaskInterrupt()
 Unmasks the Host IRQ. More...
 
-

Detailed Description

-

The SimpleLink device supports several standard communication protocol among SPI and UART. CC32XX Host Driver implements SPI Communication Interface

-
Note
In CC32XX, SPI implementation uses DMA in order to increase the utilization of the communication channel. If user prefers to user UART, these interfaces need to be redefined
-

porting ACTION:

    -
  • None
  • -
-

Macro Definition Documentation

- -
-
- - - - -
#define sl_IfClose   spi_Close
-
- -

Closes an opened interface communication port.

-
Parameters
- - -
fd- file descriptor of opened communication channel
-
-
-
Returns
upon successful completion, the function shall return 0. Otherwise, -1 shall be returned
-
See also
sl_IfOpen , sl_IfRead , sl_IfWrite
\note       The prototype of the function is as follow:
-            int xxx_IfClose(Fd_t Fd);
-
-
Note
belongs to configuration_sec
-
Warning
- -
-
- -
-
- - - - - - - -
#define sl_IfMaskIntHdlr()   NwpMaskInterrupt()
-
- -

Masks the Host IRQ.

-
See also
sl_IfUnMaskIntHdlr
-
Note
belongs to configuration_sec
-
Warning
- -
-
- -
-
- - - - -
#define sl_IfOpen   spi_Open
-
- -

Opens an interface communication port to be used for communicating with a SimpleLink device.

-

Given an interface name and option flags, this function opens the communication port and creates a file descriptor. This file descriptor is used afterwards to read and write data from and to this specific communication channel. The speed, clock polarity, clock phase, chip select and all other specific attributes of the channel are all should be set to hardcoded in this function.

-
Parameters
- - - -
ifName- points to the interface name/path. The interface name is an optional attributes that the simple link driver receives on opening the driver (sl_Start). In systems that the spi channel is not implemented as part of the os device drivers, this parameter could be NULL.
flags- optional flags parameters for future use
-
-
-
Returns
upon successful completion, the function shall open the channel and return a non-negative integer representing the file descriptor. Otherwise, -1 shall be returned
-
See also
sl_IfClose , sl_IfRead , sl_IfWrite
\note       The prototype of the function is as follow:
-            Fd_t xxx_IfOpen(char* pIfName , unsigned long flags);
-
-
Note
belongs to configuration_sec
-
Warning
- -
-
- -
-
- - - - -
#define sl_IfRead   spi_Read
-
- -

Attempts to read up to len bytes from an opened communication channel into a buffer starting at pBuff.

-
Parameters
- - - - -
fd- file descriptor of an opened communication channel
pBuff- pointer to the first location of a buffer that contains enough space for all expected data
len- number of bytes to read from the communication channel
-
-
-
Returns
upon successful completion, the function shall return the number of read bytes. Otherwise, 0 shall be returned
-
See also
sl_IfClose , sl_IfOpen , sl_IfWrite
-
\note       The prototype of the function is as follow:
-            int xxx_IfRead(Fd_t Fd , char* pBuff , int Len);
-
Note
belongs to configuration_sec
-
Warning
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
#define sl_IfRegIntHdlr( InterruptHdl,
 pValue 
)   NwpRegisterInterruptHandler(InterruptHdl , pValue)
-
- -

register an interrupt handler routine for the host IRQ

-
Parameters
- - - -
InterruptHdl- pointer to interrupt handler routine
pValue- pointer to a memory structure that is passed to the interrupt handler.
-
-
-
Returns
upon successful registration, the function shall return 0. Otherwise, -1 shall be returned
-
See also
\note               If there is already registered interrupt handler, the function
-                    should overwrite the old handler with the new one
-
-\note       If the handler is a null pointer, the function should un-register the
-            interrupt handler, and the interrupts can be disabled.
-
-
Note
belongs to configuration_sec
-
Warning
- -
-
- -
-
- - - - - - - -
#define sl_IfUnMaskIntHdlr()   NwpUnMaskInterrupt()
-
- -

Unmasks the Host IRQ.

-
See also
sl_IfMaskIntHdlr
-
Note
belongs to configuration_sec
-
Warning
- -
-
- -
-
- - - - -
#define sl_IfWrite   spi_Write
-
- -

attempts to write up to len bytes to the SPI channel

-
Parameters
- - - - -
fd- file descriptor of an opened communication channel
pBuff- pointer to the first location of a buffer that contains the data to send over the communication channel
len- number of bytes to write to the communication channel
-
-
-
Returns
upon successful completion, the function shall return the number of sent bytes. therwise, 0 shall be returned
-
See also
sl_IfClose , sl_IfOpen , sl_IfRead
\note       This function could be implemented as zero copy and return only upon successful completion
-        of writing the whole buffer, but in cases that memory allocation is not too tight, the 
-        function could copy the data to internal buffer, return back and complete the write in 
-        parallel to other activities as long as the other SPI activities would be blocked until 
-        the entire buffer write would be completed 
-
-       The prototype of the function is as follow:
-            int xxx_IfWrite(Fd_t Fd , char* pBuff , int Len);
-
-
Note
belongs to configuration_sec
-
Warning
- -
-
-
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: Configuration - Communication Interface + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
Configuration - Communication Interface
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +

+Macros

+#define _SlFd_t   Fd_t
 
#define sl_IfOpen   spi_Open
 Opens an interface communication port to be used for communicating with a SimpleLink device. More...
 
#define sl_IfClose   spi_Close
 Closes an opened interface communication port. More...
 
#define sl_IfRead   spi_Read
 Attempts to read up to len bytes from an opened communication channel into a buffer starting at pBuff. More...
 
#define sl_IfWrite   spi_Write
 attempts to write up to len bytes to the SPI channel More...
 
#define sl_IfRegIntHdlr(InterruptHdl, pValue)   NwpRegisterInterruptHandler(InterruptHdl , pValue)
 register an interrupt handler routine for the host IRQ More...
 
#define sl_IfMaskIntHdlr()   NwpMaskInterrupt()
 Masks the Host IRQ. More...
 
#define sl_IfUnMaskIntHdlr()   NwpUnMaskInterrupt()
 Unmasks the Host IRQ. More...
 
+

Detailed Description

+
The SimpleLink device supports several standard communication protocol among SPI and
+UART. CC32XX Host Driver implements SPI Communication Interface
+
Note
In CC32XX, SPI implementation uses DMA in order to increase the utilization of the communication channel. If user prefers to user UART, these interfaces need to be redefined
+

porting ACTION:

+
    +
  • None
  • +
+

Macro Definition Documentation

+ +
+
+ + + + +
#define sl_IfClose   spi_Close
+
+ +

Closes an opened interface communication port.

+
Parameters
+ + +
fd- file descriptor of opened communication channel
+
+
+
Returns
upon successful completion, the function shall return 0. Otherwise, -1 shall be returned
+
See Also
sl_IfOpen , sl_IfRead , sl_IfWrite
+
Note
The prototype of the function is as follow: int xxx_IfClose(Fd_t Fd);
+
+belongs to configuration_sec
+
Warning
+ +
+
+ +
+
+ + + + + + + +
#define sl_IfMaskIntHdlr()   NwpMaskInterrupt()
+
+ +

Masks the Host IRQ.

+
See Also
sl_IfUnMaskIntHdlr
+
Note
belongs to configuration_sec
+
Warning
+ +
+
+ +
+
+ + + + +
#define sl_IfOpen   spi_Open
+
+ +

Opens an interface communication port to be used for communicating with a SimpleLink device.

+
            Given an interface name and option flags, this function opens 
+        the communication port and creates a file descriptor. 
+        This file descriptor is used afterwards to read and write 
+        data from and to this specific communication channel.
+            The speed, clock polarity, clock phase, chip select and all other 
+        specific attributes of the channel are all should be set to hardcoded
+        in this function.
+
Parameters
+ + + +
ifName- points to the interface name/path. The interface name is an optional attributes that the simple link driver receives on opening the driver (sl_Start). In systems that the spi channel is not implemented as part of the os device drivers, this parameter could be NULL.
flags- optional flags parameters for future use
+
+
+
Returns
upon successful completion, the function shall open the channel and return a non-negative integer representing the file descriptor. Otherwise, -1 shall be returned
+
See Also
sl_IfClose , sl_IfRead , sl_IfWrite
+
Note
The prototype of the function is as follow: Fd_t xxx_IfOpen(char* pIfName , unsigned long flags);
+
+belongs to configuration_sec
+
Warning
+ +
+
+ +
+
+ + + + +
#define sl_IfRead   spi_Read
+
+ +

Attempts to read up to len bytes from an opened communication channel into a buffer starting at pBuff.

+
Parameters
+ + + + +
fd- file descriptor of an opened communication channel
pBuff- pointer to the first location of a buffer that contains enough space for all expected data
len- number of bytes to read from the communication channel
+
+
+
Returns
upon successful completion, the function shall return the number of read bytes. Otherwise, 0 shall be returned
+
See Also
sl_IfClose , sl_IfOpen , sl_IfWrite
+
Note
The prototype of the function is as follow: int xxx_IfRead(Fd_t Fd , char* pBuff , int Len);
+
+belongs to configuration_sec
+
Warning
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
#define sl_IfRegIntHdlr( InterruptHdl,
 pValue 
)   NwpRegisterInterruptHandler(InterruptHdl , pValue)
+
+ +

register an interrupt handler routine for the host IRQ

+
Parameters
+ + + +
InterruptHdl- pointer to interrupt handler routine
pValue- pointer to a memory structure that is passed to the interrupt handler.
+
+
+
Returns
upon successful registration, the function shall return 0. Otherwise, -1 shall be returned
+
See Also
+
Note
If there is already registered interrupt handler, the function should overwrite the old handler with the new one
+
+If the handler is a null pointer, the function should un-register the interrupt handler, and the interrupts can be disabled.
+
+belongs to configuration_sec
+
Warning
+ +
+
+ +
+
+ + + + + + + +
#define sl_IfUnMaskIntHdlr()   NwpUnMaskInterrupt()
+
+ +

Unmasks the Host IRQ.

+
See Also
sl_IfMaskIntHdlr
+
Note
belongs to configuration_sec
+
Warning
+ +
+
+ +
+
+ + + + +
#define sl_IfWrite   spi_Write
+
+ +

attempts to write up to len bytes to the SPI channel

+
Parameters
+ + + + +
fd- file descriptor of an opened communication channel
pBuff- pointer to the first location of a buffer that contains the data to send over the communication channel
len- number of bytes to write to the communication channel
+
+
+
Returns
upon successful completion, the function shall return the number of sent bytes. therwise, 0 shall be returned
+
See Also
sl_IfClose , sl_IfOpen , sl_IfRead
+
Note
This function could be implemented as zero copy and return only upon successful completion of writing the whole buffer, but in cases that memory allocation is not too tight, the function could copy the data to internal buffer, return back and complete the write in parallel to other activities as long as the other SPI activities would be blocked until the entire buffer write would be completed
+

The prototype of the function is as follow: int xxx_IfWrite(Fd_t Fd , char* pBuff , int Len);

+
Note
belongs to configuration_sec
+
Warning
+ +
+
+
+
+ + + + diff --git a/docs/simplelink_api/html/group__configuration__interface.js b/docs/simplelink_api/html/group__configuration__interface.js index 97479fb..04c68ad 100644 --- a/docs/simplelink_api/html/group__configuration__interface.js +++ b/docs/simplelink_api/html/group__configuration__interface.js @@ -1,10 +1,10 @@ -var group__configuration__interface = -[ - [ "sl_IfClose", "group__configuration__interface.html#ga93d829306f92470614ca2fe71e7fbaa2", null ], - [ "sl_IfMaskIntHdlr", "group__configuration__interface.html#ga134a6c4658baae78724989e8a36d7be0", null ], - [ "sl_IfOpen", "group__configuration__interface.html#ga206e7c86da4e31989d54dbd8531ce505", null ], - [ "sl_IfRead", "group__configuration__interface.html#ga0d4d3db7b5ee6efcaf940de38f32d190", null ], - [ "sl_IfRegIntHdlr", "group__configuration__interface.html#ga0e17e205005322be3b619eeeeec9f069", null ], - [ "sl_IfUnMaskIntHdlr", "group__configuration__interface.html#gab3b2a3ae727a4e932ee45ea17fe4f701", null ], - [ "sl_IfWrite", "group__configuration__interface.html#gaaca4940235fc8e01cdad18a0908fda34", null ] +var group__configuration__interface = +[ + [ "sl_IfClose", "group__configuration__interface.html#ga93d829306f92470614ca2fe71e7fbaa2", null ], + [ "sl_IfMaskIntHdlr", "group__configuration__interface.html#ga134a6c4658baae78724989e8a36d7be0", null ], + [ "sl_IfOpen", "group__configuration__interface.html#ga206e7c86da4e31989d54dbd8531ce505", null ], + [ "sl_IfRead", "group__configuration__interface.html#ga0d4d3db7b5ee6efcaf940de38f32d190", null ], + [ "sl_IfRegIntHdlr", "group__configuration__interface.html#ga0e17e205005322be3b619eeeeec9f069", null ], + [ "sl_IfUnMaskIntHdlr", "group__configuration__interface.html#gab3b2a3ae727a4e932ee45ea17fe4f701", null ], + [ "sl_IfWrite", "group__configuration__interface.html#gaaca4940235fc8e01cdad18a0908fda34", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/group__configuration__mem__mgm.html b/docs/simplelink_api/html/group__configuration__mem__mgm.html index cfd165c..b9e6c3c 100644 --- a/docs/simplelink_api/html/group__configuration__mem__mgm.html +++ b/docs/simplelink_api/html/group__configuration__mem__mgm.html @@ -1,121 +1,121 @@ - - - - - - -CC32XX SimpleLink Host Driver: Configuration - Memory Management - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - -
-
- -
-
-
- -
- - - - -
- -
- -
-
-
Configuration - Memory Management
-
-
-

This section declare in which memory management model the SimpleLink driver will run:

    -
  1. Static
  2. -
  3. Dynamic
  4. -
-

This section IS NOT REQUIRED in case Static model is selected.

-

The default memory model is Static

-
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: Configuration - Memory Management + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
Configuration - Memory Management
+
+
+

This section declare in which memory management model the SimpleLink driver will run:

+
    +
  1. Static
  2. +
  3. Dynamic
  4. +
+

This section IS NOT REQUIRED in case Static model is selected.

+

The default memory model is Static

+
+
+ + + + diff --git a/docs/simplelink_api/html/group__configuration__os.html b/docs/simplelink_api/html/group__configuration__os.html index 8d03c96..ce4b9e2 100644 --- a/docs/simplelink_api/html/group__configuration__os.html +++ b/docs/simplelink_api/html/group__configuration__os.html @@ -1,616 +1,170 @@ - - - - - - -CC32XX SimpleLink Host Driver: Configuration - Operating System - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
Configuration - Operating System
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Macros

-#define SL_PLATFORM_MULTI_THREADED
 
#define SL_OS_RET_CODE_OK   ((int)OSI_OK)
 
#define SL_OS_WAIT_FOREVER   ((OsiTime_t)OSI_WAIT_FOREVER)
 
#define SL_OS_NO_WAIT   ((OsiTime_t)OSI_NO_WAIT)
 
#define _SlTime_t   OsiTime_t
 type definition for a time value More...
 
#define sl_SyncObjCreate(pSyncObj, pName)   osi_SyncObjCreate(pSyncObj)
 This function creates a sync object. More...
 
#define sl_SyncObjDelete(pSyncObj)   osi_SyncObjDelete(pSyncObj)
 This function deletes a sync object. More...
 
#define sl_SyncObjSignal(pSyncObj)   osi_SyncObjSignal(pSyncObj)
 This function generates a sync signal for the object. More...
 
#define sl_SyncObjSignalFromIRQ(pSyncObj)   osi_SyncObjSignalFromISR(pSyncObj)
 This function generates a sync signal for the object from Interrupt. More...
 
#define sl_SyncObjWait(pSyncObj, Timeout)   osi_SyncObjWait(pSyncObj,Timeout)
 This function waits for a sync signal of the specific sync object. More...
 
#define sl_LockObjCreate(pLockObj, pName)   osi_LockObjCreate(pLockObj)
 This function creates a locking object. More...
 
#define sl_LockObjDelete(pLockObj)   osi_LockObjDelete(pLockObj)
 This function deletes a locking object. More...
 
#define sl_LockObjLock(pLockObj, Timeout)   osi_LockObjLock(pLockObj,Timeout)
 This function locks a locking object. More...
 
#define sl_LockObjUnlock(pLockObj)   osi_LockObjUnlock(pLockObj)
 This function unlock a locking object. More...
 
#define SL_PLATFORM_EXTERNAL_SPAWN
 This function call the pEntry callback from a different context. More...
 
-#define sl_Spawn(pEntry, pValue, flags)   osi_Spawn(pEntry,pValue,flags)
 
- - - - - - - -

-Typedefs

typedef OsiSyncObj_t _SlSyncObj_t
 type definition for a sync object container More...
 
typedef OsiLockObj_t _SlLockObj_t
 type definition for a locking object container More...
 
-

Detailed Description

-

The SimpleLink driver could run on two kind of platforms:

    -
  1. Non-Os / Single Threaded (default)
  2. -
  3. Multi-Threaded
  4. -
-

CC32XX SimpleLink Host Driver is ported on both Non-Os and Multi Threaded OS enviroment. The Host driver is made OS independent by implementing an OS Abstraction layer. Reference implementation for OS Abstraction is available for FreeRTOS and TI-RTOS.

-
If you choose to work in multi-threaded environment under different operating system you 
-will have to provide some basic adaptation routines to allow the driver to protect access to 
-resources for different threads (locking object) and to allow synchronization between threads 
-(sync objects). In additional the driver support running without dedicated thread allocated solely
-to the simple link driver. If you choose to work in this mode, you should also supply a spawn 
-method that will enable to run function on a temporary context.
-
-\note - This Macro is defined in the IDE to generate Driver for both OS and Non-OS 
-
- porting ACTION: 
-     - None

Macro Definition Documentation

- -
-
- - - - -
#define _SlTime_t   OsiTime_t
-
- -

type definition for a time value

-
Note
On each configuration or platform the type could be whatever is needed - integer, pointer to structure etc.
-
-belongs to configuration_sec
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
#define sl_LockObjCreate( pLockObj,
 pName 
)   osi_LockObjCreate(pLockObj)
-
- -

This function creates a locking object.

-

The locking object is used for protecting a shared resources between different threads.

-
Parameters
- - -
pLockObj- pointer to the locking object control block
-
-
-
Returns
upon successful creation the function should return 0 Otherwise, a negative value indicating the error code shall be returned
-
Note
belongs to configuration_sec
-
Warning
- -
-
- -
-
- - - - - - - - -
#define sl_LockObjDelete( pLockObj)   osi_LockObjDelete(pLockObj)
-
- -

This function deletes a locking object.

-
Parameters
- - -
pLockObj- pointer to the locking object control block
-
-
-
Returns
upon successful deletion the function should return 0 Otherwise, a negative value indicating the error code shall be returned
-
Note
belongs to configuration_sec
-
Warning
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
#define sl_LockObjLock( pLockObj,
 Timeout 
)   osi_LockObjLock(pLockObj,Timeout)
-
- -

This function locks a locking object.

-

All other threads that call this function before this thread calls the osi_LockObjUnlock would be suspended

-
Parameters
- - - -
pLockObj- pointer to the locking object control block
Timeout- numeric value specifies the maximum number of mSec to stay suspended while waiting for the locking object Currently, the simple link driver uses only two values:
    -
  • OSI_WAIT_FOREVER
  • -
  • OSI_NO_WAIT
  • -
-
-
-
-
\return upon successful reception of the locking object the function should return 0
-            Otherwise, a negative value indicating the error code shall be returned
-
Note
belongs to configuration_sec
-
Warning
- -
-
- -
-
- - - - - - - - -
#define sl_LockObjUnlock( pLockObj)   osi_LockObjUnlock(pLockObj)
-
- -

This function unlock a locking object.

-
Parameters
- - -
pLockObj- pointer to the locking object control block
-
-
-
Returns
upon successful unlocking the function should return 0 Otherwise, a negative value indicating the error code shall be returned
-
Note
belongs to configuration_sec
-
Warning
- -
-
- -
-
- - - - -
#define SL_OS_NO_WAIT   ((OsiTime_t)OSI_NO_WAIT)
-
-
See also
-
Note
belongs to configuration_sec
-
Warning
- -
-
- -
-
- - - - -
#define SL_OS_RET_CODE_OK   ((int)OSI_OK)
-
-
See also
-
Note
belongs to configuration_sec
-
Warning
- -
-
- -
-
- - - - -
#define SL_OS_WAIT_FOREVER   ((OsiTime_t)OSI_WAIT_FOREVER)
-
-
See also
-
Note
belongs to configuration_sec
-
Warning
- -
-
- -
-
- - - - -
#define SL_PLATFORM_EXTERNAL_SPAWN
-
- -

This function call the pEntry callback from a different context.

-
Parameters
- - - - -
pEntry- pointer to the entry callback function
pValue- pointer to any type of memory structure that would be passed to pEntry callback from the execution thread.
flags- execution flags - reserved for future usage
-
-
-
Returns
upon successful registration of the spawn the function should return 0 (the function is not blocked till the end of the execution of the function and could be returned before the execution is actually completed) Otherwise, a negative value indicating the error code shall be returned
-
Note
belongs to configuration_sec
-
Warning
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
#define sl_SyncObjCreate( pSyncObj,
 pName 
)   osi_SyncObjCreate(pSyncObj)
-
- -

This function creates a sync object.

-

The sync object is used for synchronization between diffrent thread or ISR and a thread.

-
Parameters
- - -
pSyncObj- pointer to the sync object control block
-
-
-
Returns
upon successful creation the function should return 0 Otherwise, a negative value indicating the error code shall be returned
-
Note
belongs to configuration_sec
-
Warning
- -
-
- -
-
- - - - - - - - -
#define sl_SyncObjDelete( pSyncObj)   osi_SyncObjDelete(pSyncObj)
-
- -

This function deletes a sync object.

-
Parameters
- - -
pSyncObj- pointer to the sync object control block
-
-
-
Returns
upon successful deletion the function should return 0 Otherwise, a negative value indicating the error code shall be returned
-
Note
belongs to configuration_sec
-
Warning
- -
-
- -
-
- - - - - - - - -
#define sl_SyncObjSignal( pSyncObj)   osi_SyncObjSignal(pSyncObj)
-
- -

This function generates a sync signal for the object.

-

All suspended threads waiting on this sync object are resumed

-
Parameters
- - -
pSyncObj- pointer to the sync object control block
-
-
-
Returns
upon successful signaling the function should return 0 Otherwise, a negative value indicating the error code shall be returned
-
Note
the function could be called from ISR context
-
Warning
- -
-
- -
-
- - - - - - - - -
#define sl_SyncObjSignalFromIRQ( pSyncObj)   osi_SyncObjSignalFromISR(pSyncObj)
-
- -

This function generates a sync signal for the object from Interrupt.

-

This is for RTOS that should signal from IRQ using a dedicated API

-
Parameters
- - -
pSyncObj- pointer to the sync object control block
-
-
-
Returns
upon successful signaling the function should return 0 Otherwise, a negative value indicating the error code shall be returned
-
Note
the function could be called from ISR context
-
Warning
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
#define sl_SyncObjWait( pSyncObj,
 Timeout 
)   osi_SyncObjWait(pSyncObj,Timeout)
-
- -

This function waits for a sync signal of the specific sync object.

-
Parameters
- - - -
pSyncObj- pointer to the sync object control block
Timeout- numeric value specifies the maximum number of mSec to stay suspended while waiting for the sync signal Currently, the simple link driver uses only two values:
    -
  • OSI_WAIT_FOREVER
  • -
  • OSI_NO_WAIT
  • -
-
-
-
-
Returns
upon successful reception of the signal within the timeout window return 0 Otherwise, a negative value indicating the error code shall be returned
-
Note
belongs to configuration_sec
-
Warning
- -
-
-

Typedef Documentation

- -
-
- - - - -
typedef OsiLockObj_t _SlLockObj_t
-
- -

type definition for a locking object container

-

Locking object are used to protect a resource from mutual accesses of two or more threads. The locking object should suppurt reentrant locks by a signal thread. This object is generally implemented by mutex semaphore

-
Note
On each configuration or platform the type could be whatever is needed - integer, structure etc.
-
-belongs to configuration_sec
- -
-
- -
-
- - - - -
typedef OsiSyncObj_t _SlSyncObj_t
-
- -

type definition for a sync object container

-

Sync object is object used to synchronize between two threads or thread and interrupt handler. One thread is waiting on the object and the other thread send a signal, which then release the waiting thread. The signal must be able to be sent from interrupt context. This object is generally implemented by binary semaphore or events.

-
Note
On each configuration or platform the type could be whatever is needed - integer, structure etc.
-
-belongs to configuration_sec
- -
-
-
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: Configuration - Operating System + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
Configuration - Operating System
+
+
+ + + + + + + +

+Macros

#define SL_PLATFORM_EXTERNAL_SPAWN
 This function call the pEntry callback from a different context. More...
 
+#define sl_Spawn(pEntry, pValue, flags)   osi_Spawn(pEntry,pValue,flags)
 
+

Detailed Description

+
The SimpleLink driver could run on two kind of platforms:
+   -# Non-Os / Single Threaded (default)
+   -# Multi-Threaded
+
+CC32XX SimpleLink Host Driver is ported on both Non-Os and Multi Threaded OS enviroment. 
+The Host driver is made OS independent by implementing an OS Abstraction layer. 
+Reference implementation for OS Abstraction is available for FreeRTOS and TI-RTOS. 
+
+
+If you choose to work in multi-threaded environment under different operating system you 
+will have to provide some basic adaptation routines to allow the driver to protect access to 
+resources for different threads (locking object) and to allow synchronization between threads 
+(sync objects). In additional the driver support running without dedicated thread allocated solely
+to the simple link driver. If you choose to work in this mode, you should also supply a spawn 
+method that will enable to run function on a temporary context.
+
Note
- This Macro is defined in the IDE to generate Driver for both OS and Non-OS
 porting ACTION: 
+     - None
+

Macro Definition Documentation

+ +
+
+ + + + +
#define SL_PLATFORM_EXTERNAL_SPAWN
+
+ +

This function call the pEntry callback from a different context.

+
Parameters
+ + + + +
pEntry- pointer to the entry callback function
pValue- pointer to any type of memory structure that would be passed to pEntry callback from the execution thread.
flags- execution flags - reserved for future usage
+
+
+
Returns
upon successful registration of the spawn the function should return 0 (the function is not blocked till the end of the execution of the function and could be returned before the execution is actually completed) Otherwise, a negative value indicating the error code shall be returned
+
Note
belongs to configuration_sec
+
Warning
+ +
+
+
+
+ + + + diff --git a/docs/simplelink_api/html/group__configuration__os.js b/docs/simplelink_api/html/group__configuration__os.js index b6bc781..a83d879 100644 --- a/docs/simplelink_api/html/group__configuration__os.js +++ b/docs/simplelink_api/html/group__configuration__os.js @@ -1,19 +1,4 @@ -var group__configuration__os = -[ - [ "_SlTime_t", "group__configuration__os.html#ga2b59ba700928c882ee7e09cc2ca21ae0", null ], - [ "sl_LockObjCreate", "group__configuration__os.html#gac1d0a12a5afd13d8b7809911c645fd5c", null ], - [ "sl_LockObjDelete", "group__configuration__os.html#ga6ac346506983bdee1f92bf25be6242d8", null ], - [ "sl_LockObjLock", "group__configuration__os.html#ga53c6c1fb7069626627b59ed2ac526f37", null ], - [ "sl_LockObjUnlock", "group__configuration__os.html#gae4e01547906364515ec4ed1efd07020c", null ], - [ "SL_OS_NO_WAIT", "group__configuration__os.html#gab3addb759397657f08d76f9a8d911df3", null ], - [ "SL_OS_RET_CODE_OK", "group__configuration__os.html#gab7a5fd0efc65395fb4a08a373d5b2249", null ], - [ "SL_OS_WAIT_FOREVER", "group__configuration__os.html#ga46fef31825e3d93f0cbf87ef0f0e8bdc", null ], - [ "SL_PLATFORM_EXTERNAL_SPAWN", "group__configuration__os.html#gab5eaa3977a30d7850822d02d59177134", null ], - [ "sl_SyncObjCreate", "group__configuration__os.html#ga8c0d4537932fc4d16fdb74b47c87f25c", null ], - [ "sl_SyncObjDelete", "group__configuration__os.html#ga7c3a3039c187e241dc672012283a1dbd", null ], - [ "sl_SyncObjSignal", "group__configuration__os.html#gafd412ee7243ea29192ab6156e5dae006", null ], - [ "sl_SyncObjSignalFromIRQ", "group__configuration__os.html#ga8a675ba872a3baab12ba0061d0438497", null ], - [ "sl_SyncObjWait", "group__configuration__os.html#gad6449455165bec5c40eb0a1b399e285a", null ], - [ "_SlLockObj_t", "group__configuration__os.html#ga8d2ec9002b5c79f7ff4078131bd2cf75", null ], - [ "_SlSyncObj_t", "group__configuration__os.html#gaf276f690a7bcfca16d38b279d1229472", null ] +var group__configuration__os = +[ + [ "SL_PLATFORM_EXTERNAL_SPAWN", "group__configuration__os.html#gab5eaa3977a30d7850822d02d59177134", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/group__device.html b/docs/simplelink_api/html/group__device.html index 36befa4..f903f01 100644 --- a/docs/simplelink_api/html/group__device.html +++ b/docs/simplelink_api/html/group__device.html @@ -1,824 +1,866 @@ - - - - - - -CC32XX SimpleLink Host Driver: Device - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - -
-
- -
-
-
- -
- - - - -
- -
- - -
- - - - - - - - - - - - - - -

-Data Structures

struct  _SlPartialVersion
 
struct  SlVersionFull
 
struct  sl_DeviceReport
 
union  _SlDeviceEventData_u
 
struct  SlDeviceEvent_t
 
struct  SlDateTime_t
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Macros

-#define SL_POOL_IS_EMPTY   (-2000)
 
-#define SL_ESMALLBUF   (-2001)
 
-#define SL_EZEROLEN   (-2002)
 
-#define SL_INVALPARAM   (-2003)
 
-#define SL_ERROR_STATIC_ADDR_SUBNET_ERROR   (-60) /* network stack error*/
 
-#define SL_ERROR_ILLEGAL_CHANNEL   (-61) /* supplicant error */
 
-#define SL_ERROR_SUPPLICANT_ERROR   (-72) /* init error code */
 
-#define SL_ERROR_HOSTAPD_INIT_FAIL   (-73) /* init error code */
 
-#define SL_ERROR_HOSTAPD_INIT_IF_FAIL   (-74) /* init error code */
 
-#define SL_ERROR_WLAN_DRV_INIT_FAIL   (-75) /* init error code */
 
-#define SL_ERROR_WLAN_DRV_START_FAIL   (-76) /* wlan start error */
 
-#define SL_ERROR_FS_FILE_TABLE_LOAD_FAILED   (-77) /* init file system failed */
 
-#define SL_ERROR_PREFERRED_NETWORKS_FILE_LOAD_FAILED   (-78) /* init file system failed */
 
-#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_MDNS_ENABLE_FAIL   (-81) /* mDNS enable failed */
 
-#define SL_ERROR_HTTP_SERVER_ENABLE_FAILED   (-82) /* HTTP server enable failed */
 
-#define SL_ERROR_DHCP_SERVER_ENABLE_FAILED   (-83) /* DHCP server enable failed */
 
-#define SL_ERROR_PREFERRED_NETWORK_LIST_FULL   (-93) /* supplicant error */
 
-#define SL_ERROR_PREFERRED_NETWORKS_FILE_WRITE_FAILED   (-94) /* supplicant error */
 
-#define SL_ERROR_DHCP_CLIENT_RENEW_FAILED   (-100) /* DHCP client error */
 
-#define SL_ERROR_CON_MGMT_STATUS_UNSPECIFIED   (-102)
 
-#define SL_ERROR_CON_MGMT_STATUS_AUTH_REJECT   (-103)
 
-#define SL_ERROR_CON_MGMT_STATUS_ASSOC_REJECT   (-104)
 
-#define SL_ERROR_CON_MGMT_STATUS_SECURITY_FAILURE   (-105)
 
-#define SL_ERROR_CON_MGMT_STATUS_AP_DEAUTHENTICATE   (-106)
 
-#define SL_ERROR_CON_MGMT_STATUS_AP_DISASSOCIATE   (-107)
 
-#define SL_ERROR_CON_MGMT_STATUS_ROAMING_TRIGGER   (-108)
 
-#define SL_ERROR_CON_MGMT_STATUS_DISCONNECT_DURING_CONNECT   (-109)
 
-#define SL_ERROR_CON_MGMT_STATUS_SG_RESELECT   (-110)
 
-#define SL_ERROR_CON_MGMT_STATUS_ROC_FAILURE   (-111)
 
-#define SL_ERROR_CON_MGMT_STATUS_MIC_FAILURE   (-112)
 
-#define SL_ERROR_WAKELOCK_ERROR_PREFIX   (-115) /* Wake lock expired */
 
-#define SL_ERROR_LENGTH_ERROR_PREFIX   (-116) /* Uart header length error */
 
-#define SL_ERROR_MDNS_CREATE_FAIL   (-121) /* mDNS create failed */
 
-#define SL_ERROR_GENERAL_ERROR   (-127)
 
-#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_WLAN_CONNECT_EVENT   (1)
 
-#define SL_WLAN_DISCONNECT_EVENT   (2)
 
-#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 SL_WLAN_P2P_DEV_FOUND_EVENT   (7)
 
-#define SL_WLAN_P2P_NEG_REQ_RECEIVED_EVENT   (8)
 
-#define SL_WLAN_CONNECTION_FAILED_EVENT   (9)
 
-#define SL_DEVICE_FATAL_ERROR_EVENT   (1)
 
-#define SL_SOCKET_TX_FAILED_EVENT   (1)
 
-#define SL_SOCKET_ASYNC_EVENT   (2)
 
-#define SL_NETAPP_IPV4_IPACQUIRED_EVENT   (1)
 
-#define SL_NETAPP_IPV6_IPACQUIRED_EVENT   (2)
 
-#define SL_NETAPP_IP_LEASED_EVENT   (3)
 
-#define SL_NETAPP_IP_RELEASED_EVENT   (4)
 
-#define SL_NETAPP_HTTPGETTOKENVALUE_EVENT   (1)
 
-#define SL_NETAPP_HTTPPOSTTOKENVALUE_EVENT   (2)
 
-#define SL_EVENT_CLASS_GLOBAL   (0)
 
-#define SL_EVENT_CLASS_DEVICE   (1)
 
-#define SL_EVENT_CLASS_WLAN   (2)
 
-#define SL_EVENT_CLASS_BSD   (3)
 
-#define SL_EVENT_CLASS_NETAPP   (4)
 
-#define SL_EVENT_CLASS_NETCFG   (5)
 
-#define SL_EVENT_CLASS_FS   (6)
 
-#define EVENT_DROPPED_DEVICE_ASYNC_GENERAL_ERROR   (0x00000001L)
 
-#define STATUS_DEVICE_SMART_CONFIG_ACTIVE   (0x80000000L)
 
-#define EVENT_DROPPED_WLAN_WLANASYNCONNECTEDRESPONSE   (0x00000001L)
 
-#define EVENT_DROPPED_WLAN_WLANASYNCDISCONNECTEDRESPONSE   (0x00000002L)
 
-#define EVENT_DROPPED_WLAN_STA_CONNECTED   (0x00000004L)
 
-#define EVENT_DROPPED_WLAN_STA_DISCONNECTED   (0x00000008L)
 
-#define STATUS_WLAN_STA_CONNECTED   (0x80000000L)
 
-#define EVENT_DROPPED_NETAPP_IPACQUIRED   (0x00000001L)
 
-#define EVENT_DROPPED_NETAPP_IPACQUIRED_V6   (0x00000002L)
 
-#define EVENT_DROPPED_NETAPP_IP_LEASED   (0x00000004L)
 
-#define EVENT_DROPPED_NETAPP_IP_RELEASED   (0x00000008L)
 
-#define EVENT_DROPPED_SOCKET_TXFAILEDASYNCRESPONSE   (0x00000001L)
 
- - - -

-Typedefs

-typedef void(* P_INIT_CALLBACK )(_u32 Status)
 
- - - -

-Enumerations

enum  SlErrorSender_e {
-  SL_ERR_SENDER_HEALTH_MON, -SL_ERR_SENDER_CLI_UART, -SL_ERR_SENDER_SUPPLICANT, -SL_ERR_SENDER_NETWORK_STACK, -
-  SL_ERR_SENDER_WLAN_DRV_IF, -SL_ERR_SENDER_WILINK, -SL_ERR_SENDER_INIT_APP, -SL_ERR_SENDER_NETX, -
-  SL_ERR_SENDER_HOST_APD, -SL_ERR_SENDER_MDNS, -SL_ERR_SENDER_HTTP_SERVER, -SL_ERR_SENDER_DHCP_SERVER, -
-  SL_ERR_SENDER_DHCP_CLIENT, -SL_ERR_DISPATCHER, -SL_ERR_NUM_SENDER_LAST =0xFF -
- }
 
- - - - - - - - - - - - - - - - - - - -

-Functions

_i16 sl_Start (const void *pIfHdl, _i8 *pDevName, const P_INIT_CALLBACK pInitCallBack)
 Start the SimpleLink device. More...
 
_i16 sl_Stop (_u16 timeout)
 Stop the SimpleLink device. More...
 
_i32 sl_DevSet (_u8 DeviceSetId, _u8 Option, _u8 ConfigLen, _u8 *pValues)
 Internal function for setting device configurations. More...
 
_i32 sl_DevGet (_u8 DeviceGetId, _u8 *pOption, _u8 *pConfigLen, _u8 *pValues)
 Internal function for getting device configurations. More...
 
_i16 sl_EventMaskSet (_u8 EventClass, _u32 Mask)
 Set asynchronous event mask. More...
 
_i16 sl_EventMaskGet (_u8 EventClass, _u32 *pMask)
 Get current event mask of the device. More...
 
-

Detailed Description

-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_i32 sl_DevGet (_u8 DeviceGetId,
_u8 * pOption,
_u8 * pConfigLen,
_u8 * pValues 
)
-
- -

Internal function for getting device configurations.

-
Returns
On success, zero is returned. On error, -1 is returned
-
Parameters
- - - - - -
[in]DeviceGetIdconfiguration id - example SL_DEVICE_STATUS
[out]pOptionGet configurations option, example for get status options
    -
  • SL_EVENT_CLASS_GLOBAL
  • -
  • SL_EVENT_CLASS_DEVICE
  • -
  • SL_EVENT_CLASS_WLAN
  • -
  • SL_EVENT_CLASS_BSD
  • -
  • SL_EVENT_CLASS_NETAPP
  • -
  • SL_EVENT_CLASS_NETCFG
  • -
  • SL_EVENT_CLASS_FS
  • -
-
[out]pConfigLenThe length of the allocated memory as input, when the function complete, the value of this parameter would be the len that actually read from the device.
- If the device return length that is longer from the input value, the function will cut the end of the returned structure and will return SL_ESMALLBUF
[out]pValuesGet configurations values
-
-
-
See also
-
Note
-
Warning
-
Examples:
Example for getting WLAN class status:
-
_u32 statusWlan;
-
_u8 pConfigOpt;
-
_u8 pConfigLen;
-
pConfigOpt = SL_EVENT_CLASS_WLAN;
-
sl_DevGet(SL_DEVICE_STATUS,&pConfigOpt,&pConfigLen,(_u8 *)(&statusWlan));
-
Example for getting version:
- -
pConfigOpt = SL_DEVICE_GENERAL_VERSION;
-
sl_DevGet(SL_DEVICE_GENERAL_CONFIGURATION,&pConfigOpt,&pConfigLen,(_u8 *)(&ver));
-
printf("CHIP %d\nMAC 31.%d.%d.%d.%d\nPHY %d.%d.%d.%d\nNWP %d.%d.%d.%d\nROM %d\nHOST %d.%d.%d.%d\n",
-
ver.ChipFwAndPhyVersion.ChipId,
-
ver.ChipFwAndPhyVersion.FwVersion[0],ver.ChipFwAndPhyVersion.FwVersion[1],
-
ver.ChipFwAndPhyVersion.FwVersion[2],ver.ChipFwAndPhyVersion.FwVersion[3],
-
ver.ChipFwAndPhyVersion.PhyVersion[0],ver.ChipFwAndPhyVersion.PhyVersion[1],
-
ver.ChipFwAndPhyVersion.PhyVersion[2],ver.ChipFwAndPhyVersion.PhyVersion[3],
-
ver.NwpVersion[0],ver.NwpVersion[1],ver.NwpVersion[2],ver.NwpVersion[3],
-
ver.RomVersion,
-
SL_MAJOR_VERSION_NUM,SL_MINOR_VERSION_NUM,SL_VERSION_NUM,SL_SUB_VERSION_NUM);
-
Getting Device time and date example:
-
-
SlDateTime_t dateTime = {0};
-
_i8 configLen = sizeof(SlDateTime_t);
-
_i8 configOpt = SL_DEVICE_GENERAL_CONFIGURATION_DATE_TIME;
-
sl_DevGet(SL_DEVICE_GENERAL_CONFIGURATION,&configOpt, &configLen,(_u8 *)(&dateTime));
-
-
printf("Day %d,Mon %d,Year %d,Hour %,Min %d,Sec %d\n",dateTime.sl_tm_day,dateTime.sl_tm_mon,dateTime.sl_tm_year
-
dateTime.sl_tm_hour,dateTime.sl_tm_min,dateTime.sl_tm_sec);
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_i32 sl_DevSet (_u8 DeviceSetId,
_u8 Option,
_u8 ConfigLen,
_u8 * pValues 
)
-
- -

Internal function for setting device configurations.

-
Returns
On success, zero is returned. On error, -1 is returned
-
Parameters
- - - - - -
[in]DeviceSetIdconfiguration id
[in]Optionconfigurations option
[in]ConfigLenconfigurations len
[in]pValuesconfigurations values
-
-
-
See also
-
Note
-
Warning
-
Examples:
Setting device time and date example:
-
-
SlDateTime_t dateTime= {0};
-
dateTime.sl_tm_day = (_u32)23; // Day of month (DD format) range 1-13
-
dateTime.sl_tm_mon = (_u32)6; // Month (MM format) in the range of 1-12
-
dateTime.sl_tm_year = (_u32)2014; // Year (YYYY format)
-
dateTime.sl_tm_hour = (_u32)17; // Hours in the range of 0-23
-
dateTime.sl_tm_min = (_u32)55; // Minutes in the range of 0-59
-
dateTime.sl_tm_sec = (_u32)22; // Seconds in the range of 0-59
-
sl_DevSet(SL_DEVICE_GENERAL_CONFIGURATION,
-
SL_DEVICE_GENERAL_CONFIGURATION_DATE_TIME,
-
sizeof(SlDateTime_t),
-
(_u8 *)(&dateTime));
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
_i16 sl_EventMaskGet (_u8 EventClass,
_u32 * pMask 
)
-
- -

Get current event mask of the device.

-

return the events bit mask from the device. In case that event is masked, the device is not sending this event.

-
Parameters
- - - -
[in]EventClassThe classification groups that the mask is referred to. Need to be one of the following:
    -
  • SL_EVENT_CLASS_GLOBAL
  • -
  • SL_EVENT_CLASS_DEVICE
  • -
  • SL_EVENT_CLASS_WLAN
  • -
  • SL_EVENT_CLASS_BSD
  • -
  • SL_EVENT_CLASS_NETAPP
  • -
  • SL_EVENT_CLASS_NETCFG
  • -
  • SL_EVENT_CLASS_FS
  • -
-
[out]pMaskPointer to Mask bitmap where the value should be stored. Bitmasks are the same as in sl_EventMaskSet
-
-
-
Returns
On success, zero is returned. On error, -1 is returned
-
See also
sl_EventMaskSet
-
Note
belongs to ext_api
-
Warning
-
Example:
An example of getting an event mask for WLAN class
-
_u32 maskWlan;
-
sl_StatusGet(SL_EVENT_CLASS_WLAN,&maskWlan);
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
_i16 sl_EventMaskSet (_u8 EventClass,
_u32 Mask 
)
-
- -

Set asynchronous event mask.

-

Mask asynchronous events from the device. Masked events do not generate asynchronous messages from the device. By default - all events are active

-
Parameters
- - - -
[in]EventClassThe classification groups that the mask is referred to. Need to be one of the following:
    -
  • SL_EVENT_CLASS_GLOBAL
  • -
  • SL_EVENT_CLASS_DEVICE
  • -
  • SL_EVENT_CLASS_WLAN
  • -
  • SL_EVENT_CLASS_BSD
  • -
  • SL_EVENT_CLASS_NETAPP
  • -
  • SL_EVENT_CLASS_NETCFG
  • -
  • SL_EVENT_CLASS_FS
  • -
-
[in]MaskEvent Mask bitmap. Valid mask are (per group):
    -
  • SL_EVENT_CLASS_WLAN user events
      -
    • SL_WLAN_CONNECT_EVENT
    • -
    • SL_WLAN_DISCONNECT_EVENT
    • -
    -
  • -
  • SL_EVENT_CLASS_DEVICE user events
      -
    • SL_DEVICE_FATAL_ERROR_EVENT
    • -
    -
  • -
  • SL_EVENT_CLASS_BSD user events
      -
    • SL_SOCKET_TX_FAILED_EVENT
    • -
    • SL_SOCKET_ASYNC_EVENT
    • -
    -
  • -
  • SL_EVENT_CLASS_NETAPP user events
      -
    • SL_NETAPP_IPV4_IPACQUIRED_EVENT
    • -
    • SL_NETAPP_IPV6_IPACQUIRED_EVENT
    • -
    -
  • -
-
-
-
-
Returns
On success, zero is returned. On error, -1 is returned
-
See also
sl_EventMaskGet
-
Note
belongs to ext_api
-
Warning
-
Example:
An example of masking connection/disconnection async events from WLAN class:
-
sl_EventMaskSet(SL_EVENT_CLASS_WLAN, (SL_WLAN_CONNECT_EVENT | SL_WLAN_DISCONNECT_EVENT) );
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
_i16 sl_Start (const void * pIfHdl,
_i8 * pDevName,
const P_INIT_CALLBACK pInitCallBack 
)
-
- -

Start the SimpleLink device.

-

This function initialize the communication interface, set the enable pin of the device, and call to the init complete callback.

-
Parameters
- - - - -
[in]pIfHdlOpened Interface Object. In case the interface must be opened outside the SimpleLink Driver, the user might give the handler to be used in
- any access of the communication interface with the device (UART/SPI).
- The SimpleLink driver will open an interface port only if this parameter is null!
-
[in]pDevNameThe name of the device to open. Could be used when the pIfHdl is null, to transfer information to the open interface function
- This pointer could be used to pass additional information to sl_IfOpen in case it is required (e.g. UART com port name)
[in]pInitCallBackPointer to function that would be called on completion of the initialization process.
- If this parameter is NULL the function is blocked until the device initialization is completed, otherwise the function returns immediately.
-
-
-
Returns
Returns the current active role (STA/AP/P2P) or an error code:
    -
  • ROLE_STA, ROLE_AP, ROLE_P2P in case of success, otherwise in failure one of the following is return:
  • -
  • ROLE_STA_ERR (Failure to load MAC/PHY in STA role)
  • -
  • ROLE_AP_ERR (Failure to load MAC/PHY in AP role)
  • -
  • ROLE_P2P_ERR (Failure to load MAC/PHY in P2P role)
  • -
-
-
See also
sl_Stop
-
Note
belongs to basic_api
-
Warning
This function must be called before any other SimpleLink API is used, or after sl_Stop is called for reinit the device
-
Example:
An example for open interface without callback routine. The interface name and handler are
-
handled by the sl_IfOpen routine:
-
-
if( sl_Start(NULL, NULL, NULL) < 0 )
-
{
-
LOG("Error opening interface to device\n");
-
}
-
- -
-
- -
-
- - - - - - - - -
_i16 sl_Stop (_u16 timeout)
-
- -

Stop the SimpleLink device.

-

This function clears the enable pin of the device, closes the communication
-interface and invokes the stop complete callback

-
Parameters
- - -
[in]timeoutStop timeout in msec. Should be used to give the device time to finish
- any transmission/reception that is not completed when the function was called.
- Additional options:
    -
  • 0 Enter to hibernate immediately
    -
  • -
  • 0xFFFF Host waits for device's response before
    - hibernating, without timeout protection
    -
  • -
  • 0 < Timeout[msec] < 0xFFFF Host waits for device's response before
    - hibernating, with a defined timeout protection
    - This timeout defines the max time to wait. The NWP
    - response can be sent earlier than this timeout.
  • -
-
-
-
-
Returns
On success, zero is returned. On error, -1 is returned
-
See also
sl_Start
-
Note
This API will shutdown the device and invoke the "i/f close" function regardless
- if it was opened implicitly or explicitly.
- It is up to the platform interface library to properly handle interface close
- routine
- belongs to basic_api
-
-
Warning
- -
-
-
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: Device + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ + +
+ + + + + + + + + + + + + + + + +

+Data Structures

struct  _SlPartialVersion
 
struct  SlVersionFull
 
struct  sl_DeviceReportAbort
 
struct  sl_DeviceReport
 
union  _SlDeviceEventData_u
 
struct  SlDeviceEvent_t
 
struct  SlDateTime_t
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Macros

+#define SL_POOL_IS_EMPTY   (-2000)
 
+#define SL_ESMALLBUF   (-2001)
 
+#define SL_EZEROLEN   (-2002)
 
+#define SL_INVALPARAM   (-2003)
 
+#define SL_BAD_INTERFACE   (-2004)
 
+#define SL_ERROR_STATIC_ADDR_SUBNET_ERROR   (-60) /* network stack error*/
 
+#define SL_ERROR_ILLEGAL_CHANNEL   (-61) /* supplicant error */
 
+#define SL_ERROR_SUPPLICANT_ERROR   (-72) /* init error code */
 
+#define SL_ERROR_HOSTAPD_INIT_FAIL   (-73) /* init error code */
 
+#define SL_ERROR_HOSTAPD_INIT_IF_FAIL   (-74) /* init error code */
 
+#define SL_ERROR_WLAN_DRV_INIT_FAIL   (-75) /* init error code */
 
+#define SL_ERROR_WLAN_DRV_START_FAIL   (-76) /* wlan start error */
 
+#define SL_ERROR_FS_FILE_TABLE_LOAD_FAILED   (-77) /* init file system failed */
 
+#define SL_ERROR_PREFERRED_NETWORKS_FILE_LOAD_FAILED   (-78) /* init file system failed */
 
+#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_MDNS_ENABLE_FAIL   (-81) /* mDNS enable failed */
 
+#define SL_ERROR_HTTP_SERVER_ENABLE_FAILED   (-82) /* HTTP server enable failed */
 
+#define SL_ERROR_DHCP_SERVER_ENABLE_FAILED   (-83) /* DHCP server enable failed */
 
+#define SL_ERROR_PREFERRED_NETWORK_LIST_FULL   (-93) /* supplicant error */
 
+#define SL_ERROR_PREFERRED_NETWORKS_FILE_WRITE_FAILED   (-94) /* supplicant error */
 
+#define SL_ERROR_DHCP_CLIENT_RENEW_FAILED   (-100) /* DHCP client error */
 
+#define SL_ERROR_CON_MGMT_STATUS_UNSPECIFIED   (-102)
 
+#define SL_ERROR_CON_MGMT_STATUS_AUTH_REJECT   (-103)
 
+#define SL_ERROR_CON_MGMT_STATUS_ASSOC_REJECT   (-104)
 
+#define SL_ERROR_CON_MGMT_STATUS_SECURITY_FAILURE   (-105)
 
+#define SL_ERROR_CON_MGMT_STATUS_AP_DEAUTHENTICATE   (-106)
 
+#define SL_ERROR_CON_MGMT_STATUS_AP_DISASSOCIATE   (-107)
 
+#define SL_ERROR_CON_MGMT_STATUS_ROAMING_TRIGGER   (-108)
 
+#define SL_ERROR_CON_MGMT_STATUS_DISCONNECT_DURING_CONNECT   (-109)
 
+#define SL_ERROR_CON_MGMT_STATUS_SG_RESELECT   (-110)
 
+#define SL_ERROR_CON_MGMT_STATUS_ROC_FAILURE   (-111)
 
+#define SL_ERROR_CON_MGMT_STATUS_MIC_FAILURE   (-112)
 
+#define SL_ERROR_WAKELOCK_ERROR_PREFIX   (-115) /* Wake lock expired */
 
+#define SL_ERROR_LENGTH_ERROR_PREFIX   (-116) /* Uart header length error */
 
+#define SL_ERROR_MDNS_CREATE_FAIL   (-121) /* mDNS create failed */
 
+#define SL_ERROR_GENERAL_ERROR   (-127)
 
+#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_WLAN_CONNECT_EVENT   (1)
 
+#define SL_WLAN_DISCONNECT_EVENT   (2)
 
+#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 SL_WLAN_P2P_DEV_FOUND_EVENT   (7)
 
+#define SL_WLAN_P2P_NEG_REQ_RECEIVED_EVENT   (8)
 
+#define SL_WLAN_CONNECTION_FAILED_EVENT   (9)
 
+#define SL_DEVICE_FATAL_ERROR_EVENT   (1)
 
+#define SL_DEVICE_ABORT_ERROR_EVENT   (2)
 
+#define SL_SOCKET_TX_FAILED_EVENT   (1)
 
+#define SL_SOCKET_ASYNC_EVENT   (2)
 
+#define SL_NETAPP_IPV4_IPACQUIRED_EVENT   (1)
 
+#define SL_NETAPP_IPV6_IPACQUIRED_EVENT   (2)
 
+#define SL_NETAPP_IP_LEASED_EVENT   (3)
 
+#define SL_NETAPP_IP_RELEASED_EVENT   (4)
 
+#define SL_NETAPP_HTTPGETTOKENVALUE_EVENT   (1)
 
+#define SL_NETAPP_HTTPPOSTTOKENVALUE_EVENT   (2)
 
+#define SL_EVENT_CLASS_GLOBAL   (0)
 
+#define SL_EVENT_CLASS_DEVICE   (1)
 
+#define SL_EVENT_CLASS_WLAN   (2)
 
+#define SL_EVENT_CLASS_BSD   (3)
 
+#define SL_EVENT_CLASS_NETAPP   (4)
 
+#define SL_EVENT_CLASS_NETCFG   (5)
 
+#define SL_EVENT_CLASS_FS   (6)
 
+#define EVENT_DROPPED_DEVICE_ASYNC_GENERAL_ERROR   (0x00000001L)
 
+#define STATUS_DEVICE_SMART_CONFIG_ACTIVE   (0x80000000L)
 
+#define EVENT_DROPPED_WLAN_WLANASYNCONNECTEDRESPONSE   (0x00000001L)
 
+#define EVENT_DROPPED_WLAN_WLANASYNCDISCONNECTEDRESPONSE   (0x00000002L)
 
+#define EVENT_DROPPED_WLAN_STA_CONNECTED   (0x00000004L)
 
+#define EVENT_DROPPED_WLAN_STA_DISCONNECTED   (0x00000008L)
 
+#define STATUS_WLAN_STA_CONNECTED   (0x80000000L)
 
+#define EVENT_DROPPED_NETAPP_IPACQUIRED   (0x00000001L)
 
+#define EVENT_DROPPED_NETAPP_IPACQUIRED_V6   (0x00000002L)
 
+#define EVENT_DROPPED_NETAPP_IP_LEASED   (0x00000004L)
 
+#define EVENT_DROPPED_NETAPP_IP_RELEASED   (0x00000008L)
 
+#define EVENT_DROPPED_SOCKET_TXFAILEDASYNCRESPONSE   (0x00000001L)
 
+#define ROLE_UNKNOWN_ERR   (-1)
 
+ + + +

+Typedefs

+typedef void(* P_INIT_CALLBACK )(_u32 Status)
 
+ + + +

+Enumerations

enum  SlErrorSender_e {
+  SL_ERR_SENDER_HEALTH_MON, +SL_ERR_SENDER_CLI_UART, +SL_ERR_SENDER_SUPPLICANT, +SL_ERR_SENDER_NETWORK_STACK, +
+  SL_ERR_SENDER_WLAN_DRV_IF, +SL_ERR_SENDER_WILINK, +SL_ERR_SENDER_INIT_APP, +SL_ERR_SENDER_NETX, +
+  SL_ERR_SENDER_HOST_APD, +SL_ERR_SENDER_MDNS, +SL_ERR_SENDER_HTTP_SERVER, +SL_ERR_SENDER_DHCP_SERVER, +
+  SL_ERR_SENDER_DHCP_CLIENT, +SL_ERR_DISPATCHER, +SL_ERR_NUM_SENDER_LAST =0xFF +
+ }
 
+ + + + + + + + + + + + + + + + + + + + + + +

+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...
 
_i32 sl_DevSet (const _u8 DeviceSetId, const _u8 Option, const _u8 ConfigLen, const _u8 *pValues)
 Internal function for setting device configurations. More...
 
_i32 sl_DevGet (const _u8 DeviceGetId, _u8 *pOption, _u8 *pConfigLen, _u8 *pValues)
 Internal function for getting device configurations. More...
 
_i16 sl_EventMaskSet (const _u8 EventClass, const _u32 Mask)
 Set asynchronous event mask. More...
 
_i16 sl_EventMaskGet (const _u8 EventClass, _u32 *pMask)
 Get current event mask of the device. More...
 
void sl_Task (void)
 the simple link task entry More...
 
+

Detailed Description

+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_i32 sl_DevGet (const _u8 DeviceGetId,
_u8 * pOption,
_u8 * pConfigLen,
_u8 * pValues 
)
+
+ +

Internal function for getting device configurations.

+
Returns
On success, zero is returned. On error, -1 is returned
+
Parameters
+ + + + + +
[in]DeviceGetIdconfiguration id - example SL_DEVICE_STATUS
[out]pOptionGet configurations option, example for get status options
    +
  • SL_EVENT_CLASS_GLOBAL
  • +
  • SL_EVENT_CLASS_DEVICE
  • +
  • SL_EVENT_CLASS_WLAN
  • +
  • SL_EVENT_CLASS_BSD
  • +
  • SL_EVENT_CLASS_NETAPP
  • +
  • SL_EVENT_CLASS_NETCFG
  • +
  • SL_EVENT_CLASS_FS
  • +
+
[out]pConfigLenThe length of the allocated memory as input, when the function complete, the value of this parameter would be the len that actually read from the device.
+ If the device return length that is longer from the input value, the function will cut the end of the returned structure and will return SL_ESMALLBUF
[out]pValuesGet configurations values
+
+
+
See Also
+
Note
+
Warning
+
Examples:
Example for getting WLAN class status:
+
_u32 statusWlan;
+
_u8 pConfigOpt;
+
_u8 pConfigLen;
+
pConfigOpt = SL_EVENT_CLASS_WLAN;
+
pConfigLen = sizeof(_u32);
+
sl_DevGet(SL_DEVICE_STATUS,&pConfigOpt,&pConfigLen,(_u8 *)(&statusWlan));
+
Example for getting version:
+ +
pConfigLen = sizeof(ver);
+
pConfigOpt = SL_DEVICE_GENERAL_VERSION;
+
sl_DevGet(SL_DEVICE_GENERAL_CONFIGURATION,&pConfigOpt,&pConfigLen,(_u8 *)(&ver));
+
printf("CHIP %d\nMAC 31.%d.%d.%d.%d\nPHY %d.%d.%d.%d\nNWP %d.%d.%d.%d\nROM %d\nHOST %d.%d.%d.%d\n",
+
ver.ChipFwAndPhyVersion.ChipId,
+
ver.ChipFwAndPhyVersion.FwVersion[0],ver.ChipFwAndPhyVersion.FwVersion[1],
+
ver.ChipFwAndPhyVersion.FwVersion[2],ver.ChipFwAndPhyVersion.FwVersion[3],
+
ver.ChipFwAndPhyVersion.PhyVersion[0],ver.ChipFwAndPhyVersion.PhyVersion[1],
+
ver.ChipFwAndPhyVersion.PhyVersion[2],ver.ChipFwAndPhyVersion.PhyVersion[3],
+
ver.NwpVersion[0],ver.NwpVersion[1],ver.NwpVersion[2],ver.NwpVersion[3],
+
ver.RomVersion,
+
SL_MAJOR_VERSION_NUM,SL_MINOR_VERSION_NUM,SL_VERSION_NUM,SL_SUB_VERSION_NUM);
+
Getting Device time and date example:
+
+
SlDateTime_t dateTime = {0};
+
_i8 configLen = sizeof(SlDateTime_t);
+
_i8 configOpt = SL_DEVICE_GENERAL_CONFIGURATION_DATE_TIME;
+
sl_DevGet(SL_DEVICE_GENERAL_CONFIGURATION,&configOpt, &configLen,(_u8 *)(&dateTime));
+
+
printf("Day %d,Mon %d,Year %d,Hour %,Min %d,Sec %d\n",dateTime.sl_tm_day,dateTime.sl_tm_mon,dateTime.sl_tm_year
+
dateTime.sl_tm_hour,dateTime.sl_tm_min,dateTime.sl_tm_sec);
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_i32 sl_DevSet (const _u8 DeviceSetId,
const _u8 Option,
const _u8 ConfigLen,
const _u8 * pValues 
)
+
+ +

Internal function for setting device configurations.

+
Returns
On success, zero is returned. On error, -1 is returned
+
Parameters
+ + + + + +
[in]DeviceSetIdconfiguration id
[in]Optionconfigurations option
[in]ConfigLenconfigurations len
[in]pValuesconfigurations values
+
+
+
See Also
+
Note
+
Warning
+
Examples:
Setting device time and date example:
+
+
SlDateTime_t dateTime= {0};
+
dateTime.sl_tm_day = (_u32)23; // Day of month (DD format) range 1-31
+
dateTime.sl_tm_mon = (_u32)6; // Month (MM format) in the range of 1-12
+
dateTime.sl_tm_year = (_u32)2014; // Year (YYYY format)
+
dateTime.sl_tm_hour = (_u32)17; // Hours in the range of 0-23
+
dateTime.sl_tm_min = (_u32)55; // Minutes in the range of 0-59
+
dateTime.sl_tm_sec = (_u32)22; // Seconds in the range of 0-59
+
sl_DevSet(SL_DEVICE_GENERAL_CONFIGURATION,
+
SL_DEVICE_GENERAL_CONFIGURATION_DATE_TIME,
+
sizeof(SlDateTime_t),
+
(_u8 *)(&dateTime));
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
_i16 sl_EventMaskGet (const _u8 EventClass,
_u32 * pMask 
)
+
+ +

Get current event mask of the device.

+

return the events bit mask from the device. In case that event is masked, the device is not sending this event.

+
Parameters
+ + + +
[in]EventClassThe classification groups that the mask is referred to. Need to be one of the following:
    +
  • SL_EVENT_CLASS_GLOBAL
  • +
  • SL_EVENT_CLASS_DEVICE
  • +
  • SL_EVENT_CLASS_WLAN
  • +
  • SL_EVENT_CLASS_BSD
  • +
  • SL_EVENT_CLASS_NETAPP
  • +
  • SL_EVENT_CLASS_NETCFG
  • +
  • SL_EVENT_CLASS_FS
  • +
+
[out]pMaskPointer to Mask bitmap where the value should be stored. Bitmasks are the same as in sl_EventMaskSet
+
+
+
Returns
On success, zero is returned. On error, -1 is returned
+
See Also
sl_EventMaskSet
+
Note
belongs to ext_api
+
Warning
+
Example:
An example of getting an event mask for WLAN class
+
_u32 maskWlan;
+
sl_StatusGet(SL_EVENT_CLASS_WLAN,&maskWlan);
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
_i16 sl_EventMaskSet (const _u8 EventClass,
const _u32 Mask 
)
+
+ +

Set asynchronous event mask.

+

Mask asynchronous events from the device. Masked events do not generate asynchronous messages from the device. By default - all events are active

+
Parameters
+ + + +
[in]EventClassThe classification groups that the mask is referred to. Need to be one of the following:
    +
  • SL_EVENT_CLASS_GLOBAL
  • +
  • SL_EVENT_CLASS_DEVICE
  • +
  • SL_EVENT_CLASS_WLAN
  • +
  • SL_EVENT_CLASS_BSD
  • +
  • SL_EVENT_CLASS_NETAPP
  • +
  • SL_EVENT_CLASS_NETCFG
  • +
  • SL_EVENT_CLASS_FS
  • +
+
[in]MaskEvent Mask bitmap. Valid mask are (per group):
    +
  • SL_EVENT_CLASS_WLAN user events
      +
    • SL_WLAN_CONNECT_EVENT
    • +
    • SL_WLAN_DISCONNECT_EVENT
    • +
    +
  • +
  • SL_EVENT_CLASS_DEVICE user events
      +
    • SL_DEVICE_FATAL_ERROR_EVENT
    • +
    +
  • +
  • SL_EVENT_CLASS_BSD user events
      +
    • SL_SOCKET_TX_FAILED_EVENT
    • +
    • SL_SOCKET_ASYNC_EVENT
    • +
    +
  • +
  • SL_EVENT_CLASS_NETAPP user events
      +
    • SL_NETAPP_IPV4_IPACQUIRED_EVENT
    • +
    • SL_NETAPP_IPV6_IPACQUIRED_EVENT
    • +
    +
  • +
+
+
+
+
Returns
On success, zero is returned. On error, -1 is returned
+
See Also
sl_EventMaskGet
+
Note
belongs to ext_api
+
Warning
+
Example:
An example of masking connection/disconnection async events from WLAN class:
+
sl_EventMaskSet(SL_EVENT_CLASS_WLAN, (SL_WLAN_CONNECT_EVENT | SL_WLAN_DISCONNECT_EVENT) );
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
_i16 sl_Start (const void * pIfHdl,
_i8 * pDevName,
const P_INIT_CALLBACK pInitCallBack 
)
+
+ +

Start the SimpleLink device.

+

This function initialize the communication interface, set the enable pin of the device, and call to the init complete callback.

+
Parameters
+ + + + +
[in]pIfHdlOpened Interface Object. In case the interface must be opened outside the SimpleLink Driver, the user might give the handler to be used in
+ any access of the communication interface with the device (UART/SPI).
+ The SimpleLink driver will open an interface port only if this parameter is null!
+
[in]pDevNameThe name of the device to open. Could be used when the pIfHdl is null, to transfer information to the open interface function
+ This pointer could be used to pass additional information to sl_IfOpen in case it is required (e.g. UART com port name)
[in]pInitCallBackPointer to function that would be called on completion of the initialization process.
+ If this parameter is NULL the function is blocked until the device initialization is completed, otherwise the function returns immediately.
+
+
+
Returns
Returns the current active role (STA/AP/P2P) or an error code:
    +
  • ROLE_STA, ROLE_AP, ROLE_P2P in case of success, otherwise in failure one of the following is return:
  • +
  • ROLE_STA_ERR (Failure to load MAC/PHY in STA role)
  • +
  • ROLE_AP_ERR (Failure to load MAC/PHY in AP role)
  • +
  • ROLE_P2P_ERR (Failure to load MAC/PHY in P2P role)
  • +
+
+
See Also
sl_Stop
+
Note
belongs to basic_api
+
Warning
This function must be called before any other SimpleLink API is used, or after sl_Stop is called for reinit the device
+
Example:
An example for open interface without callback routine. The interface name and handler are
+
handled by the sl_IfOpen routine:
+
+
if( sl_Start(NULL, NULL, NULL) < 0 )
+
{
+
LOG("Error opening interface to device\n");
+
}
+
+ +
+
+ +
+
+ + + + + + + + +
_i16 sl_Stop (const _u16 timeout)
+
+ +

Stop the SimpleLink device.

+

This function clears the enable pin of the device, closes the communication
+ interface and invokes the stop complete callback

+
Parameters
+ + +
[in]timeoutStop timeout in msec. Should be used to give the device time to finish
+ any transmission/reception that is not completed when the function was called.
+ Additional options:
    +
  • 0 Enter to hibernate immediately
    +
  • +
  • 0xFFFF Host waits for device's response before
    + hibernating, without timeout protection
    +
  • +
  • 0 < Timeout[msec] < 0xFFFF Host waits for device's response before
    + hibernating, with a defined timeout protection
    + This timeout defines the max time to wait. The NWP
    + response can be sent earlier than this timeout.
  • +
+
+
+
+
Returns
On success, zero is returned. On error, -1 is returned
+
See Also
sl_Start
+
Note
This API will shutdown the device and invoke the "i/f close" function regardless
+ if it was opened implicitly or explicitly.
+ It is up to the platform interface library to properly handle interface close
+ routine
+ belongs to basic_api
+
+
Warning
+ +
+
+ +
+
+ + + + + + + + +
void sl_Task (void )
+
+ +

the simple link task entry

+

This function must be called from the main loop or from dedicated thread in the following cases:

+
    +
  • Non-Os Platform - should be called from the mail loop
  • +
  • Multi Threaded Platform when the user does not implement the external spawn functions - should be called from dedicated thread allocated to the simplelink driver. In this mode the function never return.
  • +
+
Returns
None
+
See Also
sl_Stop
+
Note
belongs to basic_api
+
Warning
This function must be called from a thread that is start running before any call to other simple link API
+ +
+
+
+
+ + + + diff --git a/docs/simplelink_api/html/group__device.js b/docs/simplelink_api/html/group__device.js index 0082147..c94e8d0 100644 --- a/docs/simplelink_api/html/group__device.js +++ b/docs/simplelink_api/html/group__device.js @@ -1,42 +1,48 @@ -var group__device = -[ - [ "_SlPartialVersion", "struct___sl_partial_version.html", [ - [ "ChipId", "struct___sl_partial_version.html#a877d3a1147d35755dbce8176048ce947", null ], - [ "FwVersion", "struct___sl_partial_version.html#a59bd6f51689f540b0ba4dc785e4bfb64", null ], - [ "PhyVersion", "struct___sl_partial_version.html#ac5605d53799a6c74ac3f37559c465edb", null ] - ] ], - [ "SlVersionFull", "struct_sl_version_full.html", [ - [ "ChipFwAndPhyVersion", "struct_sl_version_full.html#ad5ea7f4ad7fbeb5a94ac66e2da5d55db", null ], - [ "NwpVersion", "struct_sl_version_full.html#a70e21c342f3050f69fba55d461ccec8c", null ], - [ "Padding", "struct_sl_version_full.html#a3e6fcab66830b3ba1b3d8d6167595d03", null ], - [ "RomVersion", "struct_sl_version_full.html#a04d0b5c1e5fe2e3e1209bafd6f6d6596", null ] - ] ], - [ "sl_DeviceReport", "structsl___device_report.html", [ - [ "sender", "structsl___device_report.html#ac0b67f727ab542ea92d7bb5a9586c638", null ], - [ "status", "structsl___device_report.html#aea15cd487dbeb2bdf9c07ef8d864c64e", null ] - ] ], - [ "_SlDeviceEventData_u", "union___sl_device_event_data__u.html", [ - [ "deviceEvent", "union___sl_device_event_data__u.html#a3447f4b5eb63cfa640a5c0dca641a30c", null ] - ] ], - [ "SlDeviceEvent_t", "struct_sl_device_event__t.html", [ - [ "Event", "struct_sl_device_event__t.html#adeedbaaa252b969fc66e151eef37ea62", null ], - [ "EventData", "struct_sl_device_event__t.html#ad8c1d9df20f3a61d8c0f1b7aba495af7", null ] - ] ], - [ "SlDateTime_t", "struct_sl_date_time__t.html", [ - [ "reserved", "struct_sl_date_time__t.html#a49f5795062d81178ce89f77d61448bee", null ], - [ "sl_tm_day", "struct_sl_date_time__t.html#af83ea24b23158f14e96ff93c5e8c0896", null ], - [ "sl_tm_hour", "struct_sl_date_time__t.html#a92f8e6dd9aa31ef8fb286c5c2c0c34b9", null ], - [ "sl_tm_min", "struct_sl_date_time__t.html#ac9111faf20f5af837320742ad9654226", null ], - [ "sl_tm_mon", "struct_sl_date_time__t.html#aa898a97b5759e5020905a464619003d1", null ], - [ "sl_tm_sec", "struct_sl_date_time__t.html#a000a13e33ea38c8e0bb5541f3723126d", null ], - [ "sl_tm_week_day", "struct_sl_date_time__t.html#a5171f9a27af9cba0e6ef95d9af2eed07", null ], - [ "sl_tm_year", "struct_sl_date_time__t.html#ac214aa05234cf1c38cbc1e464997c25e", null ], - [ "sl_tm_year_day", "struct_sl_date_time__t.html#a041e83bc571abb3b79165cbf6bea74a1", null ] - ] ], - [ "sl_DevGet", "group__device.html#ga99e4952cbe9d52fe22698e6e7a59b891", null ], - [ "sl_DevSet", "group__device.html#gad9f4a882aaa3da4631deed04b789d801", null ], - [ "sl_EventMaskGet", "group__device.html#gaa6b773e7c7bc76a72aa4c01aa65e250a", null ], - [ "sl_EventMaskSet", "group__device.html#ga7806b05e2f17b11b8d054f92f7f2c868", null ], - [ "sl_Start", "group__device.html#ga5869df658d2c9fe3c2baa50503a1a8dd", null ], - [ "sl_Stop", "group__device.html#ga7baa360e5cda2cff9b52c0d9b69a6c86", null ] +var group__device = +[ + [ "_SlPartialVersion", "struct___sl_partial_version.html", [ + [ "ChipId", "struct___sl_partial_version.html#a877d3a1147d35755dbce8176048ce947", null ], + [ "FwVersion", "struct___sl_partial_version.html#a59bd6f51689f540b0ba4dc785e4bfb64", null ], + [ "PhyVersion", "struct___sl_partial_version.html#ac5605d53799a6c74ac3f37559c465edb", null ] + ] ], + [ "SlVersionFull", "struct_sl_version_full.html", [ + [ "ChipFwAndPhyVersion", "struct_sl_version_full.html#ad5ea7f4ad7fbeb5a94ac66e2da5d55db", null ], + [ "NwpVersion", "struct_sl_version_full.html#a70e21c342f3050f69fba55d461ccec8c", null ], + [ "Padding", "struct_sl_version_full.html#a3e6fcab66830b3ba1b3d8d6167595d03", null ], + [ "RomVersion", "struct_sl_version_full.html#a04d0b5c1e5fe2e3e1209bafd6f6d6596", null ] + ] ], + [ "sl_DeviceReportAbort", "structsl___device_report_abort.html", [ + [ "AbortData", "structsl___device_report_abort.html#a11d5127aeadfedde8e59b6742e7e70ec", null ], + [ "AbortType", "structsl___device_report_abort.html#a102ff99b384c6e6ec0e34b36e73e68c5", null ] + ] ], + [ "sl_DeviceReport", "structsl___device_report.html", [ + [ "sender", "structsl___device_report.html#ac0b67f727ab542ea92d7bb5a9586c638", null ], + [ "status", "structsl___device_report.html#aea15cd487dbeb2bdf9c07ef8d864c64e", null ] + ] ], + [ "_SlDeviceEventData_u", "union___sl_device_event_data__u.html", [ + [ "deviceEvent", "union___sl_device_event_data__u.html#a3447f4b5eb63cfa640a5c0dca641a30c", null ], + [ "deviceReport", "union___sl_device_event_data__u.html#a953cec9fcfc133f5c137a3b27c9a5019", null ] + ] ], + [ "SlDeviceEvent_t", "struct_sl_device_event__t.html", [ + [ "Event", "struct_sl_device_event__t.html#adeedbaaa252b969fc66e151eef37ea62", null ], + [ "EventData", "struct_sl_device_event__t.html#ad8c1d9df20f3a61d8c0f1b7aba495af7", null ] + ] ], + [ "SlDateTime_t", "struct_sl_date_time__t.html", [ + [ "reserved", "struct_sl_date_time__t.html#a49f5795062d81178ce89f77d61448bee", null ], + [ "sl_tm_day", "struct_sl_date_time__t.html#af83ea24b23158f14e96ff93c5e8c0896", null ], + [ "sl_tm_hour", "struct_sl_date_time__t.html#a92f8e6dd9aa31ef8fb286c5c2c0c34b9", null ], + [ "sl_tm_min", "struct_sl_date_time__t.html#ac9111faf20f5af837320742ad9654226", null ], + [ "sl_tm_mon", "struct_sl_date_time__t.html#aa898a97b5759e5020905a464619003d1", null ], + [ "sl_tm_sec", "struct_sl_date_time__t.html#a000a13e33ea38c8e0bb5541f3723126d", null ], + [ "sl_tm_week_day", "struct_sl_date_time__t.html#a5171f9a27af9cba0e6ef95d9af2eed07", null ], + [ "sl_tm_year", "struct_sl_date_time__t.html#ac214aa05234cf1c38cbc1e464997c25e", null ], + [ "sl_tm_year_day", "struct_sl_date_time__t.html#a041e83bc571abb3b79165cbf6bea74a1", null ] + ] ], + [ "sl_DevGet", "group__device.html#ga474ffecf51d679b27f7b449dc7b2e554", null ], + [ "sl_DevSet", "group__device.html#ga6a8648f29287968fcb8a9efcdd91becd", null ], + [ "sl_EventMaskGet", "group__device.html#ga6e2bf948f1cce2bc5aae771892739fb2", null ], + [ "sl_EventMaskSet", "group__device.html#ga57d6ea9dfcc0fb18f956fd2cae8f5f19", null ], + [ "sl_Start", "group__device.html#ga5869df658d2c9fe3c2baa50503a1a8dd", null ], + [ "sl_Stop", "group__device.html#ga1e30957d5b7720918fb206d44f373613", null ], + [ "sl_Task", "group__device.html#ga0425868dc13ee98bff664127d9d37ee4", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/group__fs.html b/docs/simplelink_api/html/group__fs.html deleted file mode 100644 index e81625a..0000000 --- a/docs/simplelink_api/html/group__fs.html +++ /dev/null @@ -1,458 +0,0 @@ - - - - - - -CC32XX SimpleLink Host Driver: Fs - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  0.0.5.1 -
-
-
- - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
Fs
-
-
- - - - - - - - - - - - - - - - - - - - -

-Functions

long sl_FsOpen (unsigned char *pFileName, unsigned long AccessModeAndMaxSize, unsigned long *pToken, long *pFileHandle)
 open file for read or write from/to storage device More...
 
int sl_FsClose (long FileHdl, unsigned char *pCeritificateFileName, unsigned char *pSignature, unsigned long SignatureLen)
 close file in storage device More...
 
long sl_FsRead (long FileHdl, unsigned long Offset, unsigned char *pData, unsigned long Len)
 read block of data from a file in storage device More...
 
long sl_FsWrite (long FileHdl, unsigned long Offset, unsigned char *pData, unsigned long Len)
 write block of data to a file in storage device More...
 
int sl_FsGetInfo (unsigned char *pFileName, unsigned long Token, SlFsFileInfo_t *pFsFileInfo)
 get info on a file More...
 
int sl_FsDel (unsigned char *pFileName, unsigned long Token)
 delete specific file from a storage or all files from a storage (format) More...
 
-

Detailed Description

-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
int sl_FsClose (long FileHdl,
unsigned char * pCeritificateFileName,
unsigned char * pSignature,
unsigned long SignatureLen 
)
-
- -

close file in storage device

-
Parameters
- - - - - -
[in]FileHdlPointer to the file (assigned from sl_FsOpen)
[in]pCeritificateFileName,NULLterminated
[in]pSignature
[in]SignatureLen
-
-
-
Returns
On success, zero is returned. On error, negative is returned
-
See also
sl_FsRead sl_FsWrite sl_FsOpen
-
Note
belongs to basic_api
-
Warning
-
Example:
sl_FsClose(FileHandle,0,0,0);
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int sl_FsDel (unsigned char * pFileName,
unsigned long Token 
)
-
- -

delete specific file from a storage or all files from a storage (format)

-
Parameters
- - - -
[in]pFileNameFile's Name
[in]TokenFile's token
-
-
-
Returns
On success, zero is returned. On error, negative is returned
-
See also
-
Note
belongs to basic_api
-
Warning
-
Example:
Status = sl_FsDel("FileName.html",Token);
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
int sl_FsGetInfo (unsigned char * pFileName,
unsigned long Token,
SlFsFileInfo_tpFsFileInfo 
)
-
- -

get info on a file

-
Parameters
- - - - -
[in]pFileNameFile's name
[in]TokenFile's token
[out]pFsFileInfoReturns the File's Information: flags,file size, allocated size and Tokens
-
-
-
Returns
On success, zero is returned. On error, negative is returned
-
See also
sl_FsOpen
-
Note
belongs to basic_api
-
Warning
-
Example:
Status = sl_FsGetInfo("FileName.html",Token,&FsFileInfo);
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
long sl_FsOpen (unsigned char * pFileName,
unsigned long AccessModeAndMaxSize,
unsigned long * pToken,
long * pFileHandle 
)
-
- -

open file for read or write from/to storage device

-
Parameters
- - - - - -
[in]pFileNameFile Name buffer pointer
[in]AccessModeAndMaxSizeOptions: As described below
[in]pTokeninput Token for read, output Token for write
[out]pFileHandlePointing on the file and used for read and write commands to the file
-
-
-

AccessModeAndMaxSize possible input
- FS_MODE_OPEN_READ - Read a file
- FS_MODE_OPEN_WRITE - Open for write for an existing file
- FS_MODE_OPEN_CREATE(maxSizeInBytes,accessModeFlags) - Open for creating a new file. Max file size is defined in bytes.
- For optimal FS size, use max size in 4K-512 bytes (e.g. 3584,7680)
- Several access modes can be combined together from SlFileOpenFlags_e

-
Returns
On success, zero is returned. On error, negative is returned
-
See also
sl_FsRead sl_FsWrite sl_FsClose
-
Note
belongs to basic_api
-
Warning
This API is going to be modified on the next release
-
Example:
sl_FsOpen("FileName.html",FS_MODE_OPEN_CREATE(3584,_FS_FILE_OPEN_FLAG_COMMIT|_FS_FILE_PUBLIC_WRITE) ,NULL, &FileHandle);
-
-
sl_FsOpen("FileName.html",FS_MODE_OPEN_READ,NULL, &FileHandle);
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
long sl_FsRead (long FileHdl,
unsigned long Offset,
unsigned char * pData,
unsigned long Len 
)
-
- -

read block of data from a file in storage device

-
Parameters
- - - - - -
[in]FileHdlPointer to the file (assigned from sl_FsOpen)
[in]OffsetOffset to specific read block
[out]pDataPointer for the received data
[in]LenLength of the received data
-
-
-
Returns
On success, returns the number of read bytes. On error, negative number is returned
-
See also
sl_FsClose sl_FsWrite sl_FsOpen
-
Note
belongs to basic_api
-
Warning
-
Example:
Status = sl_FsRead(FileHandle, 0, &readBuff[0], readSize);
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
long sl_FsWrite (long FileHdl,
unsigned long Offset,
unsigned char * pData,
unsigned long Len 
)
-
- -

write block of data to a file in storage device

-
Parameters
- - - - - -
[in]FileHdlPointer to the file (assigned from sl_FsOpen)
[in]OffsetOffset to specific block to be written
[in]pDataPointer the transmitted data to the storage device
[in]LenLength of the transmitted data
-
-
-
Returns
On success, returns the number of written bytes. On error, negative number is returned
-
See also
-
Note
belongs to basic_api
-
Warning
-
Example:
Status = sl_FsWrite(FileHandle, 0, &buff[0], readSize);
-
- -
-
-
-
- - - - diff --git a/docs/simplelink_api/html/group__fs.js b/docs/simplelink_api/html/group__fs.js deleted file mode 100644 index 435a3f3..0000000 --- a/docs/simplelink_api/html/group__fs.js +++ /dev/null @@ -1,9 +0,0 @@ -var group__fs = -[ - [ "sl_FsClose", "group__fs.html#gaad07cff028b41424042e613c22249a9d", null ], - [ "sl_FsDel", "group__fs.html#gaea602ed8869be6c96fb4454f4611108d", null ], - [ "sl_FsGetInfo", "group__fs.html#ga7d18b3dc1a1b0451d1be5081e4ba7bc6", null ], - [ "sl_FsOpen", "group__fs.html#ga03903cb388503d44b5c3e46cc59f6864", null ], - [ "sl_FsRead", "group__fs.html#ga1b1d91e9561721616d332e105fbfd44b", null ], - [ "sl_FsWrite", "group__fs.html#gaa9ccb2076f23b8f59ce0cfbcb2907c8f", null ] -]; \ No newline at end of file diff --git a/docs/simplelink_api/html/group__netapp.html b/docs/simplelink_api/html/group__netapp.html index 7f61668..c000d0d 100644 --- a/docs/simplelink_api/html/group__netapp.html +++ b/docs/simplelink_api/html/group__netapp.html @@ -1,1224 +1,1280 @@ - - - - - - -CC32XX SimpleLink Host Driver: Netapp - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - -
-
- -
-
-
- -
- - - - -
- -
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Data Structures

struct  SlPingReport_t
 
struct  SlPingStartCommand_t
 
struct  _slHttpServerString_t
 
struct  _slHttpServerData_t
 
struct  _slHttpServerPostData_t
 
union  SlHttpServerEventData_u
 
union  SlHttpServerResponsedata_u
 
struct  SlHttpServerEvent_t
 
struct  SlHttpServerResponse_t
 
struct  SlNetAppDhcpServerBasicOpt_t
 
struct  SlNetAppGetShortServiceIpv4List_t
 
struct  SlNetAppGetFullServiceIpv4List_t
 
struct  SlNetAppGetFullServiceWithTextIpv4List_t
 
struct  SlNetAppServiceAdvertiseTimingParameters_t
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Macros

-#define SL_ERROR_NETAPP_RX_BUFFER_LENGTH_ERROR   (-230)
 
-#define MAX_INPUT_STRING   (64) /* because of WPA */
 
-#define MAX_AUTH_NAME_LEN   (20)
 
-#define MAX_AUTH_PASSWORD_LEN   (20)
 
-#define MAX_AUTH_REALM_LEN   (20)
 
-#define MAX_DEVICE_URN_LEN   (15+1)
 
-#define MAX_DOMAIN_NAME_LEN   (24+1)
 
-#define MAX_ACTION_LEN   (30)
 
-#define MAX_TOKEN_NAME_LEN   (20)
 
-#define MAX_TOKEN_VALUE_LEN   MAX_INPUT_STRING
 
-#define NETAPP_MAX_SERVICE_TEXT_SIZE   (256)
 
-#define NETAPP_MAX_SERVICE_NAME_SIZE   (60)
 
-#define NETAPP_MAX_SERVICE_HOST_NAME_SIZE   (64)
 
-#define SL_NETAPP_RESPONSE_NONE   (0)
 
-#define SL_NETAPP_HTTPSETTOKENVALUE   (1)
 
-#define SL_NETAPP_FAMILY_MASK   (0x80)
 
-#define SL_NET_APP_MASK_IPP_TYPE_OF_SERVICE   (0x00000001)
 
-#define SL_NET_APP_MASK_DEVICE_INFO_TYPE_OF_SERVICE   (0x00000002)
 
-#define SL_NET_APP_MASK_HTTP_TYPE_OF_SERVICE   (0x00000004)
 
-#define SL_NET_APP_MASK_HTTPS_TYPE_OF_SERVICE   (0x00000008)
 
-#define SL_NET_APP_MASK_WORKSATION_TYPE_OF_SERVICE   (0x00000010)
 
-#define SL_NET_APP_MASK_GUID_TYPE_OF_SERVICE   (0x00000020)
 
-#define SL_NET_APP_MASK_H323_TYPE_OF_SERVICE   (0x00000040)
 
-#define SL_NET_APP_MASK_NTP_TYPE_OF_SERVICE   (0x00000080)
 
-#define SL_NET_APP_MASK_OBJECITVE_TYPE_OF_SERVICE   (0x00000100)
 
-#define SL_NET_APP_MASK_RDP_TYPE_OF_SERVICE   (0x00000200)
 
-#define SL_NET_APP_MASK_REMOTE_TYPE_OF_SERVICE   (0x00000400)
 
-#define SL_NET_APP_MASK_RTSP_TYPE_OF_SERVICE   (0x00000800)
 
-#define SL_NET_APP_MASK_SIP_TYPE_OF_SERVICE   (0x00001000)
 
-#define SL_NET_APP_MASK_SMB_TYPE_OF_SERVICE   (0x00002000)
 
-#define SL_NET_APP_MASK_SOAP_TYPE_OF_SERVICE   (0x00004000)
 
-#define SL_NET_APP_MASK_SSH_TYPE_OF_SERVICE   (0x00008000)
 
-#define SL_NET_APP_MASK_TELNET_TYPE_OF_SERVICE   (0x00010000)
 
-#define SL_NET_APP_MASK_TFTP_TYPE_OF_SERVICE   (0x00020000)
 
-#define SL_NET_APP_MASK_XMPP_CLIENT_TYPE_OF_SERVICE   (0x00040000)
 
-#define SL_NET_APP_MASK_RAOP_TYPE_OF_SERVICE   (0x00080000)
 
-#define SL_NET_APP_MASK_ALL_TYPE_OF_SERVICE   (0xFFFFFFFF)
 
-#define SL_NET_APP_DNS_QUERY_NO_RESPONSE   (-159) /* DNS query failed, no response */
 
-#define SL_NET_APP_DNS_NO_SERVER   (-161) /* No DNS server was specified */
 
-#define SL_NET_APP_DNS_PARAM_ERROR   (-162) /* mDNS parameters error */
 
-#define SL_NET_APP_DNS_QUERY_FAILED   (-163) /* DNS query failed; no DNS server sent an 'answer' */
 
-#define SL_NET_APP_DNS_INTERNAL_1   (-164)
 
-#define SL_NET_APP_DNS_INTERNAL_2   (-165)
 
-#define SL_NET_APP_DNS_MALFORMED_PACKET   (-166) /* Improperly formed or corrupted DNS packet received */
 
-#define SL_NET_APP_DNS_INTERNAL_3   (-167)
 
-#define SL_NET_APP_DNS_INTERNAL_4   (-168)
 
-#define SL_NET_APP_DNS_INTERNAL_5   (-169)
 
-#define SL_NET_APP_DNS_INTERNAL_6   (-170)
 
-#define SL_NET_APP_DNS_INTERNAL_7   (-171)
 
-#define SL_NET_APP_DNS_INTERNAL_8   (-172)
 
-#define SL_NET_APP_DNS_INTERNAL_9   (-173)
 
-#define SL_NET_APP_DNS_MISMATCHED_RESPONSE   (-174) /* Server response type does not match the query request*/
 
-#define SL_NET_APP_DNS_INTERNAL_10   (-175)
 
-#define SL_NET_APP_DNS_INTERNAL_11   (-176)
 
-#define SL_NET_APP_DNS_NO_ANSWER   (-177) /* No response for one-shot query */
 
-#define SL_NET_APP_DNS_NO_KNOWN_ANSWER   (-178) /* No known answer for query */
 
-#define SL_NET_APP_DNS_NAME_MISMATCH   (-179) /* Illegal service name according to the RFC */
 
-#define SL_NET_APP_DNS_NOT_STARTED   (-180) /* mDNS is not running */
 
-#define SL_NET_APP_DNS_HOST_NAME_ERROR   (-181) /* Host name error. Host name format is not allowed according to RFC 1033,1034,1035, 6763 */
 
-#define SL_NET_APP_DNS_NO_MORE_ENTRIES   (-182) /* No more entries be found. */
 
-#define SL_NET_APP_DNS_MAX_SERVICES_ERROR   (-200) /* Maximum advertise services are already configured */
 
-#define SL_NET_APP_DNS_IDENTICAL_SERVICES_ERROR   (-201) /* Trying to register a service that is already exists */
 
-#define SL_NET_APP_DNS_NOT_EXISTED_SERVICE_ERROR   (-203) /* Trying to delete service that does not existed */
 
-#define SL_NET_APP_DNS_ERROR_SERVICE_NAME_ERROR   (-204) /* Illegal service name according to the RFC */
 
-#define SL_NET_APP_DNS_RX_PACKET_ALLOCATION_ERROR   (-205) /* Retry request */
 
-#define SL_NET_APP_DNS_BUFFER_SIZE_ERROR   (-206) /* List size buffer is bigger than internally allowed in the NWP */
 
-#define SL_NET_APP_DNS_NET_APP_SET_ERROR   (-207) /* Illegal length of one of the mDNS Set functions */
 
-#define SL_NET_APP_DNS_GET_SERVICE_LIST_FLAG_ERROR   (-208)
 
-#define SL_NET_APP_DNS_NO_CONFIGURATION_ERROR   (-209)
 
-#define SL_ERROR_DEVICE_NAME_LEN_ERR   (-117)
 
-#define SL_ERROR_DEVICE_NAME_INVALID   (-118)
 
-#define SL_ERROR_DOMAIN_NAME_LEN_ERR   (-119)
 
-#define SL_ERROR_DOMAIN_NAME_INVALID   (-120)
 
-#define SL_NET_APP_HTTP_SERVER_ID   (1)
 
-#define SL_NET_APP_DHCP_SERVER_ID   (2)
 
-#define SL_NET_APP_MDNS_ID   (4)
 
-#define SL_NET_APP_DNS_SERVER_ID   (8)
 
-#define SL_NET_APP_DEVICE_CONFIG_ID   (16)
 
-#define NETAPP_SET_DHCP_SRV_BASIC_OPT   (0)
 
-#define NETAPP_SET_GET_HTTP_OPT_PORT_NUMBER   (0)
 
-#define NETAPP_SET_GET_HTTP_OPT_AUTH_CHECK   (1)
 
-#define NETAPP_SET_GET_HTTP_OPT_AUTH_NAME   (2)
 
-#define NETAPP_SET_GET_HTTP_OPT_AUTH_PASSWORD   (3)
 
-#define NETAPP_SET_GET_HTTP_OPT_AUTH_REALM   (4)
 
-#define NETAPP_SET_GET_HTTP_OPT_ROM_PAGES_ACCESS   (5)
 
-#define NETAPP_SET_GET_MDNS_CONT_QUERY_OPT   (1)
 
-#define NETAPP_SET_GET_MDNS_QEVETN_MASK_OPT   (2)
 
-#define NETAPP_SET_GET_MDNS_TIMING_PARAMS_OPT   (3)
 
-#define NETAPP_SET_GET_DNS_OPT_DOMAIN_NAME   (0)
 
-#define NETAPP_SET_GET_DEV_CONF_OPT_DEVICE_URN   (0)
 
-#define NETAPP_SET_GET_DEV_CONF_OPT_DOMAIN_NAME   (1)
 
- - - - - - - - - -

-Typedefs

-typedef struct
-_slHttpServerString_t 
slHttpServerString_t
 
-typedef struct _slHttpServerData_t slHttpServerData_t
 
-typedef struct
-_slHttpServerPostData_t 
slHttpServerPostData_t
 
-typedef void(* P_SL_DEV_PING_CALLBACK )(SlPingReport_t *)
 
- - - -

-Enumerations

enum  SlNetAppGetServiceListType_e { SL_NET_APP_FULL_SERVICE_WITH_TEXT_IPV4_TYPE = 1, -SL_NET_APP_FULL_SERVICE_IPV4_TYPE, -SL_NET_APP_SHORT_SERVICE_IPV4_TYPE - }
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

_i16 sl_NetAppStart (_u32 AppBitMap)
 Starts a network application. More...
 
_i16 sl_NetAppStop (_u32 AppBitMap)
 Stops a network application. More...
 
_i16 sl_NetAppDnsGetHostByName (_i8 *hostname, _u16 usNameLen, _u32 *out_ip_addr, _u8 family)
 Get host IP by name. More...
 
_i32 sl_NetAppDnsGetHostByService (_i8 *pServiceName, _u8 ServiceLen, _u8 Family, _u32 pAddr[], _u32 *pPort, _u16 *pTextLen, _i8 *pText)
 Return service attributes like IP address, port and text according to service name. More...
 
_i16 sl_NetAppGetServiceList (_u8 IndexOffest, _u8 MaxServiceCount, _u8 Flags, _i8 *pBuffer, _u32 RxBufferLength)
 Get service List Insert into out pBuffer a list of peer's services that are the NWP. The list is in a form of service struct. The user should chose the type of the service struct like: More...
 
_i16 sl_NetAppMDNSUnRegisterService (const _i8 *pServiceName, _u8 ServiceNameLen)
 Unregister mDNS service This function deletes the mDNS service from the mDNS package and the database. More...
 
_i16 sl_NetAppMDNSRegisterService (const _i8 *pServiceName, _u8 ServiceNameLen, const _i8 *pText, _u8 TextLen, _u16 Port, _u32 TTL, _u32 Options)
 Register a new mDNS service. More...
 
_i16 sl_NetAppPingStart (SlPingStartCommand_t *pPingParams, _u8 family, SlPingReport_t *pReport, const P_SL_DEV_PING_CALLBACK pPingCallback)
 send ICMP ECHO_REQUEST to network hosts More...
 
_i32 sl_NetAppSet (_u8 AppId, _u8 Option, _u8 OptionLen, _u8 *pOptionValue)
 Internal function for setting network application configurations. More...
 
_i32 sl_NetAppGet (_u8 AppId, _u8 Option, _u8 *pOptionLen, _u8 *pOptionValue)
 Internal function for getting network applications configurations. More...
 
-

Detailed Description

-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_i16 sl_NetAppDnsGetHostByName (_i8 * hostname,
_u16 usNameLen,
_u32 * out_ip_addr,
_u8 family 
)
-
- -

Get host IP by name.

-

Obtain the IP Address of machine on network, by machine name.

-
Parameters
- - - - - -
[in]hostnamehost name
[in]usNameLenname length
[out]out_ip_addrThis parameter is filled in with host IP address. In case that host name is not resolved, out_ip_addr is zero.
[in]familyprotocol family
-
-
-
Returns
On success, 0 is returned. On error, negative is returned SL_POOL_IS_EMPTY may be return in case there are no resources in the system In this case try again later or increase MAX_CONCURRENT_ACTIONS Possible DNS error codes:
    -
  • SL_NET_APP_DNS_QUERY_NO_RESPONSE
  • -
  • SL_NET_APP_DNS_NO_SERVER
  • -
  • SL_NET_APP_DNS_QUERY_FAILED
  • -
  • SL_NET_APP_DNS_MALFORMED_PACKET
  • -
  • SL_NET_APP_DNS_MISMATCHED_RESPONSE
  • -
-
-
See also
-
Note
Only one sl_NetAppDnsGetHostByName can be handled at a time. Calling this API while the same command is called from another thread, may result in one of the two scenarios:
    -
  1. The command will wait (internal) until the previous command finish, and then be executed.
  2. -
  3. There are not enough resources and POOL_IS_EMPTY error will return. In this case, MAX_CONCURRENT_ACTIONS can be increased (result in memory increase) or try again later to issue the command.
  4. -
-
-
Warning
-
Example:
_u32 DestinationIP;
-
sl_NetAppDnsGetHostByName("www.google.com", strlen("www.google.com"), &DestinationIP,SL_AF_INET);
-
-
Addr.sin_family = SL_AF_INET;
-
Addr.sin_port = sl_Htons(80);
-
Addr.sin_addr.s_addr = sl_Htonl(DestinationIP);
-
AddrSize = sizeof(SlSockAddrIn_t);
-
SockID = sl_Socket(SL_AF_INET,SL_SOCK_STREAM, 0);
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_i32 sl_NetAppDnsGetHostByService (_i8 * pServiceName,
_u8 ServiceLen,
_u8 Family,
_u32 pAddr[],
_u32 * pPort,
_u16 * pTextLen,
_i8 * pText 
)
-
- -

Return service attributes like IP address, port and text according to service name.

-
The user sets a service name Full/Part (see example below), and should get:
    -
  • IP of service
  • -
  • The port of service
  • -
  • The text of service
  • -
-
-

Hence it can make a connection to the specific service and use it. It is similar to get host by name method. It is done by a single shot query with PTR type on the service name. The command that is sent is from constant parameters and variables parameters.

-
Parameters
- - - - - - - - -
[in]pServiceService name can be full or partial.
- Example for full service name:
    -
  1. PC1._ipp._tcp.local
  2. -
  3. PC2_server._ftp._tcp.local
    -
  4. -
-Example for partial service name:
    -
  1. _ipp._tcp.local
  2. -
  3. _ftp._tcp.local
  4. -
-
[in]ServiceLenThe length of the service name (in_pService).
[in]FamilyIPv4 or IPv6 (SL_AF_INET , SL_AF_INET6).
[out]pAddrContains the IP address of the service.
[out]pPortContains the port of the service.
[out]pTextLenHas 2 options. One as Input field and the other one as output:
    -
  • Input:
    - Contains the max length of the text that the user wants to get.
    - It means that if the text len of service is bigger that its value than the text is cut to inout_TextLen value.
  • -
  • Output:
    - Contain the length of the text that is returned. Can be full text or part of the text (see above).
  • -
-
[out]pOut_pTextContains the text of the service full or partial
-
-
-
Returns
On success, zero is returned SL_POOL_IS_EMPTY may be return in case there are no resources in the system In this case try again later or increase MAX_CONCURRENT_ACTIONS In case No service is found error SL_NET_APP_DNS_NO_ANSWER will be returned
-
Note
The returns attributes belongs to the first service found. There may be other services with the same service name that will response to the query. The results of these responses are saved in the peer cache of the Device and should be read by another API.
-

Only one sl_NetAppDnsGetHostByService can be handled at a time. Calling this API while the same command is called from another thread, may result in one of the two scenarios:

    -
  1. The command will wait (internal) until the previous command finish, and then be executed.
  2. -
  3. There are not enough resources and SL_POOL_IS_EMPTY error will return. In this case, MAX_CONCURRENT_ACTIONS can be increased (result in memory increase) or try again later to issue the command.
  4. -
-
Warning
Text length can be 120 bytes only
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_i32 sl_NetAppGet (_u8 AppId,
_u8 Option,
_u8 * pOptionLen,
_u8 * pOptionValue 
)
-
- -

Internal function for getting network applications configurations.

-
Returns
On success, zero is returned. On error, -1 is returned
-
Parameters
- - - - - -
[in]AppIdApplication id, could be one of the following:
-
    -
  • SL_NET_APP_HTTP_SERVER_ID
  • -
  • SL_NET_APP_DHCP_SERVER_ID
  • -
-
[in]OptionsGet option, could be one of the following:
- NETAPP_SET_BASIC_OPT
[in]OptionLenThe length of the allocated memory as input, when the function complete, the value of this parameter would be the len that actually read from the device. If the device return length that is longer from the input value, the function will cut the end of the returned structure and will return ESMALLBUF
[out]pValuespointer to the option structure which will be filled with the response from the device
-
-
-
See also
-
Note
-
Warning
-
Get DHCP Server parameters example:
-
- -
_u8 outLen = sizeof(SlNetAppDhcpServerBasicOpt_t);
-
sl_NetAppGet(SL_NET_APP_DHCP_SERVER_ID, NETAPP_SET_DHCP_SRV_BASIC_OPT, &outLen, (_u8* )&dhcpParams);
-
-
printf("DHCP Start IP %d.%d.%d.%d End IP %d.%d.%d.%d Lease time seconds %d\n",
-
SL_IPV4_BYTE(dhcpParams.ipv4_addr_start,3),SL_IPV4_BYTE(dhcpParams.ipv4_addr_start,2),
-
SL_IPV4_BYTE(dhcpParams.ipv4_addr_start,1),SL_IPV4_BYTE(dhcpParams.ipv4_addr_start,0),
-
SL_IPV4_BYTE(dhcpParams.ipv4_addr_last,3),SL_IPV4_BYTE(dhcpParams.ipv4_addr_last,2),
-
SL_IPV4_BYTE(dhcpParams.ipv4_addr_last,1),SL_IPV4_BYTE(dhcpParams.ipv4_addr_last,0),
-
dhcpParams.lease_time);
-
Get Device URN name example:
-
Maximum length of 33 characters of device name.
-
Device name affects URN name, own SSID name in AP mode, and WPS file "device name" in WPS I.E (STA-WPS / P2P)
-
in case no device URN name set, the default name is "mysimplelink"
-
-
_u8 my_device_name[35];
-
sl_NetAppGet (SL_NET_APP_DEVICE_CONFIG_ID, NETAPP_SET_GET_DEV_CONF_OPT_DEVICE_URN, strlen(my_device_name), (_u8 *)my_device_name);
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_i16 sl_NetAppGetServiceList (_u8 IndexOffest,
_u8 MaxServiceCount,
_u8 Flags,
_i8 * pBuffer,
_u32 RxBufferLength 
)
-
- -

Get service List Insert into out pBuffer a list of peer's services that are the NWP. The list is in a form of service struct. The user should chose the type of the service struct like:

-
    -
  • Full service parameters with text.
  • -
  • Full service parameters.
  • -
  • Short service parameters (port and IP only) especially for tiny hosts.
  • -
-

The different types of struct are made to give the Possibility to save memory in the host

-

The user also chose how many max services to get and start point index NWP peer cache. For example:

    -
  1. Get max of 3 full services from index 0.Up to 3 full services from index 0 are inserted into pBuffer (services that are in indexes 0,1,2).
  2. -
  3. Get max of 4 full services from index 3.Up to 4 full services from index 3 are inserted into pBuffer (services that are in indexes 3,4,5,6).
  4. -
  5. Get max of 2 int services from index 6.Up to 2 int services from index 6 are inserted into pBuffer (services that are in indexes 6,7).
  6. -
-

See below - command parameters.

-
Parameters
- - - - - -
[in]indexOffset- The start index in the peer cache that from it the first service is returned.
[in]MaxServiceCount- The Max services that can be returned if existed or if not exceed the max index in the peer cache
[in]Flags- an ENUM number that means which service struct to use (means which types of service to fill) -
[out]Buffer- The Services are inserted into this buffer. In the struct form according to the bit that is set in the Flags input parameter.
-
-
-
Returns
ServiceFoundCount - The number of the services that were inserted into the buffer. zero means no service is found negative number means an error
-
See also
sl_NetAppMDNSRegisterService
-
Note
-
Warning
if the out pBuffer size is bigger than an RX packet(1480), than an error is returned because there is no place in the RX packet. The size is a multiply of MaxServiceCount and size of service struct(that is set according to flag value).
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_i16 sl_NetAppMDNSRegisterService (const _i8 * pServiceName,
_u8 ServiceNameLen,
const _i8 * pText,
_u8 TextLen,
_u16 Port,
_u32 TTL,
_u32 Options 
)
-
- -

Register a new mDNS service.

-
This function registers a new mDNS service to the mDNS package and the DB.
-

This registered service is a service offered by the application. The service name should be full service name according to RFC of the DNS-SD - meaning the value in name field in the SRV answer. Example for service name:

    -
  1. PC1._ipp._tcp.local
  2. -
  3. PC2_server._ftp._tcp.local
  4. -
-

If the option is_unique is set, mDNS probes the service name to make sure it is unique before starting to announce the service on the network. Instance is the instance portion of the service name.

-
Parameters
- - - - - - - - -
[in]ServiceLenThe length of the service.
[in]TextLenThe length of the service should be smaller than 64.
[in]portThe port on this target host port.
[in]TTLThe TTL of the service
[in]Optionsbitwise parameters:
-
    -
  • bit 0 - service is unique (means that the service needs to be unique)
  • -
  • bit 31 - for internal use if the service should be added or deleted (set means ADD).
  • -
  • bit 1-30 for future.
  • -
-
[in]pServiceNameThe service name. Example for service name:
-
    -
  1. PC1._ipp._tcp.local
  2. -
  3. PC2_server._ftp._tcp.local
  4. -
-
[in]pTextThe description of the service. should be as mentioned in the RFC (according to type of the service IPP,FTP...)
-
-
-
Returns
On success, zero is returned Possible error codes:
    -
  • Maximum advertise services are already configured. Delete another existed service that is registered and then register again the new service
  • -
  • Trying to register a service that is already exists
  • -
  • Trying to delete service that does not existed
  • -
  • Illegal service name according to the RFC
  • -
  • Retry request
  • -
  • Illegal length of one of the mDNS Set functions
  • -
  • mDNS is not operational as the device has no IP.Connect the device to an AP to get an IP address.
  • -
  • mDNS parameters error
  • -
  • mDNS internal cache error
  • -
  • mDNS internal error
  • -
  • Adding a service is not allowed as it is already exist (duplicate service)
  • -
  • mDNS is not running
  • -
  • Host name error. Host name format is not allowed according to RFC 1033,1034,1035, 6763
  • -
  • List size buffer is bigger than internally allowed in the NWP (API get service list), change the APIs’ parameters to decrease the size of the list
  • -
-
-
See also
sl_NetAppMDNSUnRegisterService
-
Warning
1) Temporary - there is an allocation on stack of internal buffer. Its size is NETAPP_MDNS_MAX_SERVICE_NAME_AND_TEXT_LENGTH.
- It means that the sum of the text length and service name length cannot be bigger than NETAPP_MDNS_MAX_SERVICE_NAME_AND_TEXT_LENGTH.
- If it is - An error is returned.
- 2) According to now from certain constraints the variables parameters are set in the attribute part (contain constant parameters)
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
_i16 sl_NetAppMDNSUnRegisterService (const _i8 * pServiceName,
_u8 ServiceNameLen 
)
-
- -

Unregister mDNS service This function deletes the mDNS service from the mDNS package and the database.

-

The mDNS service that is to be unregistered is a service that the application no longer wishes to provide.
-The service name should be the full service name according to RFC of the DNS-SD - meaning the value in name field in the SRV answer.

-

Examples for service names:

    -
  1. PC1._ipp._tcp.local
  2. -
  3. PC2_server._ftp._tcp.local
  4. -
-
Parameters
- - - -
[in]pServiceNameFull service name.
- Example for service name:
    -
  1. PC1._ipp._tcp.local
  2. -
  3. PC2_server._ftp._tcp.local
  4. -
-
[in]ServiceLenThe length of the service.
-
-
-
Returns
On success, zero is returned
-
See also
sl_NetAppMDNSRegisterService
-
Note
-
Warning
The size of the service length should be smaller than 255.
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_i16 sl_NetAppPingStart (SlPingStartCommand_tpPingParams,
_u8 family,
SlPingReport_tpReport,
const P_SL_DEV_PING_CALLBACK pPingCallback 
)
-
- -

send ICMP ECHO_REQUEST to network hosts

-

Ping uses the ICMP protocol's mandatory ECHO_REQUEST

-
Parameters
- - - - - -
[in]pPingParamsPointer to the ping request structure:
-
    -
  • if flags parameter is set to 0, ping will report back once all requested pings are done (as defined by TotalNumberOfAttempts).
    -
  • -
  • if flags parameter is set to 1, ping will report back after every ping, for TotalNumberOfAttempts.
  • -
  • if flags parameter is set to 2, ping will stop after the first successful ping, and report back for the successful ping, as well as any preceding failed ones. For stopping an ongoing ping activity, set parameters IP address to 0
  • -
-
[in]familySL_AF_INET or SL_AF_INET6
[out]pReportPing pReport
[out]pCallbackCallback function upon completion. If callback is NULL, the API is blocked until data arrives
-
-
-
Returns
On success, zero is returned. On error, -1 is returned SL_POOL_IS_EMPTY may be return in case there are no resources in the system In this case try again later or increase MAX_CONCURRENT_ACTIONS
-
See also
sl_NetAppPingReport
-
Note
Only one sl_NetAppPingStart can be handled at a time. Calling this API while the same command is called from another thread, may result in one of the two scenarios:
    -
  1. The command will wait (internal) until the previous command finish, and then be executed.
  2. -
  3. There are not enough resources and SL_POOL_IS_EMPTY error will return. In this case, MAX_CONCURRENT_ACTIONS can be increased (result in memory increase) or try again later to issue the command.
  4. -
-
-
Warning
-
Example:
An example of sending 20 ping requests and reporting results to a callback routine when
-
all requests are sent:
-
-
// callback routine
-
void pingRes(SlPingReport_t* pReport)
-
{
-
// handle ping results
-
}
-
-
// ping activation
-
void PingTest()
-
{
- -
SlPingStartCommand_t pingCommand;
-
-
pingCommand.Ip = SL_IPV4_VAL(10,1,1,200); // destination IP address is 10.1.1.200
-
pingCommand.PingSize = 150; // size of ping, in bytes
-
pingCommand.PingIntervalTime = 100; // delay between pings, in milliseconds
-
pingCommand.PingRequestTimeout = 1000; // timeout for every ping in milliseconds
-
pingCommand.TotalNumberOfAttempts = 20; // max number of ping requests. 0 - forever
-
pingCommand.Flags = 0; // report only when finished
-
-
sl_NetAppPingStart( &pingCommand, SL_AF_INET, &report, pingRes ) ;
-
}
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_i32 sl_NetAppSet (_u8 AppId,
_u8 Option,
_u8 OptionLen,
_u8 * pOptionValue 
)
-
- -

Internal function for setting network application configurations.

-
Returns
On success, zero is returned. On error, -1 is returned
-
Parameters
- - - - - -
[in]AppIdApplication id, could be one of the following:
-
    -
  • SL_NET_APP_HTTP_SERVER_ID
  • -
  • SL_NET_APP_DHCP_SERVER_ID
  • -
  • SL_NET_APP_DHCP_SERVER_ID
  • -
-
[in]SetOptionsset option, could be one of the following:
- NETAPP_SET_BASIC_OPT
[in]OptionLenoption structure length
[in]pOptionValuespointer to the option structure
-
-
-
See also
-
Note
-
Warning
-
Set DHCP Server (AP mode) parameters example:
-
- -
_u8 outLen = sizeof(SlNetAppDhcpServerBasicOpt_t);
-
dhcpParams.lease_time = 4096; // lease time (in seconds) of the IP Address
-
dhcpParams.ipv4_addr_start = SL_IPV4_VAL(192,168,1,10); // first IP Address for allocation. IP Address should be set as Hex number - i.e. 0A0B0C01 for (10.11.12.1)
-
dhcpParams.ipv4_addr_last = SL_IPV4_VAL(192,168,1,16); // last IP Address for allocation. IP Address should be set as Hex number - i.e. 0A0B0C01 for (10.11.12.1)
-
sl_NetAppStop(SL_NET_APP_DHCP_SERVER_ID); // Stop DHCP server before settings
-
sl_NetAppSet(SL_NET_APP_DHCP_SERVER_ID, NETAPP_SET_DHCP_SRV_BASIC_OPT, outLen, (_u8* )&dhcpParams); // set parameters
-
sl_NetAppStart(SL_NET_APP_DHCP_SERVER_ID); // Start DHCP server with new settings
-
Set Device URN name example:
-
-
Device name, maximum length of 33 characters
-
Device name affects URN name, own SSID name in AP mode, and WPS file "device name" in WPS I.E (STA-WPS / P2P)
-
In case no device URN name set, the default name is "mysimplelink"
-
Allowed characters in device name are: 'a - z' , 'A - Z' , '0-9' and '-'
-
-
_u8 *my_device = "MY-SIMPLELINK-DEV";
-
sl_NetAppSet (SL_NET_APP_DEVICE_CONFIG_ID, NETAPP_SET_GET_DEV_CONF_OPT_DEVICE_URN, strlen(my_device), (_u8 *) my_device);
-
- -
-
- -
-
- - - - - - - - -
_i16 sl_NetAppStart (_u32 AppBitMap)
-
- -

Starts a network application.

-

Gets and starts network application for the current WLAN mode

-
Parameters
- - -
[in]AppBitMapapplication bitmap, could be one or combination of the following:
-
    -
  • SL_NET_APP_HTTP_SERVER_ID
  • -
  • SL_NET_APP_DHCP_SERVER_ID
  • -
  • SL_NET_APP_MDNS_ID
  • -
-
-
-
-
Returns
On error, negative number is returned
-
See also
Stop one or more the above started applications using sl_NetAppStop
-
Note
This command activates the application for the current WLAN mode (AP or STA)
-
Warning
-
Example:
For example: Starting internal HTTP server + DHCP server:
-
sl_NetAppStart(SL_NET_APP_HTTP_SERVER_ID | SL_NET_APP_DHCP_SERVER_ID)
-
- -
-
- -
-
- - - - - - - - -
_i16 sl_NetAppStop (_u32 AppBitMap)
-
- -

Stops a network application.

-

Gets and stops network application for the current WLAN mode

-
Parameters
- - -
[in]AppBitMapapplication id, could be one of the following:
-
    -
  • SL_NET_APP_HTTP_SERVER_ID
  • -
  • SL_NET_APP_DHCP_SERVER_ID
  • -
  • SL_NET_APP_MDNS_ID
  • -
-
-
-
-
Returns
On error, negative number is returned
-
See also
-
Note
This command disables the application for the current active WLAN mode (AP or STA)
-
Warning
-
Example:
For example: Stopping internal HTTP server:
-
sl_NetAppStop(SL_NET_APP_HTTP_SERVER_ID);
-
- -
-
-
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: Netapp + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Data Structures

struct  SlPingReport_t
 
struct  SlPingStartCommand_t
 
struct  _slHttpServerString_t
 
struct  _slHttpServerData_t
 
struct  _slHttpServerPostData_t
 
union  SlHttpServerEventData_u
 
union  SlHttpServerResponsedata_u
 
struct  SlHttpServerEvent_t
 
struct  SlHttpServerResponse_t
 
struct  SlNetAppDhcpServerBasicOpt_t
 
struct  SlNetAppGetShortServiceIpv4List_t
 
struct  SlNetAppGetFullServiceIpv4List_t
 
struct  SlNetAppGetFullServiceWithTextIpv4List_t
 
struct  SlNetAppServiceAdvertiseTimingParameters_t
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Macros

+#define SL_ERROR_NETAPP_RX_BUFFER_LENGTH_ERROR   (-230)
 
+#define MAX_INPUT_STRING   (64) /* because of WPA */
 
+#define MAX_AUTH_NAME_LEN   (20)
 
+#define MAX_AUTH_PASSWORD_LEN   (20)
 
+#define MAX_AUTH_REALM_LEN   (20)
 
+#define MAX_DEVICE_URN_LEN   (15+1)
 
+#define MAX_DOMAIN_NAME_LEN   (24+1)
 
+#define MAX_ACTION_LEN   (30)
 
+#define MAX_TOKEN_NAME_LEN   (20)
 
+#define MAX_TOKEN_VALUE_LEN   MAX_INPUT_STRING
 
+#define NETAPP_MAX_SERVICE_TEXT_SIZE   (256)
 
+#define NETAPP_MAX_SERVICE_NAME_SIZE   (60)
 
+#define NETAPP_MAX_SERVICE_HOST_NAME_SIZE   (64)
 
+#define SL_NETAPP_RESPONSE_NONE   (0)
 
+#define SL_NETAPP_HTTPSETTOKENVALUE   (1)
 
+#define SL_NETAPP_FAMILY_MASK   (0x80)
 
+#define SL_NET_APP_MASK_IPP_TYPE_OF_SERVICE   (0x00000001)
 
+#define SL_NET_APP_MASK_DEVICE_INFO_TYPE_OF_SERVICE   (0x00000002)
 
+#define SL_NET_APP_MASK_HTTP_TYPE_OF_SERVICE   (0x00000004)
 
+#define SL_NET_APP_MASK_HTTPS_TYPE_OF_SERVICE   (0x00000008)
 
+#define SL_NET_APP_MASK_WORKSATION_TYPE_OF_SERVICE   (0x00000010)
 
+#define SL_NET_APP_MASK_GUID_TYPE_OF_SERVICE   (0x00000020)
 
+#define SL_NET_APP_MASK_H323_TYPE_OF_SERVICE   (0x00000040)
 
+#define SL_NET_APP_MASK_NTP_TYPE_OF_SERVICE   (0x00000080)
 
+#define SL_NET_APP_MASK_OBJECITVE_TYPE_OF_SERVICE   (0x00000100)
 
+#define SL_NET_APP_MASK_RDP_TYPE_OF_SERVICE   (0x00000200)
 
+#define SL_NET_APP_MASK_REMOTE_TYPE_OF_SERVICE   (0x00000400)
 
+#define SL_NET_APP_MASK_RTSP_TYPE_OF_SERVICE   (0x00000800)
 
+#define SL_NET_APP_MASK_SIP_TYPE_OF_SERVICE   (0x00001000)
 
+#define SL_NET_APP_MASK_SMB_TYPE_OF_SERVICE   (0x00002000)
 
+#define SL_NET_APP_MASK_SOAP_TYPE_OF_SERVICE   (0x00004000)
 
+#define SL_NET_APP_MASK_SSH_TYPE_OF_SERVICE   (0x00008000)
 
+#define SL_NET_APP_MASK_TELNET_TYPE_OF_SERVICE   (0x00010000)
 
+#define SL_NET_APP_MASK_TFTP_TYPE_OF_SERVICE   (0x00020000)
 
+#define SL_NET_APP_MASK_XMPP_CLIENT_TYPE_OF_SERVICE   (0x00040000)
 
+#define SL_NET_APP_MASK_RAOP_TYPE_OF_SERVICE   (0x00080000)
 
+#define SL_NET_APP_MASK_ALL_TYPE_OF_SERVICE   (0xFFFFFFFF)
 
+#define SL_NET_APP_DNS_QUERY_NO_RESPONSE   (-159) /* DNS query failed, no response */
 
+#define SL_NET_APP_DNS_NO_SERVER   (-161) /* No DNS server was specified */
 
+#define SL_NET_APP_DNS_PARAM_ERROR   (-162) /* mDNS parameters error */
 
+#define SL_NET_APP_DNS_QUERY_FAILED   (-163) /* DNS query failed; no DNS server sent an 'answer' */
 
+#define SL_NET_APP_DNS_INTERNAL_1   (-164)
 
+#define SL_NET_APP_DNS_INTERNAL_2   (-165)
 
+#define SL_NET_APP_DNS_MALFORMED_PACKET   (-166) /* Improperly formed or corrupted DNS packet received */
 
+#define SL_NET_APP_DNS_INTERNAL_3   (-167)
 
+#define SL_NET_APP_DNS_INTERNAL_4   (-168)
 
+#define SL_NET_APP_DNS_INTERNAL_5   (-169)
 
+#define SL_NET_APP_DNS_INTERNAL_6   (-170)
 
+#define SL_NET_APP_DNS_INTERNAL_7   (-171)
 
+#define SL_NET_APP_DNS_INTERNAL_8   (-172)
 
+#define SL_NET_APP_DNS_INTERNAL_9   (-173)
 
+#define SL_NET_APP_DNS_MISMATCHED_RESPONSE   (-174) /* Server response type does not match the query request*/
 
+#define SL_NET_APP_DNS_INTERNAL_10   (-175)
 
+#define SL_NET_APP_DNS_INTERNAL_11   (-176)
 
+#define SL_NET_APP_DNS_NO_ANSWER   (-177) /* No response for one-shot query */
 
+#define SL_NET_APP_DNS_NO_KNOWN_ANSWER   (-178) /* No known answer for query */
 
+#define SL_NET_APP_DNS_NAME_MISMATCH   (-179) /* Illegal service name according to the RFC */
 
+#define SL_NET_APP_DNS_NOT_STARTED   (-180) /* mDNS is not running */
 
+#define SL_NET_APP_DNS_HOST_NAME_ERROR   (-181) /* Host name error. Host name format is not allowed according to RFC 1033,1034,1035, 6763 */
 
+#define SL_NET_APP_DNS_NO_MORE_ENTRIES   (-182) /* No more entries be found. */
 
+#define SL_NET_APP_DNS_MAX_SERVICES_ERROR   (-200) /* Maximum advertise services are already configured */
 
+#define SL_NET_APP_DNS_IDENTICAL_SERVICES_ERROR   (-201) /* Trying to register a service that is already exists */
 
+#define SL_NET_APP_DNS_NOT_EXISTED_SERVICE_ERROR   (-203) /* Trying to delete service that does not existed */
 
+#define SL_NET_APP_DNS_ERROR_SERVICE_NAME_ERROR   (-204) /* Illegal service name according to the RFC */
 
+#define SL_NET_APP_DNS_RX_PACKET_ALLOCATION_ERROR   (-205) /* Retry request */
 
+#define SL_NET_APP_DNS_BUFFER_SIZE_ERROR   (-206) /* List size buffer is bigger than internally allowed in the NWP */
 
+#define SL_NET_APP_DNS_NET_APP_SET_ERROR   (-207) /* Illegal length of one of the mDNS Set functions */
 
+#define SL_NET_APP_DNS_GET_SERVICE_LIST_FLAG_ERROR   (-208)
 
+#define SL_NET_APP_DNS_NO_CONFIGURATION_ERROR   (-209)
 
+#define SL_ERROR_DEVICE_NAME_LEN_ERR   (-117)
 
+#define SL_ERROR_DEVICE_NAME_INVALID   (-118)
 
+#define SL_ERROR_DOMAIN_NAME_LEN_ERR   (-119)
 
+#define SL_ERROR_DOMAIN_NAME_INVALID   (-120)
 
+#define SL_NET_APP_HTTP_SERVER_ID   (1)
 
+#define SL_NET_APP_DHCP_SERVER_ID   (2)
 
+#define SL_NET_APP_MDNS_ID   (4)
 
+#define SL_NET_APP_DNS_SERVER_ID   (8)
 
+#define SL_NET_APP_DEVICE_CONFIG_ID   (16)
 
+#define NETAPP_SET_DHCP_SRV_BASIC_OPT   (0)
 
+#define NETAPP_SET_GET_HTTP_OPT_PORT_NUMBER   (0)
 
+#define NETAPP_SET_GET_HTTP_OPT_AUTH_CHECK   (1)
 
+#define NETAPP_SET_GET_HTTP_OPT_AUTH_NAME   (2)
 
+#define NETAPP_SET_GET_HTTP_OPT_AUTH_PASSWORD   (3)
 
+#define NETAPP_SET_GET_HTTP_OPT_AUTH_REALM   (4)
 
+#define NETAPP_SET_GET_HTTP_OPT_ROM_PAGES_ACCESS   (5)
 
+#define NETAPP_SET_GET_MDNS_CONT_QUERY_OPT   (1)
 
+#define NETAPP_SET_GET_MDNS_QEVETN_MASK_OPT   (2)
 
+#define NETAPP_SET_GET_MDNS_TIMING_PARAMS_OPT   (3)
 
+#define NETAPP_SET_GET_DNS_OPT_DOMAIN_NAME   (0)
 
+#define NETAPP_SET_GET_DEV_CONF_OPT_DEVICE_URN   (0)
 
+#define NETAPP_SET_GET_DEV_CONF_OPT_DOMAIN_NAME   (1)
 
+ + + + + + + + + +

+Typedefs

+typedef struct
+_slHttpServerString_t 
slHttpServerString_t
 
+typedef struct _slHttpServerData_t slHttpServerData_t
 
+typedef struct
+_slHttpServerPostData_t 
slHttpServerPostData_t
 
+typedef void(* P_SL_DEV_PING_CALLBACK )(SlPingReport_t *)
 
+ + + +

+Enumerations

enum  SlNetAppGetServiceListType_e { SL_NET_APP_FULL_SERVICE_WITH_TEXT_IPV4_TYPE = 1, +SL_NET_APP_FULL_SERVICE_IPV4_TYPE, +SL_NET_APP_SHORT_SERVICE_IPV4_TYPE + }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

_i16 sl_NetAppStart (const _u32 AppBitMap)
 Starts a network application. More...
 
_i16 sl_NetAppStop (const _u32 AppBitMap)
 Stops a network application. More...
 
_i16 sl_NetAppDnsGetHostByName (_i8 *hostname, const _u16 usNameLen, _u32 *out_ip_addr, const _u8 family)
 Get host IP by name. More...
 
_i32 sl_NetAppDnsGetHostByService (_i8 *pServiceName, const _u8 ServiceLen, const _u8 Family, _u32 pAddr[], _u32 *pPort, _u16 *pTextLen, _i8 *pText)
 Return service attributes like IP address, port and text according to service name. More...
 
_i16 sl_NetAppGetServiceList (const _u8 IndexOffest, const _u8 MaxServiceCount, const _u8 Flags, _i8 *pBuffer, const _u32 RxBufferLength)
 Get service List Insert into out pBuffer a list of peer's services that are the NWP. The list is in a form of service struct. The user should chose the type of the service struct like: More...
 
_i16 sl_NetAppMDNSUnRegisterService (const _i8 *pServiceName, const _u8 ServiceNameLen)
 Unregister mDNS service This function deletes the mDNS service from the mDNS package and the database. More...
 
_i16 sl_NetAppMDNSRegisterService (const _i8 *pServiceName, const _u8 ServiceNameLen, const _i8 *pText, const _u8 TextLen, const _u16 Port, const _u32 TTL, _u32 Options)
 Register a new mDNS service. More...
 
_i16 sl_NetAppPingStart (const SlPingStartCommand_t *pPingParams, const _u8 family, SlPingReport_t *pReport, const P_SL_DEV_PING_CALLBACK pPingCallback)
 send ICMP ECHO_REQUEST to network hosts More...
 
_i32 sl_NetAppSet (const _u8 AppId, const _u8 Option, const _u8 OptionLen, const _u8 *pOptionValue)
 Internal function for setting network application configurations. More...
 
_i32 sl_NetAppGet (const _u8 AppId, const _u8 Option, _u8 *pOptionLen, _u8 *pOptionValue)
 Internal function for getting network applications configurations. More...
 
+

Detailed Description

+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_i16 sl_NetAppDnsGetHostByName (_i8 * hostname,
const _u16 usNameLen,
_u32 * out_ip_addr,
const _u8 family 
)
+
+ +

Get host IP by name.

+

Obtain the IP Address of machine on network, by machine name.

+
Parameters
+ + + + + +
[in]hostnamehost name
[in]usNameLenname length
[out]out_ip_addrThis parameter is filled in with host IP address. In case that host name is not resolved, out_ip_addr is zero.
[in]familyprotocol family
+
+
+
Returns
On success, 0 is returned. On error, negative is returned SL_POOL_IS_EMPTY may be return in case there are no resources in the system In this case try again later or increase MAX_CONCURRENT_ACTIONS Possible DNS error codes:
    +
  • SL_NET_APP_DNS_QUERY_NO_RESPONSE
  • +
  • SL_NET_APP_DNS_NO_SERVER
  • +
  • SL_NET_APP_DNS_QUERY_FAILED
  • +
  • SL_NET_APP_DNS_MALFORMED_PACKET
  • +
  • SL_NET_APP_DNS_MISMATCHED_RESPONSE
  • +
+
+
See Also
+
Note
Only one sl_NetAppDnsGetHostByName can be handled at a time. Calling this API while the same command is called from another thread, may result in one of the two scenarios:
    +
  1. The command will wait (internal) until the previous command finish, and then be executed.
  2. +
  3. There are not enough resources and POOL_IS_EMPTY error will return. In this case, MAX_CONCURRENT_ACTIONS can be increased (result in memory increase) or try again later to issue the command.
  4. +
+
+
Warning
In case an IP address in a string format is set as input, without any prefix (e.g. "1.2.3.4") the device will not try to access the DNS and it will return the input address on the 'out_ip_addr' field
+
Example:
_u32 DestinationIP;
+
sl_NetAppDnsGetHostByName("www.google.com", strlen("www.google.com"), &DestinationIP,SL_AF_INET);
+
+
Addr.sin_family = SL_AF_INET;
+
Addr.sin_port = sl_Htons(80);
+
Addr.sin_addr.s_addr = sl_Htonl(DestinationIP);
+
AddrSize = sizeof(SlSockAddrIn_t);
+
SockID = sl_Socket(SL_AF_INET,SL_SOCK_STREAM, 0);
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_i32 sl_NetAppDnsGetHostByService (_i8 * pServiceName,
const _u8 ServiceLen,
const _u8 Family,
_u32 pAddr[],
_u32 * pPort,
_u16 * pTextLen,
_i8 * pText 
)
+
+ +

Return service attributes like IP address, port and text according to service name.

+
The user sets a service name Full/Part (see example below), and should get:
    +
  • IP of service
  • +
  • The port of service
  • +
  • The text of service
  • +
+
+

Hence it can make a connection to the specific service and use it. It is similar to get host by name method. It is done by a single shot query with PTR type on the service name. The command that is sent is from constant parameters and variables parameters.

+
Parameters
+ + + + + + + + +
[in]pServiceService name can be full or partial.
+ Example for full service name:
    +
  1. PC1._ipp._tcp.local
  2. +
  3. PC2_server._ftp._tcp.local
    +
  4. +
+Example for partial service name:
    +
  1. _ipp._tcp.local
  2. +
  3. _ftp._tcp.local
  4. +
+
[in]ServiceLenThe length of the service name (in_pService).
[in]FamilyIPv4 or IPv6 (SL_AF_INET , SL_AF_INET6).
[out]pAddrContains the IP address of the service.
[out]pPortContains the port of the service.
[out]pTextLenHas 2 options. One as Input field and the other one as output:
    +
  • Input:
    + Contains the max length of the text that the user wants to get.
    + It means that if the text len of service is bigger that its value than the text is cut to inout_TextLen value.
  • +
  • Output:
    + Contain the length of the text that is returned. Can be full text or part of the text (see above).
  • +
+
[out]pOut_pTextContains the text of the service full or partial
+
+
+
Returns
On success, zero is returned SL_POOL_IS_EMPTY may be return in case there are no resources in the system In this case try again later or increase MAX_CONCURRENT_ACTIONS In case No service is found error SL_NET_APP_DNS_NO_ANSWER will be returned
+
Note
The returns attributes belongs to the first service found. There may be other services with the same service name that will response to the query. The results of these responses are saved in the peer cache of the Device and should be read by another API.
+

Only one sl_NetAppDnsGetHostByService can be handled at a time. Calling this API while the same command is called from another thread, may result in one of the two scenarios:

+
    +
  1. The command will wait (internal) until the previous command finish, and then be executed.
  2. +
  3. There are not enough resources and SL_POOL_IS_EMPTY error will return. In this case, MAX_CONCURRENT_ACTIONS can be increased (result in memory increase) or try again later to issue the command.
  4. +
+
Warning
Text length can be 120 bytes only
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_i32 sl_NetAppGet (const _u8 AppId,
const _u8 Option,
_u8 * pOptionLen,
_u8 * pOptionValue 
)
+
+ +

Internal function for getting network applications configurations.

+
Returns
On success, zero is returned. On error, -1 is returned
+
Parameters
+ + + + + +
[in]AppIdApplication id, could be one of the following:
+
    +
  • SL_NET_APP_HTTP_SERVER_ID
  • +
  • SL_NET_APP_DHCP_SERVER_ID
  • +
  • SL_NET_APP_MDNS_ID
  • +
  • SL_NET_APP_DEVICE_CONFIG_ID
  • +
+
[in]SetOptionsset option, could be one of the following:
+
    +
  • SL_NET_APP_DHCP_SERVER_ID
      +
    • NETAPP_SET_DHCP_SRV_BASIC_OPT
    • +
    +
  • +
  • SL_NET_APP_HTTP_SERVER_ID
      +
    • NETAPP_SET_GET_HTTP_OPT_PORT_NUMBER
    • +
    • NETAPP_SET_GET_HTTP_OPT_AUTH_CHECK
    • +
    • NETAPP_SET_GET_HTTP_OPT_AUTH_NAME
    • +
    • NETAPP_SET_GET_HTTP_OPT_AUTH_PASSWORD
    • +
    • NETAPP_SET_GET_HTTP_OPT_AUTH_REALM
    • +
    • NETAPP_SET_GET_HTTP_OPT_ROM_PAGES_ACCESS
    • +
    +
  • +
  • SL_NET_APP_MDNS_ID
      +
    • NETAPP_SET_GET_MDNS_CONT_QUERY_OPT
    • +
    • NETAPP_SET_GET_MDNS_QEVETN_MASK_OPT
    • +
    • NETAPP_SET_GET_MDNS_TIMING_PARAMS_OPT
    • +
    +
  • +
  • SL_NET_APP_DEVICE_CONFIG_ID
      +
    • NETAPP_SET_GET_DEV_CONF_OPT_DEVICE_URN
    • +
    • NETAPP_SET_GET_DEV_CONF_OPT_DOMAIN_NAME
    • +
    +
  • +
+
[in]OptionLenThe length of the allocated memory as input, when the function complete, the value of this parameter would be the len that actually read from the device. If the device return length that is longer from the input value, the function will cut the end of the returned structure and will return ESMALLBUF
[out]pValuespointer to the option structure which will be filled with the response from the device
+
+
+
See Also
+
Note
+
Warning
+
Get DHCP Server parameters example:
+
+ +
_u8 outLen = sizeof(SlNetAppDhcpServerBasicOpt_t);
+
sl_NetAppGet(SL_NET_APP_DHCP_SERVER_ID, NETAPP_SET_DHCP_SRV_BASIC_OPT, &outLen, (_u8* )&dhcpParams);
+
+
printf("DHCP Start IP %d.%d.%d.%d End IP %d.%d.%d.%d Lease time seconds %d\n",
+
SL_IPV4_BYTE(dhcpParams.ipv4_addr_start,3),SL_IPV4_BYTE(dhcpParams.ipv4_addr_start,2),
+
SL_IPV4_BYTE(dhcpParams.ipv4_addr_start,1),SL_IPV4_BYTE(dhcpParams.ipv4_addr_start,0),
+
SL_IPV4_BYTE(dhcpParams.ipv4_addr_last,3),SL_IPV4_BYTE(dhcpParams.ipv4_addr_last,2),
+
SL_IPV4_BYTE(dhcpParams.ipv4_addr_last,1),SL_IPV4_BYTE(dhcpParams.ipv4_addr_last,0),
+
dhcpParams.lease_time);
+
Get Device URN name example:
+
Maximum length of 33 characters of device name.
+
Device name affects URN name, own SSID name in AP mode, and WPS file "device name" in WPS I.E (STA-WPS / P2P)
+
in case no device URN name set, the default name is "mysimplelink"
+
+
_u8 my_device_name[35];
+
sl_NetAppGet (SL_NET_APP_DEVICE_CONFIG_ID, NETAPP_SET_GET_DEV_CONF_OPT_DEVICE_URN, strlen(my_device_name), (_u8 *)my_device_name);
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_i16 sl_NetAppGetServiceList (const _u8 IndexOffest,
const _u8 MaxServiceCount,
const _u8 Flags,
_i8 * pBuffer,
const _u32 RxBufferLength 
)
+
+ +

Get service List Insert into out pBuffer a list of peer's services that are the NWP. The list is in a form of service struct. The user should chose the type of the service struct like:

+
 - Full service parameters with text.
+ - Full service parameters.
+ - Short service parameters (port and IP only) especially for tiny hosts.
+

The different types of struct are made to give the Possibility to save memory in the host

+

The user also chose how many max services to get and start point index NWP peer cache. For example:

+
    +
  1. Get max of 3 full services from index 0.Up to 3 full services from index 0 are inserted into pBuffer (services that are in indexes 0,1,2).
  2. +
  3. Get max of 4 full services from index 3.Up to 4 full services from index 3 are inserted into pBuffer (services that are in indexes 3,4,5,6).
  4. +
  5. Get max of 2 int services from index 6.Up to 2 int services from index 6 are inserted into pBuffer (services that are in indexes 6,7).
  6. +
+

See below - command parameters.

+
Parameters
+ + + + + +
[in]indexOffset- The start index in the peer cache that from it the first service is returned.
[in]MaxServiceCount- The Max services that can be returned if existed or if not exceed the max index in the peer cache
[in]Flags- an ENUM number that means which service struct to use (means which types of service to fill) +
[out]Buffer- The Services are inserted into this buffer. In the struct form according to the bit that is set in the Flags input parameter.
+
+
+
Returns
ServiceFoundCount - The number of the services that were inserted into the buffer. zero means no service is found negative number means an error
+
See Also
sl_NetAppMDNSRegisterService
+
Note
+
Warning
if the out pBuffer size is bigger than an RX packet(1480), than an error is returned because there is no place in the RX packet. The size is a multiply of MaxServiceCount and size of service struct(that is set according to flag value).
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_i16 sl_NetAppMDNSRegisterService (const _i8 * pServiceName,
const _u8 ServiceNameLen,
const _i8 * pText,
const _u8 TextLen,
const _u16 Port,
const _u32 TTL,
_u32 Options 
)
+
+ +

Register a new mDNS service.

+
This function registers a new mDNS service to the mDNS package and the DB.
+

This registered service is a service offered by the application. The service name should be full service name according to RFC of the DNS-SD - meaning the value in name field in the SRV answer. Example for service name:

+
    +
  1. PC1._ipp._tcp.local
  2. +
  3. PC2_server._ftp._tcp.local
  4. +
+

If the option is_unique is set, mDNS probes the service name to make sure it is unique before starting to announce the service on the network. Instance is the instance portion of the service name.

+
Parameters
+ + + + + + + + +
[in]ServiceLenThe length of the service.
[in]TextLenThe length of the service should be smaller than 64.
[in]portThe port on this target host port.
[in]TTLThe TTL of the service
[in]Optionsbitwise parameters:
+
    +
  • bit 0 - service is unique (means that the service needs to be unique)
  • +
  • bit 31 - for internal use if the service should be added or deleted (set means ADD).
  • +
  • bit 1-30 for future.
  • +
+
[in]pServiceNameThe service name. Example for service name:
+
    +
  1. PC1._ipp._tcp.local
  2. +
  3. PC2_server._ftp._tcp.local
  4. +
+
[in]pTextThe description of the service. should be as mentioned in the RFC (according to type of the service IPP,FTP...)
+
+
+
Returns
On success, zero is returned Possible error codes:
    +
  • Maximum advertise services are already configured. Delete another existed service that is registered and then register again the new service
  • +
  • Trying to register a service that is already exists
  • +
  • Trying to delete service that does not existed
  • +
  • Illegal service name according to the RFC
  • +
  • Retry request
  • +
  • Illegal length of one of the mDNS Set functions
  • +
  • mDNS is not operational as the device has no IP.Connect the device to an AP to get an IP address.
  • +
  • mDNS parameters error
  • +
  • mDNS internal cache error
  • +
  • mDNS internal error
  • +
  • Adding a service is not allowed as it is already exist (duplicate service)
  • +
  • mDNS is not running
  • +
  • Host name error. Host name format is not allowed according to RFC 1033,1034,1035, 6763
  • +
  • List size buffer is bigger than internally allowed in the NWP (API get service list), change the APIs’ parameters to decrease the size of the list
  • +
+
+
See Also
sl_NetAppMDNSUnRegisterService
+
Warning
1) Temporary - there is an allocation on stack of internal buffer. Its size is NETAPP_MDNS_MAX_SERVICE_NAME_AND_TEXT_LENGTH.
+ It means that the sum of the text length and service name length cannot be bigger than NETAPP_MDNS_MAX_SERVICE_NAME_AND_TEXT_LENGTH.
+ If it is - An error is returned.
+ 2) According to now from certain constraints the variables parameters are set in the attribute part (contain constant parameters)
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
_i16 sl_NetAppMDNSUnRegisterService (const _i8 * pServiceName,
const _u8 ServiceNameLen 
)
+
+ +

Unregister mDNS service This function deletes the mDNS service from the mDNS package and the database.

+

The mDNS service that is to be unregistered is a service that the application no longer wishes to provide.
+ The service name should be the full service name according to RFC of the DNS-SD - meaning the value in name field in the SRV answer.

+

Examples for service names:

+
    +
  1. PC1._ipp._tcp.local
  2. +
  3. PC2_server._ftp._tcp.local
  4. +
+
Parameters
+ + + +
[in]pServiceNameFull service name.
+ Example for service name:
    +
  1. PC1._ipp._tcp.local
  2. +
  3. PC2_server._ftp._tcp.local
  4. +
+
[in]ServiceLenThe length of the service.
+
+
+
Returns
On success, zero is returned
+
See Also
sl_NetAppMDNSRegisterService
+
Note
+
Warning
The size of the service length should be smaller than 255.
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_i16 sl_NetAppPingStart (const SlPingStartCommand_tpPingParams,
const _u8 family,
SlPingReport_tpReport,
const P_SL_DEV_PING_CALLBACK pPingCallback 
)
+
+ +

send ICMP ECHO_REQUEST to network hosts

+

Ping uses the ICMP protocol's mandatory ECHO_REQUEST

+
Parameters
+ + + + + +
[in]pPingParamsPointer to the ping request structure:
+
    +
  • if flags parameter is set to 0, ping will report back once all requested pings are done (as defined by TotalNumberOfAttempts).
    +
  • +
  • if flags parameter is set to 1, ping will report back after every ping, for TotalNumberOfAttempts.
  • +
  • if flags parameter is set to 2, ping will stop after the first successful ping, and report back for the successful ping, as well as any preceding failed ones. For stopping an ongoing ping activity, set parameters IP address to 0
  • +
+
[in]familySL_AF_INET or SL_AF_INET6
[out]pReportPing pReport
[out]pCallbackCallback function upon completion. If callback is NULL, the API is blocked until data arrives
+
+
+
Returns
On success, zero is returned. On error, -1 is returned SL_POOL_IS_EMPTY may be return in case there are no resources in the system In this case try again later or increase MAX_CONCURRENT_ACTIONS
+
See Also
sl_NetAppPingReport
+
Note
Only one sl_NetAppPingStart can be handled at a time. Calling this API while the same command is called from another thread, may result in one of the two scenarios:
    +
  1. The command will wait (internal) until the previous command finish, and then be executed.
  2. +
  3. There are not enough resources and SL_POOL_IS_EMPTY error will return. In this case, MAX_CONCURRENT_ACTIONS can be increased (result in memory increase) or try again later to issue the command.
  4. +
+
+
Warning
+
Example:
An example of sending 20 ping requests and reporting results to a callback routine when
+
all requests are sent:
+
+
// callback routine
+
void pingRes(SlPingReport_t* pReport)
+
{
+
// handle ping results
+
}
+
+
// ping activation
+
void PingTest()
+
{
+ +
SlPingStartCommand_t pingCommand;
+
+
pingCommand.Ip = SL_IPV4_VAL(10,1,1,200); // destination IP address is 10.1.1.200
+
pingCommand.PingSize = 150; // size of ping, in bytes
+
pingCommand.PingIntervalTime = 100; // delay between pings, in milliseconds
+
pingCommand.PingRequestTimeout = 1000; // timeout for every ping in milliseconds
+
pingCommand.TotalNumberOfAttempts = 20; // max number of ping requests. 0 - forever
+
pingCommand.Flags = 0; // report only when finished
+
+
sl_NetAppPingStart( &pingCommand, SL_AF_INET, &report, pingRes ) ;
+
}
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_i32 sl_NetAppSet (const _u8 AppId,
const _u8 Option,
const _u8 OptionLen,
const _u8 * pOptionValue 
)
+
+ +

Internal function for setting network application configurations.

+
Returns
On success, zero is returned. On error, -1 is returned
+
Parameters
+ + + + + +
[in]AppIdApplication id, could be one of the following:
+
    +
  • SL_NET_APP_HTTP_SERVER_ID
  • +
  • SL_NET_APP_DHCP_SERVER_ID
  • +
  • SL_NET_APP_MDNS_ID
  • +
  • SL_NET_APP_DEVICE_CONFIG_ID
  • +
+
[in]SetOptionsset option, could be one of the following:
+
    +
  • SL_NET_APP_DHCP_SERVER_ID
      +
    • NETAPP_SET_DHCP_SRV_BASIC_OPT
    • +
    +
  • +
  • SL_NET_APP_HTTP_SERVER_ID
      +
    • NETAPP_SET_GET_HTTP_OPT_PORT_NUMBER
    • +
    • NETAPP_SET_GET_HTTP_OPT_AUTH_CHECK
    • +
    • NETAPP_SET_GET_HTTP_OPT_AUTH_NAME
    • +
    • NETAPP_SET_GET_HTTP_OPT_AUTH_PASSWORD
    • +
    • NETAPP_SET_GET_HTTP_OPT_AUTH_REALM
    • +
    • NETAPP_SET_GET_HTTP_OPT_ROM_PAGES_ACCESS
    • +
    +
  • +
  • SL_NET_APP_MDNS_ID
      +
    • NETAPP_SET_GET_MDNS_CONT_QUERY_OPT
    • +
    • NETAPP_SET_GET_MDNS_QEVETN_MASK_OPT
    • +
    • NETAPP_SET_GET_MDNS_TIMING_PARAMS_OPT
    • +
    +
  • +
  • SL_NET_APP_DEVICE_CONFIG_ID
      +
    • NETAPP_SET_GET_DEV_CONF_OPT_DEVICE_URN
    • +
    • NETAPP_SET_GET_DEV_CONF_OPT_DOMAIN_NAME
    • +
    +
  • +
+
[in]OptionLenoption structure length
[in]pOptionValuespointer to the option structure
+
+
+
See Also
+
Note
+
Warning
+
Set DHCP Server (AP mode) parameters example:
+
+ +
_u8 outLen = sizeof(SlNetAppDhcpServerBasicOpt_t);
+
dhcpParams.lease_time = 4096; // lease time (in seconds) of the IP Address
+
dhcpParams.ipv4_addr_start = SL_IPV4_VAL(192,168,1,10); // first IP Address for allocation. IP Address should be set as Hex number - i.e. 0A0B0C01 for (10.11.12.1)
+
dhcpParams.ipv4_addr_last = SL_IPV4_VAL(192,168,1,16); // last IP Address for allocation. IP Address should be set as Hex number - i.e. 0A0B0C01 for (10.11.12.1)
+
sl_NetAppStop(SL_NET_APP_DHCP_SERVER_ID); // Stop DHCP server before settings
+
sl_NetAppSet(SL_NET_APP_DHCP_SERVER_ID, NETAPP_SET_DHCP_SRV_BASIC_OPT, outLen, (_u8* )&dhcpParams); // set parameters
+
sl_NetAppStart(SL_NET_APP_DHCP_SERVER_ID); // Start DHCP server with new settings
+
Set Device URN name example:
+
+
Device name, maximum length of 33 characters
+
Device name affects URN name, own SSID name in AP mode, and WPS file "device name" in WPS I.E (STA-WPS / P2P)
+
In case no device URN name set, the default name is "mysimplelink"
+
Allowed characters in device name are: 'a - z' , 'A - Z' , '0-9' and '-'
+
+
_u8 *my_device = "MY-SIMPLELINK-DEV";
+
sl_NetAppSet (SL_NET_APP_DEVICE_CONFIG_ID, NETAPP_SET_GET_DEV_CONF_OPT_DEVICE_URN, strlen(my_device), (_u8 *) my_device);
+
+ +
+
+ +
+
+ + + + + + + + +
_i16 sl_NetAppStart (const _u32 AppBitMap)
+
+ +

Starts a network application.

+

Gets and starts network application for the current WLAN mode

+
Parameters
+ + +
[in]AppBitMapapplication bitmap, could be one or combination of the following:
+
    +
  • SL_NET_APP_HTTP_SERVER_ID
  • +
  • SL_NET_APP_DHCP_SERVER_ID
  • +
  • SL_NET_APP_MDNS_ID
  • +
+
+
+
+
Returns
On error, negative number is returned
+
See Also
Stop one or more the above started applications using sl_NetAppStop
+
Note
This command activates the application for the current WLAN mode (AP or STA)
+
Warning
+
Example:
For example: Starting internal HTTP server + DHCP server:
+
sl_NetAppStart(SL_NET_APP_HTTP_SERVER_ID | SL_NET_APP_DHCP_SERVER_ID)
+
+ +
+
+ +
+
+ + + + + + + + +
_i16 sl_NetAppStop (const _u32 AppBitMap)
+
+ +

Stops a network application.

+

Gets and stops network application for the current WLAN mode

+
Parameters
+ + +
[in]AppBitMapapplication id, could be one of the following:
+
    +
  • SL_NET_APP_HTTP_SERVER_ID
  • +
  • SL_NET_APP_DHCP_SERVER_ID
  • +
  • SL_NET_APP_MDNS_ID
  • +
+
+
+
+
Returns
On error, negative number is returned
+
See Also
+
Note
This command disables the application for the current active WLAN mode (AP or STA)
+
Warning
+
Example:
For example: Stopping internal HTTP server:
+
sl_NetAppStop(SL_NET_APP_HTTP_SERVER_ID);
+
+ +
+
+
+
+ + + + diff --git a/docs/simplelink_api/html/group__netapp.js b/docs/simplelink_api/html/group__netapp.js index 04c160b..841b8fa 100644 --- a/docs/simplelink_api/html/group__netapp.js +++ b/docs/simplelink_api/html/group__netapp.js @@ -1,95 +1,95 @@ -var group__netapp = -[ - [ "SlPingReport_t", "struct_sl_ping_report__t.html", [ - [ "AvgRoundTime", "struct_sl_ping_report__t.html#a5d610bdde4039525984224ee0f35b6d9", null ], - [ "MaxRoundTime", "struct_sl_ping_report__t.html#abb8b750ec3b99bcac2b1a84c611c6d2a", null ], - [ "MinRoundTime", "struct_sl_ping_report__t.html#a10437a22b3604a1fbe4cb91bd711077f", null ], - [ "PacketsReceived", "struct_sl_ping_report__t.html#ac8e9ea566ef6bd2acb54a6af9677486a", null ], - [ "PacketsSent", "struct_sl_ping_report__t.html#a92813cdd58af8c15929270ccf61b26a2", null ], - [ "TestTime", "struct_sl_ping_report__t.html#af7da9681c2b355a3261a476f353bfe93", null ] - ] ], - [ "SlPingStartCommand_t", "struct_sl_ping_start_command__t.html", [ - [ "Flags", "struct_sl_ping_start_command__t.html#abc512772e263735c06e9072f94c92952", null ], - [ "Ip", "struct_sl_ping_start_command__t.html#a16ea88b3a07d38c6e26af86e4d9e04aa", null ], - [ "Ip1OrPaadding", "struct_sl_ping_start_command__t.html#aba8221b8c6c4e83f843e7cf2b63ec649", null ], - [ "Ip2OrPaadding", "struct_sl_ping_start_command__t.html#a5e17ea66dfb99beb88bd64c847954444", null ], - [ "Ip3OrPaadding", "struct_sl_ping_start_command__t.html#af95d2469f8867016b655574752e3f905", null ], - [ "PingIntervalTime", "struct_sl_ping_start_command__t.html#a0b36eb660aeeb08cc0e280ee657b7192", null ], - [ "PingRequestTimeout", "struct_sl_ping_start_command__t.html#a15c82a992940a12e86afd8b3b34436ed", null ], - [ "PingSize", "struct_sl_ping_start_command__t.html#a4323564c51aa12dd8930e39566fd8625", null ], - [ "TotalNumberOfAttempts", "struct_sl_ping_start_command__t.html#a994b4b990c3ea36ca117cf3fd0943f0d", null ] - ] ], - [ "_slHttpServerString_t", "struct__sl_http_server_string__t.html", [ - [ "data", "struct__sl_http_server_string__t.html#ae2f1a2294cac364e7901e04f5821ede8", null ], - [ "len", "struct__sl_http_server_string__t.html#acc9fcad2930f408ce8147134702a4ff3", null ] - ] ], - [ "_slHttpServerData_t", "struct__sl_http_server_data__t.html", [ - [ "name_len", "struct__sl_http_server_data__t.html#a295865b2d6f6091bc35d8de6e8cae731", null ], - [ "token_name", "struct__sl_http_server_data__t.html#adff3bc96f451530f4776b011f36a3c2a", null ], - [ "token_value", "struct__sl_http_server_data__t.html#a2283b20c750664ec3b4301cb8e64f198", null ], - [ "value_len", "struct__sl_http_server_data__t.html#ae6d3f66fb64a31cc12909a1ec028387b", null ] - ] ], - [ "_slHttpServerPostData_t", "struct__sl_http_server_post_data__t.html", [ - [ "action", "struct__sl_http_server_post_data__t.html#a76122764e78b080056125b9ef28ada7b", null ], - [ "token_name", "struct__sl_http_server_post_data__t.html#ac32e60a343288e97e368ae665adf7442", null ], - [ "token_value", "struct__sl_http_server_post_data__t.html#ac17cbf485a7c72aa811cfda94d8649c6", null ] - ] ], - [ "SlHttpServerEventData_u", "union_sl_http_server_event_data__u.html", [ - [ "httpPostData", "union_sl_http_server_event_data__u.html#a4c697e1d747be7f899ab3593a57fb575", null ], - [ "httpTokenName", "union_sl_http_server_event_data__u.html#afe08fe6236a178fb1bd225b511f64ab9", null ] - ] ], - [ "SlHttpServerResponsedata_u", "union_sl_http_server_responsedata__u.html", [ - [ "token_value", "union_sl_http_server_responsedata__u.html#ac17cbf485a7c72aa811cfda94d8649c6", null ] - ] ], - [ "SlHttpServerEvent_t", "struct_sl_http_server_event__t.html", [ - [ "Event", "struct_sl_http_server_event__t.html#adeedbaaa252b969fc66e151eef37ea62", null ], - [ "EventData", "struct_sl_http_server_event__t.html#aea6d012a43dcb8ded6b90686ceaef0f7", null ] - ] ], - [ "SlHttpServerResponse_t", "struct_sl_http_server_response__t.html", [ - [ "Response", "struct_sl_http_server_response__t.html#acc4e0dc6756b696c4e2bbdd3f75d1123", null ], - [ "ResponseData", "struct_sl_http_server_response__t.html#a79b6c5114e9f6da69c3113d4be87a943", null ] - ] ], - [ "SlNetAppDhcpServerBasicOpt_t", "struct_sl_net_app_dhcp_server_basic_opt__t.html", [ - [ "ipv4_addr_last", "struct_sl_net_app_dhcp_server_basic_opt__t.html#a3658ee49e477ac75294c4dcb44e9469b", null ], - [ "ipv4_addr_start", "struct_sl_net_app_dhcp_server_basic_opt__t.html#ad89c28578421c014b62f5edd796760b1", null ], - [ "lease_time", "struct_sl_net_app_dhcp_server_basic_opt__t.html#ae870c09512e5404d8fd6a94d899d52b5", null ] - ] ], - [ "SlNetAppGetShortServiceIpv4List_t", "struct_sl_net_app_get_short_service_ipv4_list__t.html", [ - [ "Reserved", "struct_sl_net_app_get_short_service_ipv4_list__t.html#a3f5363b14f728fe990328585ccbc70e1", null ], - [ "service_ipv4", "struct_sl_net_app_get_short_service_ipv4_list__t.html#a1a2075c35d52286cb696f878738d30be", null ], - [ "service_port", "struct_sl_net_app_get_short_service_ipv4_list__t.html#a526174fd4b7f339328e315dbb01c19f7", null ] - ] ], - [ "SlNetAppGetFullServiceIpv4List_t", "struct_sl_net_app_get_full_service_ipv4_list__t.html", [ - [ "Reserved", "struct_sl_net_app_get_full_service_ipv4_list__t.html#a3f5363b14f728fe990328585ccbc70e1", null ], - [ "service_host", "struct_sl_net_app_get_full_service_ipv4_list__t.html#aeb85c9d6321692e2622077406052c2c2", null ], - [ "service_ipv4", "struct_sl_net_app_get_full_service_ipv4_list__t.html#a1a2075c35d52286cb696f878738d30be", null ], - [ "service_name", "struct_sl_net_app_get_full_service_ipv4_list__t.html#a14a68e63be446395d1bdc960d9cd46bb", null ], - [ "service_port", "struct_sl_net_app_get_full_service_ipv4_list__t.html#a526174fd4b7f339328e315dbb01c19f7", null ] - ] ], - [ "SlNetAppGetFullServiceWithTextIpv4List_t", "struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html", [ - [ "Reserved", "struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#a3f5363b14f728fe990328585ccbc70e1", null ], - [ "service_host", "struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#aeb85c9d6321692e2622077406052c2c2", null ], - [ "service_ipv4", "struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#a1a2075c35d52286cb696f878738d30be", null ], - [ "service_name", "struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#a14a68e63be446395d1bdc960d9cd46bb", null ], - [ "service_port", "struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#a526174fd4b7f339328e315dbb01c19f7", null ], - [ "service_text", "struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#a6b9cac633579a01d5f6e03c9a3dde9e0", null ] - ] ], - [ "SlNetAppServiceAdvertiseTimingParameters_t", "struct_sl_net_app_service_advertise_timing_parameters__t.html", [ - [ "k", "struct_sl_net_app_service_advertise_timing_parameters__t.html#a788ae2e5459feba3d646ffa71980f6db", null ], - [ "max_time", "struct_sl_net_app_service_advertise_timing_parameters__t.html#a1cd71a7ab31d4352d718a5707d3a969b", null ], - [ "Maxinterval", "struct_sl_net_app_service_advertise_timing_parameters__t.html#a9f1818d1132e3399c3f8a79e453d5b56", null ], - [ "p", "struct_sl_net_app_service_advertise_timing_parameters__t.html#a010529614c86bbaa26654186b52b800d", null ], - [ "RetransInterval", "struct_sl_net_app_service_advertise_timing_parameters__t.html#a5f05e30c41182b96d2c4691cfd75f138", null ], - [ "t", "struct_sl_net_app_service_advertise_timing_parameters__t.html#a95b98eb3e4b7b7e456cc4ebfe9282536", null ] - ] ], - [ "sl_NetAppDnsGetHostByName", "group__netapp.html#ga0cb97cebe1700f226a106dcaf380d621", null ], - [ "sl_NetAppDnsGetHostByService", "group__netapp.html#ga9f81d4dcdc49acbcb4f7114e23b36863", null ], - [ "sl_NetAppGet", "group__netapp.html#gaa56ce9e64400819d6040daf0a99a00e1", null ], - [ "sl_NetAppGetServiceList", "group__netapp.html#ga16fb7d6f45b455c16396a8e7c67766ea", null ], - [ "sl_NetAppMDNSRegisterService", "group__netapp.html#gaed2c05189b54f6c61d143a551191abc8", null ], - [ "sl_NetAppMDNSUnRegisterService", "group__netapp.html#gac7fa8da673496ba7a6a25ef54ba4da27", null ], - [ "sl_NetAppPingStart", "group__netapp.html#ga8df56e6702e8f8a56dce8eb679ace02e", null ], - [ "sl_NetAppSet", "group__netapp.html#ga123121018f78e1417742903d033dc6ef", null ], - [ "sl_NetAppStart", "group__netapp.html#ga026042b00c2ac7f4272d009d883c9335", null ], - [ "sl_NetAppStop", "group__netapp.html#ga4ca13631c7c531b661200fe6b7fe7b49", null ] +var group__netapp = +[ + [ "SlPingReport_t", "struct_sl_ping_report__t.html", [ + [ "AvgRoundTime", "struct_sl_ping_report__t.html#a5d610bdde4039525984224ee0f35b6d9", null ], + [ "MaxRoundTime", "struct_sl_ping_report__t.html#abb8b750ec3b99bcac2b1a84c611c6d2a", null ], + [ "MinRoundTime", "struct_sl_ping_report__t.html#a10437a22b3604a1fbe4cb91bd711077f", null ], + [ "PacketsReceived", "struct_sl_ping_report__t.html#ac8e9ea566ef6bd2acb54a6af9677486a", null ], + [ "PacketsSent", "struct_sl_ping_report__t.html#a92813cdd58af8c15929270ccf61b26a2", null ], + [ "TestTime", "struct_sl_ping_report__t.html#af7da9681c2b355a3261a476f353bfe93", null ] + ] ], + [ "SlPingStartCommand_t", "struct_sl_ping_start_command__t.html", [ + [ "Flags", "struct_sl_ping_start_command__t.html#abc512772e263735c06e9072f94c92952", null ], + [ "Ip", "struct_sl_ping_start_command__t.html#a16ea88b3a07d38c6e26af86e4d9e04aa", null ], + [ "Ip1OrPaadding", "struct_sl_ping_start_command__t.html#aba8221b8c6c4e83f843e7cf2b63ec649", null ], + [ "Ip2OrPaadding", "struct_sl_ping_start_command__t.html#a5e17ea66dfb99beb88bd64c847954444", null ], + [ "Ip3OrPaadding", "struct_sl_ping_start_command__t.html#af95d2469f8867016b655574752e3f905", null ], + [ "PingIntervalTime", "struct_sl_ping_start_command__t.html#a0b36eb660aeeb08cc0e280ee657b7192", null ], + [ "PingRequestTimeout", "struct_sl_ping_start_command__t.html#a15c82a992940a12e86afd8b3b34436ed", null ], + [ "PingSize", "struct_sl_ping_start_command__t.html#a4323564c51aa12dd8930e39566fd8625", null ], + [ "TotalNumberOfAttempts", "struct_sl_ping_start_command__t.html#a994b4b990c3ea36ca117cf3fd0943f0d", null ] + ] ], + [ "_slHttpServerString_t", "struct__sl_http_server_string__t.html", [ + [ "data", "struct__sl_http_server_string__t.html#ae2f1a2294cac364e7901e04f5821ede8", null ], + [ "len", "struct__sl_http_server_string__t.html#acc9fcad2930f408ce8147134702a4ff3", null ] + ] ], + [ "_slHttpServerData_t", "struct__sl_http_server_data__t.html", [ + [ "name_len", "struct__sl_http_server_data__t.html#a295865b2d6f6091bc35d8de6e8cae731", null ], + [ "token_name", "struct__sl_http_server_data__t.html#adff3bc96f451530f4776b011f36a3c2a", null ], + [ "token_value", "struct__sl_http_server_data__t.html#a2283b20c750664ec3b4301cb8e64f198", null ], + [ "value_len", "struct__sl_http_server_data__t.html#ae6d3f66fb64a31cc12909a1ec028387b", null ] + ] ], + [ "_slHttpServerPostData_t", "struct__sl_http_server_post_data__t.html", [ + [ "action", "struct__sl_http_server_post_data__t.html#a76122764e78b080056125b9ef28ada7b", null ], + [ "token_name", "struct__sl_http_server_post_data__t.html#ac32e60a343288e97e368ae665adf7442", null ], + [ "token_value", "struct__sl_http_server_post_data__t.html#ac17cbf485a7c72aa811cfda94d8649c6", null ] + ] ], + [ "SlHttpServerEventData_u", "union_sl_http_server_event_data__u.html", [ + [ "httpPostData", "union_sl_http_server_event_data__u.html#a4c697e1d747be7f899ab3593a57fb575", null ], + [ "httpTokenName", "union_sl_http_server_event_data__u.html#afe08fe6236a178fb1bd225b511f64ab9", null ] + ] ], + [ "SlHttpServerResponsedata_u", "union_sl_http_server_responsedata__u.html", [ + [ "token_value", "union_sl_http_server_responsedata__u.html#ac17cbf485a7c72aa811cfda94d8649c6", null ] + ] ], + [ "SlHttpServerEvent_t", "struct_sl_http_server_event__t.html", [ + [ "Event", "struct_sl_http_server_event__t.html#adeedbaaa252b969fc66e151eef37ea62", null ], + [ "EventData", "struct_sl_http_server_event__t.html#aea6d012a43dcb8ded6b90686ceaef0f7", null ] + ] ], + [ "SlHttpServerResponse_t", "struct_sl_http_server_response__t.html", [ + [ "Response", "struct_sl_http_server_response__t.html#acc4e0dc6756b696c4e2bbdd3f75d1123", null ], + [ "ResponseData", "struct_sl_http_server_response__t.html#a79b6c5114e9f6da69c3113d4be87a943", null ] + ] ], + [ "SlNetAppDhcpServerBasicOpt_t", "struct_sl_net_app_dhcp_server_basic_opt__t.html", [ + [ "ipv4_addr_last", "struct_sl_net_app_dhcp_server_basic_opt__t.html#a3658ee49e477ac75294c4dcb44e9469b", null ], + [ "ipv4_addr_start", "struct_sl_net_app_dhcp_server_basic_opt__t.html#ad89c28578421c014b62f5edd796760b1", null ], + [ "lease_time", "struct_sl_net_app_dhcp_server_basic_opt__t.html#ae870c09512e5404d8fd6a94d899d52b5", null ] + ] ], + [ "SlNetAppGetShortServiceIpv4List_t", "struct_sl_net_app_get_short_service_ipv4_list__t.html", [ + [ "Reserved", "struct_sl_net_app_get_short_service_ipv4_list__t.html#a3f5363b14f728fe990328585ccbc70e1", null ], + [ "service_ipv4", "struct_sl_net_app_get_short_service_ipv4_list__t.html#a1a2075c35d52286cb696f878738d30be", null ], + [ "service_port", "struct_sl_net_app_get_short_service_ipv4_list__t.html#a526174fd4b7f339328e315dbb01c19f7", null ] + ] ], + [ "SlNetAppGetFullServiceIpv4List_t", "struct_sl_net_app_get_full_service_ipv4_list__t.html", [ + [ "Reserved", "struct_sl_net_app_get_full_service_ipv4_list__t.html#a3f5363b14f728fe990328585ccbc70e1", null ], + [ "service_host", "struct_sl_net_app_get_full_service_ipv4_list__t.html#aeb85c9d6321692e2622077406052c2c2", null ], + [ "service_ipv4", "struct_sl_net_app_get_full_service_ipv4_list__t.html#a1a2075c35d52286cb696f878738d30be", null ], + [ "service_name", "struct_sl_net_app_get_full_service_ipv4_list__t.html#a14a68e63be446395d1bdc960d9cd46bb", null ], + [ "service_port", "struct_sl_net_app_get_full_service_ipv4_list__t.html#a526174fd4b7f339328e315dbb01c19f7", null ] + ] ], + [ "SlNetAppGetFullServiceWithTextIpv4List_t", "struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html", [ + [ "Reserved", "struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#a3f5363b14f728fe990328585ccbc70e1", null ], + [ "service_host", "struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#aeb85c9d6321692e2622077406052c2c2", null ], + [ "service_ipv4", "struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#a1a2075c35d52286cb696f878738d30be", null ], + [ "service_name", "struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#a14a68e63be446395d1bdc960d9cd46bb", null ], + [ "service_port", "struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#a526174fd4b7f339328e315dbb01c19f7", null ], + [ "service_text", "struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#a6b9cac633579a01d5f6e03c9a3dde9e0", null ] + ] ], + [ "SlNetAppServiceAdvertiseTimingParameters_t", "struct_sl_net_app_service_advertise_timing_parameters__t.html", [ + [ "k", "struct_sl_net_app_service_advertise_timing_parameters__t.html#a788ae2e5459feba3d646ffa71980f6db", null ], + [ "max_time", "struct_sl_net_app_service_advertise_timing_parameters__t.html#a1cd71a7ab31d4352d718a5707d3a969b", null ], + [ "Maxinterval", "struct_sl_net_app_service_advertise_timing_parameters__t.html#a9f1818d1132e3399c3f8a79e453d5b56", null ], + [ "p", "struct_sl_net_app_service_advertise_timing_parameters__t.html#a010529614c86bbaa26654186b52b800d", null ], + [ "RetransInterval", "struct_sl_net_app_service_advertise_timing_parameters__t.html#a5f05e30c41182b96d2c4691cfd75f138", null ], + [ "t", "struct_sl_net_app_service_advertise_timing_parameters__t.html#a95b98eb3e4b7b7e456cc4ebfe9282536", null ] + ] ], + [ "sl_NetAppDnsGetHostByName", "group__netapp.html#ga29b52a83173826c523890dee46cc252a", null ], + [ "sl_NetAppDnsGetHostByService", "group__netapp.html#ga3c18e929acd30de42a36afe2d85bbe05", null ], + [ "sl_NetAppGet", "group__netapp.html#gaa7539fd75708676a4ed8bbfaeaebc791", null ], + [ "sl_NetAppGetServiceList", "group__netapp.html#ga6e77cdf4e8540180bf4358c48a08e0fe", null ], + [ "sl_NetAppMDNSRegisterService", "group__netapp.html#gae222ee3db8c89e9e3ecf8b2738961b33", null ], + [ "sl_NetAppMDNSUnRegisterService", "group__netapp.html#ga5fb699d928b704c4237d4f0921a89ab9", null ], + [ "sl_NetAppPingStart", "group__netapp.html#ga4adc32529c7c7c84273728cf16393dad", null ], + [ "sl_NetAppSet", "group__netapp.html#ga2afa652378453fe2f3c1010915673576", null ], + [ "sl_NetAppStart", "group__netapp.html#gaecf228612e6baacf183d3f6eea64b120", null ], + [ "sl_NetAppStop", "group__netapp.html#gad174e319fb745e2d871fe1b08b567131", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/group__netcfg.html b/docs/simplelink_api/html/group__netcfg.html index eb846d3..19a2432 100644 --- a/docs/simplelink_api/html/group__netcfg.html +++ b/docs/simplelink_api/html/group__netcfg.html @@ -1,374 +1,373 @@ - - - - - - -CC32XX SimpleLink Host Driver: Netcfg - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
Netcfg
-
-
- - - - -

-Data Structures

struct  SlNetCfgIpV4Args_t
 
- - - - - - - - - - - -

-Macros

-#define SL_MAC_ADDR_LEN   (6)
 
-#define SL_IPV4_VAL(add_3, add_2, add_1, add_0)   ((((_u32)add_3 << 24) & 0xFF000000) | (((_u32)add_2 << 16) & 0xFF0000) | (((_u32)add_1 << 8) & 0xFF00) | ((_u32)add_0 & 0xFF) )
 
-#define SL_IPV4_BYTE(val, index)   ( (val >> (index*8)) & 0xFF )
 
-#define IPCONFIG_MODE_DISABLE_IPV4   (0)
 
-#define IPCONFIG_MODE_ENABLE_IPV4   (1)
 
- - - -

-Enumerations

enum  Sl_NetCfg_e {
-  SL_MAC_ADDRESS_SET = 1, -SL_MAC_ADDRESS_GET = 2, -SL_IPV4_STA_P2P_CL_GET_INFO = 3, -SL_IPV4_STA_P2P_CL_DHCP_ENABLE = 4, -
-  SL_IPV4_STA_P2P_CL_STATIC_ENABLE = 5, -SL_IPV4_AP_P2P_GO_GET_INFO = 6, -SL_IPV4_AP_P2P_GO_STATIC_ENABLE = 7, -SL_SET_HOST_RX_AGGR = 8, -
-  MAX_SETTINGS = 0xFF -
- }
 
- - - - - - - -

-Functions

_i32 sl_NetCfgSet (_u8 ConfigId, _u8 ConfigOpt, _u8 ConfigLen, _u8 *pValues)
 Internal function for setting network configurations. More...
 
_i32 sl_NetCfgGet (_u8 ConfigId, _u8 *pConfigOpt, _u8 *pConfigLen, _u8 *pValues)
 Internal function for getting network configurations. More...
 
-

Detailed Description

-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_i32 sl_NetCfgGet (_u8 ConfigId,
_u8 * pConfigOpt,
_u8 * pConfigLen,
_u8 * pValues 
)
-
- -

Internal function for getting network configurations.

-
Returns
On success, zero is returned. On error, -1 is returned
-
Parameters
- - - - - -
[in]ConfigIdconfiguration id
[out]pConfigOptGet configurations option
[out]pConfigLenThe length of the allocated memory as input, when the function complete, the value of this parameter would be the len that actually read from the device.
- If the device return length that is longer from the input value, the function will cut the end of the returned structure and will return ESMALLBUF
[out]pValues- get configurations values
-
-
-
See also
-
Note
-
Warning
-
Examples:
SL_MAC_ADDRESS_GET:
-
-
Get the device MAC address.
-
The returned MAC address is taken from FileSystem first. If the MAC address was not set by SL_MAC_ADDRESS_SET, the default MAC address
-
is retrieved from HW.
-
-
_u8 macAddressVal[SL_MAC_ADDR_LEN];
-
_u8 macAddressLen = SL_MAC_ADDR_LEN;
-
sl_NetCfgGet(SL_MAC_ADDRESS_GET,NULL,&macAddressLen,(_u8 *)macAddressVal);
-
-
SL_IPV4_STA_P2P_CL_GET_INFO:
-
-
Get IP address from WLAN station or P2P client. A DHCP flag is returned to indicate if the IP address is static or from DHCP.
-
-
_u8 len = sizeof(SlNetCfgIpV4Args_t);
-
_u8 dhcpIsOn = 0;
-
SlNetCfgIpV4Args_t ipV4 = {0};
-
sl_NetCfgGet(SL_IPV4_STA_P2P_CL_GET_INFO,&dhcpIsOn,&len,(_u8 *)&ipV4);
-
-
printf("DHCP is %s IP %d.%d.%d.%d MASK %d.%d.%d.%d GW %d.%d.%d.%d DNS %d.%d.%d.%d\n",
-
(dhcpIsOn > 0) ? "ON" : "OFF",
-
SL_IPV4_BYTE(ipV4.ipV4,3),SL_IPV4_BYTE(ipV4.ipV4,2),SL_IPV4_BYTE(ipV4.ipV4,1),SL_IPV4_BYTE(ipV4.ipV4,0),
-
SL_IPV4_BYTE(ipV4.ipV4Mask,3),SL_IPV4_BYTE(ipV4.ipV4Mask,2),SL_IPV4_BYTE(ipV4.ipV4Mask,1),SL_IPV4_BYTE(ipV4.ipV4Mask,0),
-
SL_IPV4_BYTE(ipV4.ipV4Gateway,3),SL_IPV4_BYTE(ipV4.ipV4Gateway,2),SL_IPV4_BYTE(ipV4.ipV4Gateway,1),SL_IPV4_BYTE(ipV4.ipV4Gateway,0),
-
SL_IPV4_BYTE(ipV4.ipV4DnsServer,3),SL_IPV4_BYTE(ipV4.ipV4DnsServer,2),SL_IPV4_BYTE(ipV4.ipV4DnsServer,1),SL_IPV4_BYTE(ipV4.ipV4DnsServer,0));
-
SL_IPV4_AP_P2P_GO_GET_INFO:
-
-
Get static IP address for AP or P2P go.
-
-
_u8 len = sizeof(SlNetCfgIpV4Args_t);
-
_u8 dhcpIsOn = 0; // this flag is meaningless on AP/P2P go.
-
SlNetCfgIpV4Args_t ipV4 = {0};
-
sl_NetCfgGet(SL_IPV4_AP_P2P_GO_GET_INFO,&dhcpIsOn,&len,(_u8 *)&ipV4);
-
-
printf("IP %d.%d.%d.%d MASK %d.%d.%d.%d GW %d.%d.%d.%d DNS %d.%d.%d.%d\n",
-
SL_IPV4_BYTE(ipV4.ipV4,3),SL_IPV4_BYTE(ipV4.ipV4,2),SL_IPV4_BYTE(ipV4.ipV4,1),SL_IPV4_BYTE(ipV4.ipV4,0),
-
SL_IPV4_BYTE(ipV4.ipV4Mask,3),SL_IPV4_BYTE(ipV4.ipV4Mask,2),SL_IPV4_BYTE(ipV4.ipV4Mask,1),SL_IPV4_BYTE(ipV4.ipV4Mask,0),
-
SL_IPV4_BYTE(ipV4.ipV4Gateway,3),SL_IPV4_BYTE(ipV4.ipV4Gateway,2),SL_IPV4_BYTE(ipV4.ipV4Gateway,1),SL_IPV4_BYTE(ipV4.ipV4Gateway,0),
-
SL_IPV4_BYTE(ipV4.ipV4DnsServer,3),SL_IPV4_BYTE(ipV4.ipV4DnsServer,2),SL_IPV4_BYTE(ipV4.ipV4DnsServer,1),SL_IPV4_BYTE(ipV4.ipV4DnsServer,0));
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_i32 sl_NetCfgSet (_u8 ConfigId,
_u8 ConfigOpt,
_u8 ConfigLen,
_u8 * pValues 
)
-
- -

Internal function for setting network configurations.

-
Returns
On success, zero is returned. On error, -1 is returned
-
Parameters
- - - - - -
[in]ConfigIdconfiguration id
[in]ConfigOptconfigurations option
[in]ConfigLenconfigurations len
[in]pValuesconfigurations values
-
-
-
See also
-
Note
-
Warning
-
Examples:
SL_MAC_ADDRESS_SET:
-
-
Setting MAC address to the Device.
-
The new MAC address will override the default MAC address and it be saved in the FileSystem.
-
Requires restarting the device for updating this setting.
-
-
_u8 MAC_Address[6];
-
MAC_Address[0] = 0x8;
-
MAC_Address[1] = 0x0;
-
MAC_Address[2] = 0x28;
-
MAC_Address[3] = 0x22;
-
MAC_Address[4] = 0x69;
-
MAC_Address[5] = 0x31;
-
sl_NetCfgSet(SL_MAC_ADDRESS_SET,1,SL_MAC_ADDR_LEN,(_u8 *)newMacAddress);
- -
sl_Start(NULL,NULL,NULL);
-
-
SL_IPV4_STA_P2P_CL_STATIC_ENABLE:
-
-
Setting a static IP address to the device working in STA mode or P2P client.
-
The IP address will be stored in the FileSystem.
-
In order to disable the static IP and get the address assigned from DHCP one should use SL_STA_P2P_CL_IPV4_DHCP_SET
-
- -
ipV4.ipV4 = (_u32)SL_IPV4_VAL(10,1,1,201); // _u32 IP address
-
ipV4.ipV4Mask = (_u32)SL_IPV4_VAL(255,255,255,0); // _u32 Subnet mask for this STA/P2P
-
ipV4.ipV4Gateway = (_u32)SL_IPV4_VAL(10,1,1,1); // _u32 Default gateway address
-
ipV4.ipV4DnsServer = (_u32)SL_IPV4_VAL(8,16,32,64); // _u32 DNS server address
-
-
sl_NetCfgSet(SL_IPV4_STA_P2P_CL_STATIC_ENABLE,IPCONFIG_MODE_ENABLE_IPV4,sizeof(SlNetCfgIpV4Args_t),(_u8 *)&ipV4);
- -
sl_Start(NULL,NULL,NULL);
-
SL_IPV4_STA_P2P_CL_DHCP_ENABLE:
-
-
Setting IP address by DHCP to FileSystem using WLAN sta mode or P2P client.
-
This should be done once if using Serial Flash.
-
This is the system's default mode for acquiring an IP address after WLAN connection.
-
_u8 val = 1;
-
sl_NetCfgSet(SL_IPV4_STA_P2P_CL_DHCP_ENABLE,IPCONFIG_MODE_ENABLE_IPV4,1,&val);
-
sl_Stop(0);
-
sl_Start(NULL,NULL,NULL);
-
SL_IPV4_AP_P2P_GO_STATIC_ENABLE:
-
-
Setting a static IP address to the device working in AP mode or P2P go.
-
The IP address will be stored in the FileSystem. Requires restart.
-
- -
ipV4.ipV4 = (_u32)SL_IPV4_VAL(10,1,1,201); // _u32 IP address
-
ipV4.ipV4Mask = (_u32)SL_IPV4_VAL(255,255,255,0); // _u32 Subnet mask for this AP/P2P
-
ipV4.ipV4Gateway = (_u32)SL_IPV4_VAL(10,1,1,1); // _u32 Default gateway address
-
ipV4.ipV4DnsServer = (_u32)SL_IPV4_VAL(8,16,32,64); // _u32 DNS server address
-
-
sl_NetCfgSet(SL_IPV4_AP_P2P_GO_STATIC_ENABLE,IPCONFIG_MODE_ENABLE_IPV4,sizeof(SlNetCfgIpV4Args_t),(_u8 *)&ipV4);
- -
sl_Start(NULL,NULL,NULL);
-
-
-
-
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: Netcfg + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
Netcfg
+
+
+ + + + +

+Data Structures

struct  SlNetCfgIpV4Args_t
 
+ + + + + + + + + + + +

+Macros

+#define SL_MAC_ADDR_LEN   (6)
 
+#define SL_IPV4_VAL(add_3, add_2, add_1, add_0)   ((((_u32)add_3 << 24) & 0xFF000000) | (((_u32)add_2 << 16) & 0xFF0000) | (((_u32)add_1 << 8) & 0xFF00) | ((_u32)add_0 & 0xFF) )
 
+#define SL_IPV4_BYTE(val, index)   ( (val >> (index*8)) & 0xFF )
 
+#define IPCONFIG_MODE_DISABLE_IPV4   (0)
 
+#define IPCONFIG_MODE_ENABLE_IPV4   (1)
 
+ + + +

+Enumerations

enum  Sl_NetCfg_e {
+  SL_MAC_ADDRESS_SET = 1, +SL_MAC_ADDRESS_GET = 2, +SL_IPV4_STA_P2P_CL_GET_INFO = 3, +SL_IPV4_STA_P2P_CL_DHCP_ENABLE = 4, +
+  SL_IPV4_STA_P2P_CL_STATIC_ENABLE = 5, +SL_IPV4_AP_P2P_GO_GET_INFO = 6, +SL_IPV4_AP_P2P_GO_STATIC_ENABLE = 7, +SL_SET_HOST_RX_AGGR = 8, +
+  MAX_SETTINGS = 0xFF +
+ }
 
+ + + + + + + +

+Functions

_i32 sl_NetCfgSet (const _u8 ConfigId, const _u8 ConfigOpt, const _u8 ConfigLen, const _u8 *pValues)
 Internal function for setting network configurations. More...
 
_i32 sl_NetCfgGet (const _u8 ConfigId, _u8 *pConfigOpt, _u8 *pConfigLen, _u8 *pValues)
 Internal function for getting network configurations. More...
 
+

Detailed Description

+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_i32 sl_NetCfgGet (const _u8 ConfigId,
_u8 * pConfigOpt,
_u8 * pConfigLen,
_u8 * pValues 
)
+
+ +

Internal function for getting network configurations.

+
Returns
On success, zero is returned. On error, -1 is returned
+
Parameters
+ + + + + +
[in]ConfigIdconfiguration id
[out]pConfigOptGet configurations option
[out]pConfigLenThe length of the allocated memory as input, when the function complete, the value of this parameter would be the len that actually read from the device.
+ If the device return length that is longer from the input value, the function will cut the end of the returned structure and will return ESMALLBUF
[out]pValues- get configurations values
+
+
+
See Also
+
Note
+
Warning
+
Examples:
SL_MAC_ADDRESS_GET:
+
+
Get the device MAC address.
+
The returned MAC address is taken from FileSystem first. If the MAC address was not set by SL_MAC_ADDRESS_SET, the default MAC address
+
is retrieved from HW.
+
+
_u8 macAddressVal[SL_MAC_ADDR_LEN];
+
_u8 macAddressLen = SL_MAC_ADDR_LEN;
+
sl_NetCfgGet(SL_MAC_ADDRESS_GET,NULL,&macAddressLen,(_u8 *)macAddressVal);
+
+
SL_IPV4_STA_P2P_CL_GET_INFO:
+
+
Get IP address from WLAN station or P2P client. A DHCP flag is returned to indicate if the IP address is static or from DHCP.
+
+
_u8 len = sizeof(SlNetCfgIpV4Args_t);
+
_u8 dhcpIsOn = 0;
+
SlNetCfgIpV4Args_t ipV4 = {0};
+
sl_NetCfgGet(SL_IPV4_STA_P2P_CL_GET_INFO,&dhcpIsOn,&len,(_u8 *)&ipV4);
+
+
printf("DHCP is %s IP %d.%d.%d.%d MASK %d.%d.%d.%d GW %d.%d.%d.%d DNS %d.%d.%d.%d\n",
+
(dhcpIsOn > 0) ? "ON" : "OFF",
+
SL_IPV4_BYTE(ipV4.ipV4,3),SL_IPV4_BYTE(ipV4.ipV4,2),SL_IPV4_BYTE(ipV4.ipV4,1),SL_IPV4_BYTE(ipV4.ipV4,0),
+
SL_IPV4_BYTE(ipV4.ipV4Mask,3),SL_IPV4_BYTE(ipV4.ipV4Mask,2),SL_IPV4_BYTE(ipV4.ipV4Mask,1),SL_IPV4_BYTE(ipV4.ipV4Mask,0),
+
SL_IPV4_BYTE(ipV4.ipV4Gateway,3),SL_IPV4_BYTE(ipV4.ipV4Gateway,2),SL_IPV4_BYTE(ipV4.ipV4Gateway,1),SL_IPV4_BYTE(ipV4.ipV4Gateway,0),
+
SL_IPV4_BYTE(ipV4.ipV4DnsServer,3),SL_IPV4_BYTE(ipV4.ipV4DnsServer,2),SL_IPV4_BYTE(ipV4.ipV4DnsServer,1),SL_IPV4_BYTE(ipV4.ipV4DnsServer,0));
+
SL_IPV4_AP_P2P_GO_GET_INFO:
+
+
Get static IP address for AP or P2P go.
+
+
_u8 len = sizeof(SlNetCfgIpV4Args_t);
+
_u8 dhcpIsOn = 0; // this flag is meaningless on AP/P2P go.
+
SlNetCfgIpV4Args_t ipV4 = {0};
+
sl_NetCfgGet(SL_IPV4_AP_P2P_GO_GET_INFO,&dhcpIsOn,&len,(_u8 *)&ipV4);
+
+
printf("IP %d.%d.%d.%d MASK %d.%d.%d.%d GW %d.%d.%d.%d DNS %d.%d.%d.%d\n",
+
SL_IPV4_BYTE(ipV4.ipV4,3),SL_IPV4_BYTE(ipV4.ipV4,2),SL_IPV4_BYTE(ipV4.ipV4,1),SL_IPV4_BYTE(ipV4.ipV4,0),
+
SL_IPV4_BYTE(ipV4.ipV4Mask,3),SL_IPV4_BYTE(ipV4.ipV4Mask,2),SL_IPV4_BYTE(ipV4.ipV4Mask,1),SL_IPV4_BYTE(ipV4.ipV4Mask,0),
+
SL_IPV4_BYTE(ipV4.ipV4Gateway,3),SL_IPV4_BYTE(ipV4.ipV4Gateway,2),SL_IPV4_BYTE(ipV4.ipV4Gateway,1),SL_IPV4_BYTE(ipV4.ipV4Gateway,0),
+
SL_IPV4_BYTE(ipV4.ipV4DnsServer,3),SL_IPV4_BYTE(ipV4.ipV4DnsServer,2),SL_IPV4_BYTE(ipV4.ipV4DnsServer,1),SL_IPV4_BYTE(ipV4.ipV4DnsServer,0));
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_i32 sl_NetCfgSet (const _u8 ConfigId,
const _u8 ConfigOpt,
const _u8 ConfigLen,
const _u8 * pValues 
)
+
+ +

Internal function for setting network configurations.

+
Returns
On success, zero is returned. On error, -1 is returned
+
Parameters
+ + + + + +
[in]ConfigIdconfiguration id
[in]ConfigOptconfigurations option
[in]ConfigLenconfigurations len
[in]pValuesconfigurations values
+
+
+
See Also
+
Note
+
Warning
+
Examples:
SL_MAC_ADDRESS_SET:
+
+
Setting MAC address to the Device.
+
The new MAC address will override the default MAC address and it be saved in the FileSystem.
+
Requires restarting the device for updating this setting.
+
+
_u8 MAC_Address[6];
+
MAC_Address[0] = 0x8;
+
MAC_Address[1] = 0x0;
+
MAC_Address[2] = 0x28;
+
MAC_Address[3] = 0x22;
+
MAC_Address[4] = 0x69;
+
MAC_Address[5] = 0x31;
+
sl_NetCfgSet(SL_MAC_ADDRESS_SET,1,SL_MAC_ADDR_LEN,(_u8 *)newMacAddress);
+ +
sl_Start(NULL,NULL,NULL);
+
+
SL_IPV4_STA_P2P_CL_STATIC_ENABLE:
+
+
Setting a static IP address to the device working in STA mode or P2P client.
+
The IP address will be stored in the FileSystem.
+
In order to disable the static IP and get the address assigned from DHCP one should use SL_STA_P2P_CL_IPV4_DHCP_SET
+
+ +
ipV4.ipV4 = (_u32)SL_IPV4_VAL(10,1,1,201); // _u32 IP address
+
ipV4.ipV4Mask = (_u32)SL_IPV4_VAL(255,255,255,0); // _u32 Subnet mask for this STA/P2P
+
ipV4.ipV4Gateway = (_u32)SL_IPV4_VAL(10,1,1,1); // _u32 Default gateway address
+
ipV4.ipV4DnsServer = (_u32)SL_IPV4_VAL(8,16,32,64); // _u32 DNS server address
+
+
sl_NetCfgSet(SL_IPV4_STA_P2P_CL_STATIC_ENABLE,IPCONFIG_MODE_ENABLE_IPV4,sizeof(SlNetCfgIpV4Args_t),(_u8 *)&ipV4);
+ +
sl_Start(NULL,NULL,NULL);
+
SL_IPV4_STA_P2P_CL_DHCP_ENABLE:
+
+
Setting IP address by DHCP to FileSystem using WLAN sta mode or P2P client.
+
This should be done once if using Serial Flash.
+
This is the system's default mode for acquiring an IP address after WLAN connection.
+
_u8 val = 1;
+
sl_NetCfgSet(SL_IPV4_STA_P2P_CL_DHCP_ENABLE,IPCONFIG_MODE_ENABLE_IPV4,1,&val);
+
sl_Stop(0);
+
sl_Start(NULL,NULL,NULL);
+
SL_IPV4_AP_P2P_GO_STATIC_ENABLE:
+
+
Setting a static IP address to the device working in AP mode or P2P go.
+
The IP address will be stored in the FileSystem. Requires restart.
+
+ +
ipV4.ipV4 = (_u32)SL_IPV4_VAL(10,1,1,201); // _u32 IP address
+
ipV4.ipV4Mask = (_u32)SL_IPV4_VAL(255,255,255,0); // _u32 Subnet mask for this AP/P2P
+
ipV4.ipV4Gateway = (_u32)SL_IPV4_VAL(10,1,1,1); // _u32 Default gateway address
+
ipV4.ipV4DnsServer = (_u32)SL_IPV4_VAL(8,16,32,64); // _u32 DNS server address
+
+
sl_NetCfgSet(SL_IPV4_AP_P2P_GO_STATIC_ENABLE,IPCONFIG_MODE_ENABLE_IPV4,sizeof(SlNetCfgIpV4Args_t),(_u8 *)&ipV4);
+ +
sl_Start(NULL,NULL,NULL);
+
+
+
+
+
+ + + + diff --git a/docs/simplelink_api/html/group__netcfg.js b/docs/simplelink_api/html/group__netcfg.js index e19346b..23ac360 100644 --- a/docs/simplelink_api/html/group__netcfg.js +++ b/docs/simplelink_api/html/group__netcfg.js @@ -1,11 +1,11 @@ -var group__netcfg = -[ - [ "SlNetCfgIpV4Args_t", "struct_sl_net_cfg_ip_v4_args__t.html", [ - [ "ipV4", "struct_sl_net_cfg_ip_v4_args__t.html#a47731711b8c0c195ca46de2e938364d3", null ], - [ "ipV4DnsServer", "struct_sl_net_cfg_ip_v4_args__t.html#a920eac2941ede0d5a676d59ea8319a56", null ], - [ "ipV4Gateway", "struct_sl_net_cfg_ip_v4_args__t.html#ae5dd0932c0fc590f70c116dae8c56b07", null ], - [ "ipV4Mask", "struct_sl_net_cfg_ip_v4_args__t.html#af37ed58288d015f7869dbfa8b566eec1", null ] - ] ], - [ "sl_NetCfgGet", "group__netcfg.html#gaae48efdddc313517b86d25d819f10b24", null ], - [ "sl_NetCfgSet", "group__netcfg.html#gab199703b982451676f7c5bdb344ec4ef", null ] +var group__netcfg = +[ + [ "SlNetCfgIpV4Args_t", "struct_sl_net_cfg_ip_v4_args__t.html", [ + [ "ipV4", "struct_sl_net_cfg_ip_v4_args__t.html#a47731711b8c0c195ca46de2e938364d3", null ], + [ "ipV4DnsServer", "struct_sl_net_cfg_ip_v4_args__t.html#a920eac2941ede0d5a676d59ea8319a56", null ], + [ "ipV4Gateway", "struct_sl_net_cfg_ip_v4_args__t.html#ae5dd0932c0fc590f70c116dae8c56b07", null ], + [ "ipV4Mask", "struct_sl_net_cfg_ip_v4_args__t.html#af37ed58288d015f7869dbfa8b566eec1", null ] + ] ], + [ "sl_NetCfgGet", "group__netcfg.html#ga86e2fc6c2fca5d8537529b612fb7ebe4", null ], + [ "sl_NetCfgSet", "group__netcfg.html#ga059a56d0d883e74c65eea199ed8513bb", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/group__ported__enable__device.html b/docs/simplelink_api/html/group__ported__enable__device.html deleted file mode 100644 index 11be483..0000000 --- a/docs/simplelink_api/html/group__ported__enable__device.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - -CC32XX SimpleLink Host Driver: Ported on CC32XX - Device Enable/Disable - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  0.0.5.1 -
-
-
- - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
Ported on CC32XX - Device Enable/Disable
-
-
- - - - - - - - -

-Macros

#define sl_DeviceEnable()   NwpPowerOn()
 Enable the Network Processor. More...
 
#define sl_DeviceDisable()   NwpPowerOff()
 Disable the Network Processor. More...
 
-

Detailed Description

-

The enable/disable API provide mechanism to enable/disable the network processor

-

PORTING ACTION:

    -
  • None
  • -
-

Macro Definition Documentation

- -
-
- - - - - - - -
#define sl_DeviceDisable()   NwpPowerOff()
-
- -

Disable the Network Processor.

-
See also
sl_DeviceEnable
-
Note
belongs to ported_sec
- -
-
- -
-
- - - - - - - -
#define sl_DeviceEnable()   NwpPowerOn()
-
- -

Enable the Network Processor.

-
See also
sl_DeviceDisable
-
Note
belongs to ported_sec
- -
-
-
-
- - - - diff --git a/docs/simplelink_api/html/group__ported__enable__device.js b/docs/simplelink_api/html/group__ported__enable__device.js deleted file mode 100644 index 269613b..0000000 --- a/docs/simplelink_api/html/group__ported__enable__device.js +++ /dev/null @@ -1,5 +0,0 @@ -var group__ported__enable__device = -[ - [ "sl_DeviceDisable", "group__ported__enable__device.html#gacca1eb461c75328c51f1f31c68211f2f", null ], - [ "sl_DeviceEnable", "group__ported__enable__device.html#ga8bbed8fdfdf8935ac0dd9a05b04d30ca", null ] -]; \ No newline at end of file diff --git a/docs/simplelink_api/html/group__ported__interface.html b/docs/simplelink_api/html/group__ported__interface.html deleted file mode 100644 index 638ba45..0000000 --- a/docs/simplelink_api/html/group__ported__interface.html +++ /dev/null @@ -1,352 +0,0 @@ - - - - - - -CC32XX SimpleLink Host Driver: Ported on CC32XX - Communication Interface - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  0.0.5.1 -
-
-
- - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
Ported on CC32XX - Communication Interface
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - -

-Macros

-#define _SlFd_t   Fd_t
 
#define sl_IfOpen   spi_Open
 Opens an interface communication port to be used for communicating with a SimpleLink device. More...
 
#define sl_IfClose   spi_Close
 Closes an opened interface communication port. More...
 
#define sl_IfRead   spi_Read
 Attempts to read up to len bytes from an opened communication channel into a buffer starting at pBuff. More...
 
#define sl_IfWrite   spi_Write
 attempts to write up to len bytes to the SPI channel More...
 
#define sl_IfRegIntHdlr(InterruptHdl, pValue)   NwpRegisterInterruptHandler(InterruptHdl , pValue)
 register an interrupt handler routine for the host IRQ More...
 
#define sl_IfMaskIntHdlr()   NwpMaskInterrupt()
 Masks the Host IRQ. More...
 
#define sl_IfUnMaskIntHdlr()   NwpUnMaskInterrupt()
 Unmasks the Host IRQ. More...
 
-

Detailed Description

-

The simple link device can work with different communication channels (e.g. spi/uart). Texas Instruments provides single driver that can work with all these types. This section bind between the physical communication interface channel and the SimpleLink driver

-
Note
Correct and efficient implementation of this driver is critical for the performances of the SimpleLink device on this platform.
-

PORTING ACTION:

    -
  • None
  • -
-

Macro Definition Documentation

- -
-
- - - - -
#define sl_IfClose   spi_Close
-
- -

Closes an opened interface communication port.

-
Parameters
- - -
fd- file descriptor of opened communication channel
-
-
-
Returns
upon successful completion, the function shall return 0. Otherwise, -1 shall be returned
-
See also
sl_IfOpen , sl_IfRead , sl_IfWrite
\note       The prototype of the function is as follow:
-            int xxx_IfClose(Fd_t Fd);
-
-
Note
belongs to ported_sec
-
Warning
- -
-
- -
-
- - - - - - - -
#define sl_IfMaskIntHdlr()   NwpMaskInterrupt()
-
- -

Masks the Host IRQ.

-
See also
sl_IfUnMaskIntHdlr
-
Note
belongs to ported_sec
-
Warning
- -
-
- -
-
- - - - -
#define sl_IfOpen   spi_Open
-
- -

Opens an interface communication port to be used for communicating with a SimpleLink device.

-

Given an interface name and option flags, this function opens the communication port and creates a file descriptor. This file descriptor is used afterwards to read and write data from and to this specific communication channel. The speed, clock polarity, clock phase, chip select and all other specific attributes of the channel are all should be set to hardcoded in this function.

-
Parameters
- - - -
ifName- points to the interface name/path. The interface name is an optional attributes that the simple link driver receives on opening the driver (sl_Start). In systems that the spi channel is not implemented as part of the os device drivers, this parameter could be NULL.
flags- optional flags parameters for future use
-
-
-
Returns
upon successful completion, the function shall open the channel and return a non-negative integer representing the file descriptor. Otherwise, -1 shall be returned
-
See also
sl_IfClose , sl_IfRead , sl_IfWrite
\note       The prototype of the function is as follow:
-            Fd_t xxx_IfOpen(char* pIfName , unsigned long flags);
-
-
Note
belongs to ported_sec
-
Warning
- -
-
- -
-
- - - - -
#define sl_IfRead   spi_Read
-
- -

Attempts to read up to len bytes from an opened communication channel into a buffer starting at pBuff.

-
Parameters
- - - - -
fd- file descriptor of an opened communication channel
pBuff- pointer to the first location of a buffer that contains enough space for all expected data
len- number of bytes to read from the communication channel
-
-
-
Returns
upon successful completion, the function shall return the number of read bytes. Otherwise, 0 shall be returned
-
See also
sl_IfClose , sl_IfOpen , sl_IfWrite
-
\note       The prototype of the function is as follow:
-            int xxx_IfRead(Fd_t Fd , char* pBuff , int Len);
-
Note
belongs to ported_sec
-
Warning
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
#define sl_IfRegIntHdlr( InterruptHdl,
 pValue 
)   NwpRegisterInterruptHandler(InterruptHdl , pValue)
-
- -

register an interrupt handler routine for the host IRQ

-
Parameters
- - - -
InterruptHdl- pointer to interrupt handler routine
pValue- pointer to a memory structure that is passed to the interrupt handler.
-
-
-
Returns
upon successful registration, the function shall return 0. Otherwise, -1 shall be returned
-
See also
\note               If there is already registered interrupt handler, the function
-                    should overwrite the old handler with the new one
-
-\note       If the handler is a null pointer, the function should un-register the
-            interrupt handler, and the interrupts can be disabled.
-
-
Note
belongs to ported_sec
-
Warning
- -
-
- -
-
- - - - - - - -
#define sl_IfUnMaskIntHdlr()   NwpUnMaskInterrupt()
-
- -

Unmasks the Host IRQ.

-
See also
sl_IfMaskIntHdlr
-
Note
belongs to ported_sec
-
Warning
- -
-
- -
-
- - - - -
#define sl_IfWrite   spi_Write
-
- -

attempts to write up to len bytes to the SPI channel

-
Parameters
- - - - -
fd- file descriptor of an opened communication channel
pBuff- pointer to the first location of a buffer that contains the data to send over the communication channel
len- number of bytes to write to the communication channel
-
-
-
Returns
upon successful completion, the function shall return the number of sent bytes. therwise, 0 shall be returned
-
See also
sl_IfClose , sl_IfOpen , sl_IfRead
\note       This function could be implemented as zero copy and return only upon successful completion
-        of writing the whole buffer, but in cases that memory allocation is not too tight, the 
-        function could copy the data to internal buffer, return back and complete the write in 
-        parallel to other activities as long as the other SPI activities would be blocked until 
-        the entire buffer write would be completed 
-
-       The prototype of the function is as follow:
-            int xxx_IfWrite(Fd_t Fd , char* pBuff , int Len);
-
-
Note
belongs to ported_sec
-
Warning
- -
-
-
-
- - - - diff --git a/docs/simplelink_api/html/group__ported__interface.js b/docs/simplelink_api/html/group__ported__interface.js deleted file mode 100644 index 24e0772..0000000 --- a/docs/simplelink_api/html/group__ported__interface.js +++ /dev/null @@ -1,10 +0,0 @@ -var group__ported__interface = -[ - [ "sl_IfClose", "group__ported__interface.html#ga93d829306f92470614ca2fe71e7fbaa2", null ], - [ "sl_IfMaskIntHdlr", "group__ported__interface.html#ga134a6c4658baae78724989e8a36d7be0", null ], - [ "sl_IfOpen", "group__ported__interface.html#ga206e7c86da4e31989d54dbd8531ce505", null ], - [ "sl_IfRead", "group__ported__interface.html#ga0d4d3db7b5ee6efcaf940de38f32d190", null ], - [ "sl_IfRegIntHdlr", "group__ported__interface.html#ga0e17e205005322be3b619eeeeec9f069", null ], - [ "sl_IfUnMaskIntHdlr", "group__ported__interface.html#gab3b2a3ae727a4e932ee45ea17fe4f701", null ], - [ "sl_IfWrite", "group__ported__interface.html#gaaca4940235fc8e01cdad18a0908fda34", null ] -]; \ No newline at end of file diff --git a/docs/simplelink_api/html/group__ported__os.html b/docs/simplelink_api/html/group__ported__os.html deleted file mode 100644 index fa1abbf..0000000 --- a/docs/simplelink_api/html/group__ported__os.html +++ /dev/null @@ -1,610 +0,0 @@ - - - - - - -CC32XX SimpleLink Host Driver: Ported on CC32XX - Operating System - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  0.0.5.1 -
-
-
- - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
Ported on CC32XX - Operating System
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Macros

-#define SL_PLATFORM_MULTI_THREADED
 
#define SL_OS_RET_CODE_OK   ((int)OSI_OK)
 
#define SL_OS_WAIT_FOREVER   ((OsiTime_t)OSI_WAIT_FOREVER)
 
#define SL_OS_NO_WAIT   ((OsiTime_t)OSI_NO_WAIT)
 
#define _SlTime_t   OsiTime_t
 type definition for a time value More...
 
#define sl_SyncObjCreate(pSyncObj, pName)   osi_SyncObjCreate(pSyncObj)
 This function creates a sync object. More...
 
#define sl_SyncObjDelete(pSyncObj)   osi_SyncObjDelete(pSyncObj)
 This function deletes a sync object. More...
 
#define sl_SyncObjSignal(pSyncObj)   osi_SyncObjSignal(pSyncObj)
 This function generates a sync signal for the object. More...
 
#define sl_SyncObjSignalFromIRQ(pSyncObj)   osi_SyncObjSignalFromISR(pSyncObj)
 This function generates a sync signal for the object from Interrupt. More...
 
#define sl_SyncObjWait(pSyncObj, Timeout)   osi_SyncObjWait(pSyncObj,Timeout)
 This function waits for a sync signal of the specific sync object. More...
 
#define sl_LockObjCreate(pLockObj, pName)   osi_LockObjCreate(pLockObj)
 This function creates a locking object. More...
 
#define sl_LockObjDelete(pLockObj)   osi_LockObjDelete(pLockObj)
 This function deletes a locking object. More...
 
#define sl_LockObjLock(pLockObj, Timeout)   osi_LockObjLock(pLockObj,Timeout)
 This function locks a locking object. More...
 
#define sl_LockObjUnlock(pLockObj)   osi_LockObjUnlock(pLockObj)
 This function unlock a locking object. More...
 
#define SL_PLATFORM_EXTERNAL_SPAWN
 This function call the pEntry callback from a different context. More...
 
-#define sl_Spawn(pEntry, pValue, flags)   osi_Spawn(pEntry,pValue,flags)
 
- - - - - - - -

-Typedefs

typedef OsiSyncObj_t _SlSyncObj_t
 type definition for a sync object container More...
 
typedef OsiLockObj_t _SlLockObj_t
 type definition for a locking object container More...
 
-

Detailed Description

-

The simple link driver can run on multi-threaded environment as well as non-os environment (mail loop)

-

This section IS NOT REQUIRED in case you are working on non-os environment.

-

If you choose to work in multi-threaded environment under any operating system you will have to provide some basic adaptation routines to allow the driver to protect access to resources from different threads (locking object) and to allow synchronization between threads (sync objects).

-

PORTING ACTION:

    -
  1. Uncomment SL_PLATFORM_MULTI_THREADED define
  2. -
  3. Bind locking object routines
  4. -
  5. Bind synchronization object routines
  6. -
  7. Optional - Bind spawn thread routine
  8. -
-

Macro Definition Documentation

- -
-
- - - - -
#define _SlTime_t   OsiTime_t
-
- -

type definition for a time value

-
Note
On each porting or platform the type could be whatever is needed - integer, pointer to structure etc.
-
-belongs to ported_sec
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
#define sl_LockObjCreate( pLockObj,
 pName 
)   osi_LockObjCreate(pLockObj)
-
- -

This function creates a locking object.

-

The locking object is used for protecting a shared resources between different threads.

-
Parameters
- - -
pLockObj- pointer to the locking object control block
-
-
-
Returns
upon successful creation the function should return 0 Otherwise, a negative value indicating the error code shall be returned
-
Note
belongs to ported_sec
-
Warning
- -
-
- -
-
- - - - - - - - -
#define sl_LockObjDelete( pLockObj)   osi_LockObjDelete(pLockObj)
-
- -

This function deletes a locking object.

-
Parameters
- - -
pLockObj- pointer to the locking object control block
-
-
-
Returns
upon successful deletion the function should return 0 Otherwise, a negative value indicating the error code shall be returned
-
Note
belongs to ported_sec
-
Warning
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
#define sl_LockObjLock( pLockObj,
 Timeout 
)   osi_LockObjLock(pLockObj,Timeout)
-
- -

This function locks a locking object.

-

All other threads that call this function before this thread calls the osi_LockObjUnlock would be suspended

-
Parameters
- - - -
pLockObj- pointer to the locking object control block
Timeout- numeric value specifies the maximum number of mSec to stay suspended while waiting for the locking object Currently, the simple link driver uses only two values:
    -
  • OSI_WAIT_FOREVER
  • -
  • OSI_NO_WAIT
  • -
-
-
-
-
\return upon successful reception of the locking object the function should return 0
-            Otherwise, a negative value indicating the error code shall be returned
-
Note
belongs to ported_sec
-
Warning
- -
-
- -
-
- - - - - - - - -
#define sl_LockObjUnlock( pLockObj)   osi_LockObjUnlock(pLockObj)
-
- -

This function unlock a locking object.

-
Parameters
- - -
pLockObj- pointer to the locking object control block
-
-
-
Returns
upon successful unlocking the function should return 0 Otherwise, a negative value indicating the error code shall be returned
-
Note
belongs to ported_sec
-
Warning
- -
-
- -
-
- - - - -
#define SL_OS_NO_WAIT   ((OsiTime_t)OSI_NO_WAIT)
-
-
See also
-
Note
belongs to ported_sec
-
Warning
- -
-
- -
-
- - - - -
#define SL_OS_RET_CODE_OK   ((int)OSI_OK)
-
-
See also
-
Note
belongs to ported_sec
-
Warning
- -
-
- -
-
- - - - -
#define SL_OS_WAIT_FOREVER   ((OsiTime_t)OSI_WAIT_FOREVER)
-
-
See also
-
Note
belongs to ported_sec
-
Warning
- -
-
- -
-
- - - - -
#define SL_PLATFORM_EXTERNAL_SPAWN
-
- -

This function call the pEntry callback from a different context.

-
Parameters
- - - - -
pEntry- pointer to the entry callback function
pValue- pointer to any type of memory structure that would be passed to pEntry callback from the execution thread.
flags- execution flags - reserved for future usage
-
-
-
Returns
upon successful registration of the spawn the function should return 0 (the function is not blocked till the end of the execution of the function and could be returned before the execution is actually completed) Otherwise, a negative value indicating the error code shall be returned
-
Note
belongs to ported_sec
-
Warning
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
#define sl_SyncObjCreate( pSyncObj,
 pName 
)   osi_SyncObjCreate(pSyncObj)
-
- -

This function creates a sync object.

-

The sync object is used for synchronization between diffrent thread or ISR and a thread.

-
Parameters
- - -
pSyncObj- pointer to the sync object control block
-
-
-
Returns
upon successful creation the function should return 0 Otherwise, a negative value indicating the error code shall be returned
-
Note
belongs to ported_sec
-
Warning
- -
-
- -
-
- - - - - - - - -
#define sl_SyncObjDelete( pSyncObj)   osi_SyncObjDelete(pSyncObj)
-
- -

This function deletes a sync object.

-
Parameters
- - -
pSyncObj- pointer to the sync object control block
-
-
-
Returns
upon successful deletion the function should return 0 Otherwise, a negative value indicating the error code shall be returned
-
Note
belongs to ported_sec
-
Warning
- -
-
- -
-
- - - - - - - - -
#define sl_SyncObjSignal( pSyncObj)   osi_SyncObjSignal(pSyncObj)
-
- -

This function generates a sync signal for the object.

-

All suspended threads waiting on this sync object are resumed

-
Parameters
- - -
pSyncObj- pointer to the sync object control block
-
-
-
Returns
upon successful signaling the function should return 0 Otherwise, a negative value indicating the error code shall be returned
-
Note
the function could be called from ISR context
-
Warning
- -
-
- -
-
- - - - - - - - -
#define sl_SyncObjSignalFromIRQ( pSyncObj)   osi_SyncObjSignalFromISR(pSyncObj)
-
- -

This function generates a sync signal for the object from Interrupt.

-

This is for RTOS that should signal from IRQ using a dedicated API

-
Parameters
- - -
pSyncObj- pointer to the sync object control block
-
-
-
Returns
upon successful signaling the function should return 0 Otherwise, a negative value indicating the error code shall be returned
-
Note
the function could be called from ISR context
-
Warning
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
#define sl_SyncObjWait( pSyncObj,
 Timeout 
)   osi_SyncObjWait(pSyncObj,Timeout)
-
- -

This function waits for a sync signal of the specific sync object.

-
Parameters
- - - -
pSyncObj- pointer to the sync object control block
Timeout- numeric value specifies the maximum number of mSec to stay suspended while waiting for the sync signal Currently, the simple link driver uses only two values:
    -
  • OSI_WAIT_FOREVER
  • -
  • OSI_NO_WAIT
  • -
-
-
-
-
Returns
upon successful reception of the signal within the timeout window return 0 Otherwise, a negative value indicating the error code shall be returned
-
Note
belongs to ported_sec
-
Warning
- -
-
-

Typedef Documentation

- -
-
- - - - -
typedef OsiLockObj_t _SlLockObj_t
-
- -

type definition for a locking object container

-

Locking object are used to protect a resource from mutual accesses of two or more threads. The locking object should suppurt reentrant locks by a signal thread. This object is generally implemented by mutex semaphore

-
Note
On each porting or platform the type could be whatever is needed - integer, structure etc.
-
-belongs to ported_sec
- -
-
- -
-
- - - - -
typedef OsiSyncObj_t _SlSyncObj_t
-
- -

type definition for a sync object container

-

Sync object is object used to synchronize between two threads or thread and interrupt handler. One thread is waiting on the object and the other thread send a signal, which then release the waiting thread. The signal must be able to be sent from interrupt context. This object is generally implemented by binary semaphore or events.

-
Note
On each porting or platform the type could be whatever is needed - integer, structure etc.
-
-belongs to ported_sec
- -
-
-
-
- - - - diff --git a/docs/simplelink_api/html/group__ported__os.js b/docs/simplelink_api/html/group__ported__os.js deleted file mode 100644 index 292f371..0000000 --- a/docs/simplelink_api/html/group__ported__os.js +++ /dev/null @@ -1,19 +0,0 @@ -var group__ported__os = -[ - [ "_SlTime_t", "group__ported__os.html#ga2b59ba700928c882ee7e09cc2ca21ae0", null ], - [ "sl_LockObjCreate", "group__ported__os.html#gac1d0a12a5afd13d8b7809911c645fd5c", null ], - [ "sl_LockObjDelete", "group__ported__os.html#ga6ac346506983bdee1f92bf25be6242d8", null ], - [ "sl_LockObjLock", "group__ported__os.html#ga53c6c1fb7069626627b59ed2ac526f37", null ], - [ "sl_LockObjUnlock", "group__ported__os.html#gae4e01547906364515ec4ed1efd07020c", null ], - [ "SL_OS_NO_WAIT", "group__ported__os.html#gab3addb759397657f08d76f9a8d911df3", null ], - [ "SL_OS_RET_CODE_OK", "group__ported__os.html#gab7a5fd0efc65395fb4a08a373d5b2249", null ], - [ "SL_OS_WAIT_FOREVER", "group__ported__os.html#ga46fef31825e3d93f0cbf87ef0f0e8bdc", null ], - [ "SL_PLATFORM_EXTERNAL_SPAWN", "group__ported__os.html#gab5eaa3977a30d7850822d02d59177134", null ], - [ "sl_SyncObjCreate", "group__ported__os.html#ga8c0d4537932fc4d16fdb74b47c87f25c", null ], - [ "sl_SyncObjDelete", "group__ported__os.html#ga7c3a3039c187e241dc672012283a1dbd", null ], - [ "sl_SyncObjSignal", "group__ported__os.html#gafd412ee7243ea29192ab6156e5dae006", null ], - [ "sl_SyncObjSignalFromIRQ", "group__ported__os.html#ga8a675ba872a3baab12ba0061d0438497", null ], - [ "sl_SyncObjWait", "group__ported__os.html#gad6449455165bec5c40eb0a1b399e285a", null ], - [ "_SlLockObj_t", "group__ported__os.html#ga8d2ec9002b5c79f7ff4078131bd2cf75", null ], - [ "_SlSyncObj_t", "group__ported__os.html#gaf276f690a7bcfca16d38b279d1229472", null ] -]; \ No newline at end of file diff --git a/docs/simplelink_api/html/group__porting__capabilities.html b/docs/simplelink_api/html/group__porting__capabilities.html deleted file mode 100644 index 0e18371..0000000 --- a/docs/simplelink_api/html/group__porting__capabilities.html +++ /dev/null @@ -1,383 +0,0 @@ - - - - - - -CC32XX SimpleLink Host Driver: Porting - Capabilities Set - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  0.0.5.1 -
-
-
- - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
Porting - Capabilities Set
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Macros

#define SL_INC_ARG_CHECK
 Defines whether the SimpleLink driver perform argument check or not. More...
 
#define SL_INC_STD_BSD_API_NAMING
 Defines whether SimpleLink driver should expose standard BSD APIs or not. More...
 
#define SL_INC_EXT_API
 Defines whether to include extended API in SimpleLink driver or not. More...
 
#define SL_INC_WLAN_PKG
 Defines whether to include WLAN package in SimpleLink driver or not. More...
 
#define SL_INC_SOCKET_PKG
 Defines whether to include SOCKET package in SimpleLink driver or not. More...
 
#define SL_INC_NET_APP_PKG
 Defines whether to include NET_APP package in SimpleLink driver or not. More...
 
#define SL_INC_NET_CFG_PKG
 Defines whether to include NET_CFG package in SimpleLink driver or not. More...
 
#define SL_INC_NVMEM_PKG
 Defines whether to include NVMEM package in SimpleLink driver or not. More...
 
#define SL_INC_SOCK_SERVER_SIDE_API
 Defines whether to include socket server side APIs in SimpleLink driver or not. More...
 
#define SL_INC_SOCK_CLIENT_SIDE_API
 Defines whether to include socket client side APIs in SimpleLink driver or not. More...
 
#define SL_INC_SOCK_RECV_API
 Defines whether to include socket receive APIs in SimpleLink driver or not. More...
 
#define SL_INC_SOCK_SEND_API
 Defines whether to include socket send APIs in SimpleLink driver or not. More...
 
-

Detailed Description

-

This section IS NOT REQUIRED in case one of the following pre defined capabilities set is in use:

    -
  • SL_TINY
  • -
  • SL_SMALL
  • -
  • SL_FULL
  • -
-

PORTING ACTION:

    -
  • Define one of the pre-defined capabilities set or uncomment the relevant definitions below to select the required capabilities
  • -
-

Macro Definition Documentation

- -
-
- - - - -
#define SL_INC_ARG_CHECK
-
- -

Defines whether the SimpleLink driver perform argument check or not.

-

When defined, the SimpleLink driver perform argument check on function call. Removing this define could reduce some code size and improve slightly the performances but may impact in unpredictable behavior in case of invalid arguments

-
See also
-
Note
belongs to porting_sec
-
Warning
Removing argument check may cause unpredictable behavior in case of invalid arguments. In this case the user is responsible to argument validity (for example all handlers must not be NULL)
- -
-
- -
-
- - - - -
#define SL_INC_EXT_API
-
- -

Defines whether to include extended API in SimpleLink driver or not.

-

When defined, the SimpleLink driver will include also all exteded API of the included packages

-
See also
ext_api
-
Note
belongs to porting_sec
-
Warning
- -
-
- -
-
- - - - -
#define SL_INC_NET_APP_PKG
-
- -

Defines whether to include NET_APP package in SimpleLink driver or not.

-

When defined, the SimpleLink driver will include also the NET_APP package

-
See also
-
Note
belongs to porting_sec
-
Warning
- -
-
- -
-
- - - - -
#define SL_INC_NET_CFG_PKG
-
- -

Defines whether to include NET_CFG package in SimpleLink driver or not.

-

When defined, the SimpleLink driver will include also the NET_CFG package

-
See also
-
Note
belongs to porting_sec
-
Warning
- -
-
- -
-
- - - - -
#define SL_INC_NVMEM_PKG
-
- -

Defines whether to include NVMEM package in SimpleLink driver or not.

-

When defined, the SimpleLink driver will include also the NVMEM package

-
See also
-
Note
belongs to porting_sec
-
Warning
- -
-
- -
-
- - - - -
#define SL_INC_SOCK_CLIENT_SIDE_API
-
- -

Defines whether to include socket client side APIs in SimpleLink driver or not.

-

When defined, the SimpleLink driver will include also socket client side APIs

-
See also
client_side
-
Note
belongs to porting_sec
-
Warning
- -
-
- -
-
- - - - -
#define SL_INC_SOCK_RECV_API
-
- -

Defines whether to include socket receive APIs in SimpleLink driver or not.

-

When defined, the SimpleLink driver will include also socket receive side APIs

-
See also
recv_api
-
Note
belongs to porting_sec
-
Warning
- -
-
- -
-
- - - - -
#define SL_INC_SOCK_SEND_API
-
- -

Defines whether to include socket send APIs in SimpleLink driver or not.

-

When defined, the SimpleLink driver will include also socket send side APIs

-
See also
send_api
-
Note
belongs to porting_sec
-
Warning
- -
-
- -
-
- - - - -
#define SL_INC_SOCK_SERVER_SIDE_API
-
- -

Defines whether to include socket server side APIs in SimpleLink driver or not.

-

When defined, the SimpleLink driver will include also socket server side APIs

-
See also
server_side
-
Note
-
Warning
- -
-
- -
-
- - - - -
#define SL_INC_SOCKET_PKG
-
- -

Defines whether to include SOCKET package in SimpleLink driver or not.

-

When defined, the SimpleLink driver will include also the SOCKET package

-
See also
-
Note
belongs to porting_sec
-
Warning
- -
-
- -
-
- - - - -
#define SL_INC_STD_BSD_API_NAMING
-
- -

Defines whether SimpleLink driver should expose standard BSD APIs or not.

-

When defined, the SimpleLink driver in addtion to its alternative BSD APIs expose also standard BSD APIs. Stadrad BSD API includs the following functions: socket , close , accept , bind , listen , connect , select , setsockopt , getsockopt , recv , recvfrom , write , send , sendto , gethostbyname

-
See also
-
Note
belongs to porting_sec
-
Warning
- -
-
- -
-
- - - - -
#define SL_INC_WLAN_PKG
-
- -

Defines whether to include WLAN package in SimpleLink driver or not.

-

When defined, the SimpleLink driver will include also the WLAN package

-
See also
-
Note
belongs to porting_sec
-
Warning
- -
-
-
-
- - - - diff --git a/docs/simplelink_api/html/group__porting__capabilities.js b/docs/simplelink_api/html/group__porting__capabilities.js deleted file mode 100644 index d6eeacc..0000000 --- a/docs/simplelink_api/html/group__porting__capabilities.js +++ /dev/null @@ -1,15 +0,0 @@ -var group__porting__capabilities = -[ - [ "SL_INC_ARG_CHECK", "group__porting__capabilities.html#gaa42d6fa27f3569e91678da37cefdd8bc", null ], - [ "SL_INC_EXT_API", "group__porting__capabilities.html#ga4be99245edba2bfb842d8df4d09eb999", null ], - [ "SL_INC_NET_APP_PKG", "group__porting__capabilities.html#ga7cbf8400d435a30ab34d4a2214400114", null ], - [ "SL_INC_NET_CFG_PKG", "group__porting__capabilities.html#gacf5fb67b728e2a462af65cdf255bcf9a", null ], - [ "SL_INC_NVMEM_PKG", "group__porting__capabilities.html#ga9188550c03f37f238eb9f30a1cbd0df0", null ], - [ "SL_INC_SOCK_CLIENT_SIDE_API", "group__porting__capabilities.html#ga5c7e38b29356ef0962f718e0330c9856", null ], - [ "SL_INC_SOCK_RECV_API", "group__porting__capabilities.html#gaac3f7bc7062d8af4877ad9945e0b3d18", null ], - [ "SL_INC_SOCK_SEND_API", "group__porting__capabilities.html#gaa73df10f6f9d30adb4ab338d340ad947", null ], - [ "SL_INC_SOCK_SERVER_SIDE_API", "group__porting__capabilities.html#gaf01455b50bce19c25ca37eef89b77557", null ], - [ "SL_INC_SOCKET_PKG", "group__porting__capabilities.html#gabc6eb775d34a6bfdb403870731bcb2d2", null ], - [ "SL_INC_STD_BSD_API_NAMING", "group__porting__capabilities.html#gac1149288c21844487d5355043cc29192", null ], - [ "SL_INC_WLAN_PKG", "group__porting__capabilities.html#gad726661ffffa2ba5ec2a07004ca7424c", null ] -]; \ No newline at end of file diff --git a/docs/simplelink_api/html/group__porting__enable__device.html b/docs/simplelink_api/html/group__porting__enable__device.html deleted file mode 100644 index 1744a4c..0000000 --- a/docs/simplelink_api/html/group__porting__enable__device.html +++ /dev/null @@ -1,200 +0,0 @@ - - - - -SimpleLink Host Driver: Porting - Device Enable/Disable - - - - - - - - - - - - - - -
-
- - - - - - -
-
SimpleLink Host Driver 1.0.0.0
-
-
- -
-
- -
-
-
- -
-
- -
-
Porting - Device Enable/Disable
-
-
- - - - - - -

-Defines

#define sl_DeviceEnable()   NwpPowerOn()
 Enable the device by set the appropriate GPIO to high.
#define sl_DeviceDisable()   NwpPowerOff()
 Disable the device by setting the appropriate GPIO to Low.
-

Detailed Description

-

The enable/disable line (nHib) provide mechanism to enter the device into the least current consumption mode. This mode could be used when no traffic is required (tx/rx). when this hardware line is not connected to any IO of the host this define should be left empty.

-
Note:
Not connecting this line results in ability to start the driver only once.
-

PORTING ACTION:

-
    -
  • Bind the GPIO that is connected to the device to the SimpleLink driver
  • -
-

Define Documentation

- -
-
- - - - - - - -
#define sl_DeviceDisable()   NwpPowerOff()
-
-
- -

Disable the device by setting the appropriate GPIO to Low.

-
See also:
sl_DeviceEnable
-
Note:
belongs to Porting
-
Warning:
if nHib/nShutdown pins are not connected to the host this define should be left empty. Not connecting on of these lines may result in higher power consumption and inability to start and stop the driver correctly.
- -
-
- -
-
- - - - - - - -
#define sl_DeviceEnable()   NwpPowerOn()
-
-
- -

Enable the device by set the appropriate GPIO to high.

-
See also:
sl_DeviceDisable
-
Note:
belongs to Porting
-
Warning:
if nHib/nShutdown pins are not connected to the host this define should be left empty. Not connecting on of these lines may result in higher power consumption and inability to start and stop the driver correctly.
- -
-
-
-
- - -
- All Data Structures Variables
- - -
- -
- - - - diff --git a/docs/simplelink_api/html/group__porting__events.html b/docs/simplelink_api/html/group__porting__events.html deleted file mode 100644 index 187a31a..0000000 --- a/docs/simplelink_api/html/group__porting__events.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - - -CC32XX SimpleLink Host Driver: Porting - Event Handlers - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  0.0.5.1 -
-
-
- - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
Porting - Event Handlers
-
-
- - - - - - - - - - - -

-Macros

#define sl_WlanEvtHdlr   SimpleLinkWlanEventHandler
 An event handler for WLAN connection or disconnection indication This event handles async WLAN events. Possible events are: SL_WLAN_CONNECT_EVENT - indicates WLAN is connected SL_WLAN_DISCONNECT_EVENT - indicates WLAN is disconnected. More...
 
#define sl_NetAppEvtHdlr   SimpleLinkNetAppEventHandler
 An event handler for IP address asynchronous event. Usually accepted after new WLAN connection. This event handles networking events. Possible events are: SL_NETAPP_IPV4_ACQUIRED - IP address was acquired (DHCP or Static) More...
 
#define sl_HttpServerCallback   SimpleLinkHttpServerCallback
 A callback for HTTP server events. Possible events are: SL_NETAPP_HTTPGETTOKENVALUE - NWP requests to get the value of a specific token SL_NETAPP_HTTPPOSTTOKENVALUE - NWP post to the host a new value for a specific token. More...
 
-

Detailed Description

-

This section includes the asynchronous event handlers routines

-

PORTING ACTION: -Uncomment the required handler and define your routine as the value of this handler

-

Macro Definition Documentation

- -
-
- - - - -
#define sl_HttpServerCallback   SimpleLinkHttpServerCallback
-
- -

A callback for HTTP server events. Possible events are: SL_NETAPP_HTTPGETTOKENVALUE - NWP requests to get the value of a specific token SL_NETAPP_HTTPPOSTTOKENVALUE - NWP post to the host a new value for a specific token.

-
Parameters
- - - -
pServerEvent- Contains the relevant event information (SL_NETAPP_HTTPGETTOKENVALUE or SL_NETAPP_HTTPPOSTTOKENVALUE)
pServerResponse- Should be filled by the user with the relevant response information (i.e SL_NETAPP_HTTPSETTOKENVALUE as a response to SL_NETAPP_HTTPGETTOKENVALUE event)
-
-
-
See also
-
Note
belongs to porting_sec
-
Warning
- -
-
- -
-
- - - - -
#define sl_NetAppEvtHdlr   SimpleLinkNetAppEventHandler
-
- -

An event handler for IP address asynchronous event. Usually accepted after new WLAN connection. This event handles networking events. Possible events are: SL_NETAPP_IPV4_ACQUIRED - IP address was acquired (DHCP or Static)

-
See also
-
Note
belongs to porting_sec
-
Warning
- -
-
- -
-
- - - - -
#define sl_WlanEvtHdlr   SimpleLinkWlanEventHandler
-
- -

An event handler for WLAN connection or disconnection indication This event handles async WLAN events. Possible events are: SL_WLAN_CONNECT_EVENT - indicates WLAN is connected SL_WLAN_DISCONNECT_EVENT - indicates WLAN is disconnected.

-
See also
-
Note
belongs to porting_sec
-
Warning
-
See also
-
Note
belongs to porting_sec
-
Warning
- -
-
-
-
- - - - diff --git a/docs/simplelink_api/html/group__porting__events.js b/docs/simplelink_api/html/group__porting__events.js deleted file mode 100644 index c9b9160..0000000 --- a/docs/simplelink_api/html/group__porting__events.js +++ /dev/null @@ -1,6 +0,0 @@ -var group__porting__events = -[ - [ "sl_HttpServerCallback", "group__porting__events.html#gacef3a52784e64d85ac16e3184276e8e7", null ], - [ "sl_NetAppEvtHdlr", "group__porting__events.html#ga3c0891823e25cd59435c60d20b5d4ca2", null ], - [ "sl_WlanEvtHdlr", "group__porting__events.html#ga562ae3aa3677752a7860927c6723a47c", null ] -]; \ No newline at end of file diff --git a/docs/simplelink_api/html/group__porting__interface.html b/docs/simplelink_api/html/group__porting__interface.html deleted file mode 100644 index 7bdb593..0000000 --- a/docs/simplelink_api/html/group__porting__interface.html +++ /dev/null @@ -1,370 +0,0 @@ - - - - -SimpleLink Host Driver: Porting - Communication Interface - - - - - - - - - - - - - - -
-
- - - - - - -
-
SimpleLink Host Driver 1.0.0.0
-
-
- -
-
- -
-
-
- -
-
- -
-
Porting - Communication Interface
-
-
- - - - - - - - - - - - - - - - - -

-Defines

-#define _SlFd_t   Fd_t
#define sl_IfOpen   spi_Open
 Opens an interface communication port to be used for communicating with a SimpleLink device.
#define sl_IfClose   spi_Close
 Closes an opened interface communication port.
#define sl_IfRead   spi_Read
 Attempts to read up to len bytes from an opened communication channel into a buffer starting at pBuff.
#define sl_IfWrite   spi_Write
 attempts to write up to len bytes to the SPI channel
#define sl_IfRegIntHdlr(InterruptHdl, pValue)   NwpRegisterInterruptHandler(InterruptHdl , pValue)
 register an interrupt handler routine for the host IRQ
#define sl_IfMaskIntHdlr()   NwpMaskInterrupt()
 Masks the Host IRQ.
#define sl_IfUnMaskIntHdlr()   NwpUnMaskInterrupt()
 Unmasks the Host IRQ.
-

Detailed Description

-

The simple link device can work with different communication channels (e.g. spi/uart). Texas Instruments provides single driver that can work with all these types. This section bind between the physical communication interface channel and the SimpleLink driver

-
Note:
Correct and efficient implementation of this driver is critical for the performances of the SimpleLink device on this platform.
-

PORTING ACTION:

-
    -
  • Bind the functions of the communication channel interface driver with the simple link driver
  • -
-

Define Documentation

- -
-
- - - - -
#define sl_IfClose   spi_Close
-
-
- -

Closes an opened interface communication port.

-
Parameters:
- - -
fd- file descriptor of opened communication channel
-
-
-
Returns:
upon successful completion, the function shall return 0. Otherwise, -1 shall be returned
-
See also:
sl_IfOpen , sl_IfRead , sl_IfWrite
-
Note:
The prototype of the function is as follow: int xxx_IfClose(Fd_t Fd);
-
-belongs to Porting
-
Warning:
- -
-
- -
-
- - - - - - - -
#define sl_IfMaskIntHdlr()   NwpMaskInterrupt()
-
-
- -

Masks the Host IRQ.

-
See also:
sl_IfUnMaskIntHdlr
-
Note:
belongs to Porting
-
Warning:
- -
-
- -
-
- - - - -
#define sl_IfOpen   spi_Open
-
-
- -

Opens an interface communication port to be used for communicating with a SimpleLink device.

-

Given an interface name and option flags, this function opens the communication port and creates a file descriptor. This file descriptor is used afterwards to read and write data from and to this specific communication channel. The speed, clock polarity, clock phase, chip select and all other specific attributes of the channel are all should be set to hardcoded in this function.

-
Parameters:
- - - -
ifName- points to the interface name/path. The interface name is an optional attributes that the simple link driver receives on opening the driver (sl_Start). In systems that the spi channel is not implemented as part of the os device drivers, this parameter could be NULL.
flags- optional flags parameters for future use
-
-
-
Returns:
upon successful completion, the function shall open the channel and return a non-negative integer representing the file descriptor. Otherwise, -1 shall be returned
-
See also:
sl_IfClose , sl_IfRead , sl_IfWrite
-
Note:
The prototype of the function is as follow: Fd_t xxx_IfOpen(char* pIfName , unsigned long flags);
-
-belongs to Porting
-
Warning:
- -
-
- -
-
- - - - -
#define sl_IfRead   spi_Read
-
-
- -

Attempts to read up to len bytes from an opened communication channel into a buffer starting at pBuff.

-
Parameters:
- - - - -
fd- file descriptor of an opened communication channel
pBuff- pointer to the first location of a buffer that contains enough space for all expected data
len- number of bytes to read from the communication channel
-
-
-
Returns:
upon successful completion, the function shall return the number of read bytes. Otherwise, 0 shall be returned
-
See also:
sl_IfClose , sl_IfOpen , sl_IfWrite
-
Note:
The prototype of the function is as follow: int xxx_IfRead(Fd_t Fd , char* pBuff , int Len);
-
-belongs to Porting
-
Warning:
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
#define sl_IfRegIntHdlr( InterruptHdl,
 pValue 
)   NwpRegisterInterruptHandler(InterruptHdl , pValue)
-
-
- -

register an interrupt handler routine for the host IRQ

-
Parameters:
- - - -
InterruptHdl- pointer to interrupt handler routine
pValue- pointer to a memory structure that is passed to the interrupt handler.
-
-
-
Returns:
upon successful registration, the function shall return 0. Otherwise, -1 shall be returned
-
See also:
-
Note:
If there is already registered interrupt handler, the function should overwrite the old handler with the new one
-
-If the handler is a null pointer, the function should un-register the interrupt handler, and the interrupts can be disabled.
-
-belongs to Porting
-
Warning:
- -
-
- -
-
- - - - - - - -
#define sl_IfUnMaskIntHdlr()   NwpUnMaskInterrupt()
-
-
- -

Unmasks the Host IRQ.

-
See also:
sl_IfMaskIntHdlr
-
Note:
belongs to Porting
-
Warning:
- -
-
- -
-
- - - - -
#define sl_IfWrite   spi_Write
-
-
- -

attempts to write up to len bytes to the SPI channel

-
Parameters:
- - - - -
fd- file descriptor of an opened communication channel
pBuff- pointer to the first location of a buffer that contains the data to send over the communication channel
len- number of bytes to write to the communication channel
-
-
-
Returns:
upon successful completion, the function shall return the number of sent bytes. therwise, 0 shall be returned
-
See also:
sl_IfClose , sl_IfOpen , sl_IfRead
-
Note:
This function could be implemented as zero copy and return only upon successful completion of writing the whole buffer, but in cases that memory allocation is not too tight, the function could copy the data to internal buffer, return back and complete the write in parallel to other activities as long as the other SPI activities would be blocked until the entire buffer write would be completed
-

The prototype of the function is as follow: int xxx_IfWrite(Fd_t Fd , char* pBuff , int Len);

-
Note:
belongs to Porting
-
Warning:
- -
-
-
-
- - -
- All Data Structures Variables
- - -
- -
- - - - diff --git a/docs/simplelink_api/html/group__porting__mem__mgm.html b/docs/simplelink_api/html/group__porting__mem__mgm.html deleted file mode 100644 index f17f9e2..0000000 --- a/docs/simplelink_api/html/group__porting__mem__mgm.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -CC32XX SimpleLink Host Driver: Porting - Memory Management - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  0.0.5.1 -
-
-
- - - - -
-
- -
-
-
- -
- - - - -
- -
- -
-
-
Porting - Memory Management
-
-
-

This section declare in which memory management model the SimpleLink driver will run:

    -
  1. Static
  2. -
  3. Dynamic
  4. -
-

This section IS NOT REQUIRED in case Static model is selected.

-

The default memory model is Static

-

PORTING ACTION:

    -
  • If dynamic model is selected, define the alloc and free functions.
  • -
-
-
- - - - diff --git a/docs/simplelink_api/html/group__porting__os.html b/docs/simplelink_api/html/group__porting__os.html deleted file mode 100644 index 8333b59..0000000 --- a/docs/simplelink_api/html/group__porting__os.html +++ /dev/null @@ -1,188 +0,0 @@ - - - - -SimpleLink Host Driver: Porting - Operating System - - - - - - - - - - - - - - -
-
- - - - - - -
-
SimpleLink Host Driver 1.0.0.0
-
-
- -
-
- -
-
-
- -
-
- -
-
Porting - Operating System
-
-
- - - - - -

-Defines

#define SL_PLATFORM_EXTERNAL_SPAWN
 This function call the pEntry callback from a different context.
-#define sl_Spawn(pEntry, pValue, flags)   osi_Spawn(pEntry,pValue,flags)
-

Detailed Description

-

The simple link driver can run on multi-threaded environment as well as non-os environment (mail loop)

-

This section IS NOT REQUIRED in case you are working on non-os environment.

-

If you choose to work in multi-threaded environment under any operating system you will have to provide some basic adaptation routines to allow the driver to protect access to resources from different threads (locking object) and to allow synchronization between threads (sync objects).

-

PORTING ACTION:

-
    -
  1. Uncomment SL_PLATFORM_MULTI_THREADED define
  2. -
  3. Bind locking object routines
  4. -
  5. Bind synchronization object routines
  6. -
  7. Optional - Bind spawn thread routine
  8. -
-

Define Documentation

- -
-
- - - - -
#define SL_PLATFORM_EXTERNAL_SPAWN
-
-
- -

This function call the pEntry callback from a different context.

-
Parameters:
- - - - -
pEntry- pointer to the entry callback function
pValue- pointer to any type of memory structure that would be passed to pEntry callback from the execution thread.
flags- execution flags - reserved for future usage
-
-
-
Returns:
upon successful registration of the spawn the function should return 0 (the function is not blocked till the end of the execution of the function and could be returned before the execution is actually completed) Otherwise, a negative value indicating the error code shall be returned
-
Note:
belongs to Porting
-
Warning:
- -
-
-
-
- - -
- All Data Structures Variables
- - -
- -
- - - - diff --git a/docs/simplelink_api/html/group__porting__user__include.html b/docs/simplelink_api/html/group__porting__user__include.html deleted file mode 100644 index 02ba37f..0000000 --- a/docs/simplelink_api/html/group__porting__user__include.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -CC32XX SimpleLink Host Driver: Porting - User Include Files - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  0.0.5.1 -
-
-
- - - - -
-
- -
-
-
- -
- - - - -
- -
- -
-
-
Porting - User Include Files
-
-
-

This section IS NOT REQUIRED in case user provided primitives are handled in makefiles or project configurations (IDE)

-

PORTING ACTION:

    -
  • Include all required header files for the definition of:
      -
    1. Transport layer library API (e.g. SPI, UART)
    2. -
    3. OS primitives definitions (e.g. Task spawn, Semaphores)
    4. -
    5. Memory management primitives (e.g. alloc, free)
    6. -
    -
  • -
-
-
- - - - diff --git a/docs/simplelink_api/html/group__proting__capabilities.html b/docs/simplelink_api/html/group__proting__capabilities.html deleted file mode 100644 index b9b0dea..0000000 --- a/docs/simplelink_api/html/group__proting__capabilities.html +++ /dev/null @@ -1,410 +0,0 @@ - - - - -SimpleLink Host Driver: Porting - Capabilities Set - - - - - - - - - - - - - - -
-
- - - - - - -
-
SimpleLink Host Driver 1.0.0.0
-
-
- -
-
- -
-
-
- -
-
- -
-
Porting - Capabilities Set
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -

-Defines

#define SL_INC_ARG_CHECK
 Defines whether the SimpleLink driver perform argument check or not.
#define SL_INC_STD_BSD_API_NAMING
 Defines whether SimpleLink driver should expose standard BSD APIs or not.
#define SL_INC_EXT_API
 Defines whether to include extended API in SimpleLink driver or not.
#define SL_INC_WLAN_PKG
 Defines whether to include WLAN package in SimpleLink driver or not.
#define SL_INC_SOCKET_PKG
 Defines whether to include SOCKET package in SimpleLink driver or not.
#define SL_INC_NET_APP_PKG
 Defines whether to include NET_APP package in SimpleLink driver or not.
#define SL_INC_NET_CFG_PKG
 Defines whether to include NET_CFG package in SimpleLink driver or not.
#define SL_INC_NVMEM_PKG
 Defines whether to include NVMEM package in SimpleLink driver or not.
#define SL_INC_SOCK_SERVER_SIDE_API
 Defines whether to include socket server side APIs in SimpleLink driver or not.
#define SL_INC_SOCK_CLIENT_SIDE_API
 Defines whether to include socket client side APIs in SimpleLink driver or not.
#define SL_INC_SOCK_RECV_API
 Defines whether to include socket receive APIs in SimpleLink driver or not.
#define SL_INC_SOCK_SEND_API
 Defines whether to include socket send APIs in SimpleLink driver or not.
-

Detailed Description

-

This section IS NOT REQUIRED in case one of the following pre defined capabilities set is in use:

-
    -
  • SL_TINY
  • -
  • SL_SMALL
  • -
  • SL_FULL
  • -
-

PORTING ACTION:

-
    -
  • Define one of the pre-defined capabilities set or uncomment the relevant definitions below to select the required capabilities
  • -
-

Define Documentation

- -
-
- - - - -
#define SL_INC_ARG_CHECK
-
-
- -

Defines whether the SimpleLink driver perform argument check or not.

-

When defined, the SimpleLink driver perform argument check on function call. Removing this define could reduce some code size and improve slightly the performances but may impact in unpredictable behavior in case of invalid arguments

-
See also:
-
Note:
belongs to Porting
-
Warning:
Removing argument check may cause unpredictable behavior in case of invalid arguments. In this case the user is responsible to argument validity (for example all handlers must not be NULL)
- -
-
- -
-
- - - - -
#define SL_INC_EXT_API
-
-
- -

Defines whether to include extended API in SimpleLink driver or not.

-

When defined, the SimpleLink driver will include also all exteded API of the included packages

-
See also:
ext_api
-
Note:
belongs to Porting
-
Warning:
- -
-
- -
-
- - - - -
#define SL_INC_NET_APP_PKG
-
-
- -

Defines whether to include NET_APP package in SimpleLink driver or not.

-

When defined, the SimpleLink driver will include also the NET_APP package

-
See also:
-
Note:
belongs to Porting
-
Warning:
- -
-
- -
-
- - - - -
#define SL_INC_NET_CFG_PKG
-
-
- -

Defines whether to include NET_CFG package in SimpleLink driver or not.

-

When defined, the SimpleLink driver will include also the NET_CFG package

-
See also:
-
Note:
belongs to Porting
-
Warning:
- -
-
- -
-
- - - - -
#define SL_INC_NVMEM_PKG
-
-
- -

Defines whether to include NVMEM package in SimpleLink driver or not.

-

When defined, the SimpleLink driver will include also the NVMEM package

-
See also:
-
Note:
belongs to Porting
-
Warning:
- -
-
- -
-
- - - - -
#define SL_INC_SOCK_CLIENT_SIDE_API
-
-
- -

Defines whether to include socket client side APIs in SimpleLink driver or not.

-

When defined, the SimpleLink driver will include also socket client side APIs

-
See also:
client_side
-
Note:
belongs to Porting
-
Warning:
- -
-
- -
-
- - - - -
#define SL_INC_SOCK_RECV_API
-
-
- -

Defines whether to include socket receive APIs in SimpleLink driver or not.

-

When defined, the SimpleLink driver will include also socket receive side APIs

-
See also:
recv_api
-
Note:
belongs to Porting
-
Warning:
- -
-
- -
-
- - - - -
#define SL_INC_SOCK_SEND_API
-
-
- -

Defines whether to include socket send APIs in SimpleLink driver or not.

-

When defined, the SimpleLink driver will include also socket send side APIs

-
See also:
send_api
-
Note:
belongs to Porting
-
Warning:
- -
-
- -
-
- - - - -
#define SL_INC_SOCK_SERVER_SIDE_API
-
-
- -

Defines whether to include socket server side APIs in SimpleLink driver or not.

-

When defined, the SimpleLink driver will include also socket server side APIs

-
See also:
server_side
-
Note:
-
Warning:
- -
-
- -
-
- - - - -
#define SL_INC_SOCKET_PKG
-
-
- -

Defines whether to include SOCKET package in SimpleLink driver or not.

-

When defined, the SimpleLink driver will include also the SOCKET package

-
See also:
-
Note:
belongs to Porting
-
Warning:
- -
-
- -
-
- - - - -
#define SL_INC_STD_BSD_API_NAMING
-
-
- -

Defines whether SimpleLink driver should expose standard BSD APIs or not.

-

When defined, the SimpleLink driver in addtion to its alternative BSD APIs expose also standard BSD APIs. Stadrad BSD API includs the following functions: socket , close , accept , bind , listen , connect , select , setsockopt , getsockopt , recv , recvfrom , write , send , sendto , gethostbyname

-
See also:
-
Note:
belongs to Porting
-
Warning:
- -
-
- -
-
- - - - -
#define SL_INC_WLAN_PKG
-
-
- -

Defines whether to include WLAN package in SimpleLink driver or not.

-

When defined, the SimpleLink driver will include also the WLAN package

-
See also:
-
Note:
belongs to Porting
-
Warning:
- -
-
-
-
- - -
- All Data Structures Variables
- - -
- -
- - - - diff --git a/docs/simplelink_api/html/group__socket.html b/docs/simplelink_api/html/group__socket.html index a250485..8b41291 100644 --- a/docs/simplelink_api/html/group__socket.html +++ b/docs/simplelink_api/html/group__socket.html @@ -1,2229 +1,2393 @@ - - - - - - -CC32XX SimpleLink Host Driver: Socket - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - -
-
- -
-
-
- -
- - - - -
- -
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Data Structures

struct  SlInAddr_t
 
struct  SlSockKeepalive_t
 
struct  SlSockReuseaddr_t
 
struct  SlSockWinsize_t
 
struct  SlSockNonblocking_t
 
struct  SlSocketAsyncEvent_t
 
struct  SlSockEventData_t
 
struct  SlSockEvent_t
 
struct  SlSockSecureMask
 
struct  SlSockSecureMethod
 
struct  SlSockIpMreq
 
struct  SlTimeval_t
 
struct  SlSockAddr_t
 
struct  SlIn6Addr_t
 
struct  SlSockAddrIn6_t
 
struct  SlSockAddrIn_t
 
struct  SlIpV4AcquiredAsync_t
 
struct  SlIpV6AcquiredAsync_t
 
struct  SlIpLeasedAsync_t
 
struct  SlIpReleasedAsync_t
 
union  SlNetAppEventData_u
 
struct  SlNetAppEvent_t
 
struct  sock_secureFiles
 
struct  SlFdSet_t
 
struct  SlTransceiverRxOverHead_t
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Macros

-#define SL_FD_SETSIZE   SL_MAX_SOCKETS /* Number of sockets to select on - same is max sockets! */
 
-#define BSD_SOCKET_ID_MASK   (0x0F) /* Index using the LBS 4 bits for socket id 0-7 */
 
-#define SL_SOCK_STREAM   (1) /* TCP Socket */
 
-#define SL_SOCK_DGRAM   (2) /* UDP Socket */
 
-#define SL_SOCK_RAW   (3) /* Raw socket */
 
-#define SL_IPPROTO_TCP   (6) /* TCP Raw Socket */
 
-#define SL_IPPROTO_UDP   (17) /* UDP Raw Socket */
 
-#define SL_IPPROTO_RAW   (255) /* Raw Socket */
 
-#define SL_SEC_SOCKET   (100) /* Secured Socket Layer (SSL,TLS) */
 
-#define SL_AF_INET   (2) /* IPv4 socket (UDP, TCP, etc) */
 
-#define SL_AF_INET6   (3) /* IPv6 socket (UDP, TCP, etc) */
 
-#define SL_AF_INET6_EUI_48   (9)
 
-#define SL_AF_RF   (6) /* data include RF parameter, All layer by user (Wifi could be disconnected) */
 
-#define SL_AF_PACKET   (17)
 
-#define SL_PF_INET   AF_INET
 
-#define SL_PF_INET6   AF_INET6
 
-#define SL_INADDR_ANY   (0) /* bind any address */
 
-#define SL_SOC_ERROR   (-1) /* Failure. */
 
-#define SL_SOC_OK   ( 0) /* Success. */
 
-#define SL_INEXE   (-8) /* socket command in execution */
 
-#define SL_EBADF   (-9) /* Bad file number */
 
-#define SL_ENSOCK   (-10) /* The system limit on the total number of open socket, has been reached */
 
-#define SL_EAGAIN   (-11) /* Try again */
 
-#define SL_EWOULDBLOCK   SL_EAGAIN
 
-#define SL_ENOMEM   (-12) /* Out of memory */
 
-#define SL_EACCES   (-13) /* Permission denied */
 
-#define SL_EFAULT   (-14) /* Bad address */
 
-#define SL_ECLOSE   (-15) /* close socket operation failed to transmit all queued packets */
 
-#define SL_EALREADY_ENABLED   (-21) /* Transceiver - Transceiver already ON. there could be only one */
 
-#define SL_EINVAL   (-22) /* Invalid argument */
 
-#define SL_EAUTO_CONNECT_OR_CONNECTING   (-69) /* Transceiver - During connection, connected or auto mode started */
 
-#define SL_CONNECTION_PENDING   (-72) /* Transceiver - Device is connected, disconnect first to open transceiver */
 
-#define SL_EUNSUPPORTED_ROLE   (-86) /* Transceiver - Trying to start when WLAN role is AP or P2P GO */
 
-#define SL_EDESTADDRREQ   (-89) /* Destination address required */
 
-#define SL_EPROTOTYPE   (-91) /* Protocol wrong type for socket */
 
-#define SL_ENOPROTOOPT   (-92) /* Protocol not available */
 
-#define SL_EPROTONOSUPPORT   (-93) /* Protocol not supported */
 
-#define SL_ESOCKTNOSUPPORT   (-94) /* Socket type not supported */
 
-#define SL_EOPNOTSUPP   (-95) /* Operation not supported on transport endpoint */
 
-#define SL_EAFNOSUPPORT   (-97) /* Address family not supported by protocol */
 
-#define SL_EADDRINUSE   (-98) /* Address already in use */
 
-#define SL_EADDRNOTAVAIL   (-99) /* Cannot assign requested address */
 
-#define SL_ENETUNREACH   (-101) /* Network is unreachable */
 
-#define SL_ENOBUFS   (-105) /* No buffer space available */
 
-#define SL_EOBUFF   SL_ENOBUFS
 
-#define SL_EISCONN   (-106) /* Transport endpoint is already connected */
 
-#define SL_ENOTCONN   (-107) /* Transport endpoint is not connected */
 
-#define SL_ETIMEDOUT   (-110) /* Connection timed out */
 
-#define SL_ECONNREFUSED   (-111) /* Connection refused */
 
-#define SL_EALREADY   (-114) /* Non blocking connect in progress, try again */
 
-#define SL_ESEC_RSA_WRONG_TYPE_E   (-130) /* RSA wrong block type for RSA function */
 
-#define SL_ESEC_RSA_BUFFER_E   (-131) /* RSA buffer error, output too small or */
 
-#define SL_ESEC_BUFFER_E   (-132) /* output buffer too small or input too large */
 
-#define SL_ESEC_ALGO_ID_E   (-133) /* setting algo id error */
 
-#define SL_ESEC_PUBLIC_KEY_E   (-134) /* setting public key error */
 
-#define SL_ESEC_DATE_E   (-135) /* setting date validity error */
 
-#define SL_ESEC_SUBJECT_E   (-136) /* setting subject name error */
 
-#define SL_ESEC_ISSUER_E   (-137) /* setting issuer name error */
 
-#define SL_ESEC_CA_TRUE_E   (-138) /* setting CA basic constraint true error */
 
-#define SL_ESEC_EXTENSIONS_E   (-139) /* setting extensions error */
 
-#define SL_ESEC_ASN_PARSE_E   (-140) /* ASN parsing error, invalid input */
 
-#define SL_ESEC_ASN_VERSION_E   (-141) /* ASN version error, invalid number */
 
-#define SL_ESEC_ASN_GETINT_E   (-142) /* ASN get big _i16 error, invalid data */
 
-#define SL_ESEC_ASN_RSA_KEY_E   (-143) /* ASN key init error, invalid input */
 
-#define SL_ESEC_ASN_OBJECT_ID_E   (-144) /* ASN object id error, invalid id */
 
-#define SL_ESEC_ASN_TAG_NULL_E   (-145) /* ASN tag error, not null */
 
-#define SL_ESEC_ASN_EXPECT_0_E   (-146) /* ASN expect error, not zero */
 
-#define SL_ESEC_ASN_BITSTR_E   (-147) /* ASN bit string error, wrong id */
 
-#define SL_ESEC_ASN_UNKNOWN_OID_E   (-148) /* ASN oid error, unknown sum id */
 
-#define SL_ESEC_ASN_DATE_SZ_E   (-149) /* ASN date error, bad size */
 
-#define SL_ESEC_ASN_BEFORE_DATE_E   (-150) /* ASN date error, current date before */
 
-#define SL_ESEC_ASN_AFTER_DATE_E   (-151) /* ASN date error, current date after */
 
-#define SL_ESEC_ASN_SIG_OID_E   (-152) /* ASN signature error, mismatched oid */
 
-#define SL_ESEC_ASN_TIME_E   (-153) /* ASN time error, unknown time type */
 
-#define SL_ESEC_ASN_INPUT_E   (-154) /* ASN input error, not enough data */
 
-#define SL_ESEC_ASN_SIG_CONFIRM_E   (-155) /* ASN sig error, confirm failure */
 
-#define SL_ESEC_ASN_SIG_HASH_E   (-156) /* ASN sig error, unsupported hash type */
 
-#define SL_ESEC_ASN_SIG_KEY_E   (-157) /* ASN sig error, unsupported key type */
 
-#define SL_ESEC_ASN_DH_KEY_E   (-158) /* ASN key init error, invalid input */
 
-#define SL_ESEC_ASN_NTRU_KEY_E   (-159) /* ASN ntru key decode error, invalid input */
 
-#define SL_ESEC_ECC_BAD_ARG_E   (-170) /* ECC input argument of wrong type */
 
-#define SL_ESEC_ASN_ECC_KEY_E   (-171) /* ASN ECC bad input */
 
-#define SL_ESEC_ECC_CURVE_OID_E   (-172) /* Unsupported ECC OID curve type */
 
-#define SL_ESEC_BAD_FUNC_ARG   (-173) /* Bad function argument provided */
 
-#define SL_ESEC_NOT_COMPILED_IN   (-174) /* Feature not compiled in */
 
-#define SL_ESEC_UNICODE_SIZE_E   (-175) /* Unicode password too big */
 
-#define SL_ESEC_NO_PASSWORD   (-176) /* no password provided by user */
 
-#define SL_ESEC_ALT_NAME_E   (-177) /* alt name size problem, too big */
 
-#define SL_ESEC_AES_GCM_AUTH_E   (-180) /* AES-GCM Authentication check failure */
 
-#define SL_ESEC_AES_CCM_AUTH_E   (-181) /* AES-CCM Authentication check failure */
 
-#define SL_ESEC_CLOSE_NOTIFY   (-300) /* ssl/tls alerts */
 
-#define SL_ESEC_UNEXPECTED_MESSAGE   (-310) /* ssl/tls alerts */
 
-#define SL_ESEC_BAD_RECORD_MAC   (-320) /* ssl/tls alerts */
 
-#define SL_ESEC_DECRYPTION_FAILED   (-321) /* ssl/tls alerts */
 
-#define SL_ESEC_RECORD_OVERFLOW   (-322) /* ssl/tls alerts */
 
-#define SL_ESEC_DECOMPRESSION_FAILURE   (-330) /* ssl/tls alerts */
 
-#define SL_ESEC_HANDSHAKE_FAILURE   (-340) /* ssl/tls alerts */
 
-#define SL_ESEC_NO_CERTIFICATE   (-341) /* ssl/tls alerts */
 
-#define SL_ESEC_BAD_CERTIFICATE   (-342) /* ssl/tls alerts */
 
-#define SL_ESEC_UNSUPPORTED_CERTIFICATE   (-343) /* ssl/tls alerts */
 
-#define SL_ESEC_CERTIFICATE_REVOKED   (-344) /* ssl/tls alerts */
 
-#define SL_ESEC_CERTIFICATE_EXPIRED   (-345) /* ssl/tls alerts */
 
-#define SL_ESEC_CERTIFICATE_UNKNOWN   (-346) /* ssl/tls alerts */
 
-#define SL_ESEC_ILLEGAL_PARAMETER   (-347) /* ssl/tls alerts */
 
-#define SL_ESEC_UNKNOWN_CA   (-348) /* ssl/tls alerts */
 
-#define SL_ESEC_ACCESS_DENIED   (-349) /* ssl/tls alerts */
 
-#define SL_ESEC_DECODE_ERROR   (-350) /* ssl/tls alerts */
 
-#define SL_ESEC_DECRYPT_ERROR   (-351) /* ssl/tls alerts */
 
-#define SL_ESEC_EXPORT_RESTRICTION   (-360) /* ssl/tls alerts */
 
-#define SL_ESEC_PROTOCOL_VERSION   (-370) /* ssl/tls alerts */
 
-#define SL_ESEC_INSUFFICIENT_SECURITY   (-371) /* ssl/tls alerts */
 
-#define SL_ESEC_INTERNAL_ERROR   (-380) /* ssl/tls alerts */
 
-#define SL_ESEC_USER_CANCELLED   (-390) /* ssl/tls alerts */
 
-#define SL_ESEC_NO_RENEGOTIATION   (-400) /* ssl/tls alerts */
 
-#define SL_ESEC_UNSUPPORTED_EXTENSION   (-410) /* ssl/tls alerts */
 
-#define SL_ESEC_CERTIFICATE_UNOBTAINABLE   (-411) /* ssl/tls alerts */
 
-#define SL_ESEC_UNRECOGNIZED_NAME   (-412) /* ssl/tls alerts */
 
-#define SL_ESEC_BAD_CERTIFICATE_STATUS_RESPONSE   (-413) /* ssl/tls alerts */
 
-#define SL_ESEC_BAD_CERTIFICATE_HASH_VALUE   (-414) /* ssl/tls alerts */
 
-#define SL_ESECGENERAL   (-450) /* error secure level general error */
 
-#define SL_ESECDECRYPT   (-451) /* error secure level, decrypt recv packet fail */
 
-#define SL_ESECCLOSED   (-452) /* secure layrer is closed by other size , tcp is still connected */
 
-#define SL_ESECSNOVERIFY   (-453) /* Connected without server verification */
 
-#define SL_ESECNOCAFILE   (-454) /* error secure level CA file not found*/
 
-#define SL_ESECMEMORY   (-455) /* error secure level No memory space available */
 
-#define SL_ESECBADCAFILE   (-456) /* error secure level bad CA file */
 
-#define SL_ESECBADCERTFILE   (-457) /* error secure level bad Certificate file */
 
-#define SL_ESECBADPRIVATEFILE   (-458) /* error secure level bad private file */
 
-#define SL_ESECBADDHFILE   (-459) /* error secure level bad DH file */
 
-#define SL_ESECT00MANYSSLOPENED   (-460) /* MAX SSL Sockets are opened */
 
-#define SL_ESECDATEERROR   (-461) /* connected with certificate date verification error */
 
-#define SL_ESECHANDSHAKETIMEDOUT   (-462) /* connection timed out due to handshake time */
 
-#define SL_SOCKET_PAYLOAD_TYPE_MASK   (0xF0) /*4 bits type, 4 bits sockets id */
 
-#define SL_SOCKET_PAYLOAD_TYPE_UDP_IPV4   (0x00) /* 1472 bytes */
 
-#define SL_SOCKET_PAYLOAD_TYPE_TCP_IPV4   (0x10) /* 1460 bytes */
 
-#define SL_SOCKET_PAYLOAD_TYPE_UDP_IPV6   (0x20) /* 1452 bytes */
 
-#define SL_SOCKET_PAYLOAD_TYPE_TCP_IPV6   (0x30) /* 1440 bytes */
 
-#define SL_SOCKET_PAYLOAD_TYPE_UDP_IPV4_SECURE   (0x40) /* */
 
-#define SL_SOCKET_PAYLOAD_TYPE_TCP_IPV4_SECURE   (0x50) /* */
 
-#define SL_SOCKET_PAYLOAD_TYPE_UDP_IPV6_SECURE   (0x60) /* */
 
-#define SL_SOCKET_PAYLOAD_TYPE_TCP_IPV6_SECURE   (0x70) /* */
 
-#define SL_SOCKET_PAYLOAD_TYPE_RAW_TRANCEIVER   (0x80) /* 1536 bytes */
 
-#define SL_SOCKET_PAYLOAD_TYPE_RAW_PACKET   (0x90) /* 1536 bytes */
 
-#define SL_SOCKET_PAYLOAD_TYPE_RAW_IP4   (0xa0)
 
-#define SL_SOCKET_PAYLOAD_TYPE_RAW_IP6   (SL_SOCKET_PAYLOAD_TYPE_RAW_IP4 )
 
-#define SL_SOL_SOCKET   (1) /* Define the socket option category. */
 
-#define SL_IPPROTO_IP   (2) /* Define the IP option category. */
 
-#define SL_SOL_PHY_OPT   (3) /* Define the PHY option category. */
 
-#define SL_SO_RCVBUF   (8) /* Setting TCP receive buffer size */
 
-#define SL_SO_KEEPALIVE   (9) /* Connections are kept alive with periodic messages */
 
-#define SL_SO_RCVTIMEO   (20) /* Enable receive timeout */
 
-#define SL_SO_NONBLOCKING   (24) /* Enable . disable nonblocking mode */
 
-#define SL_SO_SECMETHOD   (25) /* security metohd */
 
-#define SL_SO_SECURE_MASK   (26) /* security mask */
 
-#define SL_SO_SECURE_FILES   (27) /* security files */
 
-#define SL_SO_CHANGE_CHANNEL   (28) /* This option is available only when transceiver started */
 
-#define SL_SO_SECURE_FILES_PRIVATE_KEY_FILE_NAME   (30) /* This option used to configue secure file */
 
-#define SL_SO_SECURE_FILES_CERTIFICATE_FILE_NAME   (31) /* This option used to configue secure file */
 
-#define SL_SO_SECURE_FILES_CA_FILE_NAME   (32) /* This option used to configue secure file */
 
-#define SL_SO_SECURE_FILES_DH_KEY_FILE_NAME   (33) /* This option used to configue secure file */
 
-#define SL_IP_MULTICAST_IF   (60) /* Specify outgoing multicast interface */
 
-#define SL_IP_MULTICAST_TTL   (61) /* Specify the TTL value to use for outgoing multicast packet. */
 
-#define SL_IP_ADD_MEMBERSHIP   (65) /* Join IPv4 multicast membership */
 
-#define SL_IP_DROP_MEMBERSHIP   (66) /* Leave IPv4 multicast membership */
 
-#define SL_IP_HDRINCL   (67) /* Raw socket IPv4 header included. */
 
-#define SL_IP_RAW_RX_NO_HEADER   (68) /* Proprietary socket option that does not includeIPv4/IPv6 header (and extension headers) on received raw sockets*/
 
-#define SL_IP_RAW_IPV6_HDRINCL   (69) /* Transmitted buffer over IPv6 socket contains IPv6 header. */
 
-#define SL_SO_PHY_RATE   (100) /* WLAN Transmit rate */
 
-#define SL_SO_PHY_TX_POWER   (101) /* TX Power level */
 
-#define SL_SO_PHY_NUM_FRAMES_TO_TX   (102) /* Number of frames to transmit */
 
-#define SL_SO_PHY_PREAMBLE   (103) /* Preamble for transmission */
 
-#define SL_SO_SEC_METHOD_SSLV3   (0) /* security metohd SSL v3*/
 
-#define SL_SO_SEC_METHOD_TLSV1   (1) /* security metohd TLS v1*/
 
-#define SL_SO_SEC_METHOD_TLSV1_1   (2) /* security metohd TLS v1_1*/
 
-#define SL_SO_SEC_METHOD_TLSV1_2   (3) /* security metohd TLS v1_2*/
 
-#define SL_SO_SEC_METHOD_SSLv3_TLSV1_2   (4) /* use highest possible version from SSLv3 - TLS 1.2*/
 
-#define SL_SO_SEC_METHOD_DLSV1   (5) /* security metohd DTL v1 */
 
-#define SL_SEC_MASK_SSL_RSA_WITH_RC4_128_SHA   (1 << 0)
 
-#define SL_SEC_MASK_SSL_RSA_WITH_RC4_128_MD5   (1 << 1)
 
-#define SL_SEC_MASK_TLS_RSA_WITH_AES_256_CBC_SHA   (1 << 2)
 
-#define SL_SEC_MASK_TLS_DHE_RSA_WITH_AES_256_CBC_SHA   (1 << 3)
 
-#define SL_SEC_MASK_TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA   (1 << 4)
 
-#define SL_SEC_MASK_TLS_ECDHE_RSA_WITH_RC4_128_SHA   (1 << 5)
 
-#define SL_SEC_MASK_SECURE_DEFAULT   ((SEC_MASK_TLS_ECDHE_RSA_WITH_RC4_128_SHA << 1) - 1)
 
-#define SL_MSG_DONTWAIT   (0x00000008) /* Nonblocking IO */
 
-#define SL_IP_LEASE_PEER_RELEASE   (0)
 
-#define SL_IP_LEASE_PEER_DECLINE   (1)
 
-#define SL_IP_LEASE_EXPIRED   (2)
 
-#define SSL_ACCEPT   (1) /* accept failed due to ssl issue ( tcp pass) */
 
-#define RX_FRAGMENTATION_TOO_BIG   (2) /* connection less mode, rx packet fragmentation > 16K, packet is being released */
 
-#define OTHER_SIDE_CLOSE_SSL_DATA_NOT_ENCRYPTED   (3) /* remote side down from secure to unsecure */
 
-#define FD_SETSIZE   SL_FD_SETSIZE
 
-#define SOCK_STREAM   SL_SOCK_STREAM
 
-#define SOCK_DGRAM   SL_SOCK_DGRAM
 
-#define SOCK_RAW   SL_SOCK_RAW
 
-#define IPPROTO_TCP   SL_IPPROTO_TCP
 
-#define IPPROTO_UDP   SL_IPPROTO_UDP
 
-#define IPPROTO_RAW   SL_IPPROTO_RAW
 
-#define AF_INET   SL_AF_INET
 
-#define AF_INET6   SL_AF_INET6
 
-#define AF_INET6_EUI_48   SL_AF_INET6_EUI_48
 
-#define AF_RF   SL_AF_RF
 
-#define AF_PACKET   SL_AF_PACKET
 
-#define PF_INET   SL_PF_INET
 
-#define PF_INET6   SL_PF_INET6
 
-#define INADDR_ANY   SL_INADDR_ANY
 
-#define ERROR   SL_SOC_ERROR
 
-#define INEXE   SL_INEXE
 
-#define EBADF   SL_EBADF
 
-#define ENSOCK   SL_ENSOCK
 
-#define EAGAIN   SL_EAGAIN
 
-#define EWOULDBLOCK   SL_EWOULDBLOCK
 
-#define ENOMEM   SL_ENOMEM
 
-#define EACCES   SL_EACCES
 
-#define EFAULT   SL_EFAULT
 
-#define EINVAL   SL_EINVAL
 
-#define EDESTADDRREQ   SL_EDESTADDRREQ
 
-#define EPROTOTYPE   SL_EPROTOTYPE
 
-#define ENOPROTOOPT   SL_ENOPROTOOPT
 
-#define EPROTONOSUPPORT   SL_EPROTONOSUPPORT
 
-#define ESOCKTNOSUPPORT   SL_ESOCKTNOSUPPORT
 
-#define EOPNOTSUPP   SL_EOPNOTSUPP
 
-#define EAFNOSUPPORT   SL_EAFNOSUPPORT
 
-#define EADDRINUSE   SL_EADDRINUSE
 
-#define EADDRNOTAVAIL   SL_EADDRNOTAVAIL
 
-#define ENETUNREACH   SL_ENETUNREACH
 
-#define ENOBUFS   SL_ENOBUFS
 
-#define EOBUFF   SL_EOBUFF
 
-#define EISCONN   SL_EISCONN
 
-#define ENOTCONN   SL_ENOTCONN
 
-#define ETIMEDOUT   SL_ETIMEDOUT
 
-#define ECONNREFUSED   SL_ECONNREFUSED
 
-#define SOL_SOCKET   SL_SOL_SOCKET
 
-#define IPPROTO_IP   SL_IPPROTO_IP
 
-#define SO_KEEPALIVE   SL_SO_KEEPALIVE
 
-#define SO_RCVTIMEO   SL_SO_RCVTIMEO
 
-#define SO_NONBLOCKING   SL_SO_NONBLOCKING
 
-#define IP_MULTICAST_IF   SL_IP_MULTICAST_IF
 
-#define IP_MULTICAST_TTL   SL_IP_MULTICAST_TTL
 
-#define IP_ADD_MEMBERSHIP   SL_IP_ADD_MEMBERSHIP
 
-#define IP_DROP_MEMBERSHIP   SL_IP_DROP_MEMBERSHIP
 
-#define socklen_t   SlSocklen_t
 
-#define timeval   SlTimeval_t
 
-#define sockaddr   SlSockAddr_t
 
-#define in6_addr   SlIn6Addr_t
 
-#define sockaddr_in6   SlSockAddrIn6_t
 
-#define in_addr   SlInAddr_t
 
-#define sockaddr_in   SlSockAddrIn_t
 
-#define MSG_DONTWAIT   SL_MSG_DONTWAIT
 
-#define FD_SET   SL_FD_SET
 
-#define FD_CLR   SL_FD_CLR
 
-#define FD_ISSET   SL_FD_ISSET
 
-#define FD_ZERO   SL_FD_ZERO
 
-#define fd_set   SlFdSet_t
 
-#define socket   sl_Socket
 
-#define close   sl_Close
 
-#define accept   sl_Accept
 
-#define bind   sl_Bind
 
-#define listen   sl_Listen
 
-#define connect   sl_Connect
 
-#define select   sl_Select
 
-#define setsockopt   sl_SetSockOpt
 
-#define getsockopt   sl_GetSockOpt
 
-#define recv   sl_Recv
 
-#define recvfrom   sl_RecvFrom
 
-#define write   sl_Write
 
-#define send   sl_Send
 
-#define sendto   sl_SendTo
 
-#define gethostbyname   sl_NetAppDnsGetHostByName
 
-#define htonl   sl_Htonl
 
-#define ntohl   sl_Ntohl
 
-#define htons   sl_Htons
 
-#define ntohs   sl_Ntohs
 
-#define sl_Ntohl   sl_Htonl /* Reorder the bytes of a 16-bit unsigned value from network order to processor orde. */
 
-#define sl_Ntohs   sl_Htons /* Reorder the bytes of a 16-bit unsigned value from network order to processor orde. */
 
- - - - - - - - - - - - - - - - - - - - - - - -

-Typedefs

-typedef struct SlInAddr_t SlInAddr_t
 
-typedef _u32 SlTime_t
 
-typedef _u32 SlSuseconds_t
 
-typedef struct SlTimeval_t SlTimeval_t
 
-typedef _u16 SlSocklen_t
 
-typedef struct SlSockAddr_t SlSockAddr_t
 
-typedef struct SlIn6Addr_t SlIn6Addr_t
 
-typedef struct SlSockAddrIn6_t SlSockAddrIn6_t
 
-typedef struct SlSockAddrIn_t SlSockAddrIn_t
 
-typedef struct sock_secureFiles SlSockSecureFiles_t
 
-typedef struct SlFdSet_t SlFdSet_t
 
- - - -

-Enumerations

enum  slBsd_secureSocketFilesIndex_e { SL_BSD_SECURED_PRIVATE_KEY_IDX = 0, -SL_BSD_SECURED_CERTIFICATE_IDX, -SL_BSD_SECURED_CA_IDX, -SL_BSD_SECURED_DH_IDX - }
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

_i16 sl_Socket (_i16 Domain, _i16 Type, _i16 Protocol)
 create an endpoint for communication More...
 
_i16 sl_Close (_i16 sd)
 gracefully close socket More...
 
_i16 sl_Accept (_i16 sd, SlSockAddr_t *addr, SlSocklen_t *addrlen)
 Accept a connection on a socket. More...
 
_i16 sl_Bind (_i16 sd, const SlSockAddr_t *addr, _i16 addrlen)
 assign a name to a socket More...
 
_i16 sl_Listen (_i16 sd, _i16 backlog)
 listen for connections on a socket More...
 
_i16 sl_Connect (_i16 sd, const SlSockAddr_t *addr, _i16 addrlen)
 Initiate a connection on a socket. More...
 
_i16 sl_Select (_i16 nfds, SlFdSet_t *readsds, SlFdSet_t *writesds, SlFdSet_t *exceptsds, struct SlTimeval_t *timeout)
 Monitor socket activity. More...
 
void SL_FD_SET (_i16 fd, SlFdSet_t *fdset)
 Select's SlFdSet_t SET function. More...
 
void SL_FD_CLR (_i16 fd, SlFdSet_t *fdset)
 Select's SlFdSet_t CLR function. More...
 
_i16 SL_FD_ISSET (_i16 fd, SlFdSet_t *fdset)
 Select's SlFdSet_t ISSET function. More...
 
void SL_FD_ZERO (SlFdSet_t *fdset)
 Select's SlFdSet_t ZERO function. More...
 
_i16 sl_SetSockOpt (_i16 sd, _i16 level, _i16 optname, const void *optval, SlSocklen_t optlen)
 set socket options More...
 
_i16 sl_GetSockOpt (_i16 sd, _i16 level, _i16 optname, void *optval, SlSocklen_t *optlen)
 Get socket options. More...
 
_i16 sl_Recv (_i16 sd, void *buf, _i16 Len, _i16 flags)
 read data from TCP socket More...
 
_i16 sl_RecvFrom (_i16 sd, void *buf, _i16 Len, _i16 flags, SlSockAddr_t *from, SlSocklen_t *fromlen)
 read data from socket More...
 
_i16 sl_Send (_i16 sd, const void *buf, _i16 Len, _i16 flags)
 write data to TCP socket More...
 
_i16 sl_SendTo (_i16 sd, const void *buf, _i16 Len, _i16 flags, const SlSockAddr_t *to, SlSocklen_t tolen)
 write data to socket More...
 
_u32 sl_Htonl (_u32 val)
 Reorder the bytes of a 32-bit unsigned value. More...
 
_u16 sl_Htons (_u16 val)
 Reorder the bytes of a 16-bit unsigned value. More...
 
-

Detailed Description

-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
_i16 sl_Accept (_i16 sd,
SlSockAddr_taddr,
SlSocklen_t * addrlen 
)
-
- -

Accept a connection on a socket.

-

This function is used with connection-based socket types (SOCK_STREAM). It extracts the first connection request on the queue of pending connections, creates a new connected socket, and returns a new file descriptor referring to that socket. The newly created socket is not in the listening state. The original socket sd is unaffected by this call. The argument sd is a socket that has been created with sl_Socket(), bound to a local address with sl_Bind(), and is listening for connections after a sl_Listen(). The argument addr is a pointer to a sockaddr structure. This structure is filled in with the address of the peer socket, as known to the communications layer. The exact format of the address returned addr is determined by the socket's address family. The addrlen argument is a value-result argument: it should initially contain the size of the structure pointed to by addr, on return it will contain the actual length (in bytes) of the address returned.

-
Parameters
- - - - -
[in]sdsocket descriptor (handle)
[out]addrthe argument addr is a pointer to a sockaddr structure. This structure is filled in with the address of the peer socket, as known to the communications layer. The exact format of the address returned addr is determined by the socket's address
- sockaddr:
- - code for the address format. On this version only AF_INET is supported.
- - socket address, the length depends on the code format
[out]addrlenthe addrlen argument is a value-result argument: it should initially contain the size of the structure pointed to by addr
-
-
-
Returns
On success, a socket handle. On a non-blocking accept a possible negative value is SL_EAGAIN. On failure, negative value. SL_POOL_IS_EMPTY may be return in case there are no resources in the system In this case try again later or increase MAX_CONCURRENT_ACTIONS
-
See also
sl_Socket sl_Bind sl_Listen
-
Note
belongs to server_side
-
Warning
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
_i16 sl_Bind (_i16 sd,
const SlSockAddr_taddr,
_i16 addrlen 
)
-
- -

assign a name to a socket

-

This function gives the socket the local address addr. addr is addrlen bytes long. Traditionally, this is called When a socket is created with socket, it exists in a name space (address family) but has no name assigned. It is necessary to assign a local address before a SOCK_STREAM socket may receive connections.

-
Parameters
- - - - -
[in]sdsocket descriptor (handle)
[in]addrspecifies the destination addrs
- sockaddr:
- - code for the address format. On this version only AF_INET is supported.
- - socket address, the length depends on the code format
[in]addrlencontains the size of the structure pointed to by addr
-
-
-
Returns
On success, zero is returned. On error, a negative error code is returned.
-
See also
sl_Socket sl_Accept sl_Listen
-
Note
belongs to basic_api
-
Warning
- -
-
- -
-
- - - - - - - - -
_i16 sl_Close (_i16 sd)
-
- -

gracefully close socket

-

This function causes the system to release resources allocated to a socket.
-In case of TCP, the connection is terminated.

-
Parameters
- - -
[in]sdsocket handle (received in sl_Socket)
-
-
-
Returns
On success, zero is returned. On error, a negative number is returned.
-
See also
sl_Socket
-
Note
belongs to ext_api
-
Warning
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
_i16 sl_Connect (_i16 sd,
const SlSockAddr_taddr,
_i16 addrlen 
)
-
- -

Initiate a connection on a socket.

-

Function connects the socket referred to by the socket descriptor sd, to the address specified by addr. The addrlen argument specifies the size of addr. The format of the address in addr is determined by the address space of the socket. If it is of type SOCK_DGRAM, this call specifies the peer with which the socket is to be associated; this address is that to which datagrams are to be sent, and the only address from which datagrams are to be received. If the socket is of type SOCK_STREAM, this call attempts to make a connection to another socket. The other socket is specified by address, which is an address in the communications space of the socket.

-
Parameters
- - - - -
[in]sdsocket descriptor (handle)
[in]addrspecifies the destination addr
- sockaddr:
- - code for the address format. On this version only AF_INET is supported.
- - socket address, the length depends on the code format
[in]addrlencontains the size of the structure pointed to by addr
-
-
-
Returns
On success, a socket handle. On a non-blocking connect a possible negative value is SL_EALREADY. On failure, negative value. SL_POOL_IS_EMPTY may be return in case there are no resources in the system In this case try again later or increase MAX_CONCURRENT_ACTIONS
-
See also
sl_Socket
-
Note
belongs to client_side
-
Warning
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void SL_FD_CLR (_i16 fd,
SlFdSet_tfdset 
)
-
- -

Select's SlFdSet_t CLR function.

-

Clears current socket descriptor on SlFdSet_t container

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
_i16 SL_FD_ISSET (_i16 fd,
SlFdSet_tfdset 
)
-
- -

Select's SlFdSet_t ISSET function.

-

Checks if current socket descriptor is set (TRUE/FALSE)

-
Returns
Returns TRUE if set, FALSE if unset
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void SL_FD_SET (_i16 fd,
SlFdSet_tfdset 
)
-
- -

Select's SlFdSet_t SET function.

-

Sets current socket descriptor on SlFdSet_t container

- -
-
- -
-
- - - - - - - - -
void SL_FD_ZERO (SlFdSet_tfdset)
-
- -

Select's SlFdSet_t ZERO function.

-

Clears all socket descriptors from SlFdSet_t

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_i16 sl_GetSockOpt (_i16 sd,
_i16 level,
_i16 optname,
void * optval,
SlSocklen_t * optlen 
)
-
- -

Get socket options.

-

This function manipulate the options associated with a socket. Options may exist at multiple protocol levels; they are always present at the uppermost socket level.

-

When manipulating socket options the level at which the option resides and the name of the option must be specified. To manipulate options at the socket level, level is specified as SOL_SOCKET. To manipulate options at any other level the protocol number of the appropriate proto- col controlling the option is supplied. For example, to indicate that an option is to be interpreted by the TCP protocol, level should be set to the protocol number of TCP;

-

The parameters optval and optlen are used to access optval - ues for setsockopt(). For getsockopt() they identify a buffer in which the value for the requested option(s) are to be returned. For getsockopt(), optlen is a value-result parameter, initially containing the size of the buffer pointed to by option_value, and modified on return to indicate the actual size of the value returned. If no option value is to be supplied or returned, option_value may be NULL.

-
Parameters
- - - - - - -
[in]sdsocket handle
[in]leveldefines the protocol level for this option
[in]optnamedefines the option name to interrogate
[out]optvalspecifies a value for the option
[out]optlenspecifies the length of the option value
-
-
-
Returns
On success, zero is returned. On error, a negative value is returned.
-
See also
sl_SetSockOpt
-
Note
See sl_SetSockOpt belongs to ext_api
-
Warning
- -
-
- -
-
- - - - - - - - -
_u32 sl_Htonl (_u32 val)
-
- -

Reorder the bytes of a 32-bit unsigned value.

-

This function is used to Reorder the bytes of a 32-bit unsigned value from processor order to network order.

-
Parameters
- - -
[in]varvariable to reorder
-
-
-
Returns
Return the reorder variable,
-
See also
sl_SendTo sl_Bind sl_Connect sl_RecvFrom sl_Accept
-
Note
belongs to send_api
-
Warning
- -
-
- -
-
- - - - - - - - -
_u16 sl_Htons (_u16 val)
-
- -

Reorder the bytes of a 16-bit unsigned value.

-

This function is used to Reorder the bytes of a 16-bit unsigned value from processor order to network order.

-
Parameters
- - -
[in]varvariable to reorder
-
-
-
Returns
Return the reorder variable,
-
See also
sl_SendTo sl_Bind sl_Connect sl_RecvFrom sl_Accept
-
Note
belongs to send_api
-
Warning
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
_i16 sl_Listen (_i16 sd,
_i16 backlog 
)
-
- -

listen for connections on a socket

-

The willingness to accept incoming connections and a queue limit for incoming connections are specified with listen(), and then the connections are accepted with accept. The listen() call applies only to sockets of type SOCK_STREAM The backlog parameter defines the maximum length the queue of pending connections may grow to.

-
Parameters
- - - -
[in]sdsocket descriptor (handle)
[in]backlogspecifies the listen queue depth.
-
-
-
Returns
On success, zero is returned. On error, a negative error code is returned.
-
See also
sl_Socket sl_Accept sl_Bind
-
Note
belongs to server_side
-
Warning
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_i16 sl_Recv (_i16 sd,
void * buf,
_i16 Len,
_i16 flags 
)
-
- -

read data from TCP socket

-

function receives a message from a connection-mode socket

-
Parameters
- - - - - -
[in]sdsocket handle
[out]bufPoints to the buffer where the message should be stored.
[in]LenSpecifies the length in bytes of the buffer pointed to by the buffer argument. Range: 1-16000 bytes
[in]flagsSpecifies the type of message reception. On this version, this parameter is not supported.
-
-
-
Returns
return the number of bytes received, or a negative value if an error occurred. using a non-blocking recv a possible negative value is SL_EAGAIN. SL_POOL_IS_EMPTY may be return in case there are no resources in the system In this case try again later or increase MAX_CONCURRENT_ACTIONS
-
See also
sl_RecvFrom
-
Note
belongs to recv_api
-
Warning
-
Examples:
An example of receiving data using TCP socket:
-
- -
SlSockAddrIn_t LocalAddr;
-
_i16 AddrSize = sizeof(SlSockAddrIn_t);
-
_i16 SockID, newSockID;
-
_i16 Status;
-
_i8 Buf[RECV_BUF_LEN];
-
-
LocalAddr.sin_family = SL_AF_INET;
-
LocalAddr.sin_port = sl_Htons(5001);
-
LocalAddr.sin_addr.s_addr = 0;
-
-
Addr.sin_family = SL_AF_INET;
-
Addr.sin_port = sl_Htons(5001);
-
Addr.sin_addr.s_addr = sl_Htonl(SL_IPV4_VAL(10,1,1,200));
-
-
SockID = sl_Socket(SL_AF_INET,SL_SOCK_STREAM, 0);
-
Status = sl_Bind(SockID, (SlSockAddr_t *)&LocalAddr, AddrSize);
-
Status = sl_Listen(SockID, 0);
-
newSockID = sl_Accept(SockID, (SlSockAddr_t*)&Addr, (SlSocklen_t*) &AddrSize);
-
Status = sl_Recv(newSockID, Buf, 1460, 0);
-
Example code for Rx transceiver mode using a raw socket
-
_i8 buffer[1536];
-
_i16 sd;
-
_u16 size;
- -
sd = sl_Socket(SL_AF_RF,SL_SOCK_RAW,11); // channel 11
-
while(1)
-
{
-
size = sl_Recv(sd,buffer,1536,0);
-
transHeader = (SlTransceiverRxOverHead_t *)buffer;
-
printf("RSSI is %d frame type is 0x%x size %d\n",transHeader->rssi,buffer[sizeof(SlTransceiverRxOverHead_t)],size);
-
}
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_i16 sl_RecvFrom (_i16 sd,
void * buf,
_i16 Len,
_i16 flags,
SlSockAddr_tfrom,
SlSocklen_t * fromlen 
)
-
- -

read data from socket

-

function receives a message from a connection-mode or connectionless-mode socket

-
Parameters
- - - - - - - -
[in]sdsocket handle
[out]bufPoints to the buffer where the message should be stored.
[in]LenSpecifies the length in bytes of the buffer pointed to by the buffer argument. Range: 1-16000 bytes
[in]flagsSpecifies the type of message reception. On this version, this parameter is not supported.
[in]frompointer to an address structure indicating the source address.
- sockaddr:
- - code for the address format. On this version only AF_INET is supported.
- - socket address, the length depends on the code format
[in]fromlensource address structure size. This parameter MUST be set to the size of the structure pointed to by addr.
-
-
-
Returns
return the number of bytes received, or a negative value if an error occurred. using a non-blocking recv a possible negative value is SL_EAGAIN. SL_RET_CODE_INVALID_INPUT (-2) will be returned if fromlen has incorrect length. SL_POOL_IS_EMPTY may be return in case there are no resources in the system In this case try again later or increase MAX_CONCURRENT_ACTIONS
-
See also
sl_Recv
-
Note
belongs to recv_api
-
Warning
-
Example:
An example of receiving data:
-
- -
SlSockAddrIn_t LocalAddr;
-
_i16 AddrSize = sizeof(SlSockAddrIn_t);
-
_i16 SockID;
-
_i16 Status;
-
_i8 Buf[RECV_BUF_LEN];
-
-
LocalAddr.sin_family = SL_AF_INET;
-
LocalAddr.sin_port = sl_Htons(5001);
-
LocalAddr.sin_addr.s_addr = 0;
-
-
SockID = sl_Socket(SL_AF_INET,SL_SOCK_DGRAM, 0);
-
Status = sl_Bind(SockID, (SlSockAddr_t *)&LocalAddr, AddrSize);
-
Status = sl_RecvFrom(SockID, Buf, 1472, 0, (SlSockAddr_t *)&Addr, (SlSocklen_t*)&AddrSize);
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_i16 sl_Select (_i16 nfds,
SlFdSet_treadsds,
SlFdSet_twritesds,
SlFdSet_texceptsds,
struct SlTimeval_ttimeout 
)
-
- -

Monitor socket activity.

-

Select allow a program to monitor multiple file descriptors, waiting until one or more of the file descriptors become "ready" for some class of I/O operation

-
Parameters
- - - - - - -
[in]nfdsthe highest-numbered file descriptor in any of the three sets, plus 1.
[out]readsdssocket descriptors list for read monitoring and accept monitoring
[out]writesdssocket descriptors list for connect monitoring only, write monitoring is not supported
[out]exceptsdssocket descriptors list for exception monitoring, not supported.
[in]timeoutis an upper bound on the amount of time elapsed before select() returns. Null or above 0xffff seconds means infinity timeout. The minimum timeout is 10 milliseconds, less than 10 milliseconds will be set automatically to 10 milliseconds. Max microseconds supported is 0xfffc00.
-
-
-
Returns
On success, select() returns the number of file descriptors contained in the three returned descriptor sets (that is, the total number of bits that are set in readfds, writefds, exceptfds) which may be zero if the timeout expires before anything interesting happens. On error, a negative value is returned. readsds - return the sockets on which Read request will return without delay with valid data. writesds - return the sockets on which Write request will return without delay. exceptsds - return the sockets closed recently. SL_POOL_IS_EMPTY may be return in case there are no resources in the system In this case try again later or increase MAX_CONCURRENT_ACTIONS
-
See also
sl_Socket
-
Note
If the timeout value set to less than 5ms it will automatically set to 5ms to prevent overload of the system belongs to basic_api
-

Only one sl_Select can be handled at a time. Calling this API while the same command is called from another thread, may result in one of the two scenarios:

    -
  1. The command will wait (internal) until the previous command finish, and then be executed.
  2. -
  3. There are not enough resources and SL_POOL_IS_EMPTY error will return. In this case, MAX_CONCURRENT_ACTIONS can be increased (result in memory increase) or try again later to issue the command.
  4. -
-
Warning
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_i16 sl_Send (_i16 sd,
const void * buf,
_i16 Len,
_i16 flags 
)
-
- -

write data to TCP socket

-

This function is used to transmit a message to another socket. Returns immediately after sending data to device. In case of TCP failure an async event SL_SOCKET_TX_FAILED_EVENT is going to be received. In case of a RAW socket (transceiver mode), extra 4 bytes should be reserved at the end of the frame data buffer for WLAN FCS

-
Parameters
- - - - - -
[in]sdsocket handle
[in]bufPoints to a buffer containing the message to be sent
[in]Lenmessage size in bytes. Range: 1-1460 bytes
[in]flagsSpecifies the type of message transmission. On this version, this parameter is not supported for TCP. For transceiver mode, the SL_RAW_RF_TX_PARAMS macro can be used to determine transmission parameters (channel,rate,tx_power,preamble)
-
-
-
Returns
Return the number of bytes transmitted, or -1 if an error occurred
-
See also
sl_SendTo
-
Note
belongs to send_api
-
Warning
-
Example:
An example of sending data:
-
- -
_i16 AddrSize = sizeof(SlSockAddrIn_t);
-
_i16 SockID;
-
_i16 Status;
-
_i8 Buf[SEND_BUF_LEN];
-
-
Addr.sin_family = SL_AF_INET;
-
Addr.sin_port = sl_Htons(5001);
-
Addr.sin_addr.s_addr = sl_Htonl(SL_IPV4_VAL(10,1,1,200));
-
-
SockID = sl_Socket(SL_AF_INET,SL_SOCK_STREAM, 0);
-
Status = sl_Connect(SockID, (SlSockAddr_t *)&Addr, AddrSize);
-
Status = sl_Send(SockID, Buf, 1460, 0 );
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_i16 sl_SendTo (_i16 sd,
const void * buf,
_i16 Len,
_i16 flags,
const SlSockAddr_tto,
SlSocklen_t tolen 
)
-
- -

write data to socket

-

This function is used to transmit a message to another socket (connection less socket SOCK_DGRAM, SOCK_RAW). Returns immediately after sending data to device. In case of transmission failure an async event SL_SOCKET_TX_FAILED_EVENT is going to be received.

-
Parameters
- - - - - - - -
[in]sdsocket handle
[in]bufPoints to a buffer containing the message to be sent
[in]Lenmessage size in bytes. Range: 1-1460 bytes
[in]flagsSpecifies the type of message transmission. On this version, this parameter is not supported
[in]topointer to an address structure indicating the destination address.
- sockaddr:
- - code for the address format. On this version only AF_INET is supported.
- - socket address, the length depends on the code format
[in]tolendestination address structure size
-
-
-
Returns
Return the number of transmitted bytes, or -1 if an error occurred
-
See also
sl_Send
-
Note
belongs to send_api
-
Warning
-
Example:
An example of sending data:
-
- -
_i16 AddrSize = sizeof(SlSockAddrIn_t);
-
_i16 SockID;
-
_i16 Status;
-
_i8 Buf[SEND_BUF_LEN];
-
-
Addr.sin_family = SL_AF_INET;
-
Addr.sin_port = sl_Htons(5001);
-
Addr.sin_addr.s_addr = sl_Htonl(SL_IPV4_VAL(10,1,1,200));
-
-
SockID = sl_Socket(SL_AF_INET,SL_SOCK_DGRAM, 0);
-
Status = sl_SendTo(SockID, Buf, 1472, 0, (SlSockAddr_t *)&Addr, AddrSize);
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_i16 sl_SetSockOpt (_i16 sd,
_i16 level,
_i16 optname,
const void * optval,
SlSocklen_t optlen 
)
-
- -

set socket options

-

This function manipulate the options associated with a socket. Options may exist at multiple protocol levels; they are always present at the uppermost socket level.

-

When manipulating socket options the level at which the option resides and the name of the option must be specified. To manipulate options at the socket level, level is specified as SOL_SOCKET. To manipulate options at any other level the protocol number of the appropriate proto- col controlling the option is supplied. For example, to indicate that an option is to be interpreted by the TCP protocol, level should be set to the protocol number of TCP;

-

The parameters optval and optlen are used to access optval - ues for setsockopt(). For getsockopt() they identify a buffer in which the value for the requested option(s) are to be returned. For getsockopt(), optlen is a value-result parameter, initially containing the size of the buffer pointed to by option_value, and modified on return to indicate the actual size of the value returned. If no option value is to be supplied or returned, option_value may be NULL.

-
Parameters
- - - - - - -
[in]sdsocket handle
[in]leveldefines the protocol level for this option
    -
  • SL_SOL_SOCKET Socket level configurations (L4, transport layer)
  • -
  • SL_IPPROTO_IP IP level configurations (L3, network layer)
  • -
  • SL_SOL_PHY_OPT Link level configurations (L2, link layer)
  • -
-
[in]optnamedefines the option name to interrogate
    -
  • SL_SOL_SOCKET
      -
    • SL_SO_KEEPALIVE
      - Enable/Disable periodic keep alive. Keeps TCP connections active by enabling the periodic transmission of messages
      - Timeout is 5 minutes.
      - Default: Enabled
      - This options takes SlSockKeepalive_t struct as parameter
    • -
    • SL_SO_RCVTIMEO
      - Sets the timeout value that specifies the maximum amount of time an input function waits until it completes.
      - Default: No timeout
      - This options takes SlTimeval_t struct as parameter
    • -
    • SL_SO_RCVBUF
      - Sets tcp max recv window size.
      - This options takes SlSockWinsize_t struct as parameter
    • -
    • SL_SO_NONBLOCKING
      - Sets socket to non-blocking operation Impacts: connect, accept, send, sendto, recv and recvfrom.
      - Default: Blocking. This options takes SlSockNonblocking_t struct as parameter
    • -
    • SL_SO_SECMETHOD
      - Sets method to tcp secured socket (SL_SEC_SOCKET)
      - Default: SL_SO_SEC_METHOD_SSLv3_TLSV1_2
      - This options takes SlSockSecureMethod struct as parameter
    • -
    • SL_SO_SEC_MASK
      - Sets specific cipher to tcp secured socket (SL_SEC_SOCKET)
      - Default: "Best" cipher suitable to method
      - This options takes SlSockSecureMask struct as parameter
    • -
    • SL_SO_SECURE_FILES_CA_FILE_NAME
      - Map secured socket to CA file by name
      - This options takes _u8 buffer as parameter
    • -
    • SL_SO_SECURE_FILES_PRIVATE_KEY_FILE_NAME
      - Map secured socket to private key by name
      - This options takes _u8 buffer as parameter
    • -
    • SL_SO_SECURE_FILES_CERTIFICATE_FILE_NAME
      - Map secured socket to certificate file by name
      - This options takes _u8 buffer as parameter
    • -
    • SL_SO_SECURE_FILES_DH_KEY_FILE_NAME
      - Map secured socket to Diffie Hellman file by name
      - This options takes _u8 buffer as parameter
    • -
    • SL_SO_CHANGE_CHANNEL
      - Sets channel in transceiver mode. This options takes _u32 as channel number parameter
    • -
    -
  • -
  • SL_IPPROTO_IP
      -
    • SL_IP_MULTICAST_TTL
      - Set the time-to-live value of outgoing multicast packets for this socket.
      - This options takes _u8 as parameter
    • -
    • SL_IP_ADD_MEMBERSHIP
      - UDP socket, Join a multicast group.
      - This options takes SlSockIpMreq struct as parameter
    • -
    • SL_IP_DROP_MEMBERSHIP
      - UDP socket, Leave a multicast group
      - This options takes SlSockIpMreq struct as parameter
    • -
    • SL_IP_RAW_RX_NO_HEADER
      - Raw socket remove IP header from received data.
      - Default: data includes ip header
      - This options takes _u32 as parameter
    • -
    • SL_IP_HDRINCL
      - RAW socket only, the IPv4 layer generates an IP header when sending a packet unless
      - the IP_HDRINCL socket option is enabled on the socket.
      - When it is enabled, the packet must contain an IP header.
      - Default: disabled, IPv4 header generated by Network Stack
      - This options takes _u32 as parameter
    • -
    • SL_IP_RAW_IPV6_HDRINCL (inactive)
      - RAW socket only, the IPv6 layer generates an IP header when sending a packet unless
      - the IP_HDRINCL socket option is enabled on the socket. When it is enabled, the packet must contain an IP header
      - Default: disabled, IPv4 header generated by Network Stack
      - This options takes _u32 as parameter
    • -
    -
  • -
  • SL_SOL_PHY_OPT
      -
    • SL_SO_PHY_RATE
      - RAW socket, set WLAN PHY transmit rate
      - The values are based on RateIndex_e
      - This options takes _u32 as parameter
    • -
    • SL_SO_PHY_TX_POWER
      - RAW socket, set WLAN PHY TX power
      - Valid rage is 1-15
      - This options takes _u32 as parameter
    • -
    • SL_SO_PHY_NUM_FRAMES_TO_TX
      - RAW socket, set number of frames to transmit in transceiver mode. Default: 1 packet This options takes _u32 as parameter
    • -
    • SL_SO_PHY_PREAMBLE
      - RAW socket, set WLAN PHY preamble for Long/Short
      - This options takes _u32 as parameter
    • -
    -
  • -
-
[in]optvalspecifies a value for the option
[in]optlenspecifies the length of the option value
-
-
-
Returns
On success, zero is returned. On error, a negative value is returned.
-
See also
sl_getsockopt
-
Note
belongs to basic_api
-
Warning
-
Examples:
-
SL_SO_KEEPALIVE: (disable Keepalive)
SlSockKeepalive_t enableOption;
-
enableOption.KeepaliveEnabled = 0;
-
sl_SetSockOpt(SockID,SL_SOL_SOCKET,SL_SO_KEEPALIVE, (_u8 *)&enableOption,sizeof(enableOption));
-
-
SL_SO_RCVTIMEO:
struct SlTimeval_t timeVal;
-
timeVal.tv_sec = 1; // Seconds
-
timeVal.tv_usec = 0; // Microseconds. 10000 microseconds resolution
-
sl_SetSockOpt(SockID,SL_SOL_SOCKET,SL_SO_RCVTIMEO, (_u8 *)&timeVal, sizeof(timeVal)); // Enable receive timeout
-
-
SL_SO_RCVBUF:
-
size.Winsize = 3000; // bytes
-
sl_SetSockOpt(SockID,SL_SOL_SOCKET,SL_SO_RCVBUF, (_u8 *)&size, sizeof(size));
-
-
SL_SO_NONBLOCKING:
SlSockNonblocking_t enableOption;
-
enableOption.NonblockingEnabled = 1;
-
sl_SetSockOpt(SockID,SL_SOL_SOCKET,SL_SO_NONBLOCKING, (_u8 *)&enableOption,sizeof(enableOption)); // Enable/disable nonblocking mode
-
-
SL_SO_SECMETHOD:
-
method.secureMethod = SL_SO_SEC_METHOD_SSLV3; // security method we want to use
-
SockID = sl_Socket(SL_AF_INET,SL_SOCK_STREAM, SL_SEC_SOCKET);
-
sl_SetSockOpt(SockID, SL_SOL_SOCKET, SL_SO_SECMETHOD, (_u8 *)&method, sizeof(method));
-
-
SL_SO_SECURE_MASK:
-
cipher.secureMask = SL_SEC_MASK_SSL_RSA_WITH_RC4_128_SHA; // cipher type
-
SockID = sl_Socket(SL_AF_INET,SL_SOCK_STREAM, SL_SEC_SOCKET);
-
sl_SetSockOpt(SockID, SL_SOL_SOCKET, SL_SO_SEC_MASK,(_u8 *)&cipher, sizeof(cipher));
-
-
SL_SO_SECURE_FILES_CA_FILE_NAME:
sl_SetSockOpt(SockID,SL_SOL_SOCKET,SL_SO_SECURE_FILES_CA_FILE_NAME,"exuifaxCaCert.der",strlen("exuifaxCaCert.der"));
-
-
SL_SO_SECURE_FILES_PRIVATE_KEY_FILE_NAME:
sl_SetSockOpt(SockID,SL_SOL_SOCKET,SL_SO_SECURE_FILES_PRIVATE_KEY_FILE_NAME,"myPrivateKey.der",strlen("myPrivateKey.der"));
-
-
SL_SO_SECURE_FILES_CERTIFICATE_FILE_NAME:
sl_SetSockOpt(SockID,SL_SOL_SOCKET,SL_SO_SECURE_FILES_CERTIFICATE_FILE_NAME,"myCertificate.der",strlen("myCertificate.der"));
-
-
SL_SO_SECURE_FILES_DH_KEY_FILE_NAME:
sl_SetSockOpt(SockID,SL_SOL_SOCKET,SL_SO_SECURE_FILES_DH_KEY_FILE_NAME,"myDHinServerMode.der",strlen("myDHinServerMode.der"));
-
-
SL_IP_MULTICAST_TTL:
_u8 ttl = 20;
-
sl_SetSockOpt(SockID, SL_IPPROTO_IP, SL_IP_MULTICAST_TTL, &ttl, sizeof(ttl));
-
-
SL_IP_ADD_MEMBERSHIP:
-
sl_SetSockOpt(SockID, SL_IPPROTO_IP, SL_IP_ADD_MEMBERSHIP, &mreq, sizeof(mreq));
-
-
SL_IP_DROP_MEMBERSHIP:
-
sl_SetSockOpt(SockID, SL_IPPROTO_IP, SL_IP_DROP_MEMBERSHIP, &mreq, sizeof(mreq));
-
-
SL_SO_CHANGE_CHANNEL:
_u32 newChannel = 6; // range is 1-13
-
sl_SetSockOpt(SockID, SL_SOL_SOCKET, SL_SO_CHANGE_CHANNEL, &newChannel, sizeof(newChannel));
-
-
SL_IP_RAW_RX_NO_HEADER:
_u32 header = 1; // remove ip header
-
sl_SetSockOpt(SockID, SL_IPPROTO_IP, SL_IP_RAW_RX_NO_HEADER, &header, sizeof(header));
-
-
SL_IP_HDRINCL:
_u32 header = 1;
-
sl_SetSockOpt(SockID, SL_IPPROTO_IP, SL_IP_HDRINCL, &header, sizeof(header));
-
-
SL_IP_RAW_IPV6_HDRINCL:
_u32 header = 1;
-
sl_SetSockOpt(SockID, SL_IPPROTO_IP, SL_IP_RAW_IPV6_HDRINCL, &header, sizeof(header));
-
-
SL_SO_PHY_RATE:
_u32 rate = 6; // see wlan.h RateIndex_e for values
-
sl_SetSockOpt(SockID, SL_SOL_PHY_OPT, SL_SO_PHY_RATE, &rate, sizeof(rate));
-
-
SL_SO_PHY_TX_POWER:
_u32 txpower = 1; // valid range is 1-15
-
sl_SetSockOpt(SockID, SL_SOL_PHY_OPT, SL_SO_PHY_TX_POWER, &txpower, sizeof(txpower));
-
-
SL_SO_PHY_NUM_FRAMES_TO_TX:
_u32 numframes = 1;
-
sl_SetSockOpt(SockID, SL_SOL_PHY_OPT, SL_SO_PHY_NUM_FRAMES_TO_TX, &numframes, sizeof(numframes));
-
-
SL_SO_PHY_PREAMBLE:
_u32 preamble = 1;
-
sl_SetSockOpt(SockID, SL_SOL_PHY_OPT, SL_SO_PHY_PREAMBLE, &preamble, sizeof(preamble));
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
_i16 sl_Socket (_i16 Domain,
_i16 Type,
_i16 Protocol 
)
-
- -

create an endpoint for communication

-

The socket function creates a new socket of a certain socket type, identified by an integer number, and allocates system resources to it. This function is called by the application layer to obtain a socket handle.

-
Parameters
- - - - -
[in]domainspecifies the protocol family of the created socket. For example: AF_INET for network protocol IPv4 AF_RF for starting transceiver mode. Notes:
    -
  • sending and receiving any packet overriding 802.11 header
  • -
  • for optimized power consumption the socket will be started in TX only mode until receive command is activated AF_INET6 for IPv6
  • -
-
[in]typespecifies the communication semantic, one of: SOCK_STREAM (reliable stream-oriented service or Stream Sockets) SOCK_DGRAM (datagram service or Datagram Sockets) SOCK_RAW (raw protocols atop the network layer) when used with AF_RF: SOCK_DGRAM - L2 socket SOCK_RAW - L1 socket - bypass WLAN CCA (Clear Channel Assessment)
[in]protocolspecifies a particular transport to be used with the socket. The most common are IPPROTO_TCP, IPPROTO_SCTP, IPPROTO_UDP, IPPROTO_DCCP. The value 0 may be used to select a default protocol from the selected domain and type
-
-
-
Returns
On success, socket handle that is used for consequent socket operations. A successful return code should be a positive number (int16) On error, a negative (int16) value will be returned specifying the error code. SL_EAFNOSUPPORT - illegal domain parameter SL_EPROTOTYPE - illegal type parameter SL_EACCES - permission denied SL_ENSOCK - exceeded maximal number of socket SL_ENOMEM - memory allocation error SL_EINVAL - error in socket configuration SL_EPROTONOSUPPORT - illegal protocol parameter SL_EOPNOTSUPP - illegal combination of protocol and type parameters
-
See also
sl_Close
-
Note
belongs to basic_api
-
Warning
- -
-
-
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: Socket + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Data Structures

struct  SlInAddr_t
 
struct  SlSockKeepalive_t
 
struct  SlSockReuseaddr_t
 
struct  SlSockWinsize_t
 
struct  SlSockNonblocking_t
 
struct  SlSocketAsyncEvent_t
 
struct  SlSockTxFailEventData_t
 
union  SlSockEventData_u
 
struct  SlSockEvent_t
 
struct  SlSockSecureMask
 
struct  SlSockSecureMethod
 
struct  SlSockIpMreq
 
struct  SlTimeval_t
 
struct  SlSockAddr_t
 
struct  SlIn6Addr_t
 
struct  SlSockAddrIn6_t
 
struct  SlSockAddrIn_t
 
struct  SlIpV4AcquiredAsync_t
 
struct  SlIpV6AcquiredAsync_t
 
struct  SlIpLeasedAsync_t
 
struct  SlIpReleasedAsync_t
 
union  SlNetAppEventData_u
 
struct  SlNetAppEvent_t
 
struct  sock_secureFiles
 
struct  SlFdSet_t
 
struct  SlTransceiverRxOverHead_t
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Macros

+#define SL_FD_SETSIZE   SL_MAX_SOCKETS /* Number of sockets to select on - same is max sockets! */
 
+#define BSD_SOCKET_ID_MASK   (0x0F) /* Index using the LBS 4 bits for socket id 0-7 */
 
+#define SL_SOCK_STREAM   (1) /* TCP Socket */
 
+#define SL_SOCK_DGRAM   (2) /* UDP Socket */
 
+#define SL_SOCK_RAW   (3) /* Raw socket */
 
+#define SL_IPPROTO_TCP   (6) /* TCP Raw Socket */
 
+#define SL_IPPROTO_UDP   (17) /* UDP Raw Socket */
 
+#define SL_IPPROTO_RAW   (255) /* Raw Socket */
 
+#define SL_SEC_SOCKET   (100) /* Secured Socket Layer (SSL,TLS) */
 
+#define SL_AF_INET   (2) /* IPv4 socket (UDP, TCP, etc) */
 
+#define SL_AF_INET6   (3) /* IPv6 socket (UDP, TCP, etc) */
 
+#define SL_AF_INET6_EUI_48   (9)
 
+#define SL_AF_RF   (6) /* data include RF parameter, All layer by user (Wifi could be disconnected) */
 
+#define SL_AF_PACKET   (17)
 
+#define SL_PF_INET   AF_INET
 
+#define SL_PF_INET6   AF_INET6
 
+#define SL_INADDR_ANY   (0) /* bind any address */
 
+#define SL_SOC_ERROR   (-1) /* Failure. */
 
+#define SL_SOC_OK   ( 0) /* Success. */
 
+#define SL_INEXE   (-8) /* socket command in execution */
 
+#define SL_EBADF   (-9) /* Bad file number */
 
+#define SL_ENSOCK   (-10) /* The system limit on the total number of open socket, has been reached */
 
+#define SL_EAGAIN   (-11) /* Try again */
 
+#define SL_EWOULDBLOCK   SL_EAGAIN
 
+#define SL_ENOMEM   (-12) /* Out of memory */
 
+#define SL_EACCES   (-13) /* Permission denied */
 
+#define SL_EFAULT   (-14) /* Bad address */
 
+#define SL_ECLOSE   (-15) /* close socket operation failed to transmit all queued packets */
 
+#define SL_EALREADY_ENABLED   (-21) /* Transceiver - Transceiver already ON. there could be only one */
 
+#define SL_EINVAL   (-22) /* Invalid argument */
 
+#define SL_EAUTO_CONNECT_OR_CONNECTING   (-69) /* Transceiver - During connection, connected or auto mode started */
 
+#define SL_CONNECTION_PENDING   (-72) /* Transceiver - Device is connected, disconnect first to open transceiver */
 
+#define SL_EUNSUPPORTED_ROLE   (-86) /* Transceiver - Trying to start when WLAN role is AP or P2P GO */
 
+#define SL_EDESTADDRREQ   (-89) /* Destination address required */
 
+#define SL_EPROTOTYPE   (-91) /* Protocol wrong type for socket */
 
+#define SL_ENOPROTOOPT   (-92) /* Protocol not available */
 
+#define SL_EPROTONOSUPPORT   (-93) /* Protocol not supported */
 
+#define SL_ESOCKTNOSUPPORT   (-94) /* Socket type not supported */
 
+#define SL_EOPNOTSUPP   (-95) /* Operation not supported on transport endpoint */
 
+#define SL_EAFNOSUPPORT   (-97) /* Address family not supported by protocol */
 
+#define SL_EADDRINUSE   (-98) /* Address already in use */
 
+#define SL_EADDRNOTAVAIL   (-99) /* Cannot assign requested address */
 
+#define SL_ENETUNREACH   (-101) /* Network is unreachable */
 
+#define SL_ENOBUFS   (-105) /* No buffer space available */
 
+#define SL_EOBUFF   SL_ENOBUFS
 
+#define SL_EISCONN   (-106) /* Transport endpoint is already connected */
 
+#define SL_ENOTCONN   (-107) /* Transport endpoint is not connected */
 
+#define SL_ETIMEDOUT   (-110) /* Connection timed out */
 
+#define SL_ECONNREFUSED   (-111) /* Connection refused */
 
+#define SL_EALREADY   (-114) /* Non blocking connect in progress, try again */
 
+#define SL_ESEC_RSA_WRONG_TYPE_E   (-130) /* RSA wrong block type for RSA function */
 
+#define SL_ESEC_RSA_BUFFER_E   (-131) /* RSA buffer error, output too small or */
 
+#define SL_ESEC_BUFFER_E   (-132) /* output buffer too small or input too large */
 
+#define SL_ESEC_ALGO_ID_E   (-133) /* setting algo id error */
 
+#define SL_ESEC_PUBLIC_KEY_E   (-134) /* setting public key error */
 
+#define SL_ESEC_DATE_E   (-135) /* setting date validity error */
 
+#define SL_ESEC_SUBJECT_E   (-136) /* setting subject name error */
 
+#define SL_ESEC_ISSUER_E   (-137) /* setting issuer name error */
 
+#define SL_ESEC_CA_TRUE_E   (-138) /* setting CA basic constraint true error */
 
+#define SL_ESEC_EXTENSIONS_E   (-139) /* setting extensions error */
 
+#define SL_ESEC_ASN_PARSE_E   (-140) /* ASN parsing error, invalid input */
 
+#define SL_ESEC_ASN_VERSION_E   (-141) /* ASN version error, invalid number */
 
+#define SL_ESEC_ASN_GETINT_E   (-142) /* ASN get big _i16 error, invalid data */
 
+#define SL_ESEC_ASN_RSA_KEY_E   (-143) /* ASN key init error, invalid input */
 
+#define SL_ESEC_ASN_OBJECT_ID_E   (-144) /* ASN object id error, invalid id */
 
+#define SL_ESEC_ASN_TAG_NULL_E   (-145) /* ASN tag error, not null */
 
+#define SL_ESEC_ASN_EXPECT_0_E   (-146) /* ASN expect error, not zero */
 
+#define SL_ESEC_ASN_BITSTR_E   (-147) /* ASN bit string error, wrong id */
 
+#define SL_ESEC_ASN_UNKNOWN_OID_E   (-148) /* ASN oid error, unknown sum id */
 
+#define SL_ESEC_ASN_DATE_SZ_E   (-149) /* ASN date error, bad size */
 
+#define SL_ESEC_ASN_BEFORE_DATE_E   (-150) /* ASN date error, current date before */
 
+#define SL_ESEC_ASN_AFTER_DATE_E   (-151) /* ASN date error, current date after */
 
+#define SL_ESEC_ASN_SIG_OID_E   (-152) /* ASN signature error, mismatched oid */
 
+#define SL_ESEC_ASN_TIME_E   (-153) /* ASN time error, unknown time type */
 
+#define SL_ESEC_ASN_INPUT_E   (-154) /* ASN input error, not enough data */
 
+#define SL_ESEC_ASN_SIG_CONFIRM_E   (-155) /* ASN sig error, confirm failure */
 
+#define SL_ESEC_ASN_SIG_HASH_E   (-156) /* ASN sig error, unsupported hash type */
 
+#define SL_ESEC_ASN_SIG_KEY_E   (-157) /* ASN sig error, unsupported key type */
 
+#define SL_ESEC_ASN_DH_KEY_E   (-158) /* ASN key init error, invalid input */
 
+#define SL_ESEC_ASN_NTRU_KEY_E   (-159) /* ASN ntru key decode error, invalid input */
 
+#define SL_ESEC_ECC_BAD_ARG_E   (-170) /* ECC input argument of wrong type */
 
+#define SL_ESEC_ASN_ECC_KEY_E   (-171) /* ASN ECC bad input */
 
+#define SL_ESEC_ECC_CURVE_OID_E   (-172) /* Unsupported ECC OID curve type */
 
+#define SL_ESEC_BAD_FUNC_ARG   (-173) /* Bad function argument provided */
 
+#define SL_ESEC_NOT_COMPILED_IN   (-174) /* Feature not compiled in */
 
+#define SL_ESEC_UNICODE_SIZE_E   (-175) /* Unicode password too big */
 
+#define SL_ESEC_NO_PASSWORD   (-176) /* no password provided by user */
 
+#define SL_ESEC_ALT_NAME_E   (-177) /* alt name size problem, too big */
 
+#define SL_ESEC_AES_GCM_AUTH_E   (-180) /* AES-GCM Authentication check failure */
 
+#define SL_ESEC_AES_CCM_AUTH_E   (-181) /* AES-CCM Authentication check failure */
 
+#define SL_SOCKET_ERROR_E   (-208) /* Error state on socket */
 
+#define SL_ESEC_MEMORY_ERROR   (-203) /* out of memory */
 
+#define SL_ESEC_VERIFY_FINISHED_ERROR   (-204) /* verify problem on finished */
 
+#define SL_ESEC_VERIFY_MAC_ERROR   (-205) /* verify mac problem */
 
+#define SL_ESEC_UNKNOWN_HANDSHAKE_TYPE   (-207) /* weird handshake type */
 
+#define SL_ESEC_SOCKET_ERROR_E   (-208) /* error state on socket */
 
+#define SL_ESEC_SOCKET_NODATA   (-209) /* expected data, not there */
 
+#define SL_ESEC_INCOMPLETE_DATA   (-210) /* don't have enough data to complete task */
 
+#define SL_ESEC_UNKNOWN_RECORD_TYPE   (-211) /* unknown type in record hdr */
 
+#define SL_ESEC_FATAL_ERROR   (-213) /* recvd alert fatal error */
 
+#define SL_ESEC_ENCRYPT_ERROR   (-214) /* error during encryption */
 
+#define SL_ESEC_NO_PEER_KEY   (-216) /* need peer's key */
 
+#define SL_ESEC_NO_PRIVATE_KEY   (-217) /* need the private key */
 
+#define SL_ESEC_RSA_PRIVATE_ERROR   (-218) /* error during rsa priv op */
 
+#define SL_ESEC_NO_DH_PARAMS   (-219) /* server missing DH params */
 
+#define SL_ESEC_BUILD_MSG_ERROR   (-220) /* build message failure */
 
+#define SL_ESEC_BAD_HELLO   (-221) /* client hello malformed */
 
+#define SL_ESEC_DOMAIN_NAME_MISMATCH   (-222) /* peer subject name mismatch */
 
+#define SL_ESEC_WANT_READ   (-223) /* want read, call again */
 
+#define SL_ESEC_NOT_READY_ERROR   (-224) /* handshake layer not ready */
 
+#define SL_ESEC_PMS_VERSION_ERROR   (-225) /* pre m secret version error */
 
+#define SL_ESEC_VERSION_ERROR   (-226) /* record layer version error */
 
+#define SL_ESEC_WANT_WRITE   (-227) /* want write, call again */
 
+#define SL_ESEC_BUFFER_ERROR   (-228) /* malformed buffer input */
 
+#define SL_ESEC_VERIFY_CERT_ERROR   (-229) /* verify cert error */
 
+#define SL_ESEC_VERIFY_SIGN_ERROR   (-230) /* verify sign error */
 
+#define SL_ESEC_LENGTH_ERROR   (-241) /* record layer length error */
 
+#define SL_ESEC_PEER_KEY_ERROR   (-242) /* can't decode peer key */
 
+#define SL_ESEC_ZERO_RETURN   (-243) /* peer sent close notify */
 
+#define SL_ESEC_SIDE_ERROR   (-244) /* wrong client/server type */
 
+#define SL_ESEC_NO_PEER_CERT   (-245) /* peer didn't send key */
 
+#define SL_ESEC_ECC_CURVETYPE_ERROR   (-250) /* Bad ECC Curve Type */
 
+#define SL_ESEC_ECC_CURVE_ERROR   (-251) /* Bad ECC Curve */
 
+#define SL_ESEC_ECC_PEERKEY_ERROR   (-252) /* Bad Peer ECC Key */
 
+#define SL_ESEC_ECC_MAKEKEY_ERROR   (-253) /* Bad Make ECC Key */
 
+#define SL_ESEC_ECC_EXPORT_ERROR   (-254) /* Bad ECC Export Key */
 
+#define SL_ESEC_ECC_SHARED_ERROR   (-255) /* Bad ECC Shared Secret */
 
+#define SL_ESEC_NOT_CA_ERROR   (-257) /* Not a CA cert error */
 
+#define SL_ESEC_BAD_PATH_ERROR   (-258) /* Bad path for opendir */
 
+#define SL_ESEC_BAD_CERT_MANAGER_ERROR   (-259) /* Bad Cert Manager */
 
+#define SL_ESEC_MAX_CHAIN_ERROR   (-268) /* max chain depth exceeded */
 
+#define SL_ESEC_SUITES_ERROR   (-271) /* suites pointer error */
 
+#define SL_ESEC_SSL_NO_PEM_HEADER   (-272) /* no PEM header found */
 
+#define SL_ESEC_OUT_OF_ORDER_E   (-273) /* out of order message */
 
+#define SL_ESEC_SANITY_CIPHER_E   (-275) /* sanity check on cipher error */
 
+#define SL_ESEC_GEN_COOKIE_E   (-277) /* Generate Cookie Error */
 
+#define SL_ESEC_NO_PEER_VERIFY   (-278) /* Need peer cert verify Error */
 
+#define SL_ESEC_UNKNOWN_SNI_HOST_NAME_E   (-281) /* Unrecognized host name Error */
 
+#define SL_ESEC_UNSUPPORTED_SUITE   (-290) /* unsupported cipher suite */
 
+#define SL_ESEC_MATCH_SUITE_ERROR   (-291 ) /* can't match cipher suite */
 
+#define SL_ESEC_CLOSE_NOTIFY   (-300) /* ssl/tls alerts */
 
+#define SL_ESEC_UNEXPECTED_MESSAGE   (-310) /* ssl/tls alerts */
 
+#define SL_ESEC_BAD_RECORD_MAC   (-320) /* ssl/tls alerts */
 
+#define SL_ESEC_DECRYPTION_FAILED   (-321) /* ssl/tls alerts */
 
+#define SL_ESEC_RECORD_OVERFLOW   (-322) /* ssl/tls alerts */
 
+#define SL_ESEC_DECOMPRESSION_FAILURE   (-330) /* ssl/tls alerts */
 
+#define SL_ESEC_HANDSHAKE_FAILURE   (-340) /* ssl/tls alerts */
 
+#define SL_ESEC_NO_CERTIFICATE   (-341) /* ssl/tls alerts */
 
+#define SL_ESEC_BAD_CERTIFICATE   (-342) /* ssl/tls alerts */
 
+#define SL_ESEC_UNSUPPORTED_CERTIFICATE   (-343) /* ssl/tls alerts */
 
+#define SL_ESEC_CERTIFICATE_REVOKED   (-344) /* ssl/tls alerts */
 
+#define SL_ESEC_CERTIFICATE_EXPIRED   (-345) /* ssl/tls alerts */
 
+#define SL_ESEC_CERTIFICATE_UNKNOWN   (-346) /* ssl/tls alerts */
 
+#define SL_ESEC_ILLEGAL_PARAMETER   (-347) /* ssl/tls alerts */
 
+#define SL_ESEC_UNKNOWN_CA   (-348) /* ssl/tls alerts */
 
+#define SL_ESEC_ACCESS_DENIED   (-349) /* ssl/tls alerts */
 
+#define SL_ESEC_DECODE_ERROR   (-350) /* ssl/tls alerts */
 
+#define SL_ESEC_DECRYPT_ERROR   (-351) /* ssl/tls alerts */
 
+#define SL_ESEC_EXPORT_RESTRICTION   (-360) /* ssl/tls alerts */
 
+#define SL_ESEC_PROTOCOL_VERSION   (-370) /* ssl/tls alerts */
 
+#define SL_ESEC_INSUFFICIENT_SECURITY   (-371) /* ssl/tls alerts */
 
+#define SL_ESEC_INTERNAL_ERROR   (-380) /* ssl/tls alerts */
 
+#define SL_ESEC_USER_CANCELLED   (-390) /* ssl/tls alerts */
 
+#define SL_ESEC_NO_RENEGOTIATION   (-400) /* ssl/tls alerts */
 
+#define SL_ESEC_UNSUPPORTED_EXTENSION   (-410) /* ssl/tls alerts */
 
+#define SL_ESEC_CERTIFICATE_UNOBTAINABLE   (-411) /* ssl/tls alerts */
 
+#define SL_ESEC_UNRECOGNIZED_NAME   (-412) /* ssl/tls alerts */
 
+#define SL_ESEC_BAD_CERTIFICATE_STATUS_RESPONSE   (-413) /* ssl/tls alerts */
 
+#define SL_ESEC_BAD_CERTIFICATE_HASH_VALUE   (-414) /* ssl/tls alerts */
 
+#define SL_ESECGENERAL   (-450) /* error secure level general error */
 
+#define SL_ESECDECRYPT   (-451) /* error secure level, decrypt recv packet fail */
 
+#define SL_ESECCLOSED   (-452) /* secure layrer is closed by other size , tcp is still connected */
 
+#define SL_ESECSNOVERIFY   (-453) /* Connected without server verification */
 
+#define SL_ESECNOCAFILE   (-454) /* error secure level CA file not found*/
 
+#define SL_ESECMEMORY   (-455) /* error secure level No memory space available */
 
+#define SL_ESECBADCAFILE   (-456) /* error secure level bad CA file */
 
+#define SL_ESECBADCERTFILE   (-457) /* error secure level bad Certificate file */
 
+#define SL_ESECBADPRIVATEFILE   (-458) /* error secure level bad private file */
 
+#define SL_ESECBADDHFILE   (-459) /* error secure level bad DH file */
 
+#define SL_ESECT00MANYSSLOPENED   (-460) /* MAX SSL Sockets are opened */
 
+#define SL_ESECDATEERROR   (-461) /* connected with certificate date verification error */
 
+#define SL_ESECHANDSHAKETIMEDOUT   (-462) /* connection timed out due to handshake time */
 
+#define SL_SOCKET_PAYLOAD_TYPE_MASK   (0xF0) /*4 bits type, 4 bits sockets id */
 
+#define SL_SOCKET_PAYLOAD_TYPE_UDP_IPV4   (0x00) /* 1472 bytes */
 
+#define SL_SOCKET_PAYLOAD_TYPE_TCP_IPV4   (0x10) /* 1460 bytes */
 
+#define SL_SOCKET_PAYLOAD_TYPE_UDP_IPV6   (0x20) /* 1452 bytes */
 
+#define SL_SOCKET_PAYLOAD_TYPE_TCP_IPV6   (0x30) /* 1440 bytes */
 
+#define SL_SOCKET_PAYLOAD_TYPE_UDP_IPV4_SECURE   (0x40) /* */
 
+#define SL_SOCKET_PAYLOAD_TYPE_TCP_IPV4_SECURE   (0x50) /* */
 
+#define SL_SOCKET_PAYLOAD_TYPE_UDP_IPV6_SECURE   (0x60) /* */
 
+#define SL_SOCKET_PAYLOAD_TYPE_TCP_IPV6_SECURE   (0x70) /* */
 
+#define SL_SOCKET_PAYLOAD_TYPE_RAW_TRANCEIVER   (0x80) /* 1536 bytes */
 
+#define SL_SOCKET_PAYLOAD_TYPE_RAW_PACKET   (0x90) /* 1536 bytes */
 
+#define SL_SOCKET_PAYLOAD_TYPE_RAW_IP4   (0xa0)
 
+#define SL_SOCKET_PAYLOAD_TYPE_RAW_IP6   (SL_SOCKET_PAYLOAD_TYPE_RAW_IP4 )
 
+#define SL_SOL_SOCKET   (1) /* Define the socket option category. */
 
+#define SL_IPPROTO_IP   (2) /* Define the IP option category. */
 
+#define SL_SOL_PHY_OPT   (3) /* Define the PHY option category. */
 
+#define SL_SO_RCVBUF   (8) /* Setting TCP receive buffer size */
 
+#define SL_SO_KEEPALIVE   (9) /* Connections are kept alive with periodic messages */
 
+#define SL_SO_RCVTIMEO   (20) /* Enable receive timeout */
 
+#define SL_SO_NONBLOCKING   (24) /* Enable . disable nonblocking mode */
 
+#define SL_SO_SECMETHOD   (25) /* security metohd */
 
+#define SL_SO_SECURE_MASK   (26) /* security mask */
 
+#define SL_SO_SECURE_FILES   (27) /* security files */
 
+#define SL_SO_CHANGE_CHANNEL   (28) /* This option is available only when transceiver started */
 
+#define SL_SO_SECURE_FILES_PRIVATE_KEY_FILE_NAME   (30) /* This option used to configue secure file */
 
+#define SL_SO_SECURE_FILES_CERTIFICATE_FILE_NAME   (31) /* This option used to configue secure file */
 
+#define SL_SO_SECURE_FILES_CA_FILE_NAME   (32) /* This option used to configue secure file */
 
+#define SL_SO_SECURE_FILES_DH_KEY_FILE_NAME   (33) /* This option used to configue secure file */
 
+#define SL_IP_MULTICAST_IF   (60) /* Specify outgoing multicast interface */
 
+#define SL_IP_MULTICAST_TTL   (61) /* Specify the TTL value to use for outgoing multicast packet. */
 
+#define SL_IP_ADD_MEMBERSHIP   (65) /* Join IPv4 multicast membership */
 
+#define SL_IP_DROP_MEMBERSHIP   (66) /* Leave IPv4 multicast membership */
 
+#define SL_IP_HDRINCL   (67) /* Raw socket IPv4 header included. */
 
+#define SL_IP_RAW_RX_NO_HEADER   (68) /* Proprietary socket option that does not includeIPv4/IPv6 header (and extension headers) on received raw sockets*/
 
+#define SL_IP_RAW_IPV6_HDRINCL   (69) /* Transmitted buffer over IPv6 socket contains IPv6 header. */
 
+#define SL_SO_PHY_RATE   (100) /* WLAN Transmit rate */
 
+#define SL_SO_PHY_TX_POWER   (101) /* TX Power level */
 
+#define SL_SO_PHY_NUM_FRAMES_TO_TX   (102) /* Number of frames to transmit */
 
+#define SL_SO_PHY_PREAMBLE   (103) /* Preamble for transmission */
 
+#define SL_SO_SEC_METHOD_SSLV3   (0) /* security metohd SSL v3*/
 
+#define SL_SO_SEC_METHOD_TLSV1   (1) /* security metohd TLS v1*/
 
+#define SL_SO_SEC_METHOD_TLSV1_1   (2) /* security metohd TLS v1_1*/
 
+#define SL_SO_SEC_METHOD_TLSV1_2   (3) /* security metohd TLS v1_2*/
 
+#define SL_SO_SEC_METHOD_SSLv3_TLSV1_2   (4) /* use highest possible version from SSLv3 - TLS 1.2*/
 
+#define SL_SO_SEC_METHOD_DLSV1   (5) /* security metohd DTL v1 */
 
+#define SL_SEC_MASK_SSL_RSA_WITH_RC4_128_SHA   (1 << 0)
 
+#define SL_SEC_MASK_SSL_RSA_WITH_RC4_128_MD5   (1 << 1)
 
+#define SL_SEC_MASK_TLS_RSA_WITH_AES_256_CBC_SHA   (1 << 2)
 
+#define SL_SEC_MASK_TLS_DHE_RSA_WITH_AES_256_CBC_SHA   (1 << 3)
 
+#define SL_SEC_MASK_TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA   (1 << 4)
 
+#define SL_SEC_MASK_TLS_ECDHE_RSA_WITH_RC4_128_SHA   (1 << 5)
 
+#define SL_SEC_MASK_TLS_RSA_WITH_AES_128_CBC_SHA256   (1 << 6)
 
+#define SL_SEC_MASK_TLS_RSA_WITH_AES_256_CBC_SHA256   (1 << 7)
 
+#define SL_SEC_MASK_TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256   (1 << 8)
 
+#define SL_SEC_MASK_TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256   (1 << 9)
 
+#define SL_SEC_MASK_SECURE_DEFAULT   ((SL_SEC_MASK_TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 << 1) - 1)
 
+#define SL_MSG_DONTWAIT   (0x00000008) /* Nonblocking IO */
 
+#define SL_IP_LEASE_PEER_RELEASE   (0)
 
+#define SL_IP_LEASE_PEER_DECLINE   (1)
 
+#define SL_IP_LEASE_EXPIRED   (2)
 
+#define SSL_ACCEPT   (1) /* accept failed due to ssl issue ( tcp pass) */
 
+#define RX_FRAGMENTATION_TOO_BIG   (2) /* connection less mode, rx packet fragmentation > 16K, packet is being released */
 
+#define OTHER_SIDE_CLOSE_SSL_DATA_NOT_ENCRYPTED   (3) /* remote side down from secure to unsecure */
 
+#define FD_SETSIZE   SL_FD_SETSIZE
 
+#define SOCK_STREAM   SL_SOCK_STREAM
 
+#define SOCK_DGRAM   SL_SOCK_DGRAM
 
+#define SOCK_RAW   SL_SOCK_RAW
 
+#define IPPROTO_TCP   SL_IPPROTO_TCP
 
+#define IPPROTO_UDP   SL_IPPROTO_UDP
 
+#define IPPROTO_RAW   SL_IPPROTO_RAW
 
+#define AF_INET   SL_AF_INET
 
+#define AF_INET6   SL_AF_INET6
 
+#define AF_INET6_EUI_48   SL_AF_INET6_EUI_48
 
+#define AF_RF   SL_AF_RF
 
+#define AF_PACKET   SL_AF_PACKET
 
+#define PF_INET   SL_PF_INET
 
+#define PF_INET6   SL_PF_INET6
 
+#define INADDR_ANY   SL_INADDR_ANY
 
+#define ERROR   SL_SOC_ERROR
 
+#define INEXE   SL_INEXE
 
+#define EBADF   SL_EBADF
 
+#define ENSOCK   SL_ENSOCK
 
+#define EAGAIN   SL_EAGAIN
 
+#define EWOULDBLOCK   SL_EWOULDBLOCK
 
+#define ENOMEM   SL_ENOMEM
 
+#define EACCES   SL_EACCES
 
+#define EFAULT   SL_EFAULT
 
+#define EINVAL   SL_EINVAL
 
+#define EDESTADDRREQ   SL_EDESTADDRREQ
 
+#define EPROTOTYPE   SL_EPROTOTYPE
 
+#define ENOPROTOOPT   SL_ENOPROTOOPT
 
+#define EPROTONOSUPPORT   SL_EPROTONOSUPPORT
 
+#define ESOCKTNOSUPPORT   SL_ESOCKTNOSUPPORT
 
+#define EOPNOTSUPP   SL_EOPNOTSUPP
 
+#define EAFNOSUPPORT   SL_EAFNOSUPPORT
 
+#define EADDRINUSE   SL_EADDRINUSE
 
+#define EADDRNOTAVAIL   SL_EADDRNOTAVAIL
 
+#define ENETUNREACH   SL_ENETUNREACH
 
+#define ENOBUFS   SL_ENOBUFS
 
+#define EOBUFF   SL_EOBUFF
 
+#define EISCONN   SL_EISCONN
 
+#define ENOTCONN   SL_ENOTCONN
 
+#define ETIMEDOUT   SL_ETIMEDOUT
 
+#define ECONNREFUSED   SL_ECONNREFUSED
 
+#define SOL_SOCKET   SL_SOL_SOCKET
 
+#define IPPROTO_IP   SL_IPPROTO_IP
 
+#define SO_KEEPALIVE   SL_SO_KEEPALIVE
 
+#define SO_RCVTIMEO   SL_SO_RCVTIMEO
 
+#define SO_NONBLOCKING   SL_SO_NONBLOCKING
 
+#define IP_MULTICAST_IF   SL_IP_MULTICAST_IF
 
+#define IP_MULTICAST_TTL   SL_IP_MULTICAST_TTL
 
+#define IP_ADD_MEMBERSHIP   SL_IP_ADD_MEMBERSHIP
 
+#define IP_DROP_MEMBERSHIP   SL_IP_DROP_MEMBERSHIP
 
+#define socklen_t   SlSocklen_t
 
+#define timeval   SlTimeval_t
 
+#define sockaddr   SlSockAddr_t
 
+#define in6_addr   SlIn6Addr_t
 
+#define sockaddr_in6   SlSockAddrIn6_t
 
+#define in_addr   SlInAddr_t
 
+#define sockaddr_in   SlSockAddrIn_t
 
+#define MSG_DONTWAIT   SL_MSG_DONTWAIT
 
+#define FD_SET   SL_FD_SET
 
+#define FD_CLR   SL_FD_CLR
 
+#define FD_ISSET   SL_FD_ISSET
 
+#define FD_ZERO   SL_FD_ZERO
 
+#define fd_set   SlFdSet_t
 
+#define socket   sl_Socket
 
+#define close   sl_Close
 
+#define accept   sl_Accept
 
+#define bind   sl_Bind
 
+#define listen   sl_Listen
 
+#define connect   sl_Connect
 
+#define select   sl_Select
 
+#define setsockopt   sl_SetSockOpt
 
+#define getsockopt   sl_GetSockOpt
 
+#define recv   sl_Recv
 
+#define recvfrom   sl_RecvFrom
 
+#define write   sl_Write
 
+#define send   sl_Send
 
+#define sendto   sl_SendTo
 
+#define gethostbyname   sl_NetAppDnsGetHostByName
 
+#define htonl   sl_Htonl
 
+#define ntohl   sl_Ntohl
 
+#define htons   sl_Htons
 
+#define ntohs   sl_Ntohs
 
+#define sl_Ntohl   sl_Htonl /* Reorder the bytes of a 16-bit unsigned value from network order to processor orde. */
 
+#define sl_Ntohs   sl_Htons /* Reorder the bytes of a 16-bit unsigned value from network order to processor orde. */
 
+ + + + + + + + + + + + + + + + + + + + + + + +

+Typedefs

+typedef struct SlInAddr_t SlInAddr_t
 
+typedef _u32 SlTime_t
 
+typedef _u32 SlSuseconds_t
 
+typedef struct SlTimeval_t SlTimeval_t
 
+typedef _u16 SlSocklen_t
 
+typedef struct SlSockAddr_t SlSockAddr_t
 
+typedef struct SlIn6Addr_t SlIn6Addr_t
 
+typedef struct SlSockAddrIn6_t SlSockAddrIn6_t
 
+typedef struct SlSockAddrIn_t SlSockAddrIn_t
 
+typedef struct sock_secureFiles SlSockSecureFiles_t
 
+typedef struct SlFdSet_t SlFdSet_t
 
+ + + +

+Enumerations

enum  slBsd_secureSocketFilesIndex_e { SL_BSD_SECURED_PRIVATE_KEY_IDX = 0, +SL_BSD_SECURED_CERTIFICATE_IDX, +SL_BSD_SECURED_CA_IDX, +SL_BSD_SECURED_DH_IDX + }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

_i16 sl_Socket (_i16 Domain, _i16 Type, _i16 Protocol)
 create an endpoint for communication More...
 
_i16 sl_Close (_i16 sd)
 gracefully close socket More...
 
_i16 sl_Accept (_i16 sd, SlSockAddr_t *addr, SlSocklen_t *addrlen)
 Accept a connection on a socket. More...
 
_i16 sl_Bind (_i16 sd, const SlSockAddr_t *addr, _i16 addrlen)
 assign a name to a socket More...
 
_i16 sl_Listen (_i16 sd, _i16 backlog)
 listen for connections on a socket More...
 
_i16 sl_Connect (_i16 sd, const SlSockAddr_t *addr, _i16 addrlen)
 Initiate a connection on a socket. More...
 
_i16 sl_Select (_i16 nfds, SlFdSet_t *readsds, SlFdSet_t *writesds, SlFdSet_t *exceptsds, struct SlTimeval_t *timeout)
 Monitor socket activity. More...
 
void SL_FD_SET (_i16 fd, SlFdSet_t *fdset)
 Select's SlFdSet_t SET function. More...
 
void SL_FD_CLR (_i16 fd, SlFdSet_t *fdset)
 Select's SlFdSet_t CLR function. More...
 
_i16 SL_FD_ISSET (_i16 fd, SlFdSet_t *fdset)
 Select's SlFdSet_t ISSET function. More...
 
void SL_FD_ZERO (SlFdSet_t *fdset)
 Select's SlFdSet_t ZERO function. More...
 
_i16 sl_SetSockOpt (_i16 sd, _i16 level, _i16 optname, const void *optval, SlSocklen_t optlen)
 set socket options More...
 
_i16 sl_GetSockOpt (_i16 sd, _i16 level, _i16 optname, void *optval, SlSocklen_t *optlen)
 Get socket options. More...
 
_i16 sl_Recv (_i16 sd, void *buf, _i16 Len, _i16 flags)
 read data from TCP socket More...
 
_i16 sl_RecvFrom (_i16 sd, void *buf, _i16 Len, _i16 flags, SlSockAddr_t *from, SlSocklen_t *fromlen)
 read data from socket More...
 
_i16 sl_Send (_i16 sd, const void *buf, _i16 Len, _i16 flags)
 write data to TCP socket More...
 
_i16 sl_SendTo (_i16 sd, const void *buf, _i16 Len, _i16 flags, const SlSockAddr_t *to, SlSocklen_t tolen)
 write data to socket More...
 
_u32 sl_Htonl (_u32 val)
 Reorder the bytes of a 32-bit unsigned value. More...
 
_u16 sl_Htons (_u16 val)
 Reorder the bytes of a 16-bit unsigned value. More...
 
+

Detailed Description

+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
_i16 sl_Accept (_i16 sd,
SlSockAddr_taddr,
SlSocklen_t * addrlen 
)
+
+ +

Accept a connection on a socket.

+

This function is used with connection-based socket types (SOCK_STREAM). It extracts the first connection request on the queue of pending connections, creates a new connected socket, and returns a new file descriptor referring to that socket. The newly created socket is not in the listening state. The original socket sd is unaffected by this call. The argument sd is a socket that has been created with sl_Socket(), bound to a local address with sl_Bind(), and is listening for connections after a sl_Listen(). The argument addr is a pointer to a sockaddr structure. This structure is filled in with the address of the peer socket, as known to the communications layer. The exact format of the address returned addr is determined by the socket's address family. The addrlen argument is a value-result argument: it should initially contain the size of the structure pointed to by addr, on return it will contain the actual length (in bytes) of the address returned.

+
Parameters
+ + + + +
[in]sdsocket descriptor (handle)
[out]addrthe argument addr is a pointer to a sockaddr structure. This structure is filled in with the address of the peer socket, as known to the communications layer. The exact format of the address returned addr is determined by the socket's address
+ sockaddr:
+ - code for the address format. On this version only AF_INET is supported.
+ - socket address, the length depends on the code format
[out]addrlenthe addrlen argument is a value-result argument: it should initially contain the size of the structure pointed to by addr
+
+
+
Returns
On success, a socket handle. On a non-blocking accept a possible negative value is SL_EAGAIN. On failure, negative value. SL_POOL_IS_EMPTY may be return in case there are no resources in the system In this case try again later or increase MAX_CONCURRENT_ACTIONS
+
See Also
sl_Socket sl_Bind sl_Listen
+
Note
belongs to server_side
+
Warning
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
_i16 sl_Bind (_i16 sd,
const SlSockAddr_taddr,
_i16 addrlen 
)
+
+ +

assign a name to a socket

+

This function gives the socket the local address addr. addr is addrlen bytes long. Traditionally, this is called When a socket is created with socket, it exists in a name space (address family) but has no name assigned. It is necessary to assign a local address before a SOCK_STREAM socket may receive connections.

+
Parameters
+ + + + +
[in]sdsocket descriptor (handle)
[in]addrspecifies the destination addrs
+ sockaddr:
+ - code for the address format. On this version only AF_INET is supported.
+ - socket address, the length depends on the code format
[in]addrlencontains the size of the structure pointed to by addr
+
+
+
Returns
On success, zero is returned. On error, a negative error code is returned.
+
See Also
sl_Socket sl_Accept sl_Listen
+
Note
belongs to basic_api
+
Warning
+ +
+
+ +
+
+ + + + + + + + +
_i16 sl_Close (_i16 sd)
+
+ +

gracefully close socket

+

This function causes the system to release resources allocated to a socket.
+ In case of TCP, the connection is terminated.

+
Parameters
+ + +
[in]sdsocket handle (received in sl_Socket)
+
+
+
Returns
On success, zero is returned. On error, a negative number is returned.
+
See Also
sl_Socket
+
Note
belongs to ext_api
+
Warning
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
_i16 sl_Connect (_i16 sd,
const SlSockAddr_taddr,
_i16 addrlen 
)
+
+ +

Initiate a connection on a socket.

+

Function connects the socket referred to by the socket descriptor sd, to the address specified by addr. The addrlen argument specifies the size of addr. The format of the address in addr is determined by the address space of the socket. If it is of type SOCK_DGRAM, this call specifies the peer with which the socket is to be associated; this address is that to which datagrams are to be sent, and the only address from which datagrams are to be received. If the socket is of type SOCK_STREAM, this call attempts to make a connection to another socket. The other socket is specified by address, which is an address in the communications space of the socket.

+
Parameters
+ + + + +
[in]sdsocket descriptor (handle)
[in]addrspecifies the destination addr
+ sockaddr:
+ - code for the address format. On this version only AF_INET is supported.
+ - socket address, the length depends on the code format
[in]addrlencontains the size of the structure pointed to by addr
+
+
+
Returns
On success, a socket handle. On a non-blocking connect a possible negative value is SL_EALREADY. On failure, negative value. SL_POOL_IS_EMPTY may be return in case there are no resources in the system In this case try again later or increase MAX_CONCURRENT_ACTIONS
+
See Also
sl_Socket
+
Note
belongs to client_side
+
Warning
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void SL_FD_CLR (_i16 fd,
SlFdSet_tfdset 
)
+
+ +

Select's SlFdSet_t CLR function.

+

Clears current socket descriptor on SlFdSet_t container

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
_i16 SL_FD_ISSET (_i16 fd,
SlFdSet_tfdset 
)
+
+ +

Select's SlFdSet_t ISSET function.

+

Checks if current socket descriptor is set (TRUE/FALSE)

+
Returns
Returns TRUE if set, FALSE if unset
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void SL_FD_SET (_i16 fd,
SlFdSet_tfdset 
)
+
+ +

Select's SlFdSet_t SET function.

+

Sets current socket descriptor on SlFdSet_t container

+ +
+
+ +
+
+ + + + + + + + +
void SL_FD_ZERO (SlFdSet_tfdset)
+
+ +

Select's SlFdSet_t ZERO function.

+

Clears all socket descriptors from SlFdSet_t

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_i16 sl_GetSockOpt (_i16 sd,
_i16 level,
_i16 optname,
void * optval,
SlSocklen_t * optlen 
)
+
+ +

Get socket options.

+

This function manipulate the options associated with a socket. Options may exist at multiple protocol levels; they are always present at the uppermost socket level.

+

When manipulating socket options the level at which the option resides and the name of the option must be specified. To manipulate options at the socket level, level is specified as SOL_SOCKET. To manipulate options at any other level the protocol number of the appropriate proto- col controlling the option is supplied. For example, to indicate that an option is to be interpreted by the TCP protocol, level should be set to the protocol number of TCP;

+

The parameters optval and optlen are used to access optval - ues for setsockopt(). For getsockopt() they identify a buffer in which the value for the requested option(s) are to be returned. For getsockopt(), optlen is a value-result parameter, initially containing the size of the buffer pointed to by option_value, and modified on return to indicate the actual size of the value returned. If no option value is to be supplied or returned, option_value may be NULL.

+
Parameters
+ + + + + + +
[in]sdsocket handle
[in]leveldefines the protocol level for this option
[in]optnamedefines the option name to interrogate
[out]optvalspecifies a value for the option
[out]optlenspecifies the length of the option value
+
+
+
Returns
On success, zero is returned. On error, a negative value is returned.
+
See Also
sl_SetSockOpt
+
Note
See sl_SetSockOpt belongs to ext_api
+
Warning
+ +
+
+ +
+
+ + + + + + + + +
_u32 sl_Htonl (_u32 val)
+
+ +

Reorder the bytes of a 32-bit unsigned value.

+

This function is used to Reorder the bytes of a 32-bit unsigned value from processor order to network order.

+
Parameters
+ + +
[in]varvariable to reorder
+
+
+
Returns
Return the reorder variable,
+
See Also
sl_SendTo sl_Bind sl_Connect sl_RecvFrom sl_Accept
+
Note
belongs to send_api
+
Warning
+ +
+
+ +
+
+ + + + + + + + +
_u16 sl_Htons (_u16 val)
+
+ +

Reorder the bytes of a 16-bit unsigned value.

+

This function is used to Reorder the bytes of a 16-bit unsigned value from processor order to network order.

+
Parameters
+ + +
[in]varvariable to reorder
+
+
+
Returns
Return the reorder variable,
+
See Also
sl_SendTo sl_Bind sl_Connect sl_RecvFrom sl_Accept
+
Note
belongs to send_api
+
Warning
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
_i16 sl_Listen (_i16 sd,
_i16 backlog 
)
+
+ +

listen for connections on a socket

+

The willingness to accept incoming connections and a queue limit for incoming connections are specified with listen(), and then the connections are accepted with accept. The listen() call applies only to sockets of type SOCK_STREAM The backlog parameter defines the maximum length the queue of pending connections may grow to.

+
Parameters
+ + + +
[in]sdsocket descriptor (handle)
[in]backlogspecifies the listen queue depth.
+
+
+
Returns
On success, zero is returned. On error, a negative error code is returned.
+
See Also
sl_Socket sl_Accept sl_Bind
+
Note
belongs to server_side
+
Warning
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_i16 sl_Recv (_i16 sd,
void * buf,
_i16 Len,
_i16 flags 
)
+
+ +

read data from TCP socket

+

function receives a message from a connection-mode socket

+
Parameters
+ + + + + +
[in]sdsocket handle
[out]bufPoints to the buffer where the message should be stored.
[in]LenSpecifies the length in bytes of the buffer pointed to by the buffer argument. Range: 1-16000 bytes
[in]flagsSpecifies the type of message reception. On this version, this parameter is not supported.
+
+
+
Returns
return the number of bytes received, or a negative value if an error occurred. using a non-blocking recv a possible negative value is SL_EAGAIN. SL_POOL_IS_EMPTY may be return in case there are no resources in the system In this case try again later or increase MAX_CONCURRENT_ACTIONS
+
See Also
sl_RecvFrom
+
Note
belongs to recv_api
+
Warning
+
Examples:
An example of receiving data using TCP socket:
+
+ +
SlSockAddrIn_t LocalAddr;
+
_i16 AddrSize = sizeof(SlSockAddrIn_t);
+
_i16 SockID, newSockID;
+
_i16 Status;
+
_i8 Buf[RECV_BUF_LEN];
+
+
LocalAddr.sin_family = SL_AF_INET;
+
LocalAddr.sin_port = sl_Htons(5001);
+
LocalAddr.sin_addr.s_addr = 0;
+
+
Addr.sin_family = SL_AF_INET;
+
Addr.sin_port = sl_Htons(5001);
+
Addr.sin_addr.s_addr = sl_Htonl(SL_IPV4_VAL(10,1,1,200));
+
+
SockID = sl_Socket(SL_AF_INET,SL_SOCK_STREAM, 0);
+
Status = sl_Bind(SockID, (SlSockAddr_t *)&LocalAddr, AddrSize);
+
Status = sl_Listen(SockID, 0);
+
newSockID = sl_Accept(SockID, (SlSockAddr_t*)&Addr, (SlSocklen_t*) &AddrSize);
+
Status = sl_Recv(newSockID, Buf, 1460, 0);
+
Example code for Rx transceiver mode using a raw socket
+
_i8 buffer[1536];
+
_i16 sd;
+
_u16 size;
+ +
sd = sl_Socket(SL_AF_RF,SL_SOCK_RAW,11); // channel 11
+
while(1)
+
{
+
size = sl_Recv(sd,buffer,1536,0);
+
transHeader = (SlTransceiverRxOverHead_t *)buffer;
+
printf("RSSI is %d frame type is 0x%x size %d\n",transHeader->rssi,buffer[sizeof(SlTransceiverRxOverHead_t)],size);
+
}
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_i16 sl_RecvFrom (_i16 sd,
void * buf,
_i16 Len,
_i16 flags,
SlSockAddr_tfrom,
SlSocklen_t * fromlen 
)
+
+ +

read data from socket

+

function receives a message from a connection-mode or connectionless-mode socket

+
Parameters
+ + + + + + + +
[in]sdsocket handle
[out]bufPoints to the buffer where the message should be stored.
[in]LenSpecifies the length in bytes of the buffer pointed to by the buffer argument. Range: 1-16000 bytes
[in]flagsSpecifies the type of message reception. On this version, this parameter is not supported.
[in]frompointer to an address structure indicating the source address.
+ sockaddr:
+ - code for the address format. On this version only AF_INET is supported.
+ - socket address, the length depends on the code format
[in]fromlensource address structure size. This parameter MUST be set to the size of the structure pointed to by addr.
+
+
+
Returns
return the number of bytes received, or a negative value if an error occurred. using a non-blocking recv a possible negative value is SL_EAGAIN. SL_RET_CODE_INVALID_INPUT (-2) will be returned if fromlen has incorrect length. SL_POOL_IS_EMPTY may be return in case there are no resources in the system In this case try again later or increase MAX_CONCURRENT_ACTIONS
+
See Also
sl_Recv
+
Note
belongs to recv_api
+
Warning
+
Example:
An example of receiving data:
+
+ +
SlSockAddrIn_t LocalAddr;
+
_i16 AddrSize = sizeof(SlSockAddrIn_t);
+
_i16 SockID;
+
_i16 Status;
+
_i8 Buf[RECV_BUF_LEN];
+
+
LocalAddr.sin_family = SL_AF_INET;
+
LocalAddr.sin_port = sl_Htons(5001);
+
LocalAddr.sin_addr.s_addr = 0;
+
+
SockID = sl_Socket(SL_AF_INET,SL_SOCK_DGRAM, 0);
+
Status = sl_Bind(SockID, (SlSockAddr_t *)&LocalAddr, AddrSize);
+
Status = sl_RecvFrom(SockID, Buf, 1472, 0, (SlSockAddr_t *)&Addr, (SlSocklen_t*)&AddrSize);
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_i16 sl_Select (_i16 nfds,
SlFdSet_treadsds,
SlFdSet_twritesds,
SlFdSet_texceptsds,
struct SlTimeval_ttimeout 
)
+
+ +

Monitor socket activity.

+

Select allow a program to monitor multiple file descriptors, waiting until one or more of the file descriptors become "ready" for some class of I/O operation

+
Parameters
+ + + + + + +
[in]nfdsthe highest-numbered file descriptor in any of the three sets, plus 1.
[out]readsdssocket descriptors list for read monitoring and accept monitoring
[out]writesdssocket descriptors list for connect monitoring only, write monitoring is not supported, non blocking connect is supported
[out]exceptsdssocket descriptors list for exception monitoring, not supported.
[in]timeoutis an upper bound on the amount of time elapsed before select() returns. Null or above 0xffff seconds means infinity timeout. The minimum timeout is 10 milliseconds, less than 10 milliseconds will be set automatically to 10 milliseconds. Max microseconds supported is 0xfffc00.
+
+
+
Returns
On success, select() returns the number of file descriptors contained in the three returned descriptor sets (that is, the total number of bits that are set in readfds, writefds, exceptfds) which may be zero if the timeout expires before anything interesting happens. On error, a negative value is returned. readsds - return the sockets on which Read request will return without delay with valid data. writesds - return the sockets on which Write request will return without delay. exceptsds - return the sockets closed recently. SL_POOL_IS_EMPTY may be return in case there are no resources in the system In this case try again later or increase MAX_CONCURRENT_ACTIONS
+
See Also
sl_Socket
+
Note
If the timeout value set to less than 5ms it will automatically set to 5ms to prevent overload of the system belongs to basic_api
+

Only one sl_Select can be handled at a time. Calling this API while the same command is called from another thread, may result in one of the two scenarios:

+
    +
  1. The command will wait (internal) until the previous command finish, and then be executed.
  2. +
  3. There are not enough resources and SL_POOL_IS_EMPTY error will return. In this case, MAX_CONCURRENT_ACTIONS can be increased (result in memory increase) or try again later to issue the command.
  4. +
+
Warning
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_i16 sl_Send (_i16 sd,
const void * buf,
_i16 Len,
_i16 flags 
)
+
+ +

write data to TCP socket

+

This function is used to transmit a message to another socket. Returns immediately after sending data to device. In case of TCP failure an async event SL_SOCKET_TX_FAILED_EVENT is going to be received. In case of a RAW socket (transceiver mode), extra 4 bytes should be reserved at the end of the frame data buffer for WLAN FCS

+
Parameters
+ + + + + +
[in]sdsocket handle
[in]bufPoints to a buffer containing the message to be sent
[in]Lenmessage size in bytes. Range: 1-1460 bytes
[in]flagsSpecifies the type of message transmission. On this version, this parameter is not supported for TCP. For transceiver mode, the SL_RAW_RF_TX_PARAMS macro can be used to determine transmission parameters (channel,rate,tx_power,preamble)
+
+
+
Returns
Return the number of bytes transmitted, or -1 if an error occurred
+
See Also
sl_SendTo
+
Note
belongs to send_api
+
Warning
+
Example:
An example of sending data:
+
+ +
_i16 AddrSize = sizeof(SlSockAddrIn_t);
+
_i16 SockID;
+
_i16 Status;
+
_i8 Buf[SEND_BUF_LEN];
+
+
Addr.sin_family = SL_AF_INET;
+
Addr.sin_port = sl_Htons(5001);
+
Addr.sin_addr.s_addr = sl_Htonl(SL_IPV4_VAL(10,1,1,200));
+
+
SockID = sl_Socket(SL_AF_INET,SL_SOCK_STREAM, 0);
+
Status = sl_Connect(SockID, (SlSockAddr_t *)&Addr, AddrSize);
+
Status = sl_Send(SockID, Buf, 1460, 0 );
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_i16 sl_SendTo (_i16 sd,
const void * buf,
_i16 Len,
_i16 flags,
const SlSockAddr_tto,
SlSocklen_t tolen 
)
+
+ +

write data to socket

+

This function is used to transmit a message to another socket (connection less socket SOCK_DGRAM, SOCK_RAW). Returns immediately after sending data to device. In case of transmission failure an async event SL_SOCKET_TX_FAILED_EVENT is going to be received.

+
Parameters
+ + + + + + + +
[in]sdsocket handle
[in]bufPoints to a buffer containing the message to be sent
[in]Lenmessage size in bytes. Range: 1-1460 bytes
[in]flagsSpecifies the type of message transmission. On this version, this parameter is not supported
[in]topointer to an address structure indicating the destination address.
+ sockaddr:
+ - code for the address format. On this version only AF_INET is supported.
+ - socket address, the length depends on the code format
[in]tolendestination address structure size
+
+
+
Returns
Return the number of transmitted bytes, or -1 if an error occurred
+
See Also
sl_Send
+
Note
belongs to send_api
+
Warning
+
Example:
An example of sending data:
+
+ +
_i16 AddrSize = sizeof(SlSockAddrIn_t);
+
_i16 SockID;
+
_i16 Status;
+
_i8 Buf[SEND_BUF_LEN];
+
+
Addr.sin_family = SL_AF_INET;
+
Addr.sin_port = sl_Htons(5001);
+
Addr.sin_addr.s_addr = sl_Htonl(SL_IPV4_VAL(10,1,1,200));
+
+
SockID = sl_Socket(SL_AF_INET,SL_SOCK_DGRAM, 0);
+
Status = sl_SendTo(SockID, Buf, 1472, 0, (SlSockAddr_t *)&Addr, AddrSize);
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_i16 sl_SetSockOpt (_i16 sd,
_i16 level,
_i16 optname,
const void * optval,
SlSocklen_t optlen 
)
+
+ +

set socket options

+

This function manipulate the options associated with a socket. Options may exist at multiple protocol levels; they are always present at the uppermost socket level.

+

When manipulating socket options the level at which the option resides and the name of the option must be specified. To manipulate options at the socket level, level is specified as SOL_SOCKET. To manipulate options at any other level the protocol number of the appropriate proto- col controlling the option is supplied. For example, to indicate that an option is to be interpreted by the TCP protocol, level should be set to the protocol number of TCP;

+

The parameters optval and optlen are used to access optval - ues for setsockopt(). For getsockopt() they identify a buffer in which the value for the requested option(s) are to be returned. For getsockopt(), optlen is a value-result parameter, initially containing the size of the buffer pointed to by option_value, and modified on return to indicate the actual size of the value returned. If no option value is to be supplied or returned, option_value may be NULL.

+
Parameters
+ + + + + + +
[in]sdsocket handle
[in]leveldefines the protocol level for this option
    +
  • SL_SOL_SOCKET Socket level configurations (L4, transport layer)
  • +
  • SL_IPPROTO_IP IP level configurations (L3, network layer)
  • +
  • SL_SOL_PHY_OPT Link level configurations (L2, link layer)
  • +
+
[in]optnamedefines the option name to interrogate
    +
  • SL_SOL_SOCKET
      +
    • SL_SO_KEEPALIVE
      + Enable/Disable periodic keep alive. Keeps TCP connections active by enabling the periodic transmission of messages
      + Timeout is 5 minutes.
      + Default: Enabled
      + This options takes SlSockKeepalive_t struct as parameter
    • +
    • SL_SO_RCVTIMEO
      + Sets the timeout value that specifies the maximum amount of time an input function waits until it completes.
      + Default: No timeout
      + This options takes SlTimeval_t struct as parameter
    • +
    • SL_SO_RCVBUF
      + Sets tcp max recv window size.
      + This options takes SlSockWinsize_t struct as parameter
    • +
    • SL_SO_NONBLOCKING
      + Sets socket to non-blocking operation Impacts: connect, accept, send, sendto, recv and recvfrom.
      + Default: Blocking. This options takes SlSockNonblocking_t struct as parameter
    • +
    • SL_SO_SECMETHOD
      + Sets method to tcp secured socket (SL_SEC_SOCKET)
      + Default: SL_SO_SEC_METHOD_SSLv3_TLSV1_2
      + This options takes SlSockSecureMethod struct as parameter
    • +
    • SL_SO_SEC_MASK
      + Sets specific cipher to tcp secured socket (SL_SEC_SOCKET)
      + Default: "Best" cipher suitable to method
      + This options takes SlSockSecureMask struct as parameter
    • +
    • SL_SO_SECURE_FILES_CA_FILE_NAME
      + Map secured socket to CA file by name
      + This options takes _u8 buffer as parameter
    • +
    • SL_SO_SECURE_FILES_PRIVATE_KEY_FILE_NAME
      + Map secured socket to private key by name
      + This options takes _u8 buffer as parameter
    • +
    • SL_SO_SECURE_FILES_CERTIFICATE_FILE_NAME
      + Map secured socket to certificate file by name
      + This options takes _u8 buffer as parameter
    • +
    • SL_SO_SECURE_FILES_DH_KEY_FILE_NAME
      + Map secured socket to Diffie Hellman file by name
      + This options takes _u8 buffer as parameter
    • +
    • SL_SO_CHANGE_CHANNEL
      + Sets channel in transceiver mode. This options takes _u32 as channel number parameter
    • +
    +
  • +
  • SL_IPPROTO_IP
      +
    • SL_IP_MULTICAST_TTL
      + Set the time-to-live value of outgoing multicast packets for this socket.
      + This options takes _u8 as parameter
    • +
    • SL_IP_ADD_MEMBERSHIP
      + UDP socket, Join a multicast group.
      + This options takes SlSockIpMreq struct as parameter
    • +
    • SL_IP_DROP_MEMBERSHIP
      + UDP socket, Leave a multicast group
      + This options takes SlSockIpMreq struct as parameter
    • +
    • SL_IP_RAW_RX_NO_HEADER
      + Raw socket remove IP header from received data.
      + Default: data includes ip header
      + This options takes _u32 as parameter
    • +
    • SL_IP_HDRINCL
      + RAW socket only, the IPv4 layer generates an IP header when sending a packet unless
      + the IP_HDRINCL socket option is enabled on the socket.
      + When it is enabled, the packet must contain an IP header.
      + Default: disabled, IPv4 header generated by Network Stack
      + This options takes _u32 as parameter
    • +
    • SL_IP_RAW_IPV6_HDRINCL (inactive)
      + RAW socket only, the IPv6 layer generates an IP header when sending a packet unless
      + the IP_HDRINCL socket option is enabled on the socket. When it is enabled, the packet must contain an IP header
      + Default: disabled, IPv4 header generated by Network Stack
      + This options takes _u32 as parameter
    • +
    +
  • +
  • SL_SOL_PHY_OPT
      +
    • SL_SO_PHY_RATE
      + RAW socket, set WLAN PHY transmit rate
      + The values are based on RateIndex_e
      + This options takes _u32 as parameter
    • +
    • SL_SO_PHY_TX_POWER
      + RAW socket, set WLAN PHY TX power
      + Valid rage is 1-15
      + This options takes _u32 as parameter
    • +
    • SL_SO_PHY_NUM_FRAMES_TO_TX
      + RAW socket, set number of frames to transmit in transceiver mode. Default: 1 packet This options takes _u32 as parameter
    • +
    • SL_SO_PHY_PREAMBLE
      + RAW socket, set WLAN PHY preamble for Long/Short
      + This options takes _u32 as parameter
    • +
    +
  • +
+
[in]optvalspecifies a value for the option
[in]optlenspecifies the length of the option value
+
+
+
Returns
On success, zero is returned. On error, a negative value is returned.
+
See Also
sl_getsockopt
+
Note
belongs to basic_api
+
Warning
+
Examples:
+
SL_SO_KEEPALIVE: (disable Keepalive)
SlSockKeepalive_t enableOption;
+
enableOption.KeepaliveEnabled = 0;
+
sl_SetSockOpt(SockID,SL_SOL_SOCKET,SL_SO_KEEPALIVE, (_u8 *)&enableOption,sizeof(enableOption));
+
+
SL_SO_RCVTIMEO:
struct SlTimeval_t timeVal;
+
timeVal.tv_sec = 1; // Seconds
+
timeVal.tv_usec = 0; // Microseconds. 10000 microseconds resolution
+
sl_SetSockOpt(SockID,SL_SOL_SOCKET,SL_SO_RCVTIMEO, (_u8 *)&timeVal, sizeof(timeVal)); // Enable receive timeout
+
+
SL_SO_RCVBUF:
+
size.Winsize = 3000; // bytes
+
sl_SetSockOpt(SockID,SL_SOL_SOCKET,SL_SO_RCVBUF, (_u8 *)&size, sizeof(size));
+
+
SL_SO_NONBLOCKING:
SlSockNonblocking_t enableOption;
+
enableOption.NonblockingEnabled = 1;
+
sl_SetSockOpt(SockID,SL_SOL_SOCKET,SL_SO_NONBLOCKING, (_u8 *)&enableOption,sizeof(enableOption)); // Enable/disable nonblocking mode
+
+
SL_SO_SECMETHOD:
+
method.secureMethod = SL_SO_SEC_METHOD_SSLV3; // security method we want to use
+
SockID = sl_Socket(SL_AF_INET,SL_SOCK_STREAM, SL_SEC_SOCKET);
+
sl_SetSockOpt(SockID, SL_SOL_SOCKET, SL_SO_SECMETHOD, (_u8 *)&method, sizeof(method));
+
+
SL_SO_SECURE_MASK:
+
cipher.secureMask = SL_SEC_MASK_SSL_RSA_WITH_RC4_128_SHA; // cipher type
+
SockID = sl_Socket(SL_AF_INET,SL_SOCK_STREAM, SL_SEC_SOCKET);
+
sl_SetSockOpt(SockID, SL_SOL_SOCKET, SL_SO_SEC_MASK,(_u8 *)&cipher, sizeof(cipher));
+
+
SL_SO_SECURE_FILES_CA_FILE_NAME:
sl_SetSockOpt(SockID,SL_SOL_SOCKET,SL_SO_SECURE_FILES_CA_FILE_NAME,"exuifaxCaCert.der",strlen("exuifaxCaCert.der"));
+
+
SL_SO_SECURE_FILES_PRIVATE_KEY_FILE_NAME:
sl_SetSockOpt(SockID,SL_SOL_SOCKET,SL_SO_SECURE_FILES_PRIVATE_KEY_FILE_NAME,"myPrivateKey.der",strlen("myPrivateKey.der"));
+
+
SL_SO_SECURE_FILES_CERTIFICATE_FILE_NAME:
sl_SetSockOpt(SockID,SL_SOL_SOCKET,SL_SO_SECURE_FILES_CERTIFICATE_FILE_NAME,"myCertificate.der",strlen("myCertificate.der"));
+
+
SL_SO_SECURE_FILES_DH_KEY_FILE_NAME:
sl_SetSockOpt(SockID,SL_SOL_SOCKET,SL_SO_SECURE_FILES_DH_KEY_FILE_NAME,"myDHinServerMode.der",strlen("myDHinServerMode.der"));
+
+
SL_IP_MULTICAST_TTL:
_u8 ttl = 20;
+
sl_SetSockOpt(SockID, SL_IPPROTO_IP, SL_IP_MULTICAST_TTL, &ttl, sizeof(ttl));
+
+
SL_IP_ADD_MEMBERSHIP:
+
sl_SetSockOpt(SockID, SL_IPPROTO_IP, SL_IP_ADD_MEMBERSHIP, &mreq, sizeof(mreq));
+
+
SL_IP_DROP_MEMBERSHIP:
+
sl_SetSockOpt(SockID, SL_IPPROTO_IP, SL_IP_DROP_MEMBERSHIP, &mreq, sizeof(mreq));
+
+
SL_SO_CHANGE_CHANNEL:
_u32 newChannel = 6; // range is 1-13
+
sl_SetSockOpt(SockID, SL_SOL_SOCKET, SL_SO_CHANGE_CHANNEL, &newChannel, sizeof(newChannel));
+
+
SL_IP_RAW_RX_NO_HEADER:
_u32 header = 1; // remove ip header
+
sl_SetSockOpt(SockID, SL_IPPROTO_IP, SL_IP_RAW_RX_NO_HEADER, &header, sizeof(header));
+
+
SL_IP_HDRINCL:
_u32 header = 1;
+
sl_SetSockOpt(SockID, SL_IPPROTO_IP, SL_IP_HDRINCL, &header, sizeof(header));
+
+
SL_IP_RAW_IPV6_HDRINCL:
_u32 header = 1;
+
sl_SetSockOpt(SockID, SL_IPPROTO_IP, SL_IP_RAW_IPV6_HDRINCL, &header, sizeof(header));
+
+
SL_SO_PHY_RATE:
_u32 rate = 6; // see wlan.h RateIndex_e for values
+
sl_SetSockOpt(SockID, SL_SOL_PHY_OPT, SL_SO_PHY_RATE, &rate, sizeof(rate));
+
+
SL_SO_PHY_TX_POWER:
_u32 txpower = 1; // valid range is 1-15
+
sl_SetSockOpt(SockID, SL_SOL_PHY_OPT, SL_SO_PHY_TX_POWER, &txpower, sizeof(txpower));
+
+
SL_SO_PHY_NUM_FRAMES_TO_TX:
_u32 numframes = 1;
+
sl_SetSockOpt(SockID, SL_SOL_PHY_OPT, SL_SO_PHY_NUM_FRAMES_TO_TX, &numframes, sizeof(numframes));
+
+
SL_SO_PHY_PREAMBLE:
_u32 preamble = 1;
+
sl_SetSockOpt(SockID, SL_SOL_PHY_OPT, SL_SO_PHY_PREAMBLE, &preamble, sizeof(preamble));
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
_i16 sl_Socket (_i16 Domain,
_i16 Type,
_i16 Protocol 
)
+
+ +

create an endpoint for communication

+

The socket function creates a new socket of a certain socket type, identified by an integer number, and allocates system resources to it. This function is called by the application layer to obtain a socket handle.

+
Parameters
+ + + + +
[in]domainspecifies the protocol family of the created socket. For example: AF_INET for network protocol IPv4 AF_RF for starting transceiver mode. Notes:
    +
  • sending and receiving any packet overriding 802.11 header
  • +
  • for optimized power consumption the socket will be started in TX only mode until receive command is activated AF_INET6 for IPv6
  • +
+
[in]typespecifies the communication semantic, one of: SOCK_STREAM (reliable stream-oriented service or Stream Sockets) SOCK_DGRAM (datagram service or Datagram Sockets) SOCK_RAW (raw protocols atop the network layer) when used with AF_RF: SOCK_DGRAM - L2 socket SOCK_RAW - L1 socket - bypass WLAN CCA (Clear Channel Assessment)
[in]protocolspecifies a particular transport to be used with the socket. The most common are IPPROTO_TCP, IPPROTO_SCTP, IPPROTO_UDP, IPPROTO_DCCP. The value 0 may be used to select a default protocol from the selected domain and type
+
+
+
Returns
On success, socket handle that is used for consequent socket operations. A successful return code should be a positive number (int16) On error, a negative (int16) value will be returned specifying the error code. SL_EAFNOSUPPORT - illegal domain parameter SL_EPROTOTYPE - illegal type parameter SL_EACCES - permission denied SL_ENSOCK - exceeded maximal number of socket SL_ENOMEM - memory allocation error SL_EINVAL - error in socket configuration SL_EPROTONOSUPPORT - illegal protocol parameter SL_EOPNOTSUPP - illegal combination of protocol and type parameters
+
See Also
sl_Close
+
Note
belongs to basic_api
+
Warning
+ +
+
+
+
+ + + + diff --git a/docs/simplelink_api/html/group__socket.js b/docs/simplelink_api/html/group__socket.js index cf3c540..ec971a4 100644 --- a/docs/simplelink_api/html/group__socket.js +++ b/docs/simplelink_api/html/group__socket.js @@ -1,133 +1,138 @@ -var group__socket = -[ - [ "SlInAddr_t", "struct_sl_in_addr__t.html", [ - [ "s_addr", "struct_sl_in_addr__t.html#a1bb442d64dfd79d2219d69704947e21b", null ] - ] ], - [ "SlSockKeepalive_t", "struct_sl_sock_keepalive__t.html", [ - [ "KeepaliveEnabled", "struct_sl_sock_keepalive__t.html#aac43eef83958917bdf29de10afae4a00", null ] - ] ], - [ "SlSockReuseaddr_t", "struct_sl_sock_reuseaddr__t.html", [ - [ "ReuseaddrEnabled", "struct_sl_sock_reuseaddr__t.html#a1885583c07b6775cfa117a4a64ae6e3d", null ] - ] ], - [ "SlSockWinsize_t", "struct_sl_sock_winsize__t.html", [ - [ "Winsize", "struct_sl_sock_winsize__t.html#af706421c801e172c074064414e837eec", null ] - ] ], - [ "SlSockNonblocking_t", "struct_sl_sock_nonblocking__t.html", [ - [ "NonblockingEnabled", "struct_sl_sock_nonblocking__t.html#ad95a3e0aa5ed5b4a341c2503dcae327d", null ] - ] ], - [ "SlSocketAsyncEvent_t", "struct_sl_socket_async_event__t.html", [ - [ "sd", "struct_sl_socket_async_event__t.html#a6e61459b1cc5e37bbd460cbbdade7fd0", null ], - [ "type", "struct_sl_socket_async_event__t.html#a525a5ef247f93f470f4f5e2b5cc59dce", null ], - [ "val", "struct_sl_socket_async_event__t.html#ad8afa2d0f076cad9c84b3c1e9022fbd6", null ] - ] ], - [ "SlSockEventData_t", "struct_sl_sock_event_data__t.html", [ - [ "sd", "struct_sl_sock_event_data__t.html#a7bcf1a1a2604db78219a22c1133662f1", null ], - [ "socketAsyncEvent", "struct_sl_sock_event_data__t.html#ade95cf432a38a6ee899c7e9b69a06d83", null ], - [ "status", "struct_sl_sock_event_data__t.html#a88b0e46c9227c27bb67842b895edbc6f", null ] - ] ], - [ "SlSockEvent_t", "struct_sl_sock_event__t.html", [ - [ "Event", "struct_sl_sock_event__t.html#adeedbaaa252b969fc66e151eef37ea62", null ], - [ "EventData", "struct_sl_sock_event__t.html#a3b2d881ad4bcc5cee8a09ea2e3a9e364", null ] - ] ], - [ "SlSockSecureMask", "struct_sl_sock_secure_mask.html", [ - [ "secureMask", "struct_sl_sock_secure_mask.html#a60798538f913579423ecfac09c9e13d7", null ] - ] ], - [ "SlSockSecureMethod", "struct_sl_sock_secure_method.html", [ - [ "secureMethod", "struct_sl_sock_secure_method.html#a7b920ea3f38a2399d1aa2c473cf1021e", null ] - ] ], - [ "SlSockIpMreq", "struct_sl_sock_ip_mreq.html", [ - [ "imr_interface", "struct_sl_sock_ip_mreq.html#a526726f1171c79d8003490ab86f3da7c", null ], - [ "imr_multiaddr", "struct_sl_sock_ip_mreq.html#a6a0c67f0fbae8c3d98c1913f2d37b200", null ] - ] ], - [ "SlTimeval_t", "struct_sl_timeval__t.html", [ - [ "tv_sec", "struct_sl_timeval__t.html#a8f5aa475627ac4ba971fce4b1a79b673", null ], - [ "tv_usec", "struct_sl_timeval__t.html#a1ad5c78770a3d6fd50eae96b9096830b", null ] - ] ], - [ "SlSockAddr_t", "struct_sl_sock_addr__t.html", [ - [ "sa_data", "struct_sl_sock_addr__t.html#ae2b1f612104f3b2e3986fec7cc8b434b", null ], - [ "sa_family", "struct_sl_sock_addr__t.html#a2ec201dde0ef6487c4d40b54bb193f8d", null ] - ] ], - [ "SlIn6Addr_t", "struct_sl_in6_addr__t.html", [ - [ "_S6_u32", "struct_sl_in6_addr__t.html#aee8fdf3ea3807e415be615b7ea9c7ac3", null ], - [ "_S6_u8", "struct_sl_in6_addr__t.html#a3db8a67c76268286e0dfc750988e16bf", null ], - [ "_S6_un", "struct_sl_in6_addr__t.html#accb4b15a4e8073b36d17764520329d44", null ] - ] ], - [ "SlSockAddrIn6_t", "struct_sl_sock_addr_in6__t.html", [ - [ "sin6_addr", "struct_sl_sock_addr_in6__t.html#ab80273cf64088fdcf85aca765997b845", null ], - [ "sin6_family", "struct_sl_sock_addr_in6__t.html#a1353901c9555ac56c1ca22dc1533c3b8", null ], - [ "sin6_flowinfo", "struct_sl_sock_addr_in6__t.html#afba686aa3c6f6242cac4d29bc7c7d558", null ], - [ "sin6_port", "struct_sl_sock_addr_in6__t.html#ad7c0b531025d2975102172b2398611f5", null ], - [ "sin6_scope_id", "struct_sl_sock_addr_in6__t.html#a95780ab290350f365e6de5dba3af0032", null ] - ] ], - [ "SlSockAddrIn_t", "struct_sl_sock_addr_in__t.html", [ - [ "sin_addr", "struct_sl_sock_addr_in__t.html#ac202531c3497bcb9d64a83028f036d81", null ], - [ "sin_family", "struct_sl_sock_addr_in__t.html#a073756b1c41885b395510a04d5e8e108", null ], - [ "sin_port", "struct_sl_sock_addr_in__t.html#a591c70234168b0d4509cadef8b6d3ea1", null ], - [ "sin_zero", "struct_sl_sock_addr_in__t.html#a46c3a43fbd9a84363466a5ea60c08440", null ] - ] ], - [ "SlIpV4AcquiredAsync_t", "struct_sl_ip_v4_acquired_async__t.html", [ - [ "dns", "struct_sl_ip_v4_acquired_async__t.html#aad25be6b70d3ea82fd985d8b48897883", null ], - [ "gateway", "struct_sl_ip_v4_acquired_async__t.html#a269bb91b6feb081352eedf250664de16", null ], - [ "ip", "struct_sl_ip_v4_acquired_async__t.html#af1a8503514e9d113c83fe28f8822fa16", null ] - ] ], - [ "SlIpV6AcquiredAsync_t", "struct_sl_ip_v6_acquired_async__t.html", [ - [ "dns", "struct_sl_ip_v6_acquired_async__t.html#a90f4865c4077830b35b1828abc96f69b", null ], - [ "gateway", "struct_sl_ip_v6_acquired_async__t.html#a7fa567b0024e3a179a266440636b9f58", null ], - [ "ip", "struct_sl_ip_v6_acquired_async__t.html#aeb14becbd5ead4e94404e551abb631c4", null ], - [ "type", "struct_sl_ip_v6_acquired_async__t.html#a4b2c27059c223cdd2149f3fbd526b453", null ] - ] ], - [ "SlIpLeasedAsync_t", "struct_sl_ip_leased_async__t.html", [ - [ "ip_address", "struct_sl_ip_leased_async__t.html#aba21cfc12ca7e52b24d4566825a69583", null ], - [ "lease_time", "struct_sl_ip_leased_async__t.html#ae870c09512e5404d8fd6a94d899d52b5", null ], - [ "mac", "struct_sl_ip_leased_async__t.html#a51fa48efb76fa1995446db52ac06a46f", null ], - [ "padding", "struct_sl_ip_leased_async__t.html#aee74651e918d4c23f3eabe25fbbf8142", null ] - ] ], - [ "SlIpReleasedAsync_t", "struct_sl_ip_released_async__t.html", [ - [ "ip_address", "struct_sl_ip_released_async__t.html#aba21cfc12ca7e52b24d4566825a69583", null ], - [ "mac", "struct_sl_ip_released_async__t.html#a51fa48efb76fa1995446db52ac06a46f", null ], - [ "reason", "struct_sl_ip_released_async__t.html#a74c4b0fa5b3987eb1c1c38d1328800ec", null ] - ] ], - [ "SlNetAppEventData_u", "union_sl_net_app_event_data__u.html", [ - [ "ipAcquiredV4", "union_sl_net_app_event_data__u.html#a70e52a1e4d3f9d2f266678ec36368c7c", null ], - [ "ipAcquiredV6", "union_sl_net_app_event_data__u.html#a400e2b41a0f0b2c5bcea239044bc9c51", null ], - [ "ipLeased", "union_sl_net_app_event_data__u.html#aed0298fb2bc398113623878895eaa5c1", null ], - [ "ipReleased", "union_sl_net_app_event_data__u.html#a1243613fce8b1dcb1bb980e16b18a603", null ], - [ "sd", "union_sl_net_app_event_data__u.html#a981f461c52d720de7fe25818b9df2192", null ] - ] ], - [ "SlNetAppEvent_t", "struct_sl_net_app_event__t.html", [ - [ "Event", "struct_sl_net_app_event__t.html#adeedbaaa252b969fc66e151eef37ea62", null ], - [ "EventData", "struct_sl_net_app_event__t.html#ac58cdb6e0d008f951c65fade86f32713", null ] - ] ], - [ "sock_secureFiles", "structsock__secure_files.html", [ - [ "secureFiles", "structsock__secure_files.html#ac65e78cc8df4ee675c0f86d9572be2a5", null ] - ] ], - [ "SlFdSet_t", "struct_sl_fd_set__t.html", [ - [ "fd_array", "struct_sl_fd_set__t.html#a3071152bcd9c3ea1a88c38a026f96b1c", null ] - ] ], - [ "SlTransceiverRxOverHead_t", "struct_sl_transceiver_rx_over_head__t.html", [ - [ "channel", "struct_sl_transceiver_rx_over_head__t.html#aa884a666899783e8d3f3d4921b0a24c3", null ], - [ "padding", "struct_sl_transceiver_rx_over_head__t.html#add68adbd81b0e5a99dda8bd7b4481108", null ], - [ "rate", "struct_sl_transceiver_rx_over_head__t.html#a953f0299b419ccb222c1c7ef8320ff51", null ], - [ "rssi", "struct_sl_transceiver_rx_over_head__t.html#a80c3df13ed7cf0b1a5e5639811c82f34", null ], - [ "timestamp", "struct_sl_transceiver_rx_over_head__t.html#ae583290c9ab9f4aa0275b90ed56de3c4", null ] - ] ], - [ "sl_Accept", "group__socket.html#ga72085bf8fae027f8fe31a0eb99a6808b", null ], - [ "sl_Bind", "group__socket.html#gadcb0c4792127dceb1feb3e9b87ab2094", null ], - [ "sl_Close", "group__socket.html#gacc7971a6e41592c8ef90936b25495a8b", null ], - [ "sl_Connect", "group__socket.html#gad8b9db85493e84b19994840f4cff0ca0", null ], - [ "SL_FD_CLR", "group__socket.html#gaa8aefbd7da7312044d0c47cb256e5029", null ], - [ "SL_FD_ISSET", "group__socket.html#ga9c87fa7e319677c3d2f88180a21fee2c", null ], - [ "SL_FD_SET", "group__socket.html#ga0d9e401652361c24235f157e65e35365", null ], - [ "SL_FD_ZERO", "group__socket.html#gac58eca56e2cf9bf58f8f3ef8790f7740", null ], - [ "sl_GetSockOpt", "group__socket.html#ga77d6029b0c39df5541b0b0d6484591b4", null ], - [ "sl_Htonl", "group__socket.html#ga712c2a31c2844b54c33ede3a9a148d61", null ], - [ "sl_Htons", "group__socket.html#gadfb6f98e5c75a46050780e8afbae13bd", null ], - [ "sl_Listen", "group__socket.html#ga7d864d86f8dd7296774072db021a69e7", null ], - [ "sl_Recv", "group__socket.html#gace86078cc514a5efa01f2b757e3bb8bf", null ], - [ "sl_RecvFrom", "group__socket.html#gaf370fe1b17863024b28e081af02f6cf3", null ], - [ "sl_Select", "group__socket.html#ga97747fea9f469feeb7272b76e4fe9a0e", null ], - [ "sl_Send", "group__socket.html#gaf3234446a6f3c770d5a3d56300f487f6", null ], - [ "sl_SendTo", "group__socket.html#ga783a041dad81818b4b8d15e4d7a852fa", null ], - [ "sl_SetSockOpt", "group__socket.html#ga6363ea2098e629c1a6e2bf80e731fb79", null ], - [ "sl_Socket", "group__socket.html#gaa775fcb6d09bf35b9dac3e5eb8e8c997", null ] +var group__socket = +[ + [ "SlInAddr_t", "struct_sl_in_addr__t.html", [ + [ "s_addr", "struct_sl_in_addr__t.html#a1bb442d64dfd79d2219d69704947e21b", null ] + ] ], + [ "SlSockKeepalive_t", "struct_sl_sock_keepalive__t.html", [ + [ "KeepaliveEnabled", "struct_sl_sock_keepalive__t.html#aac43eef83958917bdf29de10afae4a00", null ] + ] ], + [ "SlSockReuseaddr_t", "struct_sl_sock_reuseaddr__t.html", [ + [ "ReuseaddrEnabled", "struct_sl_sock_reuseaddr__t.html#a1885583c07b6775cfa117a4a64ae6e3d", null ] + ] ], + [ "SlSockWinsize_t", "struct_sl_sock_winsize__t.html", [ + [ "Winsize", "struct_sl_sock_winsize__t.html#af706421c801e172c074064414e837eec", null ] + ] ], + [ "SlSockNonblocking_t", "struct_sl_sock_nonblocking__t.html", [ + [ "NonblockingEnabled", "struct_sl_sock_nonblocking__t.html#ad95a3e0aa5ed5b4a341c2503dcae327d", null ] + ] ], + [ "SlSocketAsyncEvent_t", "struct_sl_socket_async_event__t.html", [ + [ "pExtraInfo", "struct_sl_socket_async_event__t.html#a8906bd316385e67450a57a4a8bd50a8a", null ], + [ "sd", "struct_sl_socket_async_event__t.html#a6e61459b1cc5e37bbd460cbbdade7fd0", null ], + [ "type", "struct_sl_socket_async_event__t.html#a525a5ef247f93f470f4f5e2b5cc59dce", null ], + [ "val", "struct_sl_socket_async_event__t.html#af7f7ebaf50ae06049cd3f317a812d90d", null ] + ] ], + [ "SlSockTxFailEventData_t", "struct_sl_sock_tx_fail_event_data__t.html", [ + [ "padding", "struct_sl_sock_tx_fail_event_data__t.html#add68adbd81b0e5a99dda8bd7b4481108", null ], + [ "sd", "struct_sl_sock_tx_fail_event_data__t.html#a6e61459b1cc5e37bbd460cbbdade7fd0", null ], + [ "status", "struct_sl_sock_tx_fail_event_data__t.html#a88b0e46c9227c27bb67842b895edbc6f", null ] + ] ], + [ "SlSockEventData_u", "union_sl_sock_event_data__u.html", [ + [ "SockAsyncData", "union_sl_sock_event_data__u.html#ae60ad12b7cac0600997d825fc8e71f6e", null ], + [ "SockTxFailData", "union_sl_sock_event_data__u.html#a595b11dcc257e90eee3feb5fa262591e", null ] + ] ], + [ "SlSockEvent_t", "struct_sl_sock_event__t.html", [ + [ "Event", "struct_sl_sock_event__t.html#adeedbaaa252b969fc66e151eef37ea62", null ], + [ "socketAsyncEvent", "struct_sl_sock_event__t.html#a5417ec200900ac2c08550715dbb114a7", null ] + ] ], + [ "SlSockSecureMask", "struct_sl_sock_secure_mask.html", [ + [ "secureMask", "struct_sl_sock_secure_mask.html#a60798538f913579423ecfac09c9e13d7", null ] + ] ], + [ "SlSockSecureMethod", "struct_sl_sock_secure_method.html", [ + [ "secureMethod", "struct_sl_sock_secure_method.html#a7b920ea3f38a2399d1aa2c473cf1021e", null ] + ] ], + [ "SlSockIpMreq", "struct_sl_sock_ip_mreq.html", [ + [ "imr_interface", "struct_sl_sock_ip_mreq.html#a526726f1171c79d8003490ab86f3da7c", null ], + [ "imr_multiaddr", "struct_sl_sock_ip_mreq.html#a6a0c67f0fbae8c3d98c1913f2d37b200", null ] + ] ], + [ "SlTimeval_t", "struct_sl_timeval__t.html", [ + [ "tv_sec", "struct_sl_timeval__t.html#a8f5aa475627ac4ba971fce4b1a79b673", null ], + [ "tv_usec", "struct_sl_timeval__t.html#a1ad5c78770a3d6fd50eae96b9096830b", null ] + ] ], + [ "SlSockAddr_t", "struct_sl_sock_addr__t.html", [ + [ "sa_data", "struct_sl_sock_addr__t.html#ae2b1f612104f3b2e3986fec7cc8b434b", null ], + [ "sa_family", "struct_sl_sock_addr__t.html#a2ec201dde0ef6487c4d40b54bb193f8d", null ] + ] ], + [ "SlIn6Addr_t", "struct_sl_in6_addr__t.html", [ + [ "_S6_u32", "struct_sl_in6_addr__t.html#aee8fdf3ea3807e415be615b7ea9c7ac3", null ], + [ "_S6_u8", "struct_sl_in6_addr__t.html#a3db8a67c76268286e0dfc750988e16bf", null ], + [ "_S6_un", "struct_sl_in6_addr__t.html#accb4b15a4e8073b36d17764520329d44", null ] + ] ], + [ "SlSockAddrIn6_t", "struct_sl_sock_addr_in6__t.html", [ + [ "sin6_addr", "struct_sl_sock_addr_in6__t.html#ab80273cf64088fdcf85aca765997b845", null ], + [ "sin6_family", "struct_sl_sock_addr_in6__t.html#a1353901c9555ac56c1ca22dc1533c3b8", null ], + [ "sin6_flowinfo", "struct_sl_sock_addr_in6__t.html#afba686aa3c6f6242cac4d29bc7c7d558", null ], + [ "sin6_port", "struct_sl_sock_addr_in6__t.html#ad7c0b531025d2975102172b2398611f5", null ], + [ "sin6_scope_id", "struct_sl_sock_addr_in6__t.html#a95780ab290350f365e6de5dba3af0032", null ] + ] ], + [ "SlSockAddrIn_t", "struct_sl_sock_addr_in__t.html", [ + [ "sin_addr", "struct_sl_sock_addr_in__t.html#ac202531c3497bcb9d64a83028f036d81", null ], + [ "sin_family", "struct_sl_sock_addr_in__t.html#a073756b1c41885b395510a04d5e8e108", null ], + [ "sin_port", "struct_sl_sock_addr_in__t.html#a591c70234168b0d4509cadef8b6d3ea1", null ], + [ "sin_zero", "struct_sl_sock_addr_in__t.html#a46c3a43fbd9a84363466a5ea60c08440", null ] + ] ], + [ "SlIpV4AcquiredAsync_t", "struct_sl_ip_v4_acquired_async__t.html", [ + [ "dns", "struct_sl_ip_v4_acquired_async__t.html#aad25be6b70d3ea82fd985d8b48897883", null ], + [ "gateway", "struct_sl_ip_v4_acquired_async__t.html#a269bb91b6feb081352eedf250664de16", null ], + [ "ip", "struct_sl_ip_v4_acquired_async__t.html#af1a8503514e9d113c83fe28f8822fa16", null ] + ] ], + [ "SlIpV6AcquiredAsync_t", "struct_sl_ip_v6_acquired_async__t.html", [ + [ "dns", "struct_sl_ip_v6_acquired_async__t.html#a90f4865c4077830b35b1828abc96f69b", null ], + [ "gateway", "struct_sl_ip_v6_acquired_async__t.html#a7fa567b0024e3a179a266440636b9f58", null ], + [ "ip", "struct_sl_ip_v6_acquired_async__t.html#aeb14becbd5ead4e94404e551abb631c4", null ], + [ "type", "struct_sl_ip_v6_acquired_async__t.html#a4b2c27059c223cdd2149f3fbd526b453", null ] + ] ], + [ "SlIpLeasedAsync_t", "struct_sl_ip_leased_async__t.html", [ + [ "ip_address", "struct_sl_ip_leased_async__t.html#aba21cfc12ca7e52b24d4566825a69583", null ], + [ "lease_time", "struct_sl_ip_leased_async__t.html#ae870c09512e5404d8fd6a94d899d52b5", null ], + [ "mac", "struct_sl_ip_leased_async__t.html#a51fa48efb76fa1995446db52ac06a46f", null ], + [ "padding", "struct_sl_ip_leased_async__t.html#aee74651e918d4c23f3eabe25fbbf8142", null ] + ] ], + [ "SlIpReleasedAsync_t", "struct_sl_ip_released_async__t.html", [ + [ "ip_address", "struct_sl_ip_released_async__t.html#aba21cfc12ca7e52b24d4566825a69583", null ], + [ "mac", "struct_sl_ip_released_async__t.html#a51fa48efb76fa1995446db52ac06a46f", null ], + [ "reason", "struct_sl_ip_released_async__t.html#a74c4b0fa5b3987eb1c1c38d1328800ec", null ] + ] ], + [ "SlNetAppEventData_u", "union_sl_net_app_event_data__u.html", [ + [ "ipAcquiredV4", "union_sl_net_app_event_data__u.html#a70e52a1e4d3f9d2f266678ec36368c7c", null ], + [ "ipAcquiredV6", "union_sl_net_app_event_data__u.html#a400e2b41a0f0b2c5bcea239044bc9c51", null ], + [ "ipLeased", "union_sl_net_app_event_data__u.html#aed0298fb2bc398113623878895eaa5c1", null ], + [ "ipReleased", "union_sl_net_app_event_data__u.html#a1243613fce8b1dcb1bb980e16b18a603", null ], + [ "sd", "union_sl_net_app_event_data__u.html#a981f461c52d720de7fe25818b9df2192", null ] + ] ], + [ "SlNetAppEvent_t", "struct_sl_net_app_event__t.html", [ + [ "Event", "struct_sl_net_app_event__t.html#adeedbaaa252b969fc66e151eef37ea62", null ], + [ "EventData", "struct_sl_net_app_event__t.html#ac58cdb6e0d008f951c65fade86f32713", null ] + ] ], + [ "sock_secureFiles", "structsock__secure_files.html", [ + [ "secureFiles", "structsock__secure_files.html#ac65e78cc8df4ee675c0f86d9572be2a5", null ] + ] ], + [ "SlFdSet_t", "struct_sl_fd_set__t.html", [ + [ "fd_array", "struct_sl_fd_set__t.html#a3071152bcd9c3ea1a88c38a026f96b1c", null ] + ] ], + [ "SlTransceiverRxOverHead_t", "struct_sl_transceiver_rx_over_head__t.html", [ + [ "channel", "struct_sl_transceiver_rx_over_head__t.html#aa884a666899783e8d3f3d4921b0a24c3", null ], + [ "padding", "struct_sl_transceiver_rx_over_head__t.html#add68adbd81b0e5a99dda8bd7b4481108", null ], + [ "rate", "struct_sl_transceiver_rx_over_head__t.html#a953f0299b419ccb222c1c7ef8320ff51", null ], + [ "rssi", "struct_sl_transceiver_rx_over_head__t.html#a80c3df13ed7cf0b1a5e5639811c82f34", null ], + [ "timestamp", "struct_sl_transceiver_rx_over_head__t.html#ae583290c9ab9f4aa0275b90ed56de3c4", null ] + ] ], + [ "sl_Accept", "group__socket.html#ga72085bf8fae027f8fe31a0eb99a6808b", null ], + [ "sl_Bind", "group__socket.html#gadcb0c4792127dceb1feb3e9b87ab2094", null ], + [ "sl_Close", "group__socket.html#gacc7971a6e41592c8ef90936b25495a8b", null ], + [ "sl_Connect", "group__socket.html#gad8b9db85493e84b19994840f4cff0ca0", null ], + [ "SL_FD_CLR", "group__socket.html#gaa8aefbd7da7312044d0c47cb256e5029", null ], + [ "SL_FD_ISSET", "group__socket.html#ga9c87fa7e319677c3d2f88180a21fee2c", null ], + [ "SL_FD_SET", "group__socket.html#ga0d9e401652361c24235f157e65e35365", null ], + [ "SL_FD_ZERO", "group__socket.html#gac58eca56e2cf9bf58f8f3ef8790f7740", null ], + [ "sl_GetSockOpt", "group__socket.html#ga77d6029b0c39df5541b0b0d6484591b4", null ], + [ "sl_Htonl", "group__socket.html#ga712c2a31c2844b54c33ede3a9a148d61", null ], + [ "sl_Htons", "group__socket.html#gadfb6f98e5c75a46050780e8afbae13bd", null ], + [ "sl_Listen", "group__socket.html#ga7d864d86f8dd7296774072db021a69e7", null ], + [ "sl_Recv", "group__socket.html#gace86078cc514a5efa01f2b757e3bb8bf", null ], + [ "sl_RecvFrom", "group__socket.html#gaf370fe1b17863024b28e081af02f6cf3", null ], + [ "sl_Select", "group__socket.html#ga97747fea9f469feeb7272b76e4fe9a0e", null ], + [ "sl_Send", "group__socket.html#gaf3234446a6f3c770d5a3d56300f487f6", null ], + [ "sl_SendTo", "group__socket.html#ga783a041dad81818b4b8d15e4d7a852fa", null ], + [ "sl_SetSockOpt", "group__socket.html#ga6363ea2098e629c1a6e2bf80e731fb79", null ], + [ "sl_Socket", "group__socket.html#gaa775fcb6d09bf35b9dac3e5eb8e8c997", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/group__wlan.html b/docs/simplelink_api/html/group__wlan.html index 8ff2e4e..6458d05 100644 --- a/docs/simplelink_api/html/group__wlan.html +++ b/docs/simplelink_api/html/group__wlan.html @@ -1,2254 +1,2184 @@ - - - - - - -CC32XX SimpleLink Host Driver: Wlan - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - -
-
- -
-
-
- -
- - - - -
- -
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Data Structures

struct  slSmartConfigStartAsyncResponse_t
 
struct  slSmartConfigStopAsyncResponse_t
 
struct  slWlanConnFailureAsyncResponse_t
 
struct  slWlanConnectAsyncResponse_t
 
struct  slPeerInfoAsyncResponse_t
 
union  SlWlanEventData_u
 
struct  SlWlanEvent_t
 
struct  SlGetRxStatResponse_t
 
struct  Sl_WlanNetworkEntry_t
 
struct  SlSecParams_t
 
struct  SlSecParamsExt_t
 
struct  SlGetSecParamsExt_t
 
struct  slWlanScanParamCommand_t
 
struct  sl_protocol_InfoElement_t
 
struct  sl_protocol_WlanSetInfoElement_t
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Macros

-#define SL_BSSID_LENGTH   (6)
 
-#define MAXIMAL_SSID_LENGTH   (32)
 
-#define NUM_OF_RATE_INDEXES   (20)
 
-#define SIZE_OF_RSSI_HISTOGRAM   (6)
 
-#define SL_DISCONNECT_RESERVED_0   (0)
 
-#define SL_DISCONNECT_UNSPECIFIED_REASON   (1)
 
-#define SL_PREVIOUS_AUTHENTICATION_NO_LONGER_VALID   (2)
 
-#define SL_DEAUTHENTICATED_BECAUSE_SENDING_STATION_IS_LEAVING   (3)
 
-#define SL_DISASSOCIATED_DUE_TO_INACTIVITY   (4)
 
-#define SL_DISASSOCIATED_BECAUSE_AP_IS_UNABLE_TO_HANDLE_ALL_CURRENTLY_ASSOCIATED_STATIONS   (5)
 
-#define SL_CLASS_2_FRAME_RECEIVED_FROM_NONAUTHENTICATED_STATION   (6)
 
-#define SL_CLASS_3_FRAME_RECEIVED_FROM_NONASSOCIATED_STATION   (7)
 
-#define SL_DISASSOCIATED_BECAUSE_SENDING_STATION_IS_LEAVING_BSS   (8)
 
-#define SL_STATION_REQUESTING_ASSOCIATION_IS_NOT_AUTHENTICATED_WITH_RESPONDING_STATION   (9)
 
-#define SL_DISASSOCIATED_BECAUSE_THE_INFORMATION_IN_THE_POWER_CAPABILITY_ELEMENT_IS_UNACCEPTABLE   (10)
 
-#define SL_DISASSOCIATED_BECAUSE_THE_INFORMATION_IN_THE_SUPPORTED_CHANNELS_ELEMENT_IS_UNACCEPTABLE   (11)
 
-#define SL_DISCONNECT_RESERVED_1   (12)
 
-#define SL_INVALID_INFORMATION_ELEMENT   (13)
 
-#define SL_MESSAGE_INTEGRITY_CODE_MIC_FAILURE   (14)
 
-#define SL_FOUR_WAY_HANDSHAKE_TIMEOUT   (15)
 
-#define SL_GROUP_KEY_HANDSHAKE_TIMEOUT   (16)
 
-#define SL_RE_ASSOCIATION_REQUEST_PROBE_RESPONSE_BEACON_FRAME   (17)
 
-#define SL_INVALID_GROUP_CIPHER   (18)
 
-#define SL_INVALID_PAIRWISE_CIPHER   (19)
 
-#define SL_INVALID_AKMP   (20)
 
-#define SL_UNSUPPORTED_RSN_INFORMATION_ELEMENT_VERSION   (21)
 
-#define SL_INVALID_RSN_INFORMATION_ELEMENT_CAPABILITIES   (22)
 
-#define SL_IEEE_802_1X_AUTHENTICATION_FAILED   (23)
 
-#define SL_CIPHER_SUITE_REJECTED_BECAUSE_OF_THE_SECURITY_POLICY   (24)
 
-#define SL_DISCONNECT_RESERVED_2   (25)
 
-#define SL_DISCONNECT_RESERVED_3   (26)
 
-#define SL_DISCONNECT_RESERVED_4   (27)
 
-#define SL_DISCONNECT_RESERVED_5   (28)
 
-#define SL_DISCONNECT_RESERVED_6   (29)
 
-#define SL_DISCONNECT_RESERVED_7   (30)
 
-#define SL_DISCONNECT_RESERVED_8   (31)
 
-#define SL_DISASSOCIATED_FOR_UNSPECIFIED_QOS_RELATED_REASON   (32)
 
-#define SL_DISASSOCIATED_BECAUSE_QAP_LACKS_SUFFICIENT_BANDWIDTH_FOR_THIS_QSTA   (33)
 
-#define SL_DISASSOCIATED_BECAUSE_EXCESSIVE_NUMBER_OF_FRAMES_NEED_TO_BE_ACKNOWLEDGED   (34)
 
-#define SL_DISASSOCIATED_BECAUSE_QSTA_IS_TRANSMITTING_OUTSIDE_THE_LIMITS_OF_ITS_TXOPS   (35)
 
-#define SL_REQUESTED_FROM_PEER_QSTA_AS_THE_QSTA_IS_LEAVING_THE_QBSS   (36)
 
-#define SL_REQUESTED_FROM_PEER_QSTA_AS_IT_DOES_NO_WANT_TO_USE_THE_MECHANISM   (37)
 
-#define SL_REQUESTED_FROM_PEER_QSTA_AS_THE_QSTA_RECEIVED_FRAMES_SETUP_IS_REQUIRED   (38)
 
-#define SL_REQUESTED_FROM_PEER_QSTA_DUE_TO_TIMEOUT   (39)
 
-#define SL_PEER_QSTA_DOES_NOT_SUPPORT_THE_REQUESTED_CIPHER_SUITE   (40)
 
-#define SL_CISCO_DEFINED   (98)
 
-#define SL_CISCO_DEFINED_1   (99)
 
-#define SL_ROAMING_TRIGGER_NONE   (100)
 
-#define SL_ROAMING_TRIGGER_LOW_QUALITY_FOR_BG_SCAN   (101)
 
-#define SL_ROAMING_TRIGGER_HIGH_QUALITY_FOR_BG_SCAN   (102)
 
-#define SL_ROAMING_TRIGGER_NORMAL_QUALITY_FOR_BG_SCAN   (103)
 
-#define SL_ROAMING_TRIGGER_LOW_TX_RATE   (104)
 
-#define SL_ROAMING_TRIGGER_LOW_SNR   (105)
 
-#define SL_ROAMING_TRIGGER_LOW_QUALITY   (106)
 
-#define SL_ROAMING_TRIGGER_TSPEC_REJECTED   (107)
 
-#define SL_ROAMING_TRIGGER_MAX_TX_RETRIES   (108)
 
-#define SL_ROAMING_TRIGGER_BSS_LOSS   (109)
 
-#define SL_ROAMING_TRIGGER_BSS_LOSS_DUE_TO_MAX_TX_RETRY   (110)
 
-#define SL_ROAMING_TRIGGER_SWITCH_CHANNEL   (111)
 
-#define SL_ROAMING_TRIGGER_AP_DISCONNECT   (112)
 
-#define SL_ROAMING_TRIGGER_SECURITY_ATTACK   (113)
 
-#define SL_ROAMING_TRIGGER_MAX   (114)
 
-#define SL_USER_INITIATED_DISCONNECTION   (200)
 
-#define SL_ERROR_KEY_ERROR   (-3)
 
-#define SL_ERROR_INVALID_ROLE   (-71)
 
-#define SL_ERROR_INVALID_SECURITY_TYPE   (-84)
 
-#define SL_ERROR_PASSPHRASE_TOO_LONG   (-85)
 
-#define SL_ERROR_WPS_NO_PIN_OR_WRONG_PIN_LEN   (-87)
 
-#define SL_ERROR_EAP_WRONG_METHOD   (-88)
 
-#define SL_ERROR_PASSWORD_ERROR   (-89)
 
-#define SL_ERROR_EAP_ANONYMOUS_LEN_ERROR   (-90)
 
-#define SL_ERROR_SSID_LEN_ERROR   (-91)
 
-#define SL_ERROR_USER_ID_LEN_ERROR   (-92)
 
-#define SL_ERROR_ILLEGAL_WEP_KEY_INDEX   (-95)
 
-#define SL_ERROR_INVALID_DWELL_TIME_VALUES   (-96)
 
-#define SL_ERROR_INVALID_POLICY_TYPE   (-97)
 
-#define SL_ERROR_PM_POLICY_INVALID_OPTION   (-98)
 
-#define SL_ERROR_PM_POLICY_INVALID_PARAMS   (-99)
 
-#define SL_ERROR_WIFI_ALREADY_DISCONNECTED   (-129)
 
-#define SL_ERROR_WIFI_NOT_CONNECTED   (-59)
 
-#define SL_SEC_TYPE_OPEN   (0)
 
-#define SL_SEC_TYPE_WEP   (1)
 
-#define SL_SEC_TYPE_WPA   (2) /* deprecated */
 
-#define SL_SEC_TYPE_WPA_WPA2   (2)
 
-#define SL_SEC_TYPE_WPS_PBC   (3)
 
-#define SL_SEC_TYPE_WPS_PIN   (4)
 
-#define SL_SEC_TYPE_WPA_ENT   (5)
 
-#define SL_SEC_TYPE_P2P_PBC   (6)
 
-#define SL_SEC_TYPE_P2P_PIN_KEYPAD   (7)
 
-#define SL_SEC_TYPE_P2P_PIN_DISPLAY   (8)
 
-#define SL_SEC_TYPE_P2P_PIN_AUTO   (9) /* NOT Supported yet */
 
-#define SL_SCAN_SEC_TYPE_OPEN   (0)
 
-#define SL_SCAN_SEC_TYPE_WEP   (1)
 
-#define SL_SCAN_SEC_TYPE_WPA   (2)
 
-#define SL_SCAN_SEC_TYPE_WPA2   (3)
 
-#define TLS   (0x1)
 
-#define MSCHAP   (0x0)
 
-#define PSK   (0x2)
 
-#define TTLS   (0x10)
 
-#define PEAP0   (0x20)
 
-#define PEAP1   (0x40)
 
-#define FAST   (0x80)
 
-#define FAST_AUTH_PROVISIONING   (0x02)
 
-#define FAST_UNAUTH_PROVISIONING   (0x01)
 
-#define FAST_NO_PROVISIONING   (0x00)
 
-#define EAPMETHOD_PHASE2_SHIFT   (8)
 
-#define EAPMETHOD_PAIRWISE_CIPHER_SHIFT   (19)
 
-#define EAPMETHOD_GROUP_CIPHER_SHIFT   (27)
 
-#define WPA_CIPHER_CCMP   (0x1)
 
-#define WPA_CIPHER_TKIP   (0x2)
 
-#define CC31XX_DEFAULT_CIPHER   (WPA_CIPHER_CCMP | WPA_CIPHER_TKIP)
 
#define EAPMETHOD(phase1, phase2, pairwise_cipher, group_cipher)
 
-#define SL_ENT_EAP_METHOD_TLS   EAPMETHOD(TLS , 0 , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
 
-#define SL_ENT_EAP_METHOD_TTLS_TLS   EAPMETHOD(TTLS , TLS , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
 
-#define SL_ENT_EAP_METHOD_TTLS_MSCHAPv2   EAPMETHOD(TTLS , MSCHAP , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
 
-#define SL_ENT_EAP_METHOD_TTLS_PSK   EAPMETHOD(TTLS , PSK , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
 
-#define SL_ENT_EAP_METHOD_PEAP0_TLS   EAPMETHOD(PEAP0 , TLS , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
 
-#define SL_ENT_EAP_METHOD_PEAP0_MSCHAPv2   EAPMETHOD(PEAP0 , MSCHAP , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
 
-#define SL_ENT_EAP_METHOD_PEAP0_PSK   EAPMETHOD(PEAP0 , PSK , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
 
-#define SL_ENT_EAP_METHOD_PEAP1_TLS   EAPMETHOD(PEAP1 , TLS , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
 
-#define SL_ENT_EAP_METHOD_PEAP1_MSCHAPv2   EAPMETHOD(PEAP1 , MSCHAP , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
 
-#define SL_ENT_EAP_METHOD_PEAP1_PSK   EAPMETHOD(PEAP1 , PSK , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
 
-#define SL_ENT_EAP_METHOD_FAST_AUTH_PROVISIONING   EAPMETHOD(FAST , FAST_AUTH_PROVISIONING , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
 
-#define SL_ENT_EAP_METHOD_FAST_UNAUTH_PROVISIONING   EAPMETHOD(FAST , FAST_UNAUTH_PROVISIONING , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
 
-#define SL_ENT_EAP_METHOD_FAST_NO_PROVISIONING   EAPMETHOD(FAST , FAST_NO_PROVISIONING , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
 
-#define SL_LONG_PREAMBLE   (0)
 
-#define SL_SHORT_PREAMBLE   (1)
 
-#define SL_RAW_RF_TX_PARAMS_CHANNEL_SHIFT   (0)
 
-#define SL_RAW_RF_TX_PARAMS_RATE_SHIFT   (6)
 
-#define SL_RAW_RF_TX_PARAMS_POWER_SHIFT   (11)
 
-#define SL_RAW_RF_TX_PARAMS_PREAMBLE_SHIFT   (15)
 
#define SL_RAW_RF_TX_PARAMS(chan, rate, power, preamble)
 
-#define SL_WLAN_CFG_AP_ID   (0)
 
-#define SL_WLAN_CFG_GENERAL_PARAM_ID   (1)
 
-#define SL_WLAN_CFG_P2P_PARAM_ID   (2)
 
-#define WLAN_AP_OPT_SSID   (0)
 
-#define WLAN_AP_OPT_CHANNEL   (3)
 
-#define WLAN_AP_OPT_HIDDEN_SSID   (4)
 
-#define WLAN_AP_OPT_SECURITY_TYPE   (6)
 
-#define WLAN_AP_OPT_PASSWORD   (7)
 
-#define WLAN_GENERAL_PARAM_OPT_COUNTRY_CODE   (9)
 
-#define WLAN_GENERAL_PARAM_OPT_STA_TX_POWER   (10)
 
-#define WLAN_GENERAL_PARAM_OPT_AP_TX_POWER   (11)
 
-#define WLAN_P2P_OPT_DEV_NAME   (12)
 
-#define WLAN_P2P_OPT_DEV_TYPE   (13)
 
-#define WLAN_P2P_OPT_CHANNEL_N_REGS   (14)
 
-#define WLAN_GENERAL_PARAM_OPT_INFO_ELEMENT   (16)
 
-#define WLAN_GENERAL_PARAM_OPT_SCAN_PARAMS   (18) /* change the scan channels and RSSI threshold using this configuration option */
 
-#define SMART_CONFIG_CIPHER_SFLASH   (0) /* password is not delivered by the application. The Simple Manager should */
 
-#define SMART_CONFIG_CIPHER_AES   (1) /* AES (other types are not supported) */
 
-#define SMART_CONFIG_CIPHER_NONE   (0xFF) /* do not check in the flash */
 
-#define SL_POLICY_CONNECTION   (0x10)
 
-#define SL_POLICY_SCAN   (0x20)
 
-#define SL_POLICY_PM   (0x30)
 
-#define SL_POLICY_P2P   (0x40)
 
-#define VAL_2_MASK(position, value)   ((1 & (value))<<(position))
 
-#define MASK_2_VAL(position, mask)   (((1 << position) & (mask)) >> (position))
 
-#define SL_CONNECTION_POLICY(Auto, Fast, Open, anyP2P, autoSmartConfig)   (VAL_2_MASK(0,Auto) | VAL_2_MASK(1,Fast) | VAL_2_MASK(2,Open) | VAL_2_MASK(3,anyP2P) | VAL_2_MASK(4,autoSmartConfig))
 
-#define SL_SCAN_POLICY_EN(policy)   (MASK_2_VAL(0,policy))
 
-#define SL_SCAN_POLICY(Enable)   (VAL_2_MASK(0,Enable))
 
-#define SL_NORMAL_POLICY   (0)
 
-#define SL_LOW_LATENCY_POLICY   (1)
 
-#define SL_LOW_POWER_POLICY   (2)
 
-#define SL_ALWAYS_ON_POLICY   (3)
 
-#define SL_LONG_SLEEP_INTERVAL_POLICY   (4)
 
-#define SL_P2P_ROLE_NEGOTIATE   (3)
 
-#define SL_P2P_ROLE_GROUP_OWNER   (15)
 
-#define SL_P2P_ROLE_CLIENT   (0)
 
-#define SL_P2P_NEG_INITIATOR_ACTIVE   (0)
 
-#define SL_P2P_NEG_INITIATOR_PASSIVE   (1)
 
-#define SL_P2P_NEG_INITIATOR_RAND_BACKOFF   (2)
 
-#define POLICY_VAL_2_OPTIONS(position, mask, policy)   ((mask & policy) << position )
 
#define SL_P2P_POLICY(p2pNegType, p2pNegInitiator)
 
-#define INFO_ELEMENT_DEFAULT_ID   (0) /* 221 will be used */
 
-#define INFO_ELEMENT_MAX_SIZE   (252)
 
-#define INFO_ELEMENT_MAX_TOTAL_LENGTH_AP   (300)
 
-#define INFO_ELEMENT_MAX_TOTAL_LENGTH_P2P_GO   (160)
 
-#define INFO_ELEMENT_AP_ROLE   (0)
 
-#define INFO_ELEMENT_P2P_GO_ROLE   (1)
 
-#define MAX_PRIVATE_INFO_ELEMENTS_SUPPROTED   (4)
 
-#define INFO_ELEMENT_DEFAULT_OUI_0   (0x08)
 
-#define INFO_ELEMENT_DEFAULT_OUI_1   (0x00)
 
-#define INFO_ELEMENT_DEFAULT_OUI_2   (0x28)
 
-#define INFO_ELEMENT_DEFAULT_OUI   (0x000000) /* 08, 00, 28 will be used */
 
- - - - - - - -

-Enumerations

enum  SlRateIndex_e {
-  RATE_1M = 1, -RATE_2M = 2, -RATE_5_5M = 3, -RATE_11M = 4, -
-  RATE_6M = 6, -RATE_9M = 7, -RATE_12M = 8, -RATE_18M = 9, -
-  RATE_24M = 10, -RATE_36M = 11, -RATE_48M = 12, -RATE_54M = 13, -
-  RATE_MCS_0 = 14, -RATE_MCS_1 = 15, -RATE_MCS_2 = 16, -RATE_MCS_3 = 17, -
-  RATE_MCS_4 = 18, -RATE_MCS_5 = 19, -RATE_MCS_6 = 20, -RATE_MCS_7 = 21, -
-  MAX_NUM_RATES = 0xFF -
- }
 
enum  sl_p2p_dev_password_method { DEV_PW_DEFAULT =0, -DEV_PW_PIN_KEYPAD =1, -DEV_PW_PUSH_BUTTON =4, -DEV_PW_PIN_DISPLAY =5 - }
 
enum  SlWlanMode_t {
-  ROLE_STA = 0, -ROLE_AP = 2, -ROLE_P2P = 3, -ROLE_STA_ERR = -1, -
-  ROLE_AP_ERR = -ROLE_AP, -ROLE_P2P_ERR = -ROLE_P2P -
- }
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

_i16 sl_WlanConnect (_i8 *pName, _i16 NameLen, _u8 *pMacAddr, SlSecParams_t *pSecParams, SlSecParamsExt_t *pSecExtParams)
 Connect to wlan network as a station. More...
 
_i16 sl_WlanDisconnect (void)
 wlan disconnect More...
 
_i16 sl_WlanProfileAdd (_i8 *pName, _i16 NameLen, _u8 *pMacAddr, SlSecParams_t *pSecParams, SlSecParamsExt_t *pSecExtParams, _u32 Priority, _u32 Options)
 add profile More...
 
_i16 sl_WlanProfileGet (_i16 Index, _i8 *pName, _i16 *pNameLen, _u8 *pMacAddr, SlSecParams_t *pSecParams, SlGetSecParamsExt_t *pSecExtParams, _u32 *pPriority)
 get profile More...
 
_i16 sl_WlanProfileDel (_i16 Index)
 Delete WLAN profile. More...
 
_i16 sl_WlanPolicySet (_u8 Type, const _u8 Policy, _u8 *pVal, _u8 ValLen)
 Set policy values. More...
 
_i16 sl_WlanPolicyGet (_u8 Type, _u8 Policy, _u8 *pVal, _u8 *pValLen)
 get policy values More...
 
_i16 sl_WlanGetNetworkList (_u8 Index, _u8 Count, Sl_WlanNetworkEntry_t *pEntries)
 Gets the WLAN scan operation results. More...
 
_i16 sl_WlanRxStatStart (void)
 Start collecting wlan RX statistics, for unlimited time. More...
 
_i16 sl_WlanRxStatStop (void)
 Stop collecting wlan RX statistic, (if previous called sl_WlanRxStatStart) More...
 
_i16 sl_WlanRxStatGet (SlGetRxStatResponse_t *pRxStat, _u32 Flags)
 Get wlan RX statistics. upon calling this command, the statistics counters will be cleared. More...
 
_i16 sl_WlanSmartConfigStop (void)
 Stop Smart Config procedure. Once Smart Config will be stopped, Asynchronous event will be received - SL_OPCODE_WLAN_SMART_CONFIG_STOP_ASYNC_RESPONSE. More...
 
_i16 sl_WlanSmartConfigStart (const _u32 groupIdBitmask, const _u8 cipher, const _u8 publicKeyLen, const _u8 group1KeyLen, const _u8 group2KeyLen, const _u8 *publicKey, const _u8 *group1Key, const _u8 *group2Key)
 Start Smart Config procedure. More...
 
_i16 sl_WlanSetMode (const _u8 mode)
 Wlan set mode. More...
 
_i16 sl_WlanSet (_u16 ConfigId, _u16 ConfigOpt, _u16 ConfigLen, _u8 *pValues)
 Internal function for setting WLAN configurations. More...
 
_i16 sl_WlanGet (_u16 ConfigId, _u16 *pConfigOpt, _u16 *pConfigLen, _u8 *pValues)
 Internal function for getting WLAN configurations. More...
 
SlrxFilterID_t sl_WlanRxFilterAdd (SlrxFilterRuleType_t RuleType, SlrxFilterFlags_t FilterFlags, const SlrxFilterRule_t *const Rule, const SlrxFilterTrigger_t *const Trigger, const SlrxFilterAction_t *const Action, SlrxFilterID_t *pFilterId)
 Adds new filter rule to the system. More...
 
_i16 sl_WlanRxFilterSet (const SLrxFilterOperation_t RxFilterOperation, const _u8 *const pInputBuffer, _u16 InputbufferLength)
 Sets parameters to Rx filters. More...
 
_i16 sl_WlanRxFilterGet (const SLrxFilterOperation_t RxFilterOperation, _u8 *pOutputBuffer, _u16 OutputbufferLength)
 Gets parameters of Rx filters. More...
 
-

Detailed Description

-

Macro Definition Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#define EAPMETHOD( phase1,
 phase2,
 pairwise_cipher,
 group_cipher 
)
-
-Value:
((phase1) | \
-
((phase2) << EAPMETHOD_PHASE2_SHIFT ) |\
-
((_u32)(pairwise_cipher) << EAPMETHOD_PAIRWISE_CIPHER_SHIFT ) |\
-
((_u32)(group_cipher) << EAPMETHOD_GROUP_CIPHER_SHIFT ))
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
#define SL_P2P_POLICY( p2pNegType,
 p2pNegInitiator 
)
-
-Value:
(POLICY_VAL_2_OPTIONS(0,0xF,(p2pNegType > SL_P2P_ROLE_GROUP_OWNER ? SL_P2P_ROLE_GROUP_OWNER : p2pNegType)) | \
-
POLICY_VAL_2_OPTIONS(4,0x1,(p2pNegType > SL_P2P_ROLE_GROUP_OWNER ? 1:0)) | \
-
POLICY_VAL_2_OPTIONS(5,0x3, p2pNegInitiator))
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#define SL_RAW_RF_TX_PARAMS( chan,
 rate,
 power,
 preamble 
)
-
-Value:
((chan << SL_RAW_RF_TX_PARAMS_CHANNEL_SHIFT) | \
-
(rate << SL_RAW_RF_TX_PARAMS_RATE_SHIFT) | \
-
(power << SL_RAW_RF_TX_PARAMS_POWER_SHIFT) | \
-
(preamble << SL_RAW_RF_TX_PARAMS_PREAMBLE_SHIFT))
-
-
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_i16 sl_WlanConnect (_i8 * pName,
_i16 NameLen,
_u8 * pMacAddr,
SlSecParams_tpSecParams,
SlSecParamsExt_tpSecExtParams 
)
-
- -

Connect to wlan network as a station.

-
Parameters
- - - - - - - -
[in]sec_typesecurity types options:
-
    -
  • SL_SEC_TYPE_OPEN
  • -
  • SL_SEC_TYPE_WEP
  • -
  • SL_SEC_TYPE_WPA_WPA2
  • -
  • SL_SEC_TYPE_WPA_ENT
  • -
  • SL_SEC_TYPE_WPS_PBC
  • -
  • SL_SEC_TYPE_WPS_PIN
  • -
-
[in]pNameup to 32 bytes in case of STA the name is the SSID of the Access Point
[in]NameLenname length
[in]pMacAddr6 bytes for MAC address
[in]pSecParamsSecurity parameters (use NULL key for SL_SEC_TYPE_OPEN)
[in]pSecExtParamsEnterprise parameters (set NULL in case Enterprise parameters is not in use)
-
-
-
Returns
On success, zero is returned. On error, negative is returned In case error number (-71) is returned, it indicates a connection was activated while the device it running in AP role
-
See also
sl_WlanDisconnect
-
Note
belongs to ext_api
-
Warning
In this version only single enterprise mode could be used SL_SEC_TYPE_WPA is a deprecated definition, the new definition is SL_SEC_TYPE_WPA_WPA2
- -
-
- -
-
- - - - - - - - -
_i16 sl_WlanDisconnect (void )
-
- -

wlan disconnect

-

Disconnect connection

-
Returns
0 disconnected done, other already disconnected
-
See also
sl_WlanConnect
-
Note
belongs to ext_api
-
Warning
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_i16 sl_WlanGet (_u16 ConfigId,
_u16 * pConfigOpt,
_u16 * pConfigLen,
_u8 * pValues 
)
-
- -

Internal function for getting WLAN configurations.

-
Returns
On success, zero is returned. On error, -1 is returned
-
Parameters
- - - - - -
[in]ConfigId- configuration id
    -
  • SL_WLAN_CFG_AP_ID
  • -
  • SL_WLAN_CFG_GENERAL_PARAM_ID
  • -
  • SL_WLAN_CFG_P2P_PARAM_ID
  • -
-
[out]pConfigOpt- get configurations option
    -
  • SL_WLAN_CFG_AP_ID
      -
    • WLAN_AP_OPT_SSID
      - Get SSID for AP mode.
      - Get up to 32 characters of SSID
      - This options takes _u8 as parameter
    • -
    • WLAN_AP_OPT_CHANNEL
      - Get channel for AP mode.
      - This option takes _u8 as a parameter
    • -
    • WLAN_AP_OPT_HIDDEN_SSID
      - Get Hidden SSID Mode for AP mode.Hidden options:
      - 0: disabled
      - 1: Send empty (length=0) SSID in beacon and ignore probe request for broadcast SSID
      - 2: Clear SSID (ASCII 0), but keep the original length (this may be required with some
      - clients that do not support empty SSID) and ignore probe requests for broadcast SSID
      - This option takes _u8 as a parameter
    • -
    • WLAN_AP_OPT_SECURITY_TYPE
      - Get Security type for AP mode. Security options are:
        -
      • Open security: SL_SEC_TYPE_OPEN
      • -
      • WEP security: SL_SEC_TYPE_WEP
      • -
      • WPA security: SL_SEC_TYPE_WPA_WPA2
        - This option takes _u8 as a parameter
      • -
      -
    • -
    • WLAN_AP_OPT_PASSWORD
      - Get Password for for AP mode (for WEP or for WPA):
      - Returns password - string, fills up to 64 characters.
      - This options takes _u8 buffer as parameter
    • -
    -
  • -
  • SL_WLAN_CFG_GENERAL_PARAM_ID
      -
    • WLAN_GENERAL_PARAM_OPT_SCAN_PARAMS
      - Get scan parameters. This option uses slWlanScanParamCommand_t as parameter
    • -
    • WLAN_GENERAL_PARAM_OPT_COUNTRY_CODE
      - Get Country Code for AP mode
      - This options takes _u8 buffer as parameter
    • -
    • WLAN_GENERAL_PARAM_OPT_STA_TX_POWER
      - Get STA mode Tx power level
      - Number between 0-15, as dB offset from max power (0 indicates MAX power)
      - This options takes _u8 as parameter
    • -
    • WLAN_GENERAL_PARAM_OPT_AP_TX_POWER Get AP mode Tx power level
      - Number between 0-15, as dB offset from max power (0 indicates MAX power)
      - This options takes _u8 as parameter
    • -
    -
  • -
  • SL_WLAN_CFG_P2P_PARAM_ID
      -
    • WLAN_P2P_OPT_CHANNEL_N_REGS
      - Get P2P Channels.
      - listen channel (either 1/6/11 for 2.4GHz)
      - listen regulatory class (81 for 2.4GHz)
      - oper channel (either 1/6/11 for 2.4GHz)
      - oper regulatory class (81 for 2.4GHz)
      - listen channel and regulatory class will determine the device listen channel during p2p find listen phase
      - oper channel and regulatory class will determine the operating channel preferred by this device (in case it is group owner this will be the operating channel)
      - channels should be one of the social channels (1/6/11). In case no listen/oper channel selected, a random 1/6/11 will be selected.
      - This option takes pointer to _u8[4] as parameter
    • -
    -
  • -
-
[out]pConfigLen- The length of the allocated memory as input, when the function complete, the value of this parameter would be the len that actually read from the device. If the device return length that is longer from the input value, the function will cut the end of the returned structure and will return SL_ESMALLBUF.
[out]pValues- get configurations values
-
-
-
See also
sl_WlanSet
-
Note
-
Warning
-
Examples:
-
WLAN_GENERAL_PARAM_OPT_SCAN_PARAMS:
slWlanScanParamCommand_t ScanParamConfig;
-
_u16 Option = WLAN_GENERAL_PARAM_OPT_SCAN_PARAMS;
-
_u16 OptionLen = sizeof(slWlanScanParamCommand_t);
-
sl_WlanGet(SL_WLAN_CFG_GENERAL_PARAM_ID ,&Option,&OptionLen,(_u8 *)&ScanParamConfig);
-
-
WLAN_GENERAL_PARAM_OPT_AP_TX_POWER:
_i16 TXPower = 0;
-
_u16 Option = WLAN_GENERAL_PARAM_OPT_AP_TX_POWER;
-
_u16 OptionLen = sizeof(_i16);
-
sl_WlanGet(SL_WLAN_CFG_GENERAL_PARAM_ID ,&Option,&OptionLen,(_u8 *)&TXPower);
-
-
WLAN_GENERAL_PARAM_OPT_STA_TX_POWER:
_i16 TXPower = 0;
-
_u16 Option = WLAN_GENERAL_PARAM_OPT_STA_TX_POWER;
-
_u16 OptionLen = sizeof(_i16);
-
-
sl_WlanGet(SL_WLAN_CFG_GENERAL_PARAM_ID ,&Option,&OptionLen,(_u8 *)&TXPower);
-
-
WLAN_P2P_OPT_DEV_TYPE:
_i8 device_type[18];
-
_u16 len = 18;
-
_u16 config_opt = WLAN_P2P_OPT_DEV_TYPE;
-
sl_WlanGet(SL_WLAN_CFG_P2P_PARAM_ID, &config_opt , &len, (_u8* )device_type);
-
-
WLAN_AP_OPT_SSID:
_i8 ssid[32];
-
_u16 len = 32;
-
_u16 config_opt = WLAN_AP_OPT_SSID;
-
sl_WlanGet(SL_WLAN_CFG_AP_ID, &config_opt , &len, (_u8* )ssid);
-
-
WLAN_GENERAL_PARAM_OPT_COUNTRY_CODE:
_i8 country[3];
-
_u16 len = 3;
-
_u16 config_opt = WLAN_GENERAL_PARAM_OPT_COUNTRY_CODE;
-
sl_WlanGet(SL_WLAN_CFG_GENERAL_PARAM_ID, &config_opt, &len, (_u8* )country);
-
-
WLAN_AP_OPT_CHANNEL:
_i8 channel;
-
_u16 len = 1;
-
_u16 config_opt = WLAN_AP_OPT_CHANNEL;
-
sl_WlanGet(SL_WLAN_CFG_AP_ID, &config_opt, &len, (_u8* )&channel);
-
-
WLAN_AP_OPT_HIDDEN_SSID:
_u8 hidden;
-
_u16 len = 1;
-
_u16 config_opt = WLAN_AP_OPT_HIDDEN_SSID;
-
sl_WlanGet(SL_WLAN_CFG_AP_ID, &config_opt, &len, (_u8* )&hidden);
-
-
WLAN_AP_OPT_SECURITY_TYPE:
_u8 sec_type;
-
_u16 len = 1;
-
_u16 config_opt = WLAN_AP_OPT_SECURITY_TYPE;
-
sl_WlanGet(SL_WLAN_CFG_AP_ID, &config_opt, &len, (_u8* )&sec_type);
-
-
WLAN_AP_OPT_PASSWORD:
_u8 password[64];
-
_u16 len = 64;
-
memset(password,0,64);
-
_u16 config_opt = WLAN_AP_OPT_PASSWORD;
-
sl_WlanGet(SL_WLAN_CFG_AP_ID, &config_opt, &len, (_u8* )password);
-
-
WLAN_P2P_OPT_CHANNEL_N_REGS:
_u16 listen_channel,listen_reg,oper_channel,oper_reg;
-
_u16 len = 4;
-
_u16 config_opt = WLAN_P2P_OPT_CHANNEL_N_REGS;
-
_u8 channel_n_regs[4];
-
sl_WlanGet(SL_WLAN_CFG_P2P_PARAM_ID, &config_opt, &len, (_u8* )channel_n_regs);
-
listen_channel = channel_n_regs[0];
-
listen_reg = channel_n_regs[1];
-
oper_channel = channel_n_regs[2];
-
oper_reg = channel_n_regs[3];
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
_i16 sl_WlanGetNetworkList (_u8 Index,
_u8 Count,
Sl_WlanNetworkEntry_tpEntries 
)
-
- -

Gets the WLAN scan operation results.

-

Gets scan results , gets entry from scan result table

-
Parameters
- - - - -
[in]Index- Starting index identifier (range 0-19) for getting scan results
[in]Count- How many entries to fetch. Max is (20-"Index").
[out]pEntries- pointer to an allocated Sl_WlanNetworkEntry_t. the number of array items should match "Count" sec_type: SL_SCAN_SEC_TYPE_OPEN, SL_SCAN_SEC_TYPE_WEP, SL_SCAN_SEC_TYPE_WPA or SL_SCAN_SEC_TYPE_WPA2
-
-
-
Returns
Number of valid networks list items
-
See also
-
Note
belongs to ext_api
-
Warning
This command do not initiate any active scanning action
-
Example:
An example of fetching max 10 results:
-
-
Sl_WlanNetworkEntry_t netEntries[10];
-
_i16 resultsCount = sl_WlanGetNetworkList(0,10,&netEntries[0]);
-
for(i=0; i< resultsCount; i++)
-
{
-
printf("%s\n",netEntries[i].ssid);
-
}
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_i16 sl_WlanPolicyGet (_u8 Type,
_u8 Policy,
_u8 * pVal,
_u8 * pValLen 
)
-
- -

get policy values

-
Parameters
- - - - -
[in]TypeSL_POLICY_CONNECTION, SL_POLICY_SCAN, SL_POLICY_PM,SL_POLICY_P2P
-
[in]Policyargument may be set to any value
-
[out]Thereturned values, depends on each policy type, will be stored in the allocated buffer pointed by pVal with a maximum buffer length set by the calling function and pointed to by argument *pValLen
-
-
-
Returns
On success, zero is returned. On error, -1 is returned
-
See also
sl_WlanPolicySet
-
Note
belongs to ext_api
-
Warning
The value pointed by the argument *pValLen should be set to a value different from 0 and greater than the buffer length returned from the SL device. Otherwise, an error will be returned.
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_i16 sl_WlanPolicySet (_u8 Type,
const _u8 Policy,
_u8 * pVal,
_u8 ValLen 
)
-
- -

Set policy values.

-
Parameters
- - - - - -
[in]TypeType of policy to be modified. The Options are:
-
    -
  • SL_POLICY_CONNECTION
  • -
  • SL_POLICY_SCAN
  • -
  • SL_POLICY_PM
  • -
  • SL_POLICY_P2P
  • -
-
[in]PolicyThe option value which depends on action type
[in]pValAn optional value pointer
[in]ValLenAn optional value length, in bytes
-
-
-
Returns
On success, zero is returned. On error, -1 is returned
-
See also
sl_WlanPolicyGet
-
Note
belongs to ext_api
-
Warning
-
SL_POLICY_CONNECTION type defines three options available to connect the CC31xx device to the AP:
-
    -
  • If Auto Connect is set, the CC31xx device tries to automatically reconnect to one of its stored profiles, each time the connection fails or the device is rebooted.
    - To set this option, use:
    - sl_WlanPolicySet(SL_POLICY_CONNECTION,SL_CONNECTION_POLICY(1,0,0,0,0),NULL,0)
  • -
  • If Fast Connect is set, the CC31xx device tries to establish a fast connection to AP.
    - To set this option, use:
    - sl_WlanPolicySet(SL_POLICY_CONNECTION,SL_CONNECTION_POLICY(0,1,0,0,0),NULL,0)
  • -
  • (relevant for P2P mode only) - If Any P2P is set, CC31xx/CC32xx device tries to automatically connect to the first P2P device available,
    - supporting push button only. To set this option, use:
    - sl_WlanPolicySet(SL_POLICY_CONNECTION,SL_CONNECTION_POLICY(0,0,0,1,0),NULL,0)
  • -
  • For auto smart config upon restart (any command from Host will end this state) use:
    - sl_WlanPolicySet(SL_POLICY_CONNECTION,SL_CONNECTION_POLICY(0,0,0,0,1),NULL,0)
    -The options above could be combined to a single action, if more than one action is required.
    -
  • -
-
-
SL_POLICY_SCAN defines system scan time interval in case there is no connection. Default interval is 10 minutes.
-After settings scan interval, an immediate scan is activated. The next scan will be based on the interval settings.
-
    -
  • For example, setting scan interval to 1 minute interval use:
    - _u32 intervalInSeconds = 60;
    - #define SL_SCAN_ENABLE 1
    - sl_WlanPolicySet(SL_POLICY_SCAN,SL_SCAN_ENABLE, (_u8 *)&intervalInSeconds,sizeof(intervalInSeconds));
    -
  • -
  • For example, disable scan:
    - #define SL_SCAN_DISABLE 0
    - sl_WlanPolicySet(SL_POLICY_SCAN,SL_SCAN_DISABLE,0,0);
    -
  • -
-
-
SL_POLICY_PM defines a power management policy for Station mode only:
    -
  • For setting normal power management (default) policy use: sl_WlanPolicySet(SL_POLICY_PM , SL_NORMAL_POLICY, NULL,0)
  • -
  • For setting low latency power management policy use: sl_WlanPolicySet(SL_POLICY_PM , SL_LOW_LATENCY_POLICY, NULL,0)
  • -
  • For setting low power management policy use: sl_WlanPolicySet(SL_POLICY_PM , SL_LOW_POWER_POLICY, NULL,0)
  • -
  • For setting always on power management policy use: sl_WlanPolicySet(SL_POLICY_PM , SL_ALWAYS_ON_POLICY, NULL,0)
  • -
  • For setting Long Sleep Interval policy use:
    - _u16 PolicyBuff[4] = {0,0,800,0}; // PolicyBuff[2] is max sleep time in mSec
    - sl_WlanPolicySet(SL_POLICY_PM , SL_LONG_SLEEP_INTERVAL_POLICY, (_u8*)PolicyBuff,sizeof(PolicyBuff));
    - SL_POLICY_P2P defines p2p negotiation policy parameters for P2P role:
  • -
  • To set intent negotiation value, set on of the following: SL_P2P_ROLE_NEGOTIATE - intent 3 SL_P2P_ROLE_GROUP_OWNER - intent 15 SL_P2P_ROLE_CLIENT - intent 0
  • -
  • To set negotiation initiator value (initiator policy of first negotiation action frame), set on of the following: SL_P2P_NEG_INITIATOR_ACTIVE SL_P2P_NEG_INITIATOR_PASSIVE SL_P2P_NEG_INITIATOR_RAND_BACKOFF For example:
    - sl_WlanPolicySet(SL_POLICY_P2P, SL_P2P_POLICY(SL_P2P_ROLE_NEGOTIATE,SL_P2P_NEG_INITIATOR_RAND_BACKOFF),NULL,0)
  • -
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_i16 sl_WlanProfileAdd (_i8 * pName,
_i16 NameLen,
_u8 * pMacAddr,
SlSecParams_tpSecParams,
SlSecParamsExt_tpSecExtParams,
_u32 Priority,
_u32 Options 
)
-
- -

add profile

-

When auto start is enabled, the device connects to a station from the profiles table. Up to 7 profiles are supported. If several profiles configured the device chose the highest priority profile, within each priority group, device will chose profile based on security policy, signal strength, etc parameters.

-
Parameters
- - - - - - - - -
[in]pNameup to 32 bytes in case of STA the name is the SSID of the Access Point in case of P2P the name is the remote device name
[in]NameLenname length
[in]pMacAddr6 bytes for MAC address
[in]pSecParamsSecurity parameters - security type (SL_SEC_TYPE_OPEN,SL_SEC_TYPE_WEP,SL_SEC_TYPE_WPA_WPA2, SL_SEC_TYPE_P2P_PBC,SL_SEC_TYPE_P2P_PIN_KEYPAD,SL_SEC_TYPE_P2P_PIN_DISPLAY, SL_SEC_TYPE_WPA_ENT), key, and key length in case of p2p security type pin the key refers to pin code
[in]pSecExtParamsEnterprise parameters - identity, identity length, Anonymous, Anonymous length, CertIndex (not supported, certificates need to be placed in a specific file ID), EapMethod.Use NULL in case Enterprise parameters is not in use
[in]Priorityprofile priority. Lowest priority: 0
[in]OptionsNot supported
-
-
-
Returns
On success, profile stored index is returned. On error, negative value is returned
-
See also
sl_WlanProfileGet , sl_WlanProfileDel
-
Note
belongs to ext_api
-
Warning
Only one Enterprise profile is supported. Please Note that in case of adding an existing profile (compared by pName,pMACAddr and security type) the old profile will be deleted and the same index will be returned. SL_SEC_TYPE_WPA is a deprecated definition, the new definition is SL_SEC_TYPE_WPA_WPA2
- -
-
- -
-
- - - - - - - - -
_i16 sl_WlanProfileDel (_i16 Index)
-
- -

Delete WLAN profile.

-

Delete WLAN profile

-
Parameters
- - -
[in]indexnumber of profile to delete.Possible values are 0 to 6. Index value 255 will delete all saved profiles
-
-
-
Returns
On success, zero is returned. On error, -1 is returned
-
See also
sl_WlanProfileAdd , sl_WlanProfileGet
-
Note
belongs to ext_api
-
Warning
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_i16 sl_WlanProfileGet (_i16 Index,
_i8 * pName,
_i16 * pNameLen,
_u8 * pMacAddr,
SlSecParams_tpSecParams,
SlGetSecParamsExt_tpSecExtParams,
_u32 * pPriority 
)
-
- -

get profile

-

read profile from the device

-
Parameters
- - - - - - - - -
[in]Indexprofile stored index, if index does not exists error is return
[out]pNameup to 32 bytes, in case of sta mode the name of the Access Point in case of p2p mode the name of the Remote Device
[out]pNameLenname length
[out]pMacAddr6 bytes for MAC address
[out]pSecParamssecurity parameters - security type (LAN_SEC_UNSEC, WLAN_SEC_WEP, WLAN_SEC_WPA or WLAN_SEC_WPA2, WLAN_SEC_P2P_PBC, WLAN_SEC_P2P_PIN_KEYPAD or WLAN_SEC_P2P_DISPLAY), key and key length are not in case of p2p security type pin the key refers to pin code return due to security reasons.
[out]pSecExtParamsenterprise parameters - identity, identity length, Anonymous, Anonymous length CertIndex (not supported), EapMethod.
[out]Priorityprofile priority
-
-
-
Returns
On success, Profile security type is returned (0 or positive number). On error, -1 is returned
-
See also
sl_WlanProfileAdd , sl_WlanProfileDel
-
Note
belongs to ext_api
-
Warning
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SlrxFilterID_t sl_WlanRxFilterAdd (SlrxFilterRuleType_t RuleType,
SlrxFilterFlags_t FilterFlags,
const SlrxFilterRule_t *const Rule,
const SlrxFilterTrigger_t *const Trigger,
const SlrxFilterAction_t *const Action,
SlrxFilterID_t * pFilterId 
)
-
- -

Adds new filter rule to the system.

-
Parameters
- - - - - - - -
[in]RuleTypeThe rule type
[in]FilterFlagsFlags which set the type of header rule Args and sets the persistent flag
[in]pRuleDetermine the filter rule logic
[in]pTriggerDetermine when the rule is triggered also sets rule parent.
[in]pActionSets the action to be executed in case the match functions pass
[out]pFilterIdThe filterId which was created
-
-
-
Returns
On success, zero is returned. Otherwise error code is returned
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
_i16 sl_WlanRxFilterGet (const SLrxFilterOperation_t RxFilterOperation,
_u8 * pOutputBuffer,
_u16 OutputbufferLength 
)
-
- -

Gets parameters of Rx filters.

-
Parameters
- - - - -
[in]RxFilterOperationpossible operations :
    -
  • SL_FILTER_RETRIEVE_ENABLE_STATE - Retrieves the enable disable status
  • -
  • SL_FILTER_PRE_PREPARED_RETRIEVE_CREATE_REMOVE_STATE - Retrieves the pre-prepared filters creation status
  • -
-
[in]pOutputBufferThe buffer input is _WlanRxFilterRetrieveEnableStatusCommandResponseBuff_t: -
[in]OutputbufferLengthThe length in byte of the output buffer
-
-
-
Returns
On success, zero is returned. Otherwise error code is returned
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
_i16 sl_WlanRxFilterSet (const SLrxFilterOperation_t RxFilterOperation,
const _u8 *const pInputBuffer,
_u16 InputbufferLength 
)
-
- -

Sets parameters to Rx filters.

-
Parameters
- - - -
[in]RxFilterOperationpossible operations :
    -
  • SL_ENABLE_DISABLE_RX_FILTER - Enables filter in a filter list
  • -
  • SL_REMOVE_RX_FILTER - Removes filter from memory ( to remove from flash call SL_STORE_RX_FILTERS after this command)
  • -
  • SL_STORE_RX_FILTERS - Save the filters for persistent
  • -
  • SL_UPDATE_RX_FILTER_ARGS - Update the arguments of existing filter
  • -
  • SL_FILTER_PRE_PREPARED_SET_CREATE_REMOVE_STATE - Change the default creation of the pre-prepared filters
  • -
-
[in]pInputBufferoptions: The buffer input is _WlanRxFilterOperationCommandBuff_t:
    -
  • SL_ENABLE_DISABLE_RX_FILTER
  • -
-
-
-
- -
Parameters
- - -
[in]InputbufferLengthThe length in byte of the input buffer
-
-
-
Returns
On success, zero is returned. Otherwise error code is returned
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
_i16 sl_WlanRxStatGet (SlGetRxStatResponse_tpRxStat,
_u32 Flags 
)
-
- -

Get wlan RX statistics. upon calling this command, the statistics counters will be cleared.

-
Parameters
- - - -
[in]Flagsshould be 0 ( not applicable right now, will be added the future )
[in]pRxStata pointer to SlGetRxStatResponse_t filled with Rx statistics results
-
-
-
Returns
On success, zero is returned. On error, -1 is returned
-
See also
sl_WlanRxStatStart sl_WlanRxStatStop
-
Note
belongs to ext_api
-
Warning
- -
-
- -
-
- - - - - - - - -
_i16 sl_WlanRxStatStart (void )
-
- -

Start collecting wlan RX statistics, for unlimited time.

-
Returns
On success, zero is returned. On error, -1 is returned
-
See also
sl_WlanRxStatStop sl_WlanRxStatGet
-
Note
belongs to ext_api
-
Warning
This API is deprecated and should be removed for next release
-
Example:
Getting wlan RX statistics:
-
-
void RxStatCollectTwice()
-
{
- -
_i16 rawSocket;
-
_i8 DataFrame[200];
-
struct SlTimeval_t timeval;
-
timeval.tv_sec = 0; // Seconds
-
timeval.tv_usec = 20000; // Microseconds. 10000 microseconds resolution
-
-
sl_WlanRxStatStart(); // set statistics mode
-
-
rawSocket = sl_Socket(SL_AF_RF, SL_SOCK_RAW, eChannel);
-
// set timeout - in case we have no activity for the specified channel
-
sl_SetSockOpt(rawSocket,SL_SOL_SOCKET,SL_SO_RCVTIMEO, &timeval, sizeof(timeval)); // Enable receive timeout
-
status = sl_Recv(rawSocket, DataFrame, sizeof(DataFrame), 0);
-
-
Sleep(1000); // sleep for 1 sec
-
sl_WlanRxStatGet(&rxStat,0); // statistics has been cleared upon read
-
Sleep(1000); // sleep for 1 sec
-
sl_WlanRxStatGet(&rxStat,0);
-
-
}
-
- -
-
- -
-
- - - - - - - - -
_i16 sl_WlanRxStatStop (void )
-
- -

Stop collecting wlan RX statistic, (if previous called sl_WlanRxStatStart)

-
Returns
On success, zero is returned. On error, -1 is returned
-
See also
sl_WlanRxStatStart sl_WlanRxStatGet
-
Note
belongs to ext_api
-
Warning
This API is deprecated and should be removed for next release
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_i16 sl_WlanSet (_u16 ConfigId,
_u16 ConfigOpt,
_u16 ConfigLen,
_u8 * pValues 
)
-
- -

Internal function for setting WLAN configurations.

-
Returns
On success, zero is returned. On error one of the following error codes returned:
    -
  • CONF_ERROR (-1)
  • -
  • CONF_NVMEM_ACCESS_FAILED (-2)
  • -
  • CONF_OLD_FILE_VERSION (-3)
  • -
  • CONF_ERROR_NO_SUCH_COUNTRY_CODE (-4)
  • -
-
-
Parameters
- - - - - -
[in]ConfigId- configuration id
    -
  • SL_WLAN_CFG_AP_ID
  • -
  • SL_WLAN_CFG_GENERAL_PARAM_ID
  • -
  • SL_WLAN_CFG_P2P_PARAM_ID
  • -
-
[in]ConfigOpt- configurations option
    -
  • SL_WLAN_CFG_AP_ID
      -
    • WLAN_AP_OPT_SSID
      - Set SSID for AP mode.
      - This options takes _u8 buffer as parameter
    • -
    • WLAN_AP_OPT_CHANNEL
      - Set channel for AP mode.
      - The channel is dependant on the country code which is set. i.e. for "US" the channel should be in the range of [1-11]
      - This option takes _u8 as a parameter
    • -
    • WLAN_AP_OPT_HIDDEN_SSID
      - Set Hidden SSID Mode for AP mode.Hidden options:
      - 0: disabled
      - 1: Send empty (length=0) SSID in beacon and ignore probe request for broadcast SSID
      - 2: Clear SSID (ASCII 0), but keep the original length (this may be required with some
      - clients that do not support empty SSID) and ignore probe requests for broadcast SSID
      - This option takes _u8 as a parameter
    • -
    • WLAN_AP_OPT_SECURITY_TYPE
      - Set Security type for AP mode. Security options are:
        -
      • Open security: SL_SEC_TYPE_OPEN
      • -
      • WEP security: SL_SEC_TYPE_WEP
      • -
      • WPA security: SL_SEC_TYPE_WPA_WPA2
        - This option takes _u8 pointer as a parameter
      • -
      -
    • -
    • WLAN_AP_OPT_PASSWORD
      - Set Password for for AP mode (for WEP or for WPA):
      - Password - for WPA: 8 - 63 characters
      - for WEP: 5 / 13 characters (ascii)
      - This options takes _u8 buffer as parameter
    • -
    -
  • -
  • SL_WLAN_CFG_GENERAL_PARAM_ID
      -
    • WLAN_GENERAL_PARAM_OPT_COUNTRY_CODE
      - Set Country Code for AP mode
      - This options takes _u8 2 bytes buffer as parameter
    • -
    • WLAN_GENERAL_PARAM_OPT_STA_TX_POWER
      - Set STA mode Tx power level
      - Number between 0-15, as dB offset from max power (0 will set MAX power)
      - This options takes _u8 as parameter
    • -
    • WLAN_GENERAL_PARAM_OPT_AP_TX_POWER Set AP mode Tx power level
      - Number between 0-15, as dB offset from max power (0 will set MAX power)
      - This options takes _u8 as parameter
    • -
    • WLAN_GENERAL_PARAM_OPT_INFO_ELEMENT Set Info Element for AP mode.
      - The Application can set up to MAX_PRIVATE_INFO_ELEMENTS_SUPPROTED info elements per Role (AP / P2P GO).
      - To delete an info element use the relevant index and length = 0.
      - The Application can set up to MAX_PRIVATE_INFO_ELEMENTS_SUPPROTED to the same role.
      - However, for AP - no more than INFO_ELEMENT_MAX_TOTAL_LENGTH_AP bytes can be stored for all info elements.
      - For P2P GO - no more than INFO_ELEMENT_MAX_TOTAL_LENGTH_P2P_GO bytes can be stored for all info elements.
      - This option takes sl_protocol_WlanSetInfoElement_t as parameter
    • -
    -
  • -
  • SL_WLAN_CFG_P2P_PARAM_ID
      -
    • WLAN_P2P_OPT_DEV_TYPE
      - Set P2P Device type.Maximum length of 17 characters. Device type is published under P2P I.E,
      - allows to make devices easier to recognize.
      - In case no device type is set, the default type is "1-0050F204-1"
      - This options takes _u8 buffer as parameter
    • -
    • WLAN_P2P_OPT_CHANNEL_N_REGS
      - Set P2P Channels.
      - listen channel (either 1/6/11 for 2.4GHz)
      - listen regulatory class (81 for 2.4GHz)
      - oper channel (either 1/6/11 for 2.4GHz)
      - oper regulatory class (81 for 2.4GHz)
      - listen channel and regulatory class will determine the device listen channel during p2p find listen phase
      - oper channel and regulatory class will determine the operating channel preferred by this device (in case it is group owner this will be the operating channel)
      - channels should be one of the social channels (1/6/11). In case no listen/oper channel selected, a random 1/6/11 will be selected. This option takes pointer to _u8[4] as parameter
    • -
    -
  • -
-
[in]ConfigLen- configurations len
[in]pValues- configurations values
-
-
-
See also
-
Note
-
Warning
-
Examples:
-
WLAN_AP_OPT_SSID:
_u8 str[33];
-
memset(str, 0, 33);
-
memcpy(str, ssid, len); // ssid string of 32 characters
-
sl_WlanSet(SL_WLAN_CFG_AP_ID, WLAN_AP_OPT_SSID, strlen(ssid), str);
-
-
WLAN_AP_OPT_CHANNEL:
_u8 val = channel;
-
sl_WlanSet(SL_WLAN_CFG_AP_ID, WLAN_AP_OPT_CHANNEL, 1, (_u8 *)&val);
-
-
WLAN_AP_OPT_HIDDEN_SSID:
_u8 val = hidden;
-
sl_WlanSet(SL_WLAN_CFG_AP_ID, WLAN_AP_OPT_HIDDEN_SSID, 1, (_u8 *)&val);
-
-
WLAN_AP_OPT_SECURITY_TYPE:
_u8 val = SL_SEC_TYPE_WPA_WPA2;
-
sl_WlanSet(SL_WLAN_CFG_AP_ID, WLAN_AP_OPT_SECURITY_TYPE, 1, (_u8 *)&val);
-
-
WLAN_AP_OPT_PASSWORD:
_u8 str[65];
-
_u16 len = strlen(password);
-
memset(str, 0, 65);
-
memcpy(str, password, len);
-
sl_WlanSet(SL_WLAN_CFG_AP_ID, WLAN_AP_OPT_PASSWORD, len, (_u8 *)str);
-
-
WLAN_GENERAL_PARAM_OPT_STA_TX_POWER:
_u8 stapower=(_u8)power;
-
sl_WlanSet(SL_WLAN_CFG_GENERAL_PARAM_ID, WLAN_GENERAL_PARAM_OPT_STA_TX_POWER,1,(_u8 *)&stapower);
-
-
WLAN_GENERAL_PARAM_OPT_COUNTRY_CODE:
_u8* str = (_u8 *) country; // string of 2 characters. i.e. - "US"
-
sl_WlanSet(SL_WLAN_CFG_GENERAL_PARAM_ID, WLAN_GENERAL_PARAM_OPT_COUNTRY_CODE, 2, str);
-
-
WLAN_GENERAL_PARAM_OPT_AP_TX_POWER:
_u8 appower=(_u8)power;
-
sl_WlanSet(SL_WLAN_CFG_GENERAL_PARAM_ID, WLAN_GENERAL_PARAM_OPT_AP_TX_POWER,1,(_u8 *)&appower);
-
-
WLAN_P2P_OPT_DEV_TYPE:
_u8 str[17];
-
_u16 len = strlen(device_type);
-
memset(str, 0, 17);
-
memcpy(str, device_type, len);
-
sl_WlanSet(SL_WLAN_CFG_P2P_PARAM_ID, WLAN_P2P_OPT_DEV_TYPE, len, str);
-
-
WLAN_P2P_OPT_CHANNEL_N_REGS:
_u8 str[4];
-
str[0] = (_u8)11; // listen channel
-
str[1] = (_u8)81; // listen regulatory class
-
str[2] = (_u8)6; // oper channel
-
str[3] = (_u8)81; // oper regulatory class
-
sl_WlanSet(SL_WLAN_CFG_P2P_PARAM_ID, WLAN_P2P_OPT_CHANNEL_N_REGS, 4, str);
-
-
WLAN_GENERAL_PARAM_OPT_INFO_ELEMENT:
-
infoele.index = Index; // Index of the info element. range: 0 - MAX_PRIVATE_INFO_ELEMENTS_SUPPROTED
-
infoele.role = Role; // INFO_ELEMENT_AP_ROLE (0) or INFO_ELEMENT_P2P_GO_ROLE (1)
-
infoele.ie.id = Id; // Info element ID. if INFO_ELEMENT_DEFAULT_ID (0) is set, ID will be set to 221.
-
// Organization unique ID. If all 3 bytes are zero - it will be replaced with 08,00,28.
-
infoele.ie.oui[0] = Oui0; // Organization unique ID first Byte
-
infoele.ie.oui[1] = Oui1; // Organization unique ID second Byte
-
infoele.ie.oui[2] = Oui2; // Organization unique ID third Byte
-
infoele.ie.length = Len; // Length of the info element. must be smaller than 253 bytes
-
memset(infoele.ie.data, 0, INFO_ELEMENT_MAX_SIZE);
-
if ( Len <= INFO_ELEMENT_MAX_SIZE )
-
{
-
memcpy(infoele.ie.data, IE, Len); // Info element. length of the info element is [0-252]
-
sl_WlanSet(SL_WLAN_CFG_GENERAL_PARAM_ID,WLAN_GENERAL_PARAM_OPT_INFO_ELEMENT,sizeof(sl_protocol_WlanSetInfoElement_t),(_u8* ) &infoele);
-
}
-
sl_WlanSet(SL_WLAN_CFG_GENERAL_PARAM_ID,WLAN_GENERAL_PARAM_OPT_INFO_ELEMENT,sizeof(sl_protocol_WlanSetInfoElement_t),(_u8* ) &infoele);
-
- -
-
- -
-
- - - - - - - - -
_i16 sl_WlanSetMode (const _u8 mode)
-
- -

Wlan set mode.

-

Setting WLAN mode

-
Parameters
- - -
[in]mode- WLAN mode to start the CC31xx device. Possible options are:
    -
  • ROLE_STA - for WLAN station mode
  • -
  • ROLE_AP - for WLAN AP mode
  • -
  • ROLE_P2P -for WLAN P2P mode
  • -
-
-
-
-
Returns
0 - if mode was set correctly
-
See also
sl_Start sl_Stop
-
Note
belongs to ext_api
-
Warning
After setting the mode the system must be restarted for activating the new mode
-
Example:
//Switch from any role to STA:
-
sl_WlanSetMode(ROLE_STA);
- -
sl_Start(NULL,NULL,NULL);
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_i16 sl_WlanSmartConfigStart (const _u32 groupIdBitmask,
const _u8 cipher,
const _u8 publicKeyLen,
const _u8 group1KeyLen,
const _u8 group2KeyLen,
const _u8 * publicKey,
const _u8 * group1Key,
const _u8 * group2Key 
)
-
- -

Start Smart Config procedure.

-
The target of the procedure is to let the
- device to gain the network parameters: SSID and Password (if network is secured)
- and to connect to it once located in the network range.
- An external application should be used on a device connected to any mobile network.
- The external application will transmit over the air the network parameters in secured manner.
- The Password may be decrypted using a Key.
- The decryption method may be decided in the command or embedded in the Flash.
- The procedure can be activated for 1-3 group ID in the range of BIT_0 - BIT_15 where the default group ID id 0 (BIT_0)
- Once Smart Config has ended successfully, Asynchronous event will be received -
- SL_OPCODE_WLAN_SMART_CONFIG_START_ASYNC_RESPONSE.
- The Event will hold the SSID and an extra field that might have been delivered as well (i.e. - device name)
-
Parameters
- - - - - - - - - - -
[in]groupIdBitmask- each bit represent a group ID that should be searched. The Default group ID id BIT_0. 2 more group can be searched in addition. The range is BIT_0 - BIT_15.
[in]chiper- 0: check in flash, 1 - AES, 0xFF - do not check in flash
[in]publicKeyLen- public key len (used for the default group ID - BIT_0)
[in]group1KeyLen- group ID1 length
[in]group2KeyLen- group ID2 length
[in]publicKey- public key (used for the default group ID - BIT_0)
[in]group1Key- group ID1 key
[in]group2Key- group ID2 key
[out]none
-
-
-
Returns
0 - if Smart Config started successfully.
-
See also
sl_WlanSmartConfigStop
-
Note
belongs to ext_api
-
Warning
-
An example of starting smart Config on group ID's 0 + 1 + 2
-
-
sl_WlanSmartConfigStart(7, //group ID's (BIT_0 | BIT_1 | BIT_2)
-
1, //decrypt key by AES method
-
16, //decryption key length for group ID0
-
16, //decryption key length for group ID1
-
16, //decryption key length for group ID2
-
"Key0Key0Key0Key0", //decryption key for group ID0
-
"Key1Key1Key1Key1", //decryption key for group ID1
-
"Key2Key2Key2Key2" //decryption key for group ID2
-
);
-
- -
-
- -
-
- - - - - - - - -
_i16 sl_WlanSmartConfigStop (void )
-
- -

Stop Smart Config procedure. Once Smart Config will be stopped, Asynchronous event will be received - SL_OPCODE_WLAN_SMART_CONFIG_STOP_ASYNC_RESPONSE.

-
Parameters
- - - -
[in]none
[out]none
-
-
-
Returns
0 - if Stop Smart Config is about to be executed without errors.
-
See also
sl_WlanSmartConfigStart
-
Note
belongs to ext_api
-
Warning
This API is deprecated and should be removed for next release
- -
-
-
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: Wlan + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Data Structures

struct  slSmartConfigStartAsyncResponse_t
 
struct  slSmartConfigStopAsyncResponse_t
 
struct  slWlanConnFailureAsyncResponse_t
 
struct  slWlanConnectAsyncResponse_t
 
struct  slPeerInfoAsyncResponse_t
 
union  SlWlanEventData_u
 
struct  SlWlanEvent_t
 
struct  SlGetRxStatResponse_t
 
struct  Sl_WlanNetworkEntry_t
 
struct  SlSecParams_t
 
struct  SlSecParamsExt_t
 
struct  SlGetSecParamsExt_t
 
struct  slWlanScanParamCommand_t
 
struct  sl_protocol_InfoElement_t
 
struct  sl_protocol_WlanSetInfoElement_t
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Macros

+#define SL_BSSID_LENGTH   (6)
 
+#define MAXIMAL_SSID_LENGTH   (32)
 
+#define NUM_OF_RATE_INDEXES   (20)
 
+#define SIZE_OF_RSSI_HISTOGRAM   (6)
 
+#define SL_DISCONNECT_RESERVED_0   (0)
 
+#define SL_DISCONNECT_UNSPECIFIED_REASON   (1)
 
+#define SL_PREVIOUS_AUTHENTICATION_NO_LONGER_VALID   (2)
 
+#define SL_DEAUTHENTICATED_BECAUSE_SENDING_STATION_IS_LEAVING   (3)
 
+#define SL_DISASSOCIATED_DUE_TO_INACTIVITY   (4)
 
+#define SL_DISASSOCIATED_BECAUSE_AP_IS_UNABLE_TO_HANDLE_ALL_CURRENTLY_ASSOCIATED_STATIONS   (5)
 
+#define SL_CLASS_2_FRAME_RECEIVED_FROM_NONAUTHENTICATED_STATION   (6)
 
+#define SL_CLASS_3_FRAME_RECEIVED_FROM_NONASSOCIATED_STATION   (7)
 
+#define SL_DISASSOCIATED_BECAUSE_SENDING_STATION_IS_LEAVING_BSS   (8)
 
+#define SL_STATION_REQUESTING_ASSOCIATION_IS_NOT_AUTHENTICATED_WITH_RESPONDING_STATION   (9)
 
+#define SL_DISASSOCIATED_BECAUSE_THE_INFORMATION_IN_THE_POWER_CAPABILITY_ELEMENT_IS_UNACCEPTABLE   (10)
 
+#define SL_DISASSOCIATED_BECAUSE_THE_INFORMATION_IN_THE_SUPPORTED_CHANNELS_ELEMENT_IS_UNACCEPTABLE   (11)
 
+#define SL_DISCONNECT_RESERVED_1   (12)
 
+#define SL_INVALID_INFORMATION_ELEMENT   (13)
 
+#define SL_MESSAGE_INTEGRITY_CODE_MIC_FAILURE   (14)
 
+#define SL_FOUR_WAY_HANDSHAKE_TIMEOUT   (15)
 
+#define SL_GROUP_KEY_HANDSHAKE_TIMEOUT   (16)
 
+#define SL_RE_ASSOCIATION_REQUEST_PROBE_RESPONSE_BEACON_FRAME   (17)
 
+#define SL_INVALID_GROUP_CIPHER   (18)
 
+#define SL_INVALID_PAIRWISE_CIPHER   (19)
 
+#define SL_INVALID_AKMP   (20)
 
+#define SL_UNSUPPORTED_RSN_INFORMATION_ELEMENT_VERSION   (21)
 
+#define SL_INVALID_RSN_INFORMATION_ELEMENT_CAPABILITIES   (22)
 
+#define SL_IEEE_802_1X_AUTHENTICATION_FAILED   (23)
 
+#define SL_CIPHER_SUITE_REJECTED_BECAUSE_OF_THE_SECURITY_POLICY   (24)
 
+#define SL_DISCONNECT_RESERVED_2   (25)
 
+#define SL_DISCONNECT_RESERVED_3   (26)
 
+#define SL_DISCONNECT_RESERVED_4   (27)
 
+#define SL_DISCONNECT_RESERVED_5   (28)
 
+#define SL_DISCONNECT_RESERVED_6   (29)
 
+#define SL_DISCONNECT_RESERVED_7   (30)
 
+#define SL_DISCONNECT_RESERVED_8   (31)
 
+#define SL_USER_INITIATED_DISCONNECTION   (200)
 
+#define SL_ERROR_KEY_ERROR   (-3)
 
+#define SL_ERROR_INVALID_ROLE   (-71)
 
+#define SL_ERROR_INVALID_SECURITY_TYPE   (-84)
 
+#define SL_ERROR_PASSPHRASE_TOO_LONG   (-85)
 
+#define SL_ERROR_WPS_NO_PIN_OR_WRONG_PIN_LEN   (-87)
 
+#define SL_ERROR_EAP_WRONG_METHOD   (-88)
 
+#define SL_ERROR_PASSWORD_ERROR   (-89)
 
+#define SL_ERROR_EAP_ANONYMOUS_LEN_ERROR   (-90)
 
+#define SL_ERROR_SSID_LEN_ERROR   (-91)
 
+#define SL_ERROR_USER_ID_LEN_ERROR   (-92)
 
+#define SL_ERROR_ILLEGAL_WEP_KEY_INDEX   (-95)
 
+#define SL_ERROR_INVALID_DWELL_TIME_VALUES   (-96)
 
+#define SL_ERROR_INVALID_POLICY_TYPE   (-97)
 
+#define SL_ERROR_PM_POLICY_INVALID_OPTION   (-98)
 
+#define SL_ERROR_PM_POLICY_INVALID_PARAMS   (-99)
 
+#define SL_ERROR_WIFI_ALREADY_DISCONNECTED   (-129)
 
+#define SL_ERROR_WIFI_NOT_CONNECTED   (-59)
 
+#define SL_SEC_TYPE_OPEN   (0)
 
+#define SL_SEC_TYPE_WEP   (1)
 
+#define SL_SEC_TYPE_WPA   (2) /* deprecated */
 
+#define SL_SEC_TYPE_WPA_WPA2   (2)
 
+#define SL_SEC_TYPE_WPS_PBC   (3)
 
+#define SL_SEC_TYPE_WPS_PIN   (4)
 
+#define SL_SEC_TYPE_WPA_ENT   (5)
 
+#define SL_SEC_TYPE_P2P_PBC   (6)
 
+#define SL_SEC_TYPE_P2P_PIN_KEYPAD   (7)
 
+#define SL_SEC_TYPE_P2P_PIN_DISPLAY   (8)
 
+#define SL_SEC_TYPE_P2P_PIN_AUTO   (9) /* NOT Supported yet */
 
+#define SL_SCAN_SEC_TYPE_OPEN   (0)
 
+#define SL_SCAN_SEC_TYPE_WEP   (1)
 
+#define SL_SCAN_SEC_TYPE_WPA   (2)
 
+#define SL_SCAN_SEC_TYPE_WPA2   (3)
 
+#define TLS   (0x1)
 
+#define MSCHAP   (0x0)
 
+#define PSK   (0x2)
 
+#define TTLS   (0x10)
 
+#define PEAP0   (0x20)
 
+#define PEAP1   (0x40)
 
+#define FAST   (0x80)
 
+#define FAST_AUTH_PROVISIONING   (0x02)
 
+#define FAST_UNAUTH_PROVISIONING   (0x01)
 
+#define FAST_NO_PROVISIONING   (0x00)
 
+#define EAPMETHOD_PHASE2_SHIFT   (8)
 
+#define EAPMETHOD_PAIRWISE_CIPHER_SHIFT   (19)
 
+#define EAPMETHOD_GROUP_CIPHER_SHIFT   (27)
 
+#define WPA_CIPHER_CCMP   (0x1)
 
+#define WPA_CIPHER_TKIP   (0x2)
 
+#define CC31XX_DEFAULT_CIPHER   (WPA_CIPHER_CCMP | WPA_CIPHER_TKIP)
 
#define EAPMETHOD(phase1, phase2, pairwise_cipher, group_cipher)
 
+#define SL_ENT_EAP_METHOD_TLS   EAPMETHOD(TLS , 0 , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
 
+#define SL_ENT_EAP_METHOD_TTLS_TLS   EAPMETHOD(TTLS , TLS , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
 
+#define SL_ENT_EAP_METHOD_TTLS_MSCHAPv2   EAPMETHOD(TTLS , MSCHAP , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
 
+#define SL_ENT_EAP_METHOD_TTLS_PSK   EAPMETHOD(TTLS , PSK , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
 
+#define SL_ENT_EAP_METHOD_PEAP0_TLS   EAPMETHOD(PEAP0 , TLS , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
 
+#define SL_ENT_EAP_METHOD_PEAP0_MSCHAPv2   EAPMETHOD(PEAP0 , MSCHAP , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
 
+#define SL_ENT_EAP_METHOD_PEAP0_PSK   EAPMETHOD(PEAP0 , PSK , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
 
+#define SL_ENT_EAP_METHOD_PEAP1_TLS   EAPMETHOD(PEAP1 , TLS , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
 
+#define SL_ENT_EAP_METHOD_PEAP1_MSCHAPv2   EAPMETHOD(PEAP1 , MSCHAP , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
 
+#define SL_ENT_EAP_METHOD_PEAP1_PSK   EAPMETHOD(PEAP1 , PSK , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
 
+#define SL_ENT_EAP_METHOD_FAST_AUTH_PROVISIONING   EAPMETHOD(FAST , FAST_AUTH_PROVISIONING , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
 
+#define SL_ENT_EAP_METHOD_FAST_UNAUTH_PROVISIONING   EAPMETHOD(FAST , FAST_UNAUTH_PROVISIONING , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
 
+#define SL_ENT_EAP_METHOD_FAST_NO_PROVISIONING   EAPMETHOD(FAST , FAST_NO_PROVISIONING , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
 
+#define SL_LONG_PREAMBLE   (0)
 
+#define SL_SHORT_PREAMBLE   (1)
 
+#define SL_RAW_RF_TX_PARAMS_CHANNEL_SHIFT   (0)
 
+#define SL_RAW_RF_TX_PARAMS_RATE_SHIFT   (6)
 
+#define SL_RAW_RF_TX_PARAMS_POWER_SHIFT   (11)
 
+#define SL_RAW_RF_TX_PARAMS_PREAMBLE_SHIFT   (15)
 
#define SL_RAW_RF_TX_PARAMS(chan, rate, power, preamble)
 
+#define SL_WLAN_CFG_AP_ID   (0)
 
+#define SL_WLAN_CFG_GENERAL_PARAM_ID   (1)
 
+#define SL_WLAN_CFG_P2P_PARAM_ID   (2)
 
+#define WLAN_AP_OPT_SSID   (0)
 
+#define WLAN_AP_OPT_CHANNEL   (3)
 
+#define WLAN_AP_OPT_HIDDEN_SSID   (4)
 
+#define WLAN_AP_OPT_SECURITY_TYPE   (6)
 
+#define WLAN_AP_OPT_PASSWORD   (7)
 
+#define WLAN_GENERAL_PARAM_OPT_COUNTRY_CODE   (9)
 
+#define WLAN_GENERAL_PARAM_OPT_STA_TX_POWER   (10)
 
+#define WLAN_GENERAL_PARAM_OPT_AP_TX_POWER   (11)
 
+#define WLAN_P2P_OPT_DEV_NAME   (12)
 
+#define WLAN_P2P_OPT_DEV_TYPE   (13)
 
+#define WLAN_P2P_OPT_CHANNEL_N_REGS   (14)
 
+#define WLAN_GENERAL_PARAM_OPT_INFO_ELEMENT   (16)
 
+#define WLAN_GENERAL_PARAM_OPT_SCAN_PARAMS   (18) /* change the scan channels and RSSI threshold using this configuration option */
 
+#define SMART_CONFIG_CIPHER_SFLASH   (0) /* password is not delivered by the application. The Simple Manager should */
 
+#define SMART_CONFIG_CIPHER_AES   (1) /* AES (other types are not supported) */
 
+#define SMART_CONFIG_CIPHER_NONE   (0xFF) /* do not check in the flash */
 
+#define SL_POLICY_CONNECTION   (0x10)
 
+#define SL_POLICY_SCAN   (0x20)
 
+#define SL_POLICY_PM   (0x30)
 
+#define SL_POLICY_P2P   (0x40)
 
+#define VAL_2_MASK(position, value)   ((1 & (value))<<(position))
 
+#define MASK_2_VAL(position, mask)   (((1 << position) & (mask)) >> (position))
 
+#define SL_CONNECTION_POLICY(Auto, Fast, Open, anyP2P, autoSmartConfig)   (VAL_2_MASK(0,Auto) | VAL_2_MASK(1,Fast) | VAL_2_MASK(2,Open) | VAL_2_MASK(3,anyP2P) | VAL_2_MASK(4,autoSmartConfig))
 
+#define SL_SCAN_POLICY_EN(policy)   (MASK_2_VAL(0,policy))
 
+#define SL_SCAN_POLICY(Enable)   (VAL_2_MASK(0,Enable))
 
+#define SL_NORMAL_POLICY   (0)
 
+#define SL_LOW_LATENCY_POLICY   (1)
 
+#define SL_LOW_POWER_POLICY   (2)
 
+#define SL_ALWAYS_ON_POLICY   (3)
 
+#define SL_LONG_SLEEP_INTERVAL_POLICY   (4)
 
+#define SL_P2P_ROLE_NEGOTIATE   (3)
 
+#define SL_P2P_ROLE_GROUP_OWNER   (15)
 
+#define SL_P2P_ROLE_CLIENT   (0)
 
+#define SL_P2P_NEG_INITIATOR_ACTIVE   (0)
 
+#define SL_P2P_NEG_INITIATOR_PASSIVE   (1)
 
+#define SL_P2P_NEG_INITIATOR_RAND_BACKOFF   (2)
 
+#define POLICY_VAL_2_OPTIONS(position, mask, policy)   ((mask & policy) << position )
 
#define SL_P2P_POLICY(p2pNegType, p2pNegInitiator)
 
+#define INFO_ELEMENT_DEFAULT_ID   (0) /* 221 will be used */
 
+#define INFO_ELEMENT_MAX_SIZE   (252)
 
+#define INFO_ELEMENT_MAX_TOTAL_LENGTH_AP   (300)
 
+#define INFO_ELEMENT_MAX_TOTAL_LENGTH_P2P_GO   (160)
 
+#define INFO_ELEMENT_AP_ROLE   (0)
 
+#define INFO_ELEMENT_P2P_GO_ROLE   (1)
 
+#define MAX_PRIVATE_INFO_ELEMENTS_SUPPROTED   (4)
 
+#define INFO_ELEMENT_DEFAULT_OUI_0   (0x08)
 
+#define INFO_ELEMENT_DEFAULT_OUI_1   (0x00)
 
+#define INFO_ELEMENT_DEFAULT_OUI_2   (0x28)
 
+#define INFO_ELEMENT_DEFAULT_OUI   (0x000000) /* 08, 00, 28 will be used */
 
+ + + + + + + +

+Enumerations

enum  SlRateIndex_e {
+  RATE_1M = 1, +RATE_2M = 2, +RATE_5_5M = 3, +RATE_11M = 4, +
+  RATE_6M = 6, +RATE_9M = 7, +RATE_12M = 8, +RATE_18M = 9, +
+  RATE_24M = 10, +RATE_36M = 11, +RATE_48M = 12, +RATE_54M = 13, +
+  RATE_MCS_0 = 14, +RATE_MCS_1 = 15, +RATE_MCS_2 = 16, +RATE_MCS_3 = 17, +
+  RATE_MCS_4 = 18, +RATE_MCS_5 = 19, +RATE_MCS_6 = 20, +RATE_MCS_7 = 21, +
+  MAX_NUM_RATES = 0xFF +
+ }
 
enum  sl_p2p_dev_password_method { DEV_PW_DEFAULT =0, +DEV_PW_PIN_KEYPAD =1, +DEV_PW_PUSH_BUTTON =4, +DEV_PW_PIN_DISPLAY =5 + }
 
enum  SlWlanMode_t {
+  ROLE_STA = 0, +ROLE_AP = 2, +ROLE_P2P = 3, +ROLE_STA_ERR = -1, +
+  ROLE_AP_ERR = -ROLE_AP, +ROLE_P2P_ERR = -ROLE_P2P +
+ }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

_i16 sl_WlanConnect (const _i8 *pName, const _i16 NameLen, const _u8 *pMacAddr, const SlSecParams_t *pSecParams, const SlSecParamsExt_t *pSecExtParams)
 Connect to wlan network as a station. More...
 
_i16 sl_WlanDisconnect (void)
 wlan disconnect More...
 
_i16 sl_WlanProfileAdd (const _i8 *pName, const _i16 NameLen, const _u8 *pMacAddr, const SlSecParams_t *pSecParams, const SlSecParamsExt_t *pSecExtParams, const _u32 Priority, const _u32 Options)
 add profile More...
 
_i16 sl_WlanProfileGet (const _i16 Index, _i8 *pName, _i16 *pNameLen, _u8 *pMacAddr, SlSecParams_t *pSecParams, SlGetSecParamsExt_t *pSecExtParams, _u32 *pPriority)
 get profile More...
 
_i16 sl_WlanProfileDel (const _i16 Index)
 Delete WLAN profile. More...
 
_i16 sl_WlanPolicySet (const _u8 Type, const _u8 Policy, _u8 *pVal, const _u8 ValLen)
 Set policy values. More...
 
_i16 sl_WlanPolicyGet (const _u8 Type, _u8 Policy, _u8 *pVal, _u8 *pValLen)
 get policy values More...
 
_i16 sl_WlanGetNetworkList (const _u8 Index, const _u8 Count, Sl_WlanNetworkEntry_t *pEntries)
 Gets the WLAN scan operation results. More...
 
_i16 sl_WlanRxStatStart (void)
 Start collecting wlan RX statistics, for unlimited time. More...
 
_i16 sl_WlanRxStatStop (void)
 Stop collecting wlan RX statistic, (if previous called sl_WlanRxStatStart) More...
 
_i16 sl_WlanRxStatGet (SlGetRxStatResponse_t *pRxStat, const _u32 Flags)
 Get wlan RX statistics. upon calling this command, the statistics counters will be cleared. More...
 
_i16 sl_WlanSmartConfigStop (void)
 Stop Smart Config procedure. Once Smart Config will be stopped, Asynchronous event will be received - SL_OPCODE_WLAN_SMART_CONFIG_STOP_ASYNC_RESPONSE. More...
 
_i16 sl_WlanSmartConfigStart (const _u32 groupIdBitmask, const _u8 cipher, const _u8 publicKeyLen, const _u8 group1KeyLen, const _u8 group2KeyLen, const _u8 *publicKey, const _u8 *group1Key, const _u8 *group2Key)
 Start Smart Config procedure. More...
 
_i16 sl_WlanSetMode (const _u8 mode)
 Wlan set mode. More...
 
_i16 sl_WlanSet (const _u16 ConfigId, const _u16 ConfigOpt, const _u16 ConfigLen, const _u8 *pValues)
 Internal function for setting WLAN configurations. More...
 
_i16 sl_WlanGet (const _u16 ConfigId, _u16 *pConfigOpt, _u16 *pConfigLen, _u8 *pValues)
 Internal function for getting WLAN configurations. More...
 
SlrxFilterID_t sl_WlanRxFilterAdd (SlrxFilterRuleType_t RuleType, SlrxFilterFlags_t FilterFlags, const SlrxFilterRule_t *const Rule, const SlrxFilterTrigger_t *const Trigger, const SlrxFilterAction_t *const Action, SlrxFilterID_t *pFilterId)
 Adds new filter rule to the system. More...
 
_i16 sl_WlanRxFilterSet (const SLrxFilterOperation_t RxFilterOperation, const _u8 *const pInputBuffer, _u16 InputbufferLength)
 Sets parameters to Rx filters. More...
 
_i16 sl_WlanRxFilterGet (const SLrxFilterOperation_t RxFilterOperation, _u8 *pOutputBuffer, _u16 OutputbufferLength)
 Gets parameters of Rx filters. More...
 
+

Detailed Description

+

Macro Definition Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#define EAPMETHOD( phase1,
 phase2,
 pairwise_cipher,
 group_cipher 
)
+
+Value:
((phase1) | \
+
((phase2) << EAPMETHOD_PHASE2_SHIFT ) |\
+
((_u32)(pairwise_cipher) << EAPMETHOD_PAIRWISE_CIPHER_SHIFT ) |\
+
((_u32)(group_cipher) << EAPMETHOD_GROUP_CIPHER_SHIFT ))
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
#define SL_P2P_POLICY( p2pNegType,
 p2pNegInitiator 
)
+
+Value:
(POLICY_VAL_2_OPTIONS(0,0xF,(p2pNegType > SL_P2P_ROLE_GROUP_OWNER ? SL_P2P_ROLE_GROUP_OWNER : p2pNegType)) | \
+
POLICY_VAL_2_OPTIONS(4,0x1,(p2pNegType > SL_P2P_ROLE_GROUP_OWNER ? 1:0)) | \
+
POLICY_VAL_2_OPTIONS(5,0x3, p2pNegInitiator))
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#define SL_RAW_RF_TX_PARAMS( chan,
 rate,
 power,
 preamble 
)
+
+Value:
((chan << SL_RAW_RF_TX_PARAMS_CHANNEL_SHIFT) | \
+
(rate << SL_RAW_RF_TX_PARAMS_RATE_SHIFT) | \
+
(power << SL_RAW_RF_TX_PARAMS_POWER_SHIFT) | \
+
(preamble << SL_RAW_RF_TX_PARAMS_PREAMBLE_SHIFT))
+
+
+
+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_i16 sl_WlanConnect (const _i8 * pName,
const _i16 NameLen,
const _u8 * pMacAddr,
const SlSecParams_tpSecParams,
const SlSecParamsExt_tpSecExtParams 
)
+
+ +

Connect to wlan network as a station.

+
Parameters
+ + + + + + +
[in]pNameup to 32 bytes in case of STA the name is the SSID of the Access Point
[in]NameLenname length
[in]pMacAddr6 bytes for MAC address
[in]pSecParamsSecurity parameters (use NULL key for SL_SEC_TYPE_OPEN) Security types options:
+
    +
  • SL_SEC_TYPE_OPEN
  • +
  • SL_SEC_TYPE_WEP
  • +
  • SL_SEC_TYPE_WPA_WPA2
  • +
  • SL_SEC_TYPE_WPA_ENT
  • +
  • SL_SEC_TYPE_WPS_PBC
  • +
  • SL_SEC_TYPE_WPS_PIN
  • +
+
[in]pSecExtParamsEnterprise parameters (set NULL in case Enterprise parameters is not in use)
+
+
+
Returns
On success, zero is returned. On error, negative is returned In case error number (-71) is returned, it indicates a connection was activated while the device it running in AP role
+
See Also
sl_WlanDisconnect
+
Note
belongs to ext_api
+
Warning
In this version only single enterprise mode could be used SL_SEC_TYPE_WPA is a deprecated definition, the new definition is SL_SEC_TYPE_WPA_WPA2
+ +
+
+ +
+
+ + + + + + + + +
_i16 sl_WlanDisconnect (void )
+
+ +

wlan disconnect

+

Disconnect connection

+
Returns
0 disconnected done, other already disconnected
+
See Also
sl_WlanConnect
+
Note
belongs to ext_api
+
Warning
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_i16 sl_WlanGet (const _u16 ConfigId,
_u16 * pConfigOpt,
_u16 * pConfigLen,
_u8 * pValues 
)
+
+ +

Internal function for getting WLAN configurations.

+
Returns
On success, zero is returned. On error, -1 is returned
+
Parameters
+ + + + + +
[in]ConfigId- configuration id
    +
  • SL_WLAN_CFG_AP_ID
  • +
  • SL_WLAN_CFG_GENERAL_PARAM_ID
  • +
  • SL_WLAN_CFG_P2P_PARAM_ID
  • +
+
[out]pConfigOpt- get configurations option
    +
  • SL_WLAN_CFG_AP_ID
      +
    • WLAN_AP_OPT_SSID
      + Get SSID for AP mode.
      + Get up to 32 characters of SSID
      + This options takes _u8 as parameter
    • +
    • WLAN_AP_OPT_CHANNEL
      + Get channel for AP mode.
      + This option takes _u8 as a parameter
    • +
    • WLAN_AP_OPT_HIDDEN_SSID
      + Get Hidden SSID Mode for AP mode.Hidden options:
      + 0: disabled
      + 1: Send empty (length=0) SSID in beacon and ignore probe request for broadcast SSID
      + 2: Clear SSID (ASCII 0), but keep the original length (this may be required with some
      + clients that do not support empty SSID) and ignore probe requests for broadcast SSID
      + This option takes _u8 as a parameter
    • +
    • WLAN_AP_OPT_SECURITY_TYPE
      + Get Security type for AP mode. Security options are:
        +
      • Open security: SL_SEC_TYPE_OPEN
      • +
      • WEP security: SL_SEC_TYPE_WEP
      • +
      • WPA security: SL_SEC_TYPE_WPA_WPA2
        + This option takes _u8 as a parameter
      • +
      +
    • +
    • WLAN_AP_OPT_PASSWORD
      + Get Password for for AP mode (for WEP or for WPA):
      + Returns password - string, fills up to 64 characters.
      + This options takes _u8 buffer as parameter
    • +
    +
  • +
  • SL_WLAN_CFG_GENERAL_PARAM_ID
      +
    • WLAN_GENERAL_PARAM_OPT_SCAN_PARAMS
      + Get scan parameters. This option uses slWlanScanParamCommand_t as parameter
    • +
    • WLAN_GENERAL_PARAM_OPT_COUNTRY_CODE
      + Get Country Code for AP mode
      + This options takes _u8 buffer as parameter
    • +
    • WLAN_GENERAL_PARAM_OPT_STA_TX_POWER
      + Get STA mode Tx power level
      + Number between 0-15, as dB offset from max power (0 indicates MAX power)
      + This options takes _u8 as parameter
    • +
    • WLAN_GENERAL_PARAM_OPT_AP_TX_POWER Get AP mode Tx power level
      + Number between 0-15, as dB offset from max power (0 indicates MAX power)
      + This options takes _u8 as parameter
    • +
    +
  • +
  • SL_WLAN_CFG_P2P_PARAM_ID
      +
    • WLAN_P2P_OPT_CHANNEL_N_REGS
      + Get P2P Channels.
      + listen channel (either 1/6/11 for 2.4GHz)
      + listen regulatory class (81 for 2.4GHz)
      + oper channel (either 1/6/11 for 2.4GHz)
      + oper regulatory class (81 for 2.4GHz)
      + listen channel and regulatory class will determine the device listen channel during p2p find listen phase
      + oper channel and regulatory class will determine the operating channel preferred by this device (in case it is group owner this will be the operating channel)
      + channels should be one of the social channels (1/6/11). In case no listen/oper channel selected, a random 1/6/11 will be selected.
      + This option takes pointer to _u8[4] as parameter
    • +
    +
  • +
+
[out]pConfigLen- The length of the allocated memory as input, when the function complete, the value of this parameter would be the len that actually read from the device. If the device return length that is longer from the input value, the function will cut the end of the returned structure and will return SL_ESMALLBUF.
[out]pValues- get configurations values
+
+
+
See Also
sl_WlanSet
+
Note
+
Warning
+
Examples:
+
WLAN_GENERAL_PARAM_OPT_SCAN_PARAMS:
slWlanScanParamCommand_t ScanParamConfig;
+
_u16 Option = WLAN_GENERAL_PARAM_OPT_SCAN_PARAMS;
+
_u16 OptionLen = sizeof(slWlanScanParamCommand_t);
+
sl_WlanGet(SL_WLAN_CFG_GENERAL_PARAM_ID ,&Option,&OptionLen,(_u8 *)&ScanParamConfig);
+
+
WLAN_GENERAL_PARAM_OPT_AP_TX_POWER:
_i8 TXPower = 0;
+
_u16 Option = WLAN_GENERAL_PARAM_OPT_AP_TX_POWER;
+
_u16 OptionLen = sizeof(_i8);
+
sl_WlanGet(SL_WLAN_CFG_GENERAL_PARAM_ID ,&Option,&OptionLen,(_u8 *)&TXPower);
+
+
WLAN_GENERAL_PARAM_OPT_STA_TX_POWER:
_i8 TXPower = 0;
+
_u16 Option = WLAN_GENERAL_PARAM_OPT_STA_TX_POWER;
+
_u16 OptionLen = sizeof(_i8);
+
+
sl_WlanGet(SL_WLAN_CFG_GENERAL_PARAM_ID ,&Option,&OptionLen,(_u8 *)&TXPower);
+
+
WLAN_P2P_OPT_DEV_TYPE:
_i8 device_type[18];
+
_u16 len = 18;
+
_u16 config_opt = WLAN_P2P_OPT_DEV_TYPE;
+
sl_WlanGet(SL_WLAN_CFG_P2P_PARAM_ID, &config_opt , &len, (_u8* )device_type);
+
+
WLAN_AP_OPT_SSID:
_i8 ssid[32];
+
_u16 len = 32;
+
_u16 config_opt = WLAN_AP_OPT_SSID;
+
sl_WlanGet(SL_WLAN_CFG_AP_ID, &config_opt , &len, (_u8* )ssid);
+
+
WLAN_GENERAL_PARAM_OPT_COUNTRY_CODE:
_i8 country[3];
+
_u16 len = 3;
+
_u16 config_opt = WLAN_GENERAL_PARAM_OPT_COUNTRY_CODE;
+
sl_WlanGet(SL_WLAN_CFG_GENERAL_PARAM_ID, &config_opt, &len, (_u8* )country);
+
+
WLAN_AP_OPT_CHANNEL:
_i8 channel;
+
_u16 len = 1;
+
_u16 config_opt = WLAN_AP_OPT_CHANNEL;
+
sl_WlanGet(SL_WLAN_CFG_AP_ID, &config_opt, &len, (_u8* )&channel);
+
+
WLAN_AP_OPT_HIDDEN_SSID:
_u8 hidden;
+
_u16 len = 1;
+
_u16 config_opt = WLAN_AP_OPT_HIDDEN_SSID;
+
sl_WlanGet(SL_WLAN_CFG_AP_ID, &config_opt, &len, (_u8* )&hidden);
+
+
WLAN_AP_OPT_SECURITY_TYPE:
_u8 sec_type;
+
_u16 len = 1;
+
_u16 config_opt = WLAN_AP_OPT_SECURITY_TYPE;
+
sl_WlanGet(SL_WLAN_CFG_AP_ID, &config_opt, &len, (_u8* )&sec_type);
+
+
WLAN_AP_OPT_PASSWORD:
_u8 password[64];
+
_u16 len = 64;
+
memset(password,0,64);
+
_u16 config_opt = WLAN_AP_OPT_PASSWORD;
+
sl_WlanGet(SL_WLAN_CFG_AP_ID, &config_opt, &len, (_u8* )password);
+
+
WLAN_P2P_OPT_CHANNEL_N_REGS:
_u16 listen_channel,listen_reg,oper_channel,oper_reg;
+
_u16 len = 4;
+
_u16 config_opt = WLAN_P2P_OPT_CHANNEL_N_REGS;
+
_u8 channel_n_regs[4];
+
sl_WlanGet(SL_WLAN_CFG_P2P_PARAM_ID, &config_opt, &len, (_u8* )channel_n_regs);
+
listen_channel = channel_n_regs[0];
+
listen_reg = channel_n_regs[1];
+
oper_channel = channel_n_regs[2];
+
oper_reg = channel_n_regs[3];
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
_i16 sl_WlanGetNetworkList (const _u8 Index,
const _u8 Count,
Sl_WlanNetworkEntry_tpEntries 
)
+
+ +

Gets the WLAN scan operation results.

+

Gets scan results , gets entry from scan result table

+
Parameters
+ + + + +
[in]Index- Starting index identifier (range 0-19) for getting scan results
[in]Count- How many entries to fetch. Max is (20-"Index").
[out]pEntries- pointer to an allocated Sl_WlanNetworkEntry_t. the number of array items should match "Count" sec_type: SL_SCAN_SEC_TYPE_OPEN, SL_SCAN_SEC_TYPE_WEP, SL_SCAN_SEC_TYPE_WPA or SL_SCAN_SEC_TYPE_WPA2
+
+
+
Returns
Number of valid networks list items
+
See Also
+
Note
belongs to ext_api
+
Warning
This command do not initiate any active scanning action
+
Example:
An example of fetching max 10 results:
+
+
Sl_WlanNetworkEntry_t netEntries[10];
+
_i16 resultsCount = sl_WlanGetNetworkList(0,10,&netEntries[0]);
+
for(i=0; i< resultsCount; i++)
+
{
+
printf("%s\n",netEntries[i].ssid);
+
}
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_i16 sl_WlanPolicyGet (const _u8 Type,
_u8 Policy,
_u8 * pVal,
_u8 * pValLen 
)
+
+ +

get policy values

+
Parameters
+ + + + +
[in]TypeSL_POLICY_CONNECTION, SL_POLICY_SCAN, SL_POLICY_PM,SL_POLICY_P2P
+
[in]Policyargument may be set to any value
+
[out]Thereturned values, depends on each policy type, will be stored in the allocated buffer pointed by pVal with a maximum buffer length set by the calling function and pointed to by argument *pValLen
+
+
+
Returns
On success, zero is returned. On error, -1 is returned
+
See Also
sl_WlanPolicySet
+
Note
belongs to ext_api
+
Warning
The value pointed by the argument *pValLen should be set to a value different from 0 and greater than the buffer length returned from the SL device. Otherwise, an error will be returned.
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_i16 sl_WlanPolicySet (const _u8 Type,
const _u8 Policy,
_u8 * pVal,
const _u8 ValLen 
)
+
+ +

Set policy values.

+
Parameters
+ + + + + +
[in]TypeType of policy to be modified. The Options are:
+
    +
  • SL_POLICY_CONNECTION
  • +
  • SL_POLICY_SCAN
  • +
  • SL_POLICY_PM
  • +
  • SL_POLICY_P2P
  • +
+
[in]PolicyThe option value which depends on action type
[in]pValAn optional value pointer
[in]ValLenAn optional value length, in bytes
+
+
+
Returns
On success, zero is returned. On error, -1 is returned
+
See Also
sl_WlanPolicyGet
+
Note
belongs to ext_api
+
Warning
+
SL_POLICY_CONNECTION type defines three options available to connect the CC31xx device to the AP:
+
    +
  • If Auto Connect is set, the CC31xx device tries to automatically reconnect to one of its stored profiles, each time the connection fails or the device is rebooted.
    + To set this option, use:
    + sl_WlanPolicySet(SL_POLICY_CONNECTION,SL_CONNECTION_POLICY(1,0,0,0,0),NULL,0)
  • +
  • If Fast Connect is set, the CC31xx device tries to establish a fast connection to AP.
    + To set this option, use:
    + sl_WlanPolicySet(SL_POLICY_CONNECTION,SL_CONNECTION_POLICY(0,1,0,0,0),NULL,0)
  • +
  • (relevant for P2P mode only) - If Any P2P is set, CC31xx/CC32xx device tries to automatically connect to the first P2P device available,
    + supporting push button only. To set this option, use:
    + sl_WlanPolicySet(SL_POLICY_CONNECTION,SL_CONNECTION_POLICY(0,0,0,1,0),NULL,0)
  • +
  • For auto smart config upon restart (any command from Host will end this state) use:
    + sl_WlanPolicySet(SL_POLICY_CONNECTION,SL_CONNECTION_POLICY(0,0,0,0,1),NULL,0)
    + The options above could be combined to a single action, if more than one action is required.
    +
  • +
+
+
SL_POLICY_SCAN defines system scan time interval.Default interval is 10 minutes.
+ After settings scan interval, an immediate scan is activated. The next scan will be based on the interval settings.
+
    +
  • For example, setting scan interval to 1 minute interval use:
    + _u32 intervalInSeconds = 60;
    + #define SL_SCAN_ENABLE 1
    + sl_WlanPolicySet(SL_POLICY_SCAN,SL_SCAN_ENABLE, (_u8 *)&intervalInSeconds,sizeof(intervalInSeconds));
    +
  • +
  • For example, disable scan:
    + #define SL_SCAN_DISABLE 0
    + sl_WlanPolicySet(SL_POLICY_SCAN,SL_SCAN_DISABLE,0,0);
    +
  • +
+
+
SL_POLICY_PM defines a power management policy for Station mode only:
    +
  • For setting normal power management (default) policy use: sl_WlanPolicySet(SL_POLICY_PM , SL_NORMAL_POLICY, NULL,0)
  • +
  • For setting low latency power management policy use: sl_WlanPolicySet(SL_POLICY_PM , SL_LOW_LATENCY_POLICY, NULL,0)
  • +
  • For setting low power management policy use: sl_WlanPolicySet(SL_POLICY_PM , SL_LOW_POWER_POLICY, NULL,0)
  • +
  • For setting always on power management policy use: sl_WlanPolicySet(SL_POLICY_PM , SL_ALWAYS_ON_POLICY, NULL,0)
  • +
  • For setting Long Sleep Interval policy use:
    + _u16 PolicyBuff[4] = {0,0,800,0}; // PolicyBuff[2] is max sleep time in mSec
    + sl_WlanPolicySet(SL_POLICY_PM , SL_LONG_SLEEP_INTERVAL_POLICY, (_u8*)PolicyBuff,sizeof(PolicyBuff));
    +
  • +
+
+

SL_POLICY_P2P defines p2p negotiation policy parameters for P2P role:

+
    +
  • To set intent negotiation value, set on of the following: SL_P2P_ROLE_NEGOTIATE - intent 3 SL_P2P_ROLE_GROUP_OWNER - intent 15 SL_P2P_ROLE_CLIENT - intent 0
  • +
  • To set negotiation initiator value (initiator policy of first negotiation action frame), set on of the following: SL_P2P_NEG_INITIATOR_ACTIVE SL_P2P_NEG_INITIATOR_PASSIVE SL_P2P_NEG_INITIATOR_RAND_BACKOFF For example:
    + sl_WlanPolicySet(SL_POLICY_P2P, SL_P2P_POLICY(SL_P2P_ROLE_NEGOTIATE,SL_P2P_NEG_INITIATOR_RAND_BACKOFF),NULL,0)
  • +
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_i16 sl_WlanProfileAdd (const _i8 * pName,
const _i16 NameLen,
const _u8 * pMacAddr,
const SlSecParams_tpSecParams,
const SlSecParamsExt_tpSecExtParams,
const _u32 Priority,
const _u32 Options 
)
+
+ +

add profile

+

When auto start is enabled, the device connects to a station from the profiles table. Up to 7 profiles are supported. If several profiles configured the device chose the highest priority profile, within each priority group, device will chose profile based on security policy, signal strength, etc parameters.

+
Parameters
+ + + + + + + + +
[in]pNameup to 32 bytes in case of STA the name is the SSID of the Access Point in case of P2P the name is the remote device name
[in]NameLenname length
[in]pMacAddr6 bytes for MAC address
[in]pSecParamsSecurity parameters - security type (SL_SEC_TYPE_OPEN,SL_SEC_TYPE_WEP,SL_SEC_TYPE_WPA_WPA2, SL_SEC_TYPE_P2P_PBC,SL_SEC_TYPE_P2P_PIN_KEYPAD,SL_SEC_TYPE_P2P_PIN_DISPLAY, SL_SEC_TYPE_WPA_ENT), key, and key length in case of p2p security type pin the key refers to pin code
[in]pSecExtParamsEnterprise parameters - identity, identity length, Anonymous, Anonymous length, CertIndex (not supported, certificates need to be placed in a specific file ID), EapMethod.Use NULL in case Enterprise parameters is not in use
[in]Priorityprofile priority. Lowest priority: 0
[in]OptionsNot supported
+
+
+
Returns
On success, profile stored index is returned. On error, negative value is returned
+
See Also
sl_WlanProfileGet , sl_WlanProfileDel
+
Note
belongs to ext_api
+
Warning
Only one Enterprise profile is supported. Please Note that in case of adding an existing profile (compared by pName,pMACAddr and security type) the old profile will be deleted and the same index will be returned. SL_SEC_TYPE_WPA is a deprecated definition, the new definition is SL_SEC_TYPE_WPA_WPA2
+ +
+
+ +
+
+ + + + + + + + +
_i16 sl_WlanProfileDel (const _i16 Index)
+
+ +

Delete WLAN profile.

+

Delete WLAN profile

+
Parameters
+ + +
[in]indexnumber of profile to delete.Possible values are 0 to 6. Index value 255 will delete all saved profiles
+
+
+
Returns
On success, zero is returned. On error, -1 is returned
+
See Also
sl_WlanProfileAdd , sl_WlanProfileGet
+
Note
belongs to ext_api
+
Warning
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_i16 sl_WlanProfileGet (const _i16 Index,
_i8 * pName,
_i16 * pNameLen,
_u8 * pMacAddr,
SlSecParams_tpSecParams,
SlGetSecParamsExt_tpSecExtParams,
_u32 * pPriority 
)
+
+ +

get profile

+

read profile from the device

+
Parameters
+ + + + + + + + +
[in]Indexprofile stored index, if index does not exists error is return
[out]pNameup to 32 bytes, in case of sta mode the name of the Access Point in case of p2p mode the name of the Remote Device
[out]pNameLenname length
[out]pMacAddr6 bytes for MAC address
[out]pSecParamssecurity parameters - security type (SL_SEC_TYPE_OPEN, SL_SEC_TYPE_WEP, SL_SEC_TYPE_WPA_WPA2 or SL_SEC_TYPE_WPS_PBC, SL_SEC_TYPE_WPS_PIN, SL_SEC_TYPE_WPA_ENT,SL_SEC_TYPE_P2P_PBC,SL_SEC_TYPE_P2P_PIN_KEYPAD or SL_SEC_TYPE_P2P_PIN_DISPLAY), key and key length are not in case of p2p security type pin the key refers to pin code return due to security reasons.
[out]pSecExtParamsenterprise parameters - identity, identity length, Anonymous, Anonymous length CertIndex (not supported), EapMethod.
[out]Priorityprofile priority
+
+
+
Returns
On success, Profile security type is returned (0 or positive number). On error, -1 is returned
+
See Also
sl_WlanProfileAdd , sl_WlanProfileDel
+
Note
belongs to ext_api
+
Warning
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SlrxFilterID_t sl_WlanRxFilterAdd (SlrxFilterRuleType_t RuleType,
SlrxFilterFlags_t FilterFlags,
const SlrxFilterRule_t *const Rule,
const SlrxFilterTrigger_t *const Trigger,
const SlrxFilterAction_t *const Action,
SlrxFilterID_t * pFilterId 
)
+
+ +

Adds new filter rule to the system.

+
Parameters
+ + + + + + + +
[in]RuleTypeThe rule type
[in]FilterFlagsFlags which set the type of header rule Args and sets the persistent flag
[in]pRuleDetermine the filter rule logic
[in]pTriggerDetermine when the rule is triggered also sets rule parent.
[in]pActionSets the action to be executed in case the match functions pass
[out]pFilterIdThe filterId which was created
+
+
+
Returns
On success, zero is returned. Otherwise error code is returned
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
_i16 sl_WlanRxFilterGet (const SLrxFilterOperation_t RxFilterOperation,
_u8 * pOutputBuffer,
_u16 OutputbufferLength 
)
+
+ +

Gets parameters of Rx filters.

+
Parameters
+ + + + +
[in]RxFilterOperationpossible operations :
    +
  • SL_FILTER_RETRIEVE_ENABLE_STATE - Retrieves the enable disable status
  • +
  • SL_FILTER_PRE_PREPARED_RETRIEVE_CREATE_REMOVE_STATE - Retrieves the pre-prepared filters creation status
  • +
+
[in]pOutputBufferThe buffer input is _WlanRxFilterRetrieveEnableStatusCommandResponseBuff_t: +
[in]OutputbufferLengthThe length in byte of the output buffer
+
+
+
Returns
On success, zero is returned. Otherwise error code is returned
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
_i16 sl_WlanRxFilterSet (const SLrxFilterOperation_t RxFilterOperation,
const _u8 *const pInputBuffer,
_u16 InputbufferLength 
)
+
+ +

Sets parameters to Rx filters.

+
Parameters
+ + + +
[in]RxFilterOperationpossible operations :
    +
  • SL_ENABLE_DISABLE_RX_FILTER - Enables filter in a filter list
  • +
  • SL_REMOVE_RX_FILTER - Removes filter from memory ( to remove from flash call SL_STORE_RX_FILTERS after this command)
  • +
  • SL_STORE_RX_FILTERS - Save the filters for persistent
  • +
  • SL_UPDATE_RX_FILTER_ARGS - Update the arguments of existing filter
  • +
  • SL_FILTER_PRE_PREPARED_SET_CREATE_REMOVE_STATE - Change the default creation of the pre-prepared filters
  • +
+
[in]pInputBufferoptions: The buffer input is _WlanRxFilterOperationCommandBuff_t:
    +
  • SL_ENABLE_DISABLE_RX_FILTER
  • +
+
+
+
+ +
Parameters
+ + +
[in]InputbufferLengthThe length in byte of the input buffer
+
+
+
Returns
On success, zero is returned. Otherwise error code is returned
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
_i16 sl_WlanRxStatGet (SlGetRxStatResponse_tpRxStat,
const _u32 Flags 
)
+
+ +

Get wlan RX statistics. upon calling this command, the statistics counters will be cleared.

+
Parameters
+ + + +
[in]Flagsshould be 0 ( not applicable right now, will be added the future )
[in]pRxStata pointer to SlGetRxStatResponse_t filled with Rx statistics results
+
+
+
Returns
On success, zero is returned. On error, -1 is returned
+
See Also
sl_WlanRxStatStart sl_WlanRxStatStop
+
Note
belongs to ext_api
+
Warning
+ +
+
+ +
+
+ + + + + + + + +
_i16 sl_WlanRxStatStart (void )
+
+ +

Start collecting wlan RX statistics, for unlimited time.

+
Returns
On success, zero is returned. On error, -1 is returned
+
See Also
sl_WlanRxStatStop sl_WlanRxStatGet
+
Note
belongs to ext_api
+
Warning
+
Example:
Getting wlan RX statistics:
+
+
void RxStatCollectTwice()
+
{
+ +
_i16 rawSocket;
+
_i8 DataFrame[200];
+
struct SlTimeval_t timeval;
+
timeval.tv_sec = 0; // Seconds
+
timeval.tv_usec = 20000; // Microseconds. 10000 microseconds resolution
+
+
sl_WlanRxStatStart(); // set statistics mode
+
+
rawSocket = sl_Socket(SL_AF_RF, SL_SOCK_RAW, eChannel);
+
// set timeout - in case we have no activity for the specified channel
+
sl_SetSockOpt(rawSocket,SL_SOL_SOCKET,SL_SO_RCVTIMEO, &timeval, sizeof(timeval)); // Enable receive timeout
+
status = sl_Recv(rawSocket, DataFrame, sizeof(DataFrame), 0);
+
+
Sleep(1000); // sleep for 1 sec
+
sl_WlanRxStatGet(&rxStat,0); // statistics has been cleared upon read
+
Sleep(1000); // sleep for 1 sec
+
sl_WlanRxStatGet(&rxStat,0);
+
+
}
+
+ +
+
+ +
+
+ + + + + + + + +
_i16 sl_WlanRxStatStop (void )
+
+ +

Stop collecting wlan RX statistic, (if previous called sl_WlanRxStatStart)

+
Returns
On success, zero is returned. On error, -1 is returned
+
See Also
sl_WlanRxStatStart sl_WlanRxStatGet
+
Note
belongs to ext_api
+
Warning
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_i16 sl_WlanSet (const _u16 ConfigId,
const _u16 ConfigOpt,
const _u16 ConfigLen,
const _u8 * pValues 
)
+
+ +

Internal function for setting WLAN configurations.

+
Returns
On success, zero is returned. On error one of the following error codes returned:
    +
  • CONF_ERROR (-1)
  • +
  • CONF_NVMEM_ACCESS_FAILED (-2)
  • +
  • CONF_OLD_FILE_VERSION (-3)
  • +
  • CONF_ERROR_NO_SUCH_COUNTRY_CODE (-4)
  • +
+
+
Parameters
+ + + + + +
[in]ConfigId- configuration id
    +
  • SL_WLAN_CFG_AP_ID
  • +
  • SL_WLAN_CFG_GENERAL_PARAM_ID
  • +
  • SL_WLAN_CFG_P2P_PARAM_ID
  • +
+
[in]ConfigOpt- configurations option
    +
  • SL_WLAN_CFG_AP_ID
      +
    • WLAN_AP_OPT_SSID
      + Set SSID for AP mode.
      + This options takes _u8 buffer as parameter
    • +
    • WLAN_AP_OPT_CHANNEL
      + Set channel for AP mode.
      + The channel is dependant on the country code which is set. i.e. for "US" the channel should be in the range of [1-11]
      + This option takes _u8 as a parameter
    • +
    • WLAN_AP_OPT_HIDDEN_SSID
      + Set Hidden SSID Mode for AP mode.Hidden options:
      + 0: disabled
      + 1: Send empty (length=0) SSID in beacon and ignore probe request for broadcast SSID
      + 2: Clear SSID (ASCII 0), but keep the original length (this may be required with some
      + clients that do not support empty SSID) and ignore probe requests for broadcast SSID
      + This option takes _u8 as a parameter
    • +
    • WLAN_AP_OPT_SECURITY_TYPE
      + Set Security type for AP mode. Security options are:
        +
      • Open security: SL_SEC_TYPE_OPEN
      • +
      • WEP security: SL_SEC_TYPE_WEP
      • +
      • WPA security: SL_SEC_TYPE_WPA_WPA2
        + This option takes _u8 pointer as a parameter
      • +
      +
    • +
    • WLAN_AP_OPT_PASSWORD
      + Set Password for for AP mode (for WEP or for WPA):
      + Password - for WPA: 8 - 63 characters
      + for WEP: 5 / 13 characters (ascii)
      + This options takes _u8 buffer as parameter
    • +
    +
  • +
  • SL_WLAN_CFG_GENERAL_PARAM_ID
      +
    • WLAN_GENERAL_PARAM_OPT_SCAN_PARAMS
      + Set scan parameters. This option uses slWlanScanParamCommand_t as parameter
    • +
    • WLAN_GENERAL_PARAM_OPT_COUNTRY_CODE
      + Set Country Code for AP mode
      + This options takes _u8 2 bytes buffer as parameter
    • +
    • WLAN_GENERAL_PARAM_OPT_STA_TX_POWER
      + Set STA mode Tx power level
      + Number between 0-15, as dB offset from max power (0 will set MAX power)
      + This options takes _u8 as parameter
    • +
    • WLAN_GENERAL_PARAM_OPT_AP_TX_POWER Set AP mode Tx power level
      + Number between 0-15, as dB offset from max power (0 will set MAX power)
      + This options takes _u8 as parameter
    • +
    • WLAN_GENERAL_PARAM_OPT_INFO_ELEMENT Set Info Element for AP mode.
      + The Application can set up to MAX_PRIVATE_INFO_ELEMENTS_SUPPROTED info elements per Role (AP / P2P GO).
      + To delete an info element use the relevant index and length = 0.
      + The Application can set up to MAX_PRIVATE_INFO_ELEMENTS_SUPPROTED to the same role.
      + However, for AP - no more than INFO_ELEMENT_MAX_TOTAL_LENGTH_AP bytes can be stored for all info elements.
      + For P2P GO - no more than INFO_ELEMENT_MAX_TOTAL_LENGTH_P2P_GO bytes can be stored for all info elements.
      + This option takes sl_protocol_WlanSetInfoElement_t as parameter
    • +
    +
  • +
  • SL_WLAN_CFG_P2P_PARAM_ID
      +
    • WLAN_P2P_OPT_DEV_TYPE
      + Set P2P Device type.Maximum length of 17 characters. Device type is published under P2P I.E,
      + allows to make devices easier to recognize.
      + In case no device type is set, the default type is "1-0050F204-1"
      + This options takes _u8 buffer as parameter
    • +
    • WLAN_P2P_OPT_CHANNEL_N_REGS
      + Set P2P Channels.
      + listen channel (either 1/6/11 for 2.4GHz)
      + listen regulatory class (81 for 2.4GHz)
      + oper channel (either 1/6/11 for 2.4GHz)
      + oper regulatory class (81 for 2.4GHz)
      + listen channel and regulatory class will determine the device listen channel during p2p find listen phase
      + oper channel and regulatory class will determine the operating channel preferred by this device (in case it is group owner this will be the operating channel)
      + channels should be one of the social channels (1/6/11). In case no listen/oper channel selected, a random 1/6/11 will be selected. This option takes pointer to _u8[4] as parameter
    • +
    +
  • +
+
[in]ConfigLen- configurations len
[in]pValues- configurations values
+
+
+
See Also
+
Note
+
Warning
+
Examples:
+
WLAN_AP_OPT_SSID:
_u8 str[33];
+
memset(str, 0, 33);
+
memcpy(str, ssid, len); // ssid string of 32 characters
+
sl_WlanSet(SL_WLAN_CFG_AP_ID, WLAN_AP_OPT_SSID, strlen(ssid), str);
+
+
WLAN_AP_OPT_CHANNEL:
_u8 val = channel;
+
sl_WlanSet(SL_WLAN_CFG_AP_ID, WLAN_AP_OPT_CHANNEL, 1, (_u8 *)&val);
+
+
WLAN_AP_OPT_HIDDEN_SSID:
_u8 val = hidden;
+
sl_WlanSet(SL_WLAN_CFG_AP_ID, WLAN_AP_OPT_HIDDEN_SSID, 1, (_u8 *)&val);
+
+
WLAN_AP_OPT_SECURITY_TYPE:
_u8 val = SL_SEC_TYPE_WPA_WPA2;
+
sl_WlanSet(SL_WLAN_CFG_AP_ID, WLAN_AP_OPT_SECURITY_TYPE, 1, (_u8 *)&val);
+
+
WLAN_AP_OPT_PASSWORD:
_u8 str[65];
+
_u16 len = strlen(password);
+
memset(str, 0, 65);
+
memcpy(str, password, len);
+
sl_WlanSet(SL_WLAN_CFG_AP_ID, WLAN_AP_OPT_PASSWORD, len, (_u8 *)str);
+
+
WLAN_GENERAL_PARAM_OPT_STA_TX_POWER:
_u8 stapower=(_u8)power;
+
sl_WlanSet(SL_WLAN_CFG_GENERAL_PARAM_ID, WLAN_GENERAL_PARAM_OPT_STA_TX_POWER,1,(_u8 *)&stapower);
+
+
WLAN_GENERAL_PARAM_OPT_SCAN_PARAMS:
slWlanScanParamCommand_t ScanParamConfig;
+
ScanParamConfig.G_Channels_mask = 0x01; // bit mask for channels:1 means channel 1 is enabled, 3 means channels 1 + 2 are enabled
+
ScanParamConfig.rssiThershold = -70; // only for RSSI level which is higher than -70
+
sl_WlanSet(SL_WLAN_CFG_GENERAL_PARAM_ID ,WLAN_GENERAL_PARAM_OPT_SCAN_PARAMS,sizeof(slWlanScanParamCommand_t),(_u8*)&ScanParamConfig);
+
+
WLAN_GENERAL_PARAM_OPT_COUNTRY_CODE:
_u8* str = (_u8 *) country; // string of 2 characters. i.e. - "US"
+
sl_WlanSet(SL_WLAN_CFG_GENERAL_PARAM_ID, WLAN_GENERAL_PARAM_OPT_COUNTRY_CODE, 2, str);
+
+
WLAN_GENERAL_PARAM_OPT_AP_TX_POWER:
_u8 appower=(_u8)power;
+
sl_WlanSet(SL_WLAN_CFG_GENERAL_PARAM_ID, WLAN_GENERAL_PARAM_OPT_AP_TX_POWER,1,(_u8 *)&appower);
+
+
WLAN_P2P_OPT_DEV_TYPE:
_u8 str[17];
+
_u16 len = strlen(device_type);
+
memset(str, 0, 17);
+
memcpy(str, device_type, len);
+
sl_WlanSet(SL_WLAN_CFG_P2P_PARAM_ID, WLAN_P2P_OPT_DEV_TYPE, len, str);
+
+
WLAN_P2P_OPT_CHANNEL_N_REGS:
_u8 str[4];
+
str[0] = (_u8)11; // listen channel
+
str[1] = (_u8)81; // listen regulatory class
+
str[2] = (_u8)6; // oper channel
+
str[3] = (_u8)81; // oper regulatory class
+
sl_WlanSet(SL_WLAN_CFG_P2P_PARAM_ID, WLAN_P2P_OPT_CHANNEL_N_REGS, 4, str);
+
+
WLAN_GENERAL_PARAM_OPT_INFO_ELEMENT:
+
infoele.index = Index; // Index of the info element. range: 0 - MAX_PRIVATE_INFO_ELEMENTS_SUPPROTED
+
infoele.role = Role; // INFO_ELEMENT_AP_ROLE (0) or INFO_ELEMENT_P2P_GO_ROLE (1)
+
infoele.ie.id = Id; // Info element ID. if INFO_ELEMENT_DEFAULT_ID (0) is set, ID will be set to 221.
+
// Organization unique ID. If all 3 bytes are zero - it will be replaced with 08,00,28.
+
infoele.ie.oui[0] = Oui0; // Organization unique ID first Byte
+
infoele.ie.oui[1] = Oui1; // Organization unique ID second Byte
+
infoele.ie.oui[2] = Oui2; // Organization unique ID third Byte
+
infoele.ie.length = Len; // Length of the info element. must be smaller than 253 bytes
+
memset(infoele.ie.data, 0, INFO_ELEMENT_MAX_SIZE);
+
if ( Len <= INFO_ELEMENT_MAX_SIZE )
+
{
+
memcpy(infoele.ie.data, IE, Len); // Info element. length of the info element is [0-252]
+
sl_WlanSet(SL_WLAN_CFG_GENERAL_PARAM_ID,WLAN_GENERAL_PARAM_OPT_INFO_ELEMENT,sizeof(sl_protocol_WlanSetInfoElement_t),(_u8* ) &infoele);
+
}
+
sl_WlanSet(SL_WLAN_CFG_GENERAL_PARAM_ID,WLAN_GENERAL_PARAM_OPT_INFO_ELEMENT,sizeof(sl_protocol_WlanSetInfoElement_t),(_u8* ) &infoele);
+
+ +
+
+ +
+
+ + + + + + + + +
_i16 sl_WlanSetMode (const _u8 mode)
+
+ +

Wlan set mode.

+

Setting WLAN mode

+
Parameters
+ + +
[in]mode- WLAN mode to start the CC31xx device. Possible options are:
    +
  • ROLE_STA - for WLAN station mode
  • +
  • ROLE_AP - for WLAN AP mode
  • +
  • ROLE_P2P -for WLAN P2P mode
  • +
+
+
+
+
Returns
0 - if mode was set correctly
+
See Also
sl_Start sl_Stop
+
Note
belongs to ext_api
+
Warning
After setting the mode the system must be restarted for activating the new mode
+
Example:
//Switch from any role to STA:
+
sl_WlanSetMode(ROLE_STA);
+ +
sl_Start(NULL,NULL,NULL);
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_i16 sl_WlanSmartConfigStart (const _u32 groupIdBitmask,
const _u8 cipher,
const _u8 publicKeyLen,
const _u8 group1KeyLen,
const _u8 group2KeyLen,
const _u8 * publicKey,
const _u8 * group1Key,
const _u8 * group2Key 
)
+
+ +

Start Smart Config procedure.

+
The target of the procedure is to let the
+ device to gain the network parameters: SSID and Password (if network is secured)
+ and to connect to it once located in the network range.
+ An external application should be used on a device connected to any mobile network.
+ The external application will transmit over the air the network parameters in secured manner.
+ The Password may be decrypted using a Key.
+ The decryption method may be decided in the command or embedded in the Flash.
+ The procedure can be activated for 1-3 group ID in the range of BIT_0 - BIT_15 where the default group ID id 0 (BIT_0)
+ Once Smart Config has ended successfully, Asynchronous event will be received -
+ SL_OPCODE_WLAN_SMART_CONFIG_START_ASYNC_RESPONSE.
+ The Event will hold the SSID and an extra field that might have been delivered as well (i.e. - device name)
+
Parameters
+ + + + + + + + + + +
[in]groupIdBitmask- each bit represent a group ID that should be searched. The Default group ID id BIT_0. 2 more group can be searched in addition. The range is BIT_0 - BIT_15.
[in]chiper- 0: check in flash, 1 - AES, 0xFF - do not check in flash
[in]publicKeyLen- public key len (used for the default group ID - BIT_0)
[in]group1KeyLen- group ID1 length
[in]group2KeyLen- group ID2 length
[in]publicKey- public key (used for the default group ID - BIT_0)
[in]group1Key- group ID1 key
[in]group2Key- group ID2 key
[out]none
+
+
+
Returns
0 - if Smart Config started successfully.
+
See Also
sl_WlanSmartConfigStop
+
Note
belongs to ext_api
+
Warning
+
An example of starting smart Config on group ID's 0 + 1 + 2
+
+
sl_WlanSmartConfigStart(7, //group ID's (BIT_0 | BIT_1 | BIT_2)
+
1, //decrypt key by AES method
+
16, //decryption key length for group ID0
+
16, //decryption key length for group ID1
+
16, //decryption key length for group ID2
+
"Key0Key0Key0Key0", //decryption key for group ID0
+
"Key1Key1Key1Key1", //decryption key for group ID1
+
"Key2Key2Key2Key2" //decryption key for group ID2
+
);
+
+ +
+
+ +
+
+ + + + + + + + +
_i16 sl_WlanSmartConfigStop (void )
+
+ +

Stop Smart Config procedure. Once Smart Config will be stopped, Asynchronous event will be received - SL_OPCODE_WLAN_SMART_CONFIG_STOP_ASYNC_RESPONSE.

+
Parameters
+ + + +
[in]none
[out]none
+
+
+
Returns
0 - if Stop Smart Config is about to be executed without errors.
+
See Also
sl_WlanSmartConfigStart
+
Note
belongs to ext_api
+
Warning
+ +
+
+
+
+ + + + diff --git a/docs/simplelink_api/html/group__wlan.js b/docs/simplelink_api/html/group__wlan.js index 4a5f6e0..ffe8d95 100644 --- a/docs/simplelink_api/html/group__wlan.js +++ b/docs/simplelink_api/html/group__wlan.js @@ -1,126 +1,126 @@ -var group__wlan = -[ - [ "slSmartConfigStartAsyncResponse_t", "structsl_smart_config_start_async_response__t.html", [ - [ "private_token", "structsl_smart_config_start_async_response__t.html#ae788e671c21e21c7913ac4b439887785", null ], - [ "private_token_len", "structsl_smart_config_start_async_response__t.html#aac6bab1ba54c9d01c548a5971fe18a95", null ], - [ "ssid", "structsl_smart_config_start_async_response__t.html#aaf9ed7d9e9d6c2bdd7b7fc7b768b81de", null ], - [ "ssid_len", "structsl_smart_config_start_async_response__t.html#a4fd951e04acb1b6941b85533d248ba27", null ], - [ "status", "structsl_smart_config_start_async_response__t.html#a9bd457bdee1c8059b6cf88ac0647d0e1", null ] - ] ], - [ "slSmartConfigStopAsyncResponse_t", "structsl_smart_config_stop_async_response__t.html", [ - [ "padding", "structsl_smart_config_stop_async_response__t.html#aee74651e918d4c23f3eabe25fbbf8142", null ], - [ "status", "structsl_smart_config_stop_async_response__t.html#a0fcf01673166445f62de27571ae41090", null ] - ] ], - [ "slWlanConnFailureAsyncResponse_t", "structsl_wlan_conn_failure_async_response__t.html", [ - [ "padding", "structsl_wlan_conn_failure_async_response__t.html#aee74651e918d4c23f3eabe25fbbf8142", null ], - [ "status", "structsl_wlan_conn_failure_async_response__t.html#a0fcf01673166445f62de27571ae41090", null ] - ] ], - [ "slWlanConnectAsyncResponse_t", "structsl_wlan_connect_async_response__t.html", [ - [ "bssid", "structsl_wlan_connect_async_response__t.html#a26584d70e5f1888864c8c3f3d43e21c7", null ], - [ "connection_type", "structsl_wlan_connect_async_response__t.html#a02de4ebfc0ae3ef0524521fea6cdba7a", null ], - [ "go_peer_device_name", "structsl_wlan_connect_async_response__t.html#a134cf4c828e548efdc5febe2b8b826ae", null ], - [ "go_peer_device_name_len", "structsl_wlan_connect_async_response__t.html#ad58b0d3c676c06221fa491ec4b384cad", null ], - [ "padding", "structsl_wlan_connect_async_response__t.html#a591a340cf7a3bc8395dc554fc01910b7", null ], - [ "reason_code", "structsl_wlan_connect_async_response__t.html#aef3e37e4643200170981d36287a9bbf5", null ], - [ "ssid_len", "structsl_wlan_connect_async_response__t.html#a2e45fb530d9c89d3673ea6e05f07844d", null ], - [ "ssid_name", "structsl_wlan_connect_async_response__t.html#a89e1ad338d707b4182bd0a8bf5a15bc6", null ] - ] ], - [ "slPeerInfoAsyncResponse_t", "structsl_peer_info_async_response__t.html", [ - [ "go_peer_device_name", "structsl_peer_info_async_response__t.html#a134cf4c828e548efdc5febe2b8b826ae", null ], - [ "go_peer_device_name_len", "structsl_peer_info_async_response__t.html#ad58b0d3c676c06221fa491ec4b384cad", null ], - [ "mac", "structsl_peer_info_async_response__t.html#a51fa48efb76fa1995446db52ac06a46f", null ], - [ "own_ssid", "structsl_peer_info_async_response__t.html#af3d92d2c6ec560caf5c705fa487d9622", null ], - [ "own_ssid_len", "structsl_peer_info_async_response__t.html#a8e4b7daa24f45b8112386655cc2c5c61", null ], - [ "padding", "structsl_peer_info_async_response__t.html#a46d3c053c50ca746d761db91f590bb60", null ], - [ "wps_dev_password_id", "structsl_peer_info_async_response__t.html#a3b1181843fd7fc28edccb34fe78934cc", null ] - ] ], - [ "SlWlanEventData_u", "union_sl_wlan_event_data__u.html", [ - [ "APModeStaConnected", "union_sl_wlan_event_data__u.html#a8a4b774d3fea5bd36d46e36326f11ed4", null ], - [ "APModestaDisconnected", "union_sl_wlan_event_data__u.html#a5e285baad857f73a0167f73e4b17ae50", null ], - [ "P2PModeDevFound", "union_sl_wlan_event_data__u.html#a8b490ba7a54396f6e289b5789644de5f", null ], - [ "P2PModeNegReqReceived", "union_sl_wlan_event_data__u.html#aee4d526e0489f6384555d71c6a4c2ff3", null ], - [ "P2PModewlanConnectionFailure", "union_sl_wlan_event_data__u.html#a2211e22e568ee4349eebd7ed5b6f9b60", null ], - [ "smartConfigStartResponse", "union_sl_wlan_event_data__u.html#a3e0a9eb580163ca72c178d96a5edba79", null ], - [ "smartConfigStopResponse", "union_sl_wlan_event_data__u.html#a962b4e0845dd71daaf9929aea34183fc", null ], - [ "STAandP2PModeDisconnected", "union_sl_wlan_event_data__u.html#abf61e2e1e81c5eda10f6ff84a7197b31", null ], - [ "STAandP2PModeWlanConnected", "union_sl_wlan_event_data__u.html#a406b4e8670796f9cdc1746646fab6588", null ] - ] ], - [ "SlWlanEvent_t", "struct_sl_wlan_event__t.html", [ - [ "Event", "struct_sl_wlan_event__t.html#adeedbaaa252b969fc66e151eef37ea62", null ], - [ "EventData", "struct_sl_wlan_event__t.html#ae587c51197255d4e4ef20cc90d73825f", null ] - ] ], - [ "SlGetRxStatResponse_t", "struct_sl_get_rx_stat_response__t.html", [ - [ "AvarageDataCtrlRssi", "struct_sl_get_rx_stat_response__t.html#af3660978617c803a996f041215004a50", null ], - [ "AvarageMgMntRssi", "struct_sl_get_rx_stat_response__t.html#a2050deb55011de7a472c8d5bcd6099f7", null ], - [ "GetTimeStamp", "struct_sl_get_rx_stat_response__t.html#a85c0324d0b3de70a327e185173309a5c", null ], - [ "RateHistogram", "struct_sl_get_rx_stat_response__t.html#ad18c6011a86553bd786ffae0f7b87538", null ], - [ "ReceivedFcsErrorPacketsNumber", "struct_sl_get_rx_stat_response__t.html#a6e06f9a2b719028a084d2fc2333cd309", null ], - [ "ReceivedPlcpErrorPacketsNumber", "struct_sl_get_rx_stat_response__t.html#ae0b83e8cbdae8b17ae333f5684bd5708", null ], - [ "ReceivedValidPacketsNumber", "struct_sl_get_rx_stat_response__t.html#a0b84e628b2501fbf4a814b2f678a63ef", null ], - [ "RssiHistogram", "struct_sl_get_rx_stat_response__t.html#a11b977458ccb1ceade91d3f2ae733307", null ], - [ "StartTimeStamp", "struct_sl_get_rx_stat_response__t.html#ac40e3ad339a01bee80c412d99eb1a128", null ] - ] ], - [ "Sl_WlanNetworkEntry_t", "struct_sl___wlan_network_entry__t.html", [ - [ "bssid", "struct_sl___wlan_network_entry__t.html#a1625b9ac8d0d51aa89df83295c9a5de2", null ], - [ "reserved", "struct_sl___wlan_network_entry__t.html#aa1d4d52e9a684f2a28c9c8b89573af18", null ], - [ "rssi", "struct_sl___wlan_network_entry__t.html#a80c3df13ed7cf0b1a5e5639811c82f34", null ], - [ "sec_type", "struct_sl___wlan_network_entry__t.html#af791c098aa0b08d0ee0126843b1fe855", null ], - [ "ssid", "struct_sl___wlan_network_entry__t.html#ad097bad1e9bb0c4e70de8748263b76da", null ], - [ "ssid_len", "struct_sl___wlan_network_entry__t.html#a2e45fb530d9c89d3673ea6e05f07844d", null ] - ] ], - [ "SlSecParams_t", "struct_sl_sec_params__t.html", [ - [ "Key", "struct_sl_sec_params__t.html#af943e0f6d7ca78a5b795c8da294c5d1e", null ], - [ "KeyLen", "struct_sl_sec_params__t.html#a9b049837934488d32481cf8d616e12af", null ], - [ "Type", "struct_sl_sec_params__t.html#a1d58ad89ed5b340d15c354b769f8ecc2", null ] - ] ], - [ "SlSecParamsExt_t", "struct_sl_sec_params_ext__t.html", [ - [ "AnonUser", "struct_sl_sec_params_ext__t.html#a882de2171333187a5cded2550accce18", null ], - [ "AnonUserLen", "struct_sl_sec_params_ext__t.html#ac62b273b2e1b1c60eca7ef61a29b0aa5", null ], - [ "CertIndex", "struct_sl_sec_params_ext__t.html#a55a132bbb3126099cb8f12cb6d174876", null ], - [ "EapMethod", "struct_sl_sec_params_ext__t.html#a4f18f173d08eff5ae05fa940c60df4c0", null ], - [ "User", "struct_sl_sec_params_ext__t.html#afc4f533307e2aee2c6c114f8941aa499", null ], - [ "UserLen", "struct_sl_sec_params_ext__t.html#a24af689142eda26860754c5e9c0f9e60", null ] - ] ], - [ "SlGetSecParamsExt_t", "struct_sl_get_sec_params_ext__t.html", [ - [ "AnonUser", "struct_sl_get_sec_params_ext__t.html#a402a97b0e8257ae2f2b928c7590d0b03", null ], - [ "AnonUserLen", "struct_sl_get_sec_params_ext__t.html#ac62b273b2e1b1c60eca7ef61a29b0aa5", null ], - [ "CertIndex", "struct_sl_get_sec_params_ext__t.html#a55a132bbb3126099cb8f12cb6d174876", null ], - [ "EapMethod", "struct_sl_get_sec_params_ext__t.html#a4f18f173d08eff5ae05fa940c60df4c0", null ], - [ "User", "struct_sl_get_sec_params_ext__t.html#ac3b3c772e1d98758cc674e2f6f0658d5", null ], - [ "UserLen", "struct_sl_get_sec_params_ext__t.html#a24af689142eda26860754c5e9c0f9e60", null ] - ] ], - [ "slWlanScanParamCommand_t", "structsl_wlan_scan_param_command__t.html", [ - [ "G_Channels_mask", "structsl_wlan_scan_param_command__t.html#a1401545f73ec1aeb0f1caff176a49877", null ], - [ "rssiThershold", "structsl_wlan_scan_param_command__t.html#a12b902a2708b47b806a727a2604f9c4f", null ] - ] ], - [ "sl_protocol_InfoElement_t", "structsl__protocol___info_element__t.html", [ - [ "data", "structsl__protocol___info_element__t.html#a27e0ca8e8af28ff69c2df264599f5625", null ], - [ "id", "structsl__protocol___info_element__t.html#a2888afcbf466934238f060ea0b8300ed", null ], - [ "length", "structsl__protocol___info_element__t.html#a128a630f6d2121a0106add0f03f1cab9", null ], - [ "oui", "structsl__protocol___info_element__t.html#aa7158dccffcbe48160a5c4ac033466ff", null ] - ] ], - [ "sl_protocol_WlanSetInfoElement_t", "structsl__protocol___wlan_set_info_element__t.html", [ - [ "ie", "structsl__protocol___wlan_set_info_element__t.html#ac1029492d0e3b06663e3dfa879773e2a", null ], - [ "index", "structsl__protocol___wlan_set_info_element__t.html#a1b7d00023fd5674c4bd44bc179294390", null ], - [ "role", "structsl__protocol___wlan_set_info_element__t.html#a838542fa5c0baf0d55b638d8906ec18e", null ] - ] ], - [ "sl_WlanConnect", "group__wlan.html#ga77385f1875fa8dc16087dc51a135b303", null ], - [ "sl_WlanDisconnect", "group__wlan.html#ga8d3140cea09851de2c580c89f222f808", null ], - [ "sl_WlanGet", "group__wlan.html#gac400e2c9d09b15c953ed2766b33295d5", null ], - [ "sl_WlanGetNetworkList", "group__wlan.html#ga2896a54ee7672e6cd1ee37b1f2fe25b4", null ], - [ "sl_WlanPolicyGet", "group__wlan.html#ga1b9a54dd2e2bf803aa35db1fda145660", null ], - [ "sl_WlanPolicySet", "group__wlan.html#gae6e655c4c90b29ab2fccbfe620ec6a50", null ], - [ "sl_WlanProfileAdd", "group__wlan.html#ga3314697c8034ce4d12809cc16e717c58", null ], - [ "sl_WlanProfileDel", "group__wlan.html#ga26b54ee4d92ffbc83381e50cfb23f6d7", null ], - [ "sl_WlanProfileGet", "group__wlan.html#gabdb0111c7ac6315038a05a65f92dd5e1", null ], - [ "sl_WlanRxFilterAdd", "group__wlan.html#ga0f61489aecc77c79f5350a8c6bab3ab5", null ], - [ "sl_WlanRxFilterGet", "group__wlan.html#gab5ffd26ae9abe6ea5bc61b99a0ced94f", null ], - [ "sl_WlanRxFilterSet", "group__wlan.html#gac30d8b0d601562d2f8a8468da18bad11", null ], - [ "sl_WlanRxStatGet", "group__wlan.html#ga91085b684cf378ae5a1ab0884b448c7d", null ], - [ "sl_WlanRxStatStart", "group__wlan.html#ga40fdb95f2590b43c91a60377349aad4c", null ], - [ "sl_WlanRxStatStop", "group__wlan.html#ga69b1778b120c0b2db7f2fd2884dde5d8", null ], - [ "sl_WlanSet", "group__wlan.html#ga1a64252fcd41167613bed9c63db18fd4", null ], - [ "sl_WlanSetMode", "group__wlan.html#ga14a7b9540cb77fd6f25d867dc4b86216", null ], - [ "sl_WlanSmartConfigStart", "group__wlan.html#ga2ac29ca184173a50d76a36f259a4435d", null ], - [ "sl_WlanSmartConfigStop", "group__wlan.html#gac95a8b72fab78924ea6b52e3799c7de6", null ] +var group__wlan = +[ + [ "slSmartConfigStartAsyncResponse_t", "structsl_smart_config_start_async_response__t.html", [ + [ "private_token", "structsl_smart_config_start_async_response__t.html#ae788e671c21e21c7913ac4b439887785", null ], + [ "private_token_len", "structsl_smart_config_start_async_response__t.html#aac6bab1ba54c9d01c548a5971fe18a95", null ], + [ "ssid", "structsl_smart_config_start_async_response__t.html#aaf9ed7d9e9d6c2bdd7b7fc7b768b81de", null ], + [ "ssid_len", "structsl_smart_config_start_async_response__t.html#a4fd951e04acb1b6941b85533d248ba27", null ], + [ "status", "structsl_smart_config_start_async_response__t.html#a9bd457bdee1c8059b6cf88ac0647d0e1", null ] + ] ], + [ "slSmartConfigStopAsyncResponse_t", "structsl_smart_config_stop_async_response__t.html", [ + [ "padding", "structsl_smart_config_stop_async_response__t.html#aee74651e918d4c23f3eabe25fbbf8142", null ], + [ "status", "structsl_smart_config_stop_async_response__t.html#a0fcf01673166445f62de27571ae41090", null ] + ] ], + [ "slWlanConnFailureAsyncResponse_t", "structsl_wlan_conn_failure_async_response__t.html", [ + [ "padding", "structsl_wlan_conn_failure_async_response__t.html#aee74651e918d4c23f3eabe25fbbf8142", null ], + [ "status", "structsl_wlan_conn_failure_async_response__t.html#a0fcf01673166445f62de27571ae41090", null ] + ] ], + [ "slWlanConnectAsyncResponse_t", "structsl_wlan_connect_async_response__t.html", [ + [ "bssid", "structsl_wlan_connect_async_response__t.html#a26584d70e5f1888864c8c3f3d43e21c7", null ], + [ "connection_type", "structsl_wlan_connect_async_response__t.html#a02de4ebfc0ae3ef0524521fea6cdba7a", null ], + [ "go_peer_device_name", "structsl_wlan_connect_async_response__t.html#a134cf4c828e548efdc5febe2b8b826ae", null ], + [ "go_peer_device_name_len", "structsl_wlan_connect_async_response__t.html#ad58b0d3c676c06221fa491ec4b384cad", null ], + [ "padding", "structsl_wlan_connect_async_response__t.html#a591a340cf7a3bc8395dc554fc01910b7", null ], + [ "reason_code", "structsl_wlan_connect_async_response__t.html#aef3e37e4643200170981d36287a9bbf5", null ], + [ "ssid_len", "structsl_wlan_connect_async_response__t.html#a2e45fb530d9c89d3673ea6e05f07844d", null ], + [ "ssid_name", "structsl_wlan_connect_async_response__t.html#a89e1ad338d707b4182bd0a8bf5a15bc6", null ] + ] ], + [ "slPeerInfoAsyncResponse_t", "structsl_peer_info_async_response__t.html", [ + [ "go_peer_device_name", "structsl_peer_info_async_response__t.html#a134cf4c828e548efdc5febe2b8b826ae", null ], + [ "go_peer_device_name_len", "structsl_peer_info_async_response__t.html#ad58b0d3c676c06221fa491ec4b384cad", null ], + [ "mac", "structsl_peer_info_async_response__t.html#a51fa48efb76fa1995446db52ac06a46f", null ], + [ "own_ssid", "structsl_peer_info_async_response__t.html#af3d92d2c6ec560caf5c705fa487d9622", null ], + [ "own_ssid_len", "structsl_peer_info_async_response__t.html#a8e4b7daa24f45b8112386655cc2c5c61", null ], + [ "padding", "structsl_peer_info_async_response__t.html#a46d3c053c50ca746d761db91f590bb60", null ], + [ "wps_dev_password_id", "structsl_peer_info_async_response__t.html#a3b1181843fd7fc28edccb34fe78934cc", null ] + ] ], + [ "SlWlanEventData_u", "union_sl_wlan_event_data__u.html", [ + [ "APModeStaConnected", "union_sl_wlan_event_data__u.html#a8a4b774d3fea5bd36d46e36326f11ed4", null ], + [ "APModestaDisconnected", "union_sl_wlan_event_data__u.html#a5e285baad857f73a0167f73e4b17ae50", null ], + [ "P2PModeDevFound", "union_sl_wlan_event_data__u.html#a8b490ba7a54396f6e289b5789644de5f", null ], + [ "P2PModeNegReqReceived", "union_sl_wlan_event_data__u.html#aee4d526e0489f6384555d71c6a4c2ff3", null ], + [ "P2PModewlanConnectionFailure", "union_sl_wlan_event_data__u.html#a2211e22e568ee4349eebd7ed5b6f9b60", null ], + [ "smartConfigStartResponse", "union_sl_wlan_event_data__u.html#a3e0a9eb580163ca72c178d96a5edba79", null ], + [ "smartConfigStopResponse", "union_sl_wlan_event_data__u.html#a962b4e0845dd71daaf9929aea34183fc", null ], + [ "STAandP2PModeDisconnected", "union_sl_wlan_event_data__u.html#abf61e2e1e81c5eda10f6ff84a7197b31", null ], + [ "STAandP2PModeWlanConnected", "union_sl_wlan_event_data__u.html#a406b4e8670796f9cdc1746646fab6588", null ] + ] ], + [ "SlWlanEvent_t", "struct_sl_wlan_event__t.html", [ + [ "Event", "struct_sl_wlan_event__t.html#adeedbaaa252b969fc66e151eef37ea62", null ], + [ "EventData", "struct_sl_wlan_event__t.html#ae587c51197255d4e4ef20cc90d73825f", null ] + ] ], + [ "SlGetRxStatResponse_t", "struct_sl_get_rx_stat_response__t.html", [ + [ "AvarageDataCtrlRssi", "struct_sl_get_rx_stat_response__t.html#af3660978617c803a996f041215004a50", null ], + [ "AvarageMgMntRssi", "struct_sl_get_rx_stat_response__t.html#a2050deb55011de7a472c8d5bcd6099f7", null ], + [ "GetTimeStamp", "struct_sl_get_rx_stat_response__t.html#a85c0324d0b3de70a327e185173309a5c", null ], + [ "RateHistogram", "struct_sl_get_rx_stat_response__t.html#ad18c6011a86553bd786ffae0f7b87538", null ], + [ "ReceivedAddressMismatchPacketsNumber", "struct_sl_get_rx_stat_response__t.html#a006a7c484f312ebb8a96587d24cc0686", null ], + [ "ReceivedFcsErrorPacketsNumber", "struct_sl_get_rx_stat_response__t.html#a6e06f9a2b719028a084d2fc2333cd309", null ], + [ "ReceivedValidPacketsNumber", "struct_sl_get_rx_stat_response__t.html#a0b84e628b2501fbf4a814b2f678a63ef", null ], + [ "RssiHistogram", "struct_sl_get_rx_stat_response__t.html#a11b977458ccb1ceade91d3f2ae733307", null ], + [ "StartTimeStamp", "struct_sl_get_rx_stat_response__t.html#ac40e3ad339a01bee80c412d99eb1a128", null ] + ] ], + [ "Sl_WlanNetworkEntry_t", "struct_sl___wlan_network_entry__t.html", [ + [ "bssid", "struct_sl___wlan_network_entry__t.html#a1625b9ac8d0d51aa89df83295c9a5de2", null ], + [ "reserved", "struct_sl___wlan_network_entry__t.html#aa1d4d52e9a684f2a28c9c8b89573af18", null ], + [ "rssi", "struct_sl___wlan_network_entry__t.html#a80c3df13ed7cf0b1a5e5639811c82f34", null ], + [ "sec_type", "struct_sl___wlan_network_entry__t.html#af791c098aa0b08d0ee0126843b1fe855", null ], + [ "ssid", "struct_sl___wlan_network_entry__t.html#ad097bad1e9bb0c4e70de8748263b76da", null ], + [ "ssid_len", "struct_sl___wlan_network_entry__t.html#a2e45fb530d9c89d3673ea6e05f07844d", null ] + ] ], + [ "SlSecParams_t", "struct_sl_sec_params__t.html", [ + [ "Key", "struct_sl_sec_params__t.html#af943e0f6d7ca78a5b795c8da294c5d1e", null ], + [ "KeyLen", "struct_sl_sec_params__t.html#a9b049837934488d32481cf8d616e12af", null ], + [ "Type", "struct_sl_sec_params__t.html#a1d58ad89ed5b340d15c354b769f8ecc2", null ] + ] ], + [ "SlSecParamsExt_t", "struct_sl_sec_params_ext__t.html", [ + [ "AnonUser", "struct_sl_sec_params_ext__t.html#a882de2171333187a5cded2550accce18", null ], + [ "AnonUserLen", "struct_sl_sec_params_ext__t.html#ac62b273b2e1b1c60eca7ef61a29b0aa5", null ], + [ "CertIndex", "struct_sl_sec_params_ext__t.html#a55a132bbb3126099cb8f12cb6d174876", null ], + [ "EapMethod", "struct_sl_sec_params_ext__t.html#a4f18f173d08eff5ae05fa940c60df4c0", null ], + [ "User", "struct_sl_sec_params_ext__t.html#afc4f533307e2aee2c6c114f8941aa499", null ], + [ "UserLen", "struct_sl_sec_params_ext__t.html#a24af689142eda26860754c5e9c0f9e60", null ] + ] ], + [ "SlGetSecParamsExt_t", "struct_sl_get_sec_params_ext__t.html", [ + [ "AnonUser", "struct_sl_get_sec_params_ext__t.html#a402a97b0e8257ae2f2b928c7590d0b03", null ], + [ "AnonUserLen", "struct_sl_get_sec_params_ext__t.html#ac62b273b2e1b1c60eca7ef61a29b0aa5", null ], + [ "CertIndex", "struct_sl_get_sec_params_ext__t.html#a55a132bbb3126099cb8f12cb6d174876", null ], + [ "EapMethod", "struct_sl_get_sec_params_ext__t.html#a4f18f173d08eff5ae05fa940c60df4c0", null ], + [ "User", "struct_sl_get_sec_params_ext__t.html#ac3b3c772e1d98758cc674e2f6f0658d5", null ], + [ "UserLen", "struct_sl_get_sec_params_ext__t.html#a24af689142eda26860754c5e9c0f9e60", null ] + ] ], + [ "slWlanScanParamCommand_t", "structsl_wlan_scan_param_command__t.html", [ + [ "G_Channels_mask", "structsl_wlan_scan_param_command__t.html#a1401545f73ec1aeb0f1caff176a49877", null ], + [ "rssiThershold", "structsl_wlan_scan_param_command__t.html#a12b902a2708b47b806a727a2604f9c4f", null ] + ] ], + [ "sl_protocol_InfoElement_t", "structsl__protocol___info_element__t.html", [ + [ "data", "structsl__protocol___info_element__t.html#a27e0ca8e8af28ff69c2df264599f5625", null ], + [ "id", "structsl__protocol___info_element__t.html#a2888afcbf466934238f060ea0b8300ed", null ], + [ "length", "structsl__protocol___info_element__t.html#a128a630f6d2121a0106add0f03f1cab9", null ], + [ "oui", "structsl__protocol___info_element__t.html#aa7158dccffcbe48160a5c4ac033466ff", null ] + ] ], + [ "sl_protocol_WlanSetInfoElement_t", "structsl__protocol___wlan_set_info_element__t.html", [ + [ "ie", "structsl__protocol___wlan_set_info_element__t.html#ac1029492d0e3b06663e3dfa879773e2a", null ], + [ "index", "structsl__protocol___wlan_set_info_element__t.html#a1b7d00023fd5674c4bd44bc179294390", null ], + [ "role", "structsl__protocol___wlan_set_info_element__t.html#a838542fa5c0baf0d55b638d8906ec18e", null ] + ] ], + [ "sl_WlanConnect", "group__wlan.html#ga15d4779e6097f67111c69eaaff56a261", null ], + [ "sl_WlanDisconnect", "group__wlan.html#ga8d3140cea09851de2c580c89f222f808", null ], + [ "sl_WlanGet", "group__wlan.html#gae085496a64690e1d90de834ec571a409", null ], + [ "sl_WlanGetNetworkList", "group__wlan.html#ga620559124e4421c6887ec67ff50bbbbc", null ], + [ "sl_WlanPolicyGet", "group__wlan.html#gab3fe766dab62ecd42836529be4c0b2e1", null ], + [ "sl_WlanPolicySet", "group__wlan.html#gaa0491d6453e037c857bd10e3be87df3d", null ], + [ "sl_WlanProfileAdd", "group__wlan.html#ga27081ec6f3047e97b8b024ae751c955b", null ], + [ "sl_WlanProfileDel", "group__wlan.html#gac4bc2e3a0c2152b49a1614b08ee36204", null ], + [ "sl_WlanProfileGet", "group__wlan.html#ga5195b07e98404f074e0294276fc64858", null ], + [ "sl_WlanRxFilterAdd", "group__wlan.html#ga0f61489aecc77c79f5350a8c6bab3ab5", null ], + [ "sl_WlanRxFilterGet", "group__wlan.html#gab5ffd26ae9abe6ea5bc61b99a0ced94f", null ], + [ "sl_WlanRxFilterSet", "group__wlan.html#gac30d8b0d601562d2f8a8468da18bad11", null ], + [ "sl_WlanRxStatGet", "group__wlan.html#gae42178af250ac0d4356459f666831ad1", null ], + [ "sl_WlanRxStatStart", "group__wlan.html#ga40fdb95f2590b43c91a60377349aad4c", null ], + [ "sl_WlanRxStatStop", "group__wlan.html#ga69b1778b120c0b2db7f2fd2884dde5d8", null ], + [ "sl_WlanSet", "group__wlan.html#gab8ba00f95398b5dccd80550ab3fc17e5", null ], + [ "sl_WlanSetMode", "group__wlan.html#ga14a7b9540cb77fd6f25d867dc4b86216", null ], + [ "sl_WlanSmartConfigStart", "group__wlan.html#ga2ac29ca184173a50d76a36f259a4435d", null ], + [ "sl_WlanSmartConfigStop", "group__wlan.html#gac95a8b72fab78924ea6b52e3799c7de6", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/index.html b/docs/simplelink_api/html/index.html index 5d2ccf6..8c8ceea 100644 --- a/docs/simplelink_api/html/index.html +++ b/docs/simplelink_api/html/index.html @@ -1,200 +1,185 @@ - - - - - - -CC32XX SimpleLink Host Driver: CC32XX SimpleLink Host Driver - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - -
-
- -
-
-
- -
- - - - -
- -
- -
-
-
CC32XX SimpleLink Host Driver
-
-
-

-Introduction

-

The SimpleLink CC32XX family allows to add Wi-Fi and networking capabilities to low-cost embedded products without having prior Wi-Fi, RF or networking expertise. The CC32XX is an ideal solution for sensor and control applications such as home appliances, home automation and smart metering. The CC32XX has integrated a comprehensive TCP/IP network stack, Wi-Fi driver, security supplicant and high-performance applications ARM Cortex-M4 MCU with ultra-low memory footprint, all without compromising the capabilities and robustness of the final application.Refer to the CC32XX Peripheral User Guide for application MCU peripheral APIs.

-

-Modules

-

To make it simple, TI's SimpleLink CC32XX platform capabilities were divided into modules by topic (Silo). These capabilities range from basic device management through wireless network configuration, standard BSD socket and much more. Listed below are the various modules in the SimpleLink CC32XX driver:

    -
  1. Device - controls the behavior of the CC32XX device (start/stop, events masking and obtaining specific device status)
  2. -
  3. Wlan - controls the use of the WiFi WLAN module including:
      -
    1. Connection features, such as: profiles, policies, SmartConfig
    2. -
    3. Advanced WLAN features, such as: scans, rx filters and rx statistics collection
    4. -
    -
  4. -
  5. Socket - controls standard client/server sockets programming options and capabilities
  6. -
  7. Netapp - activates networking applications, such as: HTTP Server, DHCP Server, Ping, DNS and mDNS.
  8. -
  9. Netcfg - controls the configuration of the device addresses (i.e. IP and MAC addresses)
  10. -
  11. FileSystem - provides file system capabilities to TI's CC32XX that can be used by both the CC31XX device and the user.
  12. -
-

-Configuration

-

CC32XX SimpleLink driver is by default configured to support a wide range of application. User based on the application requirement can adjust these configurations. The guide takes you through this process step by step. Please notice that all modifications and porting adjustments of the driver should be made in the user.h header file only. Keep making any of the changes only in this file will ensure smoothly transaction to new versions of the driver at the future!

-

-Modify user.h file

-

The first step is to modify user.h file that includes default configurations and adjustments.

-

-Memory management model

-

The SimpleLink driver support two memory models:

    -
  1. Static (default)
  2. -
  3. Dynamic
  4. -
-

CC32XX default configuration is Static. In the dynamic model it will use the malloc and free defined by supported Operating System. If one wishes to define its own memory management, they can define these interfaces

-

-Asynchronous event handlers routines

-

The SimpleLink device generate asynchronous events in several situations. These asynchronous events could be masked. In order to catch these events you have to provide handler routines. Please notice that if you not provide a handler routine and the event is received, the driver will drop this event without any indication of this drop.

-

-Interface communication driver

-

The SimpleLink device supports several standard communication protocol among SPI and UART. CC32XX Host Driver implements SPI Communication Interface The interface for this communication channel includes 4 simple access functions:

    -
  1. open
  2. -
  3. close
  4. -
  5. read
  6. -
  7. write
  8. -
-

In CC32XX, SPI implementation uses DMA in order to increase the utilization of the communication channel. If user prefers to user UART, above interfaces need to be redefined

-

-OS adaptation

-

The SimpleLink driver could run on two kind of platforms:

    -
  1. Non-Os / Single Threaded (default)
  2. -
  3. Multi-Threaded
  4. -
-

CC32XX SimpleLink Host Driver is ported on both Non-Os and Multi Threaded OS enviroment. The Host driver is made OS independent by implementing an OS Abstraction layer. Reference implementation for OS Abstraction is available for FreeRTOS and TI-RTOS.

-

If you choose to work in multi-threaded environment under different operating system you will have to provide some basic adaptation routines to allow the driver to protect access to resources for different threads (locking object) and to allow synchronization between threads (sync objects). In additional the driver support running without dedicated thread allocated solely to the simple link driver. If you choose to work in this mode, you should also supply a spawn method that will enable to run function on a temporary context.

-

-License

-

Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/

-
Redistribution and use in source and binary forms, with or without 
-modification, are permitted provided that the following conditions 
-are met:
-
-  Redistributions of source code must retain the above copyright 
-  notice, this list of conditions and the following disclaimer.
-
-  Redistributions in binary form must reproduce the above copyright
-  notice, this list of conditions and the following disclaimer in the 
-  documentation and/or other materials provided with the   
-  distribution.
-
-  Neither the name of Texas Instruments Incorporated nor the names of
-  its contributors may be used to endorse or promote products derived
-  from this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 
-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-

-More Information

-
-

http://www.ti.com/product/cc3200
- http://processors.wiki.ti.com/index.php/CC31xx_&_CC32xx


-
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SimpleLink Driver + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
SimpleLink Driver
+
+
+

+Introduction

+

The SimpleLink CC31xx/CC2xx family allows to add Wi-Fi and networking capabilities to low-cost embedded products without having prior Wi-Fi, RF or networking expertise. The CC31xx/CC32xx is an ideal solution for microcontroller-based sensor and control applications such as home appliances, home automation and smart metering. The CC31xx/CC32xx has integrated a comprehensive TCP/IP network stack, Wi-Fi driver and security supplicant leading to easier portability to microcontrollers, to an ultra-low memory footprint, all without compromising the capabilities and robustness of the final application.

+

+Module Names

+

To make it simple, TI's SimpleLink CC31xx/CC32xx platform capabilities were divided into modules by topic (Silo). These capabilities range from basic device management through wireless network configuration, standard BSD socket and much more. Listed below are the various modules in the SimpleLink CC31xx/CC32xx driver:

+
    +
  1. Device - controls the behaviour of the CC31xx/CC32xx device (start/stop, events masking and obtaining specific device status)
  2. +
  3. Wlan - controls the use of the WiFi WLAN module including:
      +
    • Connection features, such as: profiles, policies, SmartConfig™
    • +
    • Advanced WLAN features, such as: scans, rx filters and rx statistics collection
    • +
    +
  4. +
  5. Socket - controls standard client/server sockets programming options and capabilities
  6. +
  7. Netapp - activates networking applications, such as: HTTP Server, DHCP Server, Ping, DNS and mDNS.
  8. +
  9. Netcfg - controls the configuration of the device addresses (i.e. IP and MAC addresses)
  10. +
  11. FileSystem - provides file system capabilities to TI's CC31XX that can be used by both the CC31XX device and the user.
  12. +
+

+Configuration

+

The porting of the SimpleLink driver to any new platform is based on few simple steps. This guide takes you through this process step by step. Please follow the instructions carefully to avoid any problems during this process and to enable efficient and proper work with the device. Please notice that all modifications and porting adjustments of the driver should be made in the user.h header file only. Keep making any of the changes only in this file will ensure smoothly transaction to new versions of the driver at the future!

+

+Modify user.h file

+

The first step is to modify user.h file that includes default configurations and adjustments.

+

+Select the capabilities set required for your application

+

Texas Instruments made a lot of efforts to build set of predefined capability sets that would fit most of the target application. It is recommended to try and choose one of this predefined capabilities set before going to build your own customized set. If you find compatible set you can skip the rest of this step.

+

The available sets are:

+
    +
  1. SL_TINY - Compatible to be used on platforms with very limited resources. Provides the best in class foot print in terms of Code and Data consumption.
  2. +
  3. SL_SMALL - Compatible to most common networking applications. Provide the most common APIs with decent balance between code size, data size, functionality and performances
  4. +
  5. SL_FULL - Provide access to all SimpleLink functionalities
  6. +
+

+Memory management model

+

The SimpleLink driver support two memory models:

+
    +
  1. Static (default)
  2. +
  3. Dynamic
  4. +
+

CC32XX default configuration is Static. In the dynamic model it will use the malloc and free defined by supported Operating System. If one wishes to define its own memory management, they can define these interfaces

+

+Asynchronous event handlers routines

+

The SimpleLink device generate asynchronous events in several situations. These asynchronous events could be masked. In order to catch these events you have to provide handler routines. Please notice that if you not provide a handler routine and the event is received, the driver will drop this event without any indication of this drop.

+

+Interface communication driver

+

CC32XX Host Driver implements an SPI Communication Interface. The interface for this communication channel includes 4 simple access functions:

+
    +
  1. open
  2. +
  3. close
  4. +
  5. read
  6. +
  7. write
  8. +
+

In CC32XX, SPI implementation uses DMA in order to increase the utilization of the communication channel.

+

+OS adaptation

+

The SimpleLink driver could run on two kind of platforms:

+
    +
  1. Non-Os / Single Threaded (default)
  2. +
  3. Multi-Threaded
  4. +
+

CC32XX SimpleLink Host Driver is ported on both Non-Os and Multi Threaded OS enviroment. The Host driver is made OS independent by implementing an OS Abstraction layer. Reference implementation for OS Abstraction is available for FreeRTOS and TI-RTOS.

+

If you choose to work in multi-threaded environment under different operating system you will have to provide some basic adaptation routines to allow the driver to protect access to resources for different threads (locking object) and to allow synchronization between threads (sync objects). In additional the driver support running without dedicated thread allocated solely to the simple link driver. If you choose to work in this mode, you should also supply a spawn method that will enable to run function on a temporary context.

+

+License

+

Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/

+

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

+

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

+

Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

+

Neither the name of Texas Instruments Incorporated nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

+

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

+
+
+ + + + diff --git a/docs/simplelink_api/html/installdox b/docs/simplelink_api/html/installdox deleted file mode 100644 index edf5bbf..0000000 --- a/docs/simplelink_api/html/installdox +++ /dev/null @@ -1,112 +0,0 @@ -#!/usr/bin/perl - -%subst = ( ); -$quiet = 0; - -while ( @ARGV ) { - $_ = shift @ARGV; - if ( s/^-// ) { - if ( /^l(.*)/ ) { - $v = ($1 eq "") ? shift @ARGV : $1; - ($v =~ /\/$/) || ($v .= "/"); - $_ = $v; - if ( /(.+)\@(.+)/ ) { - if ( exists $subst{$1} ) { - $subst{$1} = $2; - } else { - print STDERR "Unknown tag file $1 given with option -l\n"; - &usage(); - } - } else { - print STDERR "Argument $_ is invalid for option -l\n"; - &usage(); - } - } - elsif ( /^q/ ) { - $quiet = 1; - } - elsif ( /^\?|^h/ ) { - &usage(); - } - else { - print STDERR "Illegal option -$_\n"; - &usage(); - } - } - else { - push (@files, $_ ); - } -} - -foreach $sub (keys %subst) -{ - if ( $subst{$sub} eq "" ) - { - print STDERR "No substitute given for tag file `$sub'\n"; - &usage(); - } - elsif ( ! $quiet && $sub ne "_doc" && $sub ne "_cgi" ) - { - print "Substituting $subst{$sub} for each occurrence of tag file $sub\n"; - } -} - -if ( ! @files ) { - if (opendir(D,".")) { - foreach $file ( readdir(D) ) { - $match = ".html"; - next if ( $file =~ /^\.\.?$/ ); - ($file =~ /$match/) && (push @files, $file); - ($file =~ /\.svg/) && (push @files, $file); - ($file =~ "navtree.js") && (push @files, $file); - } - closedir(D); - } -} - -if ( ! @files ) { - print STDERR "Warning: No input files given and none found!\n"; -} - -foreach $f (@files) -{ - if ( ! $quiet ) { - print "Editing: $f...\n"; - } - $oldf = $f; - $f .= ".bak"; - unless (rename $oldf,$f) { - print STDERR "Error: cannot rename file $oldf\n"; - exit 1; - } - if (open(F,"<$f")) { - unless (open(G,">$oldf")) { - print STDERR "Error: opening file $oldf for writing\n"; - exit 1; - } - if ($oldf ne "tree.js") { - while () { - s/doxygen\=\"([^ \"\:\t\>\<]*)\:([^ \"\t\>\<]*)\" (xlink:href|href|src)=\"\2/doxygen\=\"$1:$subst{$1}\" \3=\"$subst{$1}/g; - print G "$_"; - } - } - else { - while () { - s/\"([^ \"\:\t\>\<]*)\:([^ \"\t\>\<]*)\", \"\2/\"$1:$subst{$1}\" ,\"$subst{$1}/g; - print G "$_"; - } - } - } - else { - print STDERR "Warning file $f does not exist\n"; - } - unlink $f; -} - -sub usage { - print STDERR "Usage: installdox [options] [html-file [html-file ...]]\n"; - print STDERR "Options:\n"; - print STDERR " -l tagfile\@linkName tag file + URL or directory \n"; - print STDERR " -q Quiet mode\n\n"; - exit 1; -} diff --git a/docs/simplelink_api/html/jquery.js b/docs/simplelink_api/html/jquery.js index 3db33e6..816f882 100644 --- a/docs/simplelink_api/html/jquery.js +++ b/docs/simplelink_api/html/jquery.js @@ -1,72 +1,72 @@ -/*! - * jQuery JavaScript Library v1.7.1 - * http://jquery.com/ - * - * Copyright 2011, John Resig - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * Includes Sizzle.js - * http://sizzlejs.com/ - * Copyright 2011, The Dojo Foundation - * Released under the MIT, BSD, and GPL Licenses. - * - * Date: Mon Nov 21 21:11:03 2011 -0500 - */ -(function(bb,L){var av=bb.document,bu=bb.navigator,bl=bb.location;var b=(function(){var bF=function(b0,b1){return new bF.fn.init(b0,b1,bD)},bU=bb.jQuery,bH=bb.$,bD,bY=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bM=/\S/,bI=/^\s+/,bE=/\s+$/,bA=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bN=/^[\],:{}\s]*$/,bW=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bP=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bJ=/(?:^|:|,)(?:\s*\[)+/g,by=/(webkit)[ \/]([\w.]+)/,bR=/(opera)(?:.*version)?[ \/]([\w.]+)/,bQ=/(msie) ([\w.]+)/,bS=/(mozilla)(?:.*? rv:([\w.]+))?/,bB=/-([a-z]|[0-9])/ig,bZ=/^-ms-/,bT=function(b0,b1){return(b1+"").toUpperCase()},bX=bu.userAgent,bV,bC,e,bL=Object.prototype.toString,bG=Object.prototype.hasOwnProperty,bz=Array.prototype.push,bK=Array.prototype.slice,bO=String.prototype.trim,bv=Array.prototype.indexOf,bx={};bF.fn=bF.prototype={constructor:bF,init:function(b0,b4,b3){var b2,b5,b1,b6;if(!b0){return this}if(b0.nodeType){this.context=this[0]=b0;this.length=1;return this}if(b0==="body"&&!b4&&av.body){this.context=av;this[0]=av.body;this.selector=b0;this.length=1;return this}if(typeof b0==="string"){if(b0.charAt(0)==="<"&&b0.charAt(b0.length-1)===">"&&b0.length>=3){b2=[null,b0,null]}else{b2=bY.exec(b0)}if(b2&&(b2[1]||!b4)){if(b2[1]){b4=b4 instanceof bF?b4[0]:b4;b6=(b4?b4.ownerDocument||b4:av);b1=bA.exec(b0);if(b1){if(bF.isPlainObject(b4)){b0=[av.createElement(b1[1])];bF.fn.attr.call(b0,b4,true)}else{b0=[b6.createElement(b1[1])]}}else{b1=bF.buildFragment([b2[1]],[b6]);b0=(b1.cacheable?bF.clone(b1.fragment):b1.fragment).childNodes}return bF.merge(this,b0)}else{b5=av.getElementById(b2[2]);if(b5&&b5.parentNode){if(b5.id!==b2[2]){return b3.find(b0)}this.length=1;this[0]=b5}this.context=av;this.selector=b0;return this}}else{if(!b4||b4.jquery){return(b4||b3).find(b0)}else{return this.constructor(b4).find(b0)}}}else{if(bF.isFunction(b0)){return b3.ready(b0)}}if(b0.selector!==L){this.selector=b0.selector;this.context=b0.context}return bF.makeArray(b0,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return bK.call(this,0)},get:function(b0){return b0==null?this.toArray():(b0<0?this[this.length+b0]:this[b0])},pushStack:function(b1,b3,b0){var b2=this.constructor();if(bF.isArray(b1)){bz.apply(b2,b1)}else{bF.merge(b2,b1)}b2.prevObject=this;b2.context=this.context;if(b3==="find"){b2.selector=this.selector+(this.selector?" ":"")+b0}else{if(b3){b2.selector=this.selector+"."+b3+"("+b0+")"}}return b2},each:function(b1,b0){return bF.each(this,b1,b0)},ready:function(b0){bF.bindReady();bC.add(b0);return this},eq:function(b0){b0=+b0;return b0===-1?this.slice(b0):this.slice(b0,b0+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bK.apply(this,arguments),"slice",bK.call(arguments).join(","))},map:function(b0){return this.pushStack(bF.map(this,function(b2,b1){return b0.call(b2,b1,b2)}))},end:function(){return this.prevObject||this.constructor(null)},push:bz,sort:[].sort,splice:[].splice};bF.fn.init.prototype=bF.fn;bF.extend=bF.fn.extend=function(){var b9,b2,b0,b1,b6,b7,b5=arguments[0]||{},b4=1,b3=arguments.length,b8=false;if(typeof b5==="boolean"){b8=b5;b5=arguments[1]||{};b4=2}if(typeof b5!=="object"&&!bF.isFunction(b5)){b5={}}if(b3===b4){b5=this;--b4}for(;b40){return}bC.fireWith(av,[bF]);if(bF.fn.trigger){bF(av).trigger("ready").off("ready")}}},bindReady:function(){if(bC){return}bC=bF.Callbacks("once memory");if(av.readyState==="complete"){return setTimeout(bF.ready,1)}if(av.addEventListener){av.addEventListener("DOMContentLoaded",e,false);bb.addEventListener("load",bF.ready,false)}else{if(av.attachEvent){av.attachEvent("onreadystatechange",e);bb.attachEvent("onload",bF.ready);var b0=false;try{b0=bb.frameElement==null}catch(b1){}if(av.documentElement.doScroll&&b0){bw()}}}},isFunction:function(b0){return bF.type(b0)==="function"},isArray:Array.isArray||function(b0){return bF.type(b0)==="array"},isWindow:function(b0){return b0&&typeof b0==="object"&&"setInterval" in b0},isNumeric:function(b0){return !isNaN(parseFloat(b0))&&isFinite(b0)},type:function(b0){return b0==null?String(b0):bx[bL.call(b0)]||"object"},isPlainObject:function(b2){if(!b2||bF.type(b2)!=="object"||b2.nodeType||bF.isWindow(b2)){return false}try{if(b2.constructor&&!bG.call(b2,"constructor")&&!bG.call(b2.constructor.prototype,"isPrototypeOf")){return false}}catch(b1){return false}var b0;for(b0 in b2){}return b0===L||bG.call(b2,b0)},isEmptyObject:function(b1){for(var b0 in b1){return false}return true},error:function(b0){throw new Error(b0)},parseJSON:function(b0){if(typeof b0!=="string"||!b0){return null}b0=bF.trim(b0);if(bb.JSON&&bb.JSON.parse){return bb.JSON.parse(b0)}if(bN.test(b0.replace(bW,"@").replace(bP,"]").replace(bJ,""))){return(new Function("return "+b0))()}bF.error("Invalid JSON: "+b0)},parseXML:function(b2){var b0,b1;try{if(bb.DOMParser){b1=new DOMParser();b0=b1.parseFromString(b2,"text/xml")}else{b0=new ActiveXObject("Microsoft.XMLDOM");b0.async="false";b0.loadXML(b2)}}catch(b3){b0=L}if(!b0||!b0.documentElement||b0.getElementsByTagName("parsererror").length){bF.error("Invalid XML: "+b2)}return b0},noop:function(){},globalEval:function(b0){if(b0&&bM.test(b0)){(bb.execScript||function(b1){bb["eval"].call(bb,b1)})(b0)}},camelCase:function(b0){return b0.replace(bZ,"ms-").replace(bB,bT)},nodeName:function(b1,b0){return b1.nodeName&&b1.nodeName.toUpperCase()===b0.toUpperCase()},each:function(b3,b6,b2){var b1,b4=0,b5=b3.length,b0=b5===L||bF.isFunction(b3);if(b2){if(b0){for(b1 in b3){if(b6.apply(b3[b1],b2)===false){break}}}else{for(;b40&&b0[0]&&b0[b1-1])||b1===0||bF.isArray(b0));if(b3){for(;b21?aJ.call(arguments,0):bG;if(!(--bw)){bC.resolveWith(bC,bx)}}}function bz(bF){return function(bG){bB[bF]=arguments.length>1?aJ.call(arguments,0):bG;bC.notifyWith(bE,bB)}}if(e>1){for(;bv
a";bI=bv.getElementsByTagName("*");bF=bv.getElementsByTagName("a")[0];if(!bI||!bI.length||!bF){return{}}bG=av.createElement("select");bx=bG.appendChild(av.createElement("option"));bE=bv.getElementsByTagName("input")[0];bJ={leadingWhitespace:(bv.firstChild.nodeType===3),tbody:!bv.getElementsByTagName("tbody").length,htmlSerialize:!!bv.getElementsByTagName("link").length,style:/top/.test(bF.getAttribute("style")),hrefNormalized:(bF.getAttribute("href")==="/a"),opacity:/^0.55/.test(bF.style.opacity),cssFloat:!!bF.style.cssFloat,checkOn:(bE.value==="on"),optSelected:bx.selected,getSetAttribute:bv.className!=="t",enctype:!!av.createElement("form").enctype,html5Clone:av.createElement("nav").cloneNode(true).outerHTML!=="<:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};bE.checked=true;bJ.noCloneChecked=bE.cloneNode(true).checked;bG.disabled=true;bJ.optDisabled=!bx.disabled;try{delete bv.test}catch(bC){bJ.deleteExpando=false}if(!bv.addEventListener&&bv.attachEvent&&bv.fireEvent){bv.attachEvent("onclick",function(){bJ.noCloneEvent=false});bv.cloneNode(true).fireEvent("onclick")}bE=av.createElement("input");bE.value="t";bE.setAttribute("type","radio");bJ.radioValue=bE.value==="t";bE.setAttribute("checked","checked");bv.appendChild(bE);bD=av.createDocumentFragment();bD.appendChild(bv.lastChild);bJ.checkClone=bD.cloneNode(true).cloneNode(true).lastChild.checked;bJ.appendChecked=bE.checked;bD.removeChild(bE);bD.appendChild(bv);bv.innerHTML="";if(bb.getComputedStyle){bA=av.createElement("div");bA.style.width="0";bA.style.marginRight="0";bv.style.width="2px";bv.appendChild(bA);bJ.reliableMarginRight=(parseInt((bb.getComputedStyle(bA,null)||{marginRight:0}).marginRight,10)||0)===0}if(bv.attachEvent){for(by in {submit:1,change:1,focusin:1}){bB="on"+by;bw=(bB in bv);if(!bw){bv.setAttribute(bB,"return;");bw=(typeof bv[bB]==="function")}bJ[by+"Bubbles"]=bw}}bD.removeChild(bv);bD=bG=bx=bA=bv=bE=null;b(function(){var bM,bU,bV,bT,bN,bO,bL,bS,bR,e,bP,bQ=av.getElementsByTagName("body")[0];if(!bQ){return}bL=1;bS="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;";bR="visibility:hidden;border:0;";e="style='"+bS+"border:5px solid #000;padding:0;'";bP="
";bM=av.createElement("div");bM.style.cssText=bR+"width:0;height:0;position:static;top:0;margin-top:"+bL+"px";bQ.insertBefore(bM,bQ.firstChild);bv=av.createElement("div");bM.appendChild(bv);bv.innerHTML="
t
";bz=bv.getElementsByTagName("td");bw=(bz[0].offsetHeight===0);bz[0].style.display="";bz[1].style.display="none";bJ.reliableHiddenOffsets=bw&&(bz[0].offsetHeight===0);bv.innerHTML="";bv.style.width=bv.style.paddingLeft="1px";b.boxModel=bJ.boxModel=bv.offsetWidth===2;if(typeof bv.style.zoom!=="undefined"){bv.style.display="inline";bv.style.zoom=1;bJ.inlineBlockNeedsLayout=(bv.offsetWidth===2);bv.style.display="";bv.innerHTML="
";bJ.shrinkWrapBlocks=(bv.offsetWidth!==2)}bv.style.cssText=bS+bR;bv.innerHTML=bP;bU=bv.firstChild;bV=bU.firstChild;bN=bU.nextSibling.firstChild.firstChild;bO={doesNotAddBorder:(bV.offsetTop!==5),doesAddBorderForTableAndCells:(bN.offsetTop===5)};bV.style.position="fixed";bV.style.top="20px";bO.fixedPosition=(bV.offsetTop===20||bV.offsetTop===15);bV.style.position=bV.style.top="";bU.style.overflow="hidden";bU.style.position="relative";bO.subtractsBorderForOverflowNotVisible=(bV.offsetTop===-5);bO.doesNotIncludeMarginInBodyOffset=(bQ.offsetTop!==bL);bQ.removeChild(bM);bv=bM=null;b.extend(bJ,bO)});return bJ})();var aS=/^(?:\{.*\}|\[.*\])$/,aA=/([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(e){e=e.nodeType?b.cache[e[b.expando]]:e[b.expando];return !!e&&!S(e)},data:function(bx,bv,bz,by){if(!b.acceptData(bx)){return}var bG,bA,bD,bE=b.expando,bC=typeof bv==="string",bF=bx.nodeType,e=bF?b.cache:bx,bw=bF?bx[bE]:bx[bE]&&bE,bB=bv==="events";if((!bw||!e[bw]||(!bB&&!by&&!e[bw].data))&&bC&&bz===L){return}if(!bw){if(bF){bx[bE]=bw=++b.uuid}else{bw=bE}}if(!e[bw]){e[bw]={};if(!bF){e[bw].toJSON=b.noop}}if(typeof bv==="object"||typeof bv==="function"){if(by){e[bw]=b.extend(e[bw],bv)}else{e[bw].data=b.extend(e[bw].data,bv)}}bG=bA=e[bw];if(!by){if(!bA.data){bA.data={}}bA=bA.data}if(bz!==L){bA[b.camelCase(bv)]=bz}if(bB&&!bA[bv]){return bG.events}if(bC){bD=bA[bv];if(bD==null){bD=bA[b.camelCase(bv)]}}else{bD=bA}return bD},removeData:function(bx,bv,by){if(!b.acceptData(bx)){return}var bB,bA,bz,bC=b.expando,bD=bx.nodeType,e=bD?b.cache:bx,bw=bD?bx[bC]:bC;if(!e[bw]){return}if(bv){bB=by?e[bw]:e[bw].data;if(bB){if(!b.isArray(bv)){if(bv in bB){bv=[bv]}else{bv=b.camelCase(bv);if(bv in bB){bv=[bv]}else{bv=bv.split(" ")}}}for(bA=0,bz=bv.length;bA-1){return true}}return false},val:function(bx){var e,bv,by,bw=this[0];if(!arguments.length){if(bw){e=b.valHooks[bw.nodeName.toLowerCase()]||b.valHooks[bw.type];if(e&&"get" in e&&(bv=e.get(bw,"value"))!==L){return bv}bv=bw.value;return typeof bv==="string"?bv.replace(aU,""):bv==null?"":bv}return}by=b.isFunction(bx);return this.each(function(bA){var bz=b(this),bB;if(this.nodeType!==1){return}if(by){bB=bx.call(this,bA,bz.val())}else{bB=bx}if(bB==null){bB=""}else{if(typeof bB==="number"){bB+=""}else{if(b.isArray(bB)){bB=b.map(bB,function(bC){return bC==null?"":bC+""})}}}e=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type];if(!e||!("set" in e)||e.set(this,bB,"value")===L){this.value=bB}})}});b.extend({valHooks:{option:{get:function(e){var bv=e.attributes.value;return !bv||bv.specified?e.value:e.text}},select:{get:function(e){var bA,bv,bz,bx,by=e.selectedIndex,bB=[],bC=e.options,bw=e.type==="select-one";if(by<0){return null}bv=bw?by:0;bz=bw?by+1:bC.length;for(;bv=0});if(!e.length){bv.selectedIndex=-1}return e}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(bA,bx,bB,bz){var bw,e,by,bv=bA.nodeType; -if(!bA||bv===3||bv===8||bv===2){return}if(bz&&bx in b.attrFn){return b(bA)[bx](bB)}if(typeof bA.getAttribute==="undefined"){return b.prop(bA,bx,bB)}by=bv!==1||!b.isXMLDoc(bA);if(by){bx=bx.toLowerCase();e=b.attrHooks[bx]||(ao.test(bx)?aY:be)}if(bB!==L){if(bB===null){b.removeAttr(bA,bx);return}else{if(e&&"set" in e&&by&&(bw=e.set(bA,bB,bx))!==L){return bw}else{bA.setAttribute(bx,""+bB);return bB}}}else{if(e&&"get" in e&&by&&(bw=e.get(bA,bx))!==null){return bw}else{bw=bA.getAttribute(bx);return bw===null?L:bw}}},removeAttr:function(bx,bz){var by,bA,bv,e,bw=0;if(bz&&bx.nodeType===1){bA=bz.toLowerCase().split(af);e=bA.length;for(;bw=0)}}})});var bd=/^(?:textarea|input|select)$/i,n=/^([^\.]*)?(?:\.(.+))?$/,J=/\bhover(\.\S+)?\b/,aO=/^key/,bf=/^(?:mouse|contextmenu)|click/,T=/^(?:focusinfocus|focusoutblur)$/,U=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,Y=function(e){var bv=U.exec(e);if(bv){bv[1]=(bv[1]||"").toLowerCase();bv[3]=bv[3]&&new RegExp("(?:^|\\s)"+bv[3]+"(?:\\s|$)")}return bv},j=function(bw,e){var bv=bw.attributes||{};return((!e[1]||bw.nodeName.toLowerCase()===e[1])&&(!e[2]||(bv.id||{}).value===e[2])&&(!e[3]||e[3].test((bv["class"]||{}).value)))},bt=function(e){return b.event.special.hover?e:e.replace(J,"mouseenter$1 mouseleave$1")};b.event={add:function(bx,bC,bJ,bA,by){var bD,bB,bK,bI,bH,bF,e,bG,bv,bz,bw,bE;if(bx.nodeType===3||bx.nodeType===8||!bC||!bJ||!(bD=b._data(bx))){return}if(bJ.handler){bv=bJ;bJ=bv.handler}if(!bJ.guid){bJ.guid=b.guid++}bK=bD.events;if(!bK){bD.events=bK={}}bB=bD.handle;if(!bB){bD.handle=bB=function(bL){return typeof b!=="undefined"&&(!bL||b.event.triggered!==bL.type)?b.event.dispatch.apply(bB.elem,arguments):L};bB.elem=bx}bC=b.trim(bt(bC)).split(" ");for(bI=0;bI=0){bG=bG.slice(0,-1);bw=true}if(bG.indexOf(".")>=0){bx=bG.split(".");bG=bx.shift();bx.sort()}if((!bA||b.event.customEvent[bG])&&!b.event.global[bG]){return}bv=typeof bv==="object"?bv[b.expando]?bv:new b.Event(bG,bv):new b.Event(bG);bv.type=bG;bv.isTrigger=true;bv.exclusive=bw;bv.namespace=bx.join(".");bv.namespace_re=bv.namespace?new RegExp("(^|\\.)"+bx.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;by=bG.indexOf(":")<0?"on"+bG:"";if(!bA){e=b.cache;for(bC in e){if(e[bC].events&&e[bC].events[bG]){b.event.trigger(bv,bD,e[bC].handle.elem,true)}}return}bv.result=L;if(!bv.target){bv.target=bA}bD=bD!=null?b.makeArray(bD):[];bD.unshift(bv);bF=b.event.special[bG]||{};if(bF.trigger&&bF.trigger.apply(bA,bD)===false){return}bB=[[bA,bF.bindType||bG]];if(!bJ&&!bF.noBubble&&!b.isWindow(bA)){bI=bF.delegateType||bG;bH=T.test(bI+bG)?bA:bA.parentNode;bz=null;for(;bH;bH=bH.parentNode){bB.push([bH,bI]);bz=bH}if(bz&&bz===bA.ownerDocument){bB.push([bz.defaultView||bz.parentWindow||bb,bI])}}for(bC=0;bCbA){bH.push({elem:this,matches:bz.slice(bA)})}for(bC=0;bC0?this.on(e,null,bx,bw):this.trigger(e)};if(b.attrFn){b.attrFn[e]=true}if(aO.test(e)){b.event.fixHooks[e]=b.event.keyHooks}if(bf.test(e)){b.event.fixHooks[e]=b.event.mouseHooks}}); -/*! - * Sizzle CSS Selector Engine - * Copyright 2011, The Dojo Foundation - * Released under the MIT, BSD, and GPL Licenses. - * More information: http://sizzlejs.com/ - */ -(function(){var bH=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bC="sizcache"+(Math.random()+"").replace(".",""),bI=0,bL=Object.prototype.toString,bB=false,bA=true,bK=/\\/g,bO=/\r\n/g,bQ=/\W/;[0,0].sort(function(){bA=false;return 0});var by=function(bV,e,bY,bZ){bY=bY||[];e=e||av;var b1=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!bV||typeof bV!=="string"){return bY}var bS,b3,b6,bR,b2,b5,b4,bX,bU=true,bT=by.isXML(e),bW=[],b0=bV;do{bH.exec("");bS=bH.exec(b0);if(bS){b0=bS[3];bW.push(bS[1]);if(bS[2]){bR=bS[3];break}}}while(bS);if(bW.length>1&&bD.exec(bV)){if(bW.length===2&&bE.relative[bW[0]]){b3=bM(bW[0]+bW[1],e,bZ)}else{b3=bE.relative[bW[0]]?[e]:by(bW.shift(),e);while(bW.length){bV=bW.shift();if(bE.relative[bV]){bV+=bW.shift()}b3=bM(bV,b3,bZ)}}}else{if(!bZ&&bW.length>1&&e.nodeType===9&&!bT&&bE.match.ID.test(bW[0])&&!bE.match.ID.test(bW[bW.length-1])){b2=by.find(bW.shift(),e,bT);e=b2.expr?by.filter(b2.expr,b2.set)[0]:b2.set[0]}if(e){b2=bZ?{expr:bW.pop(),set:bF(bZ)}:by.find(bW.pop(),bW.length===1&&(bW[0]==="~"||bW[0]==="+")&&e.parentNode?e.parentNode:e,bT);b3=b2.expr?by.filter(b2.expr,b2.set):b2.set;if(bW.length>0){b6=bF(b3)}else{bU=false}while(bW.length){b5=bW.pop();b4=b5;if(!bE.relative[b5]){b5=""}else{b4=bW.pop()}if(b4==null){b4=e}bE.relative[b5](b6,b4,bT)}}else{b6=bW=[]}}if(!b6){b6=b3}if(!b6){by.error(b5||bV)}if(bL.call(b6)==="[object Array]"){if(!bU){bY.push.apply(bY,b6)}else{if(e&&e.nodeType===1){for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&(b6[bX]===true||b6[bX].nodeType===1&&by.contains(e,b6[bX]))){bY.push(b3[bX])}}}else{for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&b6[bX].nodeType===1){bY.push(b3[bX])}}}}}else{bF(b6,bY)}if(bR){by(bR,b1,bY,bZ);by.uniqueSort(bY)}return bY};by.uniqueSort=function(bR){if(bJ){bB=bA;bR.sort(bJ);if(bB){for(var e=1;e0};by.find=function(bX,e,bY){var bW,bS,bU,bT,bV,bR;if(!bX){return[]}for(bS=0,bU=bE.order.length;bS":function(bW,bR){var bV,bU=typeof bR==="string",bS=0,e=bW.length;if(bU&&!bQ.test(bR)){bR=bR.toLowerCase();for(;bS=0)){if(!bS){e.push(bV)}}else{if(bS){bR[bU]=false}}}}return false},ID:function(e){return e[1].replace(bK,"")},TAG:function(bR,e){return bR[1].replace(bK,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){by.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var bR=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(bR[1]+(bR[2]||1))-0;e[3]=bR[3]-0}else{if(e[2]){by.error(e[0])}}e[0]=bI++;return e},ATTR:function(bU,bR,bS,e,bV,bW){var bT=bU[1]=bU[1].replace(bK,"");if(!bW&&bE.attrMap[bT]){bU[1]=bE.attrMap[bT]}bU[4]=(bU[4]||bU[5]||"").replace(bK,"");if(bU[2]==="~="){bU[4]=" "+bU[4]+" "}return bU},PSEUDO:function(bU,bR,bS,e,bV){if(bU[1]==="not"){if((bH.exec(bU[3])||"").length>1||/^\w/.test(bU[3])){bU[3]=by(bU[3],null,null,bR)}else{var bT=by.filter(bU[3],bR,bS,true^bV);if(!bS){e.push.apply(e,bT)}return false}}else{if(bE.match.POS.test(bU[0])||bE.match.CHILD.test(bU[0])){return true}}return bU},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(bS,bR,e){return !!by(e[3],bS).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(bS){var e=bS.getAttribute("type"),bR=bS.type;return bS.nodeName.toLowerCase()==="input"&&"text"===bR&&(e===bR||e===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"submit"===bR.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"reset"===bR.type},button:function(bR){var e=bR.nodeName.toLowerCase();return e==="input"&&"button"===bR.type||e==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(bR,e){return e===0},last:function(bS,bR,e,bT){return bR===bT.length-1},even:function(bR,e){return e%2===0},odd:function(bR,e){return e%2===1 -},lt:function(bS,bR,e){return bRe[3]-0},nth:function(bS,bR,e){return e[3]-0===bR},eq:function(bS,bR,e){return e[3]-0===bR}},filter:{PSEUDO:function(bS,bX,bW,bY){var e=bX[1],bR=bE.filters[e];if(bR){return bR(bS,bW,bX,bY)}else{if(e==="contains"){return(bS.textContent||bS.innerText||bw([bS])||"").indexOf(bX[3])>=0}else{if(e==="not"){var bT=bX[3];for(var bV=0,bU=bT.length;bV=0)}}},ID:function(bR,e){return bR.nodeType===1&&bR.getAttribute("id")===e},TAG:function(bR,e){return(e==="*"&&bR.nodeType===1)||!!bR.nodeName&&bR.nodeName.toLowerCase()===e},CLASS:function(bR,e){return(" "+(bR.className||bR.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(bV,bT){var bS=bT[1],e=by.attr?by.attr(bV,bS):bE.attrHandle[bS]?bE.attrHandle[bS](bV):bV[bS]!=null?bV[bS]:bV.getAttribute(bS),bW=e+"",bU=bT[2],bR=bT[4];return e==null?bU==="!=":!bU&&by.attr?e!=null:bU==="="?bW===bR:bU==="*="?bW.indexOf(bR)>=0:bU==="~="?(" "+bW+" ").indexOf(bR)>=0:!bR?bW&&e!==false:bU==="!="?bW!==bR:bU==="^="?bW.indexOf(bR)===0:bU==="$="?bW.substr(bW.length-bR.length)===bR:bU==="|="?bW===bR||bW.substr(0,bR.length+1)===bR+"-":false},POS:function(bU,bR,bS,bV){var e=bR[2],bT=bE.setFilters[e];if(bT){return bT(bU,bS,bR,bV)}}}};var bD=bE.match.POS,bx=function(bR,e){return"\\"+(e-0+1)};for(var bz in bE.match){bE.match[bz]=new RegExp(bE.match[bz].source+(/(?![^\[]*\])(?![^\(]*\))/.source));bE.leftMatch[bz]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bE.match[bz].source.replace(/\\(\d+)/g,bx))}var bF=function(bR,e){bR=Array.prototype.slice.call(bR,0);if(e){e.push.apply(e,bR);return e}return bR};try{Array.prototype.slice.call(av.documentElement.childNodes,0)[0].nodeType}catch(bP){bF=function(bU,bT){var bS=0,bR=bT||[];if(bL.call(bU)==="[object Array]"){Array.prototype.push.apply(bR,bU)}else{if(typeof bU.length==="number"){for(var e=bU.length;bS";e.insertBefore(bR,e.firstChild);if(av.getElementById(bS)){bE.find.ID=function(bU,bV,bW){if(typeof bV.getElementById!=="undefined"&&!bW){var bT=bV.getElementById(bU[1]);return bT?bT.id===bU[1]||typeof bT.getAttributeNode!=="undefined"&&bT.getAttributeNode("id").nodeValue===bU[1]?[bT]:L:[]}};bE.filter.ID=function(bV,bT){var bU=typeof bV.getAttributeNode!=="undefined"&&bV.getAttributeNode("id");return bV.nodeType===1&&bU&&bU.nodeValue===bT}}e.removeChild(bR);e=bR=null})();(function(){var e=av.createElement("div");e.appendChild(av.createComment(""));if(e.getElementsByTagName("*").length>0){bE.find.TAG=function(bR,bV){var bU=bV.getElementsByTagName(bR[1]);if(bR[1]==="*"){var bT=[];for(var bS=0;bU[bS];bS++){if(bU[bS].nodeType===1){bT.push(bU[bS])}}bU=bT}return bU}}e.innerHTML="";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){bE.attrHandle.href=function(bR){return bR.getAttribute("href",2)}}e=null})();if(av.querySelectorAll){(function(){var e=by,bT=av.createElement("div"),bS="__sizzle__";bT.innerHTML="

";if(bT.querySelectorAll&&bT.querySelectorAll(".TEST").length===0){return}by=function(b4,bV,bZ,b3){bV=bV||av;if(!b3&&!by.isXML(bV)){var b2=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b4);if(b2&&(bV.nodeType===1||bV.nodeType===9)){if(b2[1]){return bF(bV.getElementsByTagName(b4),bZ)}else{if(b2[2]&&bE.find.CLASS&&bV.getElementsByClassName){return bF(bV.getElementsByClassName(b2[2]),bZ)}}}if(bV.nodeType===9){if(b4==="body"&&bV.body){return bF([bV.body],bZ)}else{if(b2&&b2[3]){var bY=bV.getElementById(b2[3]);if(bY&&bY.parentNode){if(bY.id===b2[3]){return bF([bY],bZ)}}else{return bF([],bZ)}}}try{return bF(bV.querySelectorAll(b4),bZ)}catch(b0){}}else{if(bV.nodeType===1&&bV.nodeName.toLowerCase()!=="object"){var bW=bV,bX=bV.getAttribute("id"),bU=bX||bS,b6=bV.parentNode,b5=/^\s*[+~]/.test(b4);if(!bX){bV.setAttribute("id",bU)}else{bU=bU.replace(/'/g,"\\$&")}if(b5&&b6){bV=bV.parentNode}try{if(!b5||b6){return bF(bV.querySelectorAll("[id='"+bU+"'] "+b4),bZ)}}catch(b1){}finally{if(!bX){bW.removeAttribute("id")}}}}}return e(b4,bV,bZ,b3)};for(var bR in e){by[bR]=e[bR]}bT=null})()}(function(){var e=av.documentElement,bS=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(bS){var bU=!bS.call(av.createElement("div"),"div"),bR=false;try{bS.call(av.documentElement,"[test!='']:sizzle")}catch(bT){bR=true}by.matchesSelector=function(bW,bY){bY=bY.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!by.isXML(bW)){try{if(bR||!bE.match.PSEUDO.test(bY)&&!/!=/.test(bY)){var bV=bS.call(bW,bY);if(bV||!bU||bW.document&&bW.document.nodeType!==11){return bV}}}catch(bX){}}return by(bY,null,null,[bW]).length>0}}})();(function(){var e=av.createElement("div");e.innerHTML="
";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}bE.order.splice(1,0,"CLASS");bE.find.CLASS=function(bR,bS,bT){if(typeof bS.getElementsByClassName!=="undefined"&&!bT){return bS.getElementsByClassName(bR[1])}};e=null})();function bv(bR,bW,bV,bZ,bX,bY){for(var bT=0,bS=bZ.length;bT0){bU=e;break}}}e=e[bR]}bZ[bT]=bU}}}if(av.documentElement.contains){by.contains=function(bR,e){return bR!==e&&(bR.contains?bR.contains(e):true)}}else{if(av.documentElement.compareDocumentPosition){by.contains=function(bR,e){return !!(bR.compareDocumentPosition(e)&16)}}else{by.contains=function(){return false}}}by.isXML=function(e){var bR=(e?e.ownerDocument||e:0).documentElement;return bR?bR.nodeName!=="HTML":false};var bM=function(bS,e,bW){var bV,bX=[],bU="",bY=e.nodeType?[e]:e;while((bV=bE.match.PSEUDO.exec(bS))){bU+=bV[0];bS=bS.replace(bE.match.PSEUDO,"")}bS=bE.relative[bS]?bS+"*":bS;for(var bT=0,bR=bY.length;bT0){for(bB=bA;bB=0:b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(by,bx){var bv=[],bw,e,bz=this[0];if(b.isArray(by)){var bB=1;while(bz&&bz.ownerDocument&&bz!==bx){for(bw=0;bw-1:b.find.matchesSelector(bz,by)){bv.push(bz);break}else{bz=bz.parentNode;if(!bz||!bz.ownerDocument||bz===bx||bz.nodeType===11){break}}}}bv=bv.length>1?b.unique(bv):bv;return this.pushStack(bv,"closest",by)},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1}if(typeof e==="string"){return b.inArray(this[0],b(e))}return b.inArray(e.jquery?e[0]:e,this)},add:function(e,bv){var bx=typeof e==="string"?b(e,bv):b.makeArray(e&&e.nodeType?[e]:e),bw=b.merge(this.get(),bx);return this.pushStack(C(bx[0])||C(bw[0])?bw:b.unique(bw))},andSelf:function(){return this.add(this.prevObject)}});function C(e){return !e||!e.parentNode||e.parentNode.nodeType===11}b.each({parent:function(bv){var e=bv.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(bv,e,bw){return b.dir(bv,"parentNode",bw)},next:function(e){return b.nth(e,2,"nextSibling")},prev:function(e){return b.nth(e,2,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(bv,e,bw){return b.dir(bv,"nextSibling",bw)},prevUntil:function(bv,e,bw){return b.dir(bv,"previousSibling",bw)},siblings:function(e){return b.sibling(e.parentNode.firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.makeArray(e.childNodes)}},function(e,bv){b.fn[e]=function(by,bw){var bx=b.map(this,bv,by);if(!ab.test(e)){bw=by}if(bw&&typeof bw==="string"){bx=b.filter(bw,bx)}bx=this.length>1&&!ay[e]?b.unique(bx):bx;if((this.length>1||a9.test(bw))&&aq.test(e)){bx=bx.reverse()}return this.pushStack(bx,e,P.call(arguments).join(","))}});b.extend({filter:function(bw,e,bv){if(bv){bw=":not("+bw+")"}return e.length===1?b.find.matchesSelector(e[0],bw)?[e[0]]:[]:b.find.matches(bw,e)},dir:function(bw,bv,by){var e=[],bx=bw[bv];while(bx&&bx.nodeType!==9&&(by===L||bx.nodeType!==1||!b(bx).is(by))){if(bx.nodeType===1){e.push(bx)}bx=bx[bv]}return e},nth:function(by,e,bw,bx){e=e||1;var bv=0;for(;by;by=by[bw]){if(by.nodeType===1&&++bv===e){break}}return by},sibling:function(bw,bv){var e=[];for(;bw;bw=bw.nextSibling){if(bw.nodeType===1&&bw!==bv){e.push(bw)}}return e}});function aG(bx,bw,e){bw=bw||0;if(b.isFunction(bw)){return b.grep(bx,function(bz,by){var bA=!!bw.call(bz,by,bz);return bA===e})}else{if(bw.nodeType){return b.grep(bx,function(bz,by){return(bz===bw)===e})}else{if(typeof bw==="string"){var bv=b.grep(bx,function(by){return by.nodeType===1});if(bp.test(bw)){return b.filter(bw,bv,!e)}else{bw=b.filter(bw,bv)}}}}return b.grep(bx,function(bz,by){return(b.inArray(bz,bw)>=0)===e})}function a(e){var bw=aR.split("|"),bv=e.createDocumentFragment();if(bv.createElement){while(bw.length){bv.createElement(bw.pop())}}return bv}var aR="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ag=/ jQuery\d+="(?:\d+|null)"/g,ar=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,d=/<([\w:]+)/,w=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},ac=a(av); -ax.optgroup=ax.option;ax.tbody=ax.tfoot=ax.colgroup=ax.caption=ax.thead;ax.th=ax.td;if(!b.support.htmlSerialize){ax._default=[1,"div
","
"]}b.fn.extend({text:function(e){if(b.isFunction(e)){return this.each(function(bw){var bv=b(this);bv.text(e.call(this,bw,bv.text()))})}if(typeof e!=="object"&&e!==L){return this.empty().append((this[0]&&this[0].ownerDocument||av).createTextNode(e))}return b.text(this)},wrapAll:function(e){if(b.isFunction(e)){return this.each(function(bw){b(this).wrapAll(e.call(this,bw))})}if(this[0]){var bv=b(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){bv.insertBefore(this[0])}bv.map(function(){var bw=this;while(bw.firstChild&&bw.firstChild.nodeType===1){bw=bw.firstChild}return bw}).append(this)}return this},wrapInner:function(e){if(b.isFunction(e)){return this.each(function(bv){b(this).wrapInner(e.call(this,bv))})}return this.each(function(){var bv=b(this),bw=bv.contents();if(bw.length){bw.wrapAll(e)}else{bv.append(e)}})},wrap:function(e){var bv=b.isFunction(e);return this.each(function(bw){b(this).wrapAll(bv?e.call(this,bw):e)})},unwrap:function(){return this.parent().each(function(){if(!b.nodeName(this,"body")){b(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.insertBefore(e,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this)})}else{if(arguments.length){var e=b.clean(arguments);e.push.apply(e,this.toArray());return this.pushStack(e,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this.nextSibling)})}else{if(arguments.length){var e=this.pushStack(this,"after",arguments);e.push.apply(e,b.clean(arguments));return e}}},remove:function(e,bx){for(var bv=0,bw;(bw=this[bv])!=null;bv++){if(!e||b.filter(e,[bw]).length){if(!bx&&bw.nodeType===1){b.cleanData(bw.getElementsByTagName("*"));b.cleanData([bw])}if(bw.parentNode){bw.parentNode.removeChild(bw)}}}return this},empty:function(){for(var e=0,bv;(bv=this[e])!=null;e++){if(bv.nodeType===1){b.cleanData(bv.getElementsByTagName("*"))}while(bv.firstChild){bv.removeChild(bv.firstChild)}}return this},clone:function(bv,e){bv=bv==null?false:bv;e=e==null?bv:e;return this.map(function(){return b.clone(this,bv,e)})},html:function(bx){if(bx===L){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ag,""):null}else{if(typeof bx==="string"&&!ae.test(bx)&&(b.support.leadingWhitespace||!ar.test(bx))&&!ax[(d.exec(bx)||["",""])[1].toLowerCase()]){bx=bx.replace(R,"<$1>");try{for(var bw=0,bv=this.length;bw1&&bw0?this.clone(true):this).get();b(bC[bA])[bv](by);bz=bz.concat(by)}return this.pushStack(bz,e,bC.selector)}}});function bg(e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName("*")}else{if(typeof e.querySelectorAll!=="undefined"){return e.querySelectorAll("*")}else{return[]}}}function az(e){if(e.type==="checkbox"||e.type==="radio"){e.defaultChecked=e.checked}}function E(e){var bv=(e.nodeName||"").toLowerCase();if(bv==="input"){az(e)}else{if(bv!=="script"&&typeof e.getElementsByTagName!=="undefined"){b.grep(e.getElementsByTagName("input"),az)}}}function al(e){var bv=av.createElement("div");ac.appendChild(bv);bv.innerHTML=e.outerHTML;return bv.firstChild}b.extend({clone:function(by,bA,bw){var e,bv,bx,bz=b.support.html5Clone||!ah.test("<"+by.nodeName)?by.cloneNode(true):al(by);if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(by.nodeType===1||by.nodeType===11)&&!b.isXMLDoc(by)){ai(by,bz);e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){if(bv[bx]){ai(e[bx],bv[bx])}}}if(bA){t(by,bz);if(bw){e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){t(e[bx],bv[bx])}}}e=bv=null;return bz},clean:function(bw,by,bH,bA){var bF;by=by||av;if(typeof by.createElement==="undefined"){by=by.ownerDocument||by[0]&&by[0].ownerDocument||av}var bI=[],bB;for(var bE=0,bz;(bz=bw[bE])!=null;bE++){if(typeof bz==="number"){bz+=""}if(!bz){continue}if(typeof bz==="string"){if(!W.test(bz)){bz=by.createTextNode(bz)}else{bz=bz.replace(R,"<$1>");var bK=(d.exec(bz)||["",""])[1].toLowerCase(),bx=ax[bK]||ax._default,bD=bx[0],bv=by.createElement("div");if(by===av){ac.appendChild(bv)}else{a(by).appendChild(bv)}bv.innerHTML=bx[1]+bz+bx[2];while(bD--){bv=bv.lastChild}if(!b.support.tbody){var e=w.test(bz),bC=bK==="table"&&!e?bv.firstChild&&bv.firstChild.childNodes:bx[1]===""&&!e?bv.childNodes:[];for(bB=bC.length-1;bB>=0;--bB){if(b.nodeName(bC[bB],"tbody")&&!bC[bB].childNodes.length){bC[bB].parentNode.removeChild(bC[bB])}}}if(!b.support.leadingWhitespace&&ar.test(bz)){bv.insertBefore(by.createTextNode(ar.exec(bz)[0]),bv.firstChild)}bz=bv.childNodes}}var bG;if(!b.support.appendChecked){if(bz[0]&&typeof(bG=bz.length)==="number"){for(bB=0;bB=0){return bx+"px"}}else{return bx}}}});if(!b.support.opacity){b.cssHooks.opacity={get:function(bv,e){return au.test((e&&bv.currentStyle?bv.currentStyle.filter:bv.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":e?"1":""},set:function(by,bz){var bx=by.style,bv=by.currentStyle,e=b.isNumeric(bz)?"alpha(opacity="+bz*100+")":"",bw=bv&&bv.filter||bx.filter||"";bx.zoom=1;if(bz>=1&&b.trim(bw.replace(ak,""))===""){bx.removeAttribute("filter");if(bv&&!bv.filter){return}}bx.filter=ak.test(bw)?bw.replace(ak,e):bw+" "+e}}}b(function(){if(!b.support.reliableMarginRight){b.cssHooks.marginRight={get:function(bw,bv){var e;b.swap(bw,{display:"inline-block"},function(){if(bv){e=Z(bw,"margin-right","marginRight")}else{e=bw.style.marginRight}});return e}}}});if(av.defaultView&&av.defaultView.getComputedStyle){aI=function(by,bw){var bv,bx,e;bw=bw.replace(z,"-$1").toLowerCase();if((bx=by.ownerDocument.defaultView)&&(e=bx.getComputedStyle(by,null))){bv=e.getPropertyValue(bw);if(bv===""&&!b.contains(by.ownerDocument.documentElement,by)){bv=b.style(by,bw)}}return bv}}if(av.documentElement.currentStyle){aX=function(bz,bw){var bA,e,by,bv=bz.currentStyle&&bz.currentStyle[bw],bx=bz.style;if(bv===null&&bx&&(by=bx[bw])){bv=by}if(!bc.test(bv)&&bn.test(bv)){bA=bx.left;e=bz.runtimeStyle&&bz.runtimeStyle.left;if(e){bz.runtimeStyle.left=bz.currentStyle.left}bx.left=bw==="fontSize"?"1em":(bv||0);bv=bx.pixelLeft+"px";bx.left=bA;if(e){bz.runtimeStyle.left=e}}return bv===""?"auto":bv}}Z=aI||aX;function p(by,bw,bv){var bA=bw==="width"?by.offsetWidth:by.offsetHeight,bz=bw==="width"?an:a1,bx=0,e=bz.length; -if(bA>0){if(bv!=="border"){for(;bx)<[^<]*)*<\/script>/gi,q=/^(?:select|textarea)/i,h=/\s+/,br=/([?&])_=[^&]*/,K=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,A=b.fn.load,aa={},r={},aE,s,aV=["*/"]+["*"];try{aE=bl.href}catch(aw){aE=av.createElement("a");aE.href="";aE=aE.href}s=K.exec(aE.toLowerCase())||[];function f(e){return function(by,bA){if(typeof by!=="string"){bA=by;by="*"}if(b.isFunction(bA)){var bx=by.toLowerCase().split(h),bw=0,bz=bx.length,bv,bB,bC;for(;bw=0){var e=bw.slice(by,bw.length);bw=bw.slice(0,by)}var bx="GET";if(bz){if(b.isFunction(bz)){bA=bz;bz=L}else{if(typeof bz==="object"){bz=b.param(bz,b.ajaxSettings.traditional);bx="POST"}}}var bv=this;b.ajax({url:bw,type:bx,dataType:"html",data:bz,complete:function(bC,bB,bD){bD=bC.responseText;if(bC.isResolved()){bC.done(function(bE){bD=bE});bv.html(e?b("
").append(bD.replace(a6,"")).find(e):bD)}if(bA){bv.each(bA,[bD,bB,bC])}}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||q.test(this.nodeName)||aZ.test(this.type))}).map(function(e,bv){var bw=b(this).val();return bw==null?null:b.isArray(bw)?b.map(bw,function(by,bx){return{name:bv.name,value:by.replace(bs,"\r\n")}}):{name:bv.name,value:bw.replace(bs,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,bv){b.fn[bv]=function(bw){return this.on(bv,bw)}});b.each(["get","post"],function(e,bv){b[bv]=function(bw,by,bz,bx){if(b.isFunction(by)){bx=bx||bz;bz=by;by=L}return b.ajax({type:bv,url:bw,data:by,success:bz,dataType:bx})}});b.extend({getScript:function(e,bv){return b.get(e,L,bv,"script")},getJSON:function(e,bv,bw){return b.get(e,bv,bw,"json")},ajaxSetup:function(bv,e){if(e){am(bv,b.ajaxSettings)}else{e=bv;bv=b.ajaxSettings}am(bv,e);return bv},ajaxSettings:{url:aE,isLocal:aM.test(s[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":aV},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":bb.String,"text html":true,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:f(aa),ajaxTransport:f(r),ajax:function(bz,bx){if(typeof bz==="object"){bx=bz;bz=L}bx=bx||{};var bD=b.ajaxSetup({},bx),bS=bD.context||bD,bG=bS!==bD&&(bS.nodeType||bS instanceof b)?b(bS):b.event,bR=b.Deferred(),bN=b.Callbacks("once memory"),bB=bD.statusCode||{},bC,bH={},bO={},bQ,by,bL,bE,bI,bA=0,bw,bK,bJ={readyState:0,setRequestHeader:function(bT,bU){if(!bA){var e=bT.toLowerCase();bT=bO[e]=bO[e]||bT;bH[bT]=bU}return this},getAllResponseHeaders:function(){return bA===2?bQ:null},getResponseHeader:function(bT){var e;if(bA===2){if(!by){by={};while((e=aD.exec(bQ))){by[e[1].toLowerCase()]=e[2]}}e=by[bT.toLowerCase()]}return e===L?null:e},overrideMimeType:function(e){if(!bA){bD.mimeType=e}return this},abort:function(e){e=e||"abort";if(bL){bL.abort(e)}bF(0,e);return this}};function bF(bZ,bU,b0,bW){if(bA===2){return}bA=2;if(bE){clearTimeout(bE)}bL=L;bQ=bW||"";bJ.readyState=bZ>0?4:0;var bT,b4,b3,bX=bU,bY=b0?bj(bD,bJ,b0):L,bV,b2;if(bZ>=200&&bZ<300||bZ===304){if(bD.ifModified){if((bV=bJ.getResponseHeader("Last-Modified"))){b.lastModified[bC]=bV}if((b2=bJ.getResponseHeader("Etag"))){b.etag[bC]=b2}}if(bZ===304){bX="notmodified";bT=true}else{try{b4=G(bD,bY);bX="success";bT=true}catch(b1){bX="parsererror";b3=b1}}}else{b3=bX;if(!bX||bZ){bX="error";if(bZ<0){bZ=0}}}bJ.status=bZ;bJ.statusText=""+(bU||bX);if(bT){bR.resolveWith(bS,[b4,bX,bJ])}else{bR.rejectWith(bS,[bJ,bX,b3])}bJ.statusCode(bB);bB=L;if(bw){bG.trigger("ajax"+(bT?"Success":"Error"),[bJ,bD,bT?b4:b3])}bN.fireWith(bS,[bJ,bX]);if(bw){bG.trigger("ajaxComplete",[bJ,bD]);if(!(--b.active)){b.event.trigger("ajaxStop")}}}bR.promise(bJ);bJ.success=bJ.done;bJ.error=bJ.fail;bJ.complete=bN.add;bJ.statusCode=function(bT){if(bT){var e;if(bA<2){for(e in bT){bB[e]=[bB[e],bT[e]]}}else{e=bT[bJ.status];bJ.then(e,e)}}return this};bD.url=((bz||bD.url)+"").replace(bq,"").replace(c,s[1]+"//");bD.dataTypes=b.trim(bD.dataType||"*").toLowerCase().split(h);if(bD.crossDomain==null){bI=K.exec(bD.url.toLowerCase());bD.crossDomain=!!(bI&&(bI[1]!=s[1]||bI[2]!=s[2]||(bI[3]||(bI[1]==="http:"?80:443))!=(s[3]||(s[1]==="http:"?80:443))))}if(bD.data&&bD.processData&&typeof bD.data!=="string"){bD.data=b.param(bD.data,bD.traditional)}aW(aa,bD,bx,bJ);if(bA===2){return false}bw=bD.global;bD.type=bD.type.toUpperCase();bD.hasContent=!aQ.test(bD.type);if(bw&&b.active++===0){b.event.trigger("ajaxStart")}if(!bD.hasContent){if(bD.data){bD.url+=(M.test(bD.url)?"&":"?")+bD.data;delete bD.data}bC=bD.url;if(bD.cache===false){var bv=b.now(),bP=bD.url.replace(br,"$1_="+bv);bD.url=bP+((bP===bD.url)?(M.test(bD.url)?"&":"?")+"_="+bv:"")}}if(bD.data&&bD.hasContent&&bD.contentType!==false||bx.contentType){bJ.setRequestHeader("Content-Type",bD.contentType)}if(bD.ifModified){bC=bC||bD.url;if(b.lastModified[bC]){bJ.setRequestHeader("If-Modified-Since",b.lastModified[bC])}if(b.etag[bC]){bJ.setRequestHeader("If-None-Match",b.etag[bC])}}bJ.setRequestHeader("Accept",bD.dataTypes[0]&&bD.accepts[bD.dataTypes[0]]?bD.accepts[bD.dataTypes[0]]+(bD.dataTypes[0]!=="*"?", "+aV+"; q=0.01":""):bD.accepts["*"]);for(bK in bD.headers){bJ.setRequestHeader(bK,bD.headers[bK])}if(bD.beforeSend&&(bD.beforeSend.call(bS,bJ,bD)===false||bA===2)){bJ.abort();return false}for(bK in {success:1,error:1,complete:1}){bJ[bK](bD[bK])}bL=aW(r,bD,bx,bJ);if(!bL){bF(-1,"No Transport")}else{bJ.readyState=1;if(bw){bG.trigger("ajaxSend",[bJ,bD])}if(bD.async&&bD.timeout>0){bE=setTimeout(function(){bJ.abort("timeout")},bD.timeout)}try{bA=1;bL.send(bH,bF)}catch(bM){if(bA<2){bF(-1,bM)}else{throw bM}}}return bJ},param:function(e,bw){var bv=[],by=function(bz,bA){bA=b.isFunction(bA)?bA():bA;bv[bv.length]=encodeURIComponent(bz)+"="+encodeURIComponent(bA)};if(bw===L){bw=b.ajaxSettings.traditional}if(b.isArray(e)||(e.jquery&&!b.isPlainObject(e))){b.each(e,function(){by(this.name,this.value)})}else{for(var bx in e){v(bx,e[bx],bw,by)}}return bv.join("&").replace(k,"+")}});function v(bw,by,bv,bx){if(b.isArray(by)){b.each(by,function(bA,bz){if(bv||ap.test(bw)){bx(bw,bz)}else{v(bw+"["+(typeof bz==="object"||b.isArray(bz)?bA:"")+"]",bz,bv,bx)}})}else{if(!bv&&by!=null&&typeof by==="object"){for(var e in by){v(bw+"["+e+"]",by[e],bv,bx)}}else{bx(bw,by)}}}b.extend({active:0,lastModified:{},etag:{}});function bj(bD,bC,bz){var bv=bD.contents,bB=bD.dataTypes,bw=bD.responseFields,by,bA,bx,e;for(bA in bw){if(bA in bz){bC[bw[bA]]=bz[bA]}}while(bB[0]==="*"){bB.shift();if(by===L){by=bD.mimeType||bC.getResponseHeader("content-type")}}if(by){for(bA in bv){if(bv[bA]&&bv[bA].test(by)){bB.unshift(bA);break}}}if(bB[0] in bz){bx=bB[0]}else{for(bA in bz){if(!bB[0]||bD.converters[bA+" "+bB[0]]){bx=bA;break}if(!e){e=bA}}bx=bx||e}if(bx){if(bx!==bB[0]){bB.unshift(bx)}return bz[bx]}}function G(bH,bz){if(bH.dataFilter){bz=bH.dataFilter(bz,bH.dataType)}var bD=bH.dataTypes,bG={},bA,bE,bw=bD.length,bB,bC=bD[0],bx,by,bF,bv,e;for(bA=1;bA=bw.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();bw.animatedProperties[this.prop]=true;for(bA in bw.animatedProperties){if(bw.animatedProperties[bA]!==true){e=false}}if(e){if(bw.overflow!=null&&!b.support.shrinkWrapBlocks){b.each(["","X","Y"],function(bC,bD){bz.style["overflow"+bD]=bw.overflow[bC]})}if(bw.hide){b(bz).hide()}if(bw.hide||bw.show){for(bA in bw.animatedProperties){b.style(bz,bA,bw.orig[bA]);b.removeData(bz,"fxshow"+bA,true);b.removeData(bz,"toggle"+bA,true)}}bv=bw.complete;if(bv){bw.complete=false;bv.call(bz)}}return false}else{if(bw.duration==Infinity){this.now=bx}else{bB=bx-this.startTime;this.state=bB/bw.duration;this.pos=b.easing[bw.animatedProperties[this.prop]](this.state,bB,0,1,bw.duration);this.now=this.start+((this.end-this.start)*this.pos)}this.update()}return true}};b.extend(b.fx,{tick:function(){var bw,bv=b.timers,e=0;for(;e").appendTo(e),bw=bv.css("display");bv.remove();if(bw==="none"||bw===""){if(!a8){a8=av.createElement("iframe");a8.frameBorder=a8.width=a8.height=0}e.appendChild(a8);if(!m||!a8.createElement){m=(a8.contentWindow||a8.contentDocument).document;m.write((av.compatMode==="CSS1Compat"?"":"")+"");m.close()}bv=m.createElement(bx);m.body.appendChild(bv);bw=b.css(bv,"display");e.removeChild(a8)}Q[bx]=bw}return Q[bx]}var V=/^t(?:able|d|h)$/i,ad=/^(?:body|html)$/i;if("getBoundingClientRect" in av.documentElement){b.fn.offset=function(bI){var by=this[0],bB;if(bI){return this.each(function(e){b.offset.setOffset(this,bI,e)})}if(!by||!by.ownerDocument){return null}if(by===by.ownerDocument.body){return b.offset.bodyOffset(by)}try{bB=by.getBoundingClientRect()}catch(bF){}var bH=by.ownerDocument,bw=bH.documentElement;if(!bB||!b.contains(bw,by)){return bB?{top:bB.top,left:bB.left}:{top:0,left:0}}var bC=bH.body,bD=aK(bH),bA=bw.clientTop||bC.clientTop||0,bE=bw.clientLeft||bC.clientLeft||0,bv=bD.pageYOffset||b.support.boxModel&&bw.scrollTop||bC.scrollTop,bz=bD.pageXOffset||b.support.boxModel&&bw.scrollLeft||bC.scrollLeft,bG=bB.top+bv-bA,bx=bB.left+bz-bE;return{top:bG,left:bx}}}else{b.fn.offset=function(bF){var bz=this[0];if(bF){return this.each(function(bG){b.offset.setOffset(this,bF,bG)})}if(!bz||!bz.ownerDocument){return null}if(bz===bz.ownerDocument.body){return b.offset.bodyOffset(bz)}var bC,bw=bz.offsetParent,bv=bz,bE=bz.ownerDocument,bx=bE.documentElement,bA=bE.body,bB=bE.defaultView,e=bB?bB.getComputedStyle(bz,null):bz.currentStyle,bD=bz.offsetTop,by=bz.offsetLeft;while((bz=bz.parentNode)&&bz!==bA&&bz!==bx){if(b.support.fixedPosition&&e.position==="fixed"){break}bC=bB?bB.getComputedStyle(bz,null):bz.currentStyle;bD-=bz.scrollTop;by-=bz.scrollLeft;if(bz===bw){bD+=bz.offsetTop;by+=bz.offsetLeft;if(b.support.doesNotAddBorder&&!(b.support.doesAddBorderForTableAndCells&&V.test(bz.nodeName))){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}bv=bw;bw=bz.offsetParent}if(b.support.subtractsBorderForOverflowNotVisible&&bC.overflow!=="visible"){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}e=bC}if(e.position==="relative"||e.position==="static"){bD+=bA.offsetTop;by+=bA.offsetLeft}if(b.support.fixedPosition&&e.position==="fixed"){bD+=Math.max(bx.scrollTop,bA.scrollTop);by+=Math.max(bx.scrollLeft,bA.scrollLeft)}return{top:bD,left:by}}}b.offset={bodyOffset:function(e){var bw=e.offsetTop,bv=e.offsetLeft;if(b.support.doesNotIncludeMarginInBodyOffset){bw+=parseFloat(b.css(e,"marginTop"))||0;bv+=parseFloat(b.css(e,"marginLeft"))||0}return{top:bw,left:bv}},setOffset:function(bx,bG,bA){var bB=b.css(bx,"position");if(bB==="static"){bx.style.position="relative"}var bz=b(bx),bv=bz.offset(),e=b.css(bx,"top"),bE=b.css(bx,"left"),bF=(bB==="absolute"||bB==="fixed")&&b.inArray("auto",[e,bE])>-1,bD={},bC={},bw,by;if(bF){bC=bz.position();bw=bC.top;by=bC.left}else{bw=parseFloat(e)||0;by=parseFloat(bE)||0}if(b.isFunction(bG)){bG=bG.call(bx,bA,bv)}if(bG.top!=null){bD.top=(bG.top-bv.top)+bw}if(bG.left!=null){bD.left=(bG.left-bv.left)+by}if("using" in bG){bG.using.call(bx,bD)}else{bz.css(bD)}}};b.fn.extend({position:function(){if(!this[0]){return null}var bw=this[0],bv=this.offsetParent(),bx=this.offset(),e=ad.test(bv[0].nodeName)?{top:0,left:0}:bv.offset();bx.top-=parseFloat(b.css(bw,"marginTop"))||0;bx.left-=parseFloat(b.css(bw,"marginLeft"))||0;e.top+=parseFloat(b.css(bv[0],"borderTopWidth"))||0;e.left+=parseFloat(b.css(bv[0],"borderLeftWidth"))||0;return{top:bx.top-e.top,left:bx.left-e.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||av.body;while(e&&(!ad.test(e.nodeName)&&b.css(e,"position")==="static")){e=e.offsetParent}return e})}});b.each(["Left","Top"],function(bv,e){var bw="scroll"+e;b.fn[bw]=function(bz){var bx,by;if(bz===L){bx=this[0];if(!bx){return null}by=aK(bx);return by?("pageXOffset" in by)?by[bv?"pageYOffset":"pageXOffset"]:b.support.boxModel&&by.document.documentElement[bw]||by.document.body[bw]:bx[bw]}return this.each(function(){by=aK(this);if(by){by.scrollTo(!bv?bz:b(by).scrollLeft(),bv?bz:b(by).scrollTop())}else{this[bw]=bz}})}});function aK(e){return b.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}b.each(["Height","Width"],function(bv,e){var bw=e.toLowerCase();b.fn["inner"+e]=function(){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,"padding")):this[bw]():null};b.fn["outer"+e]=function(by){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,by?"margin":"border")):this[bw]():null};b.fn[bw]=function(bz){var bA=this[0];if(!bA){return bz==null?null:this}if(b.isFunction(bz)){return this.each(function(bE){var bD=b(this);bD[bw](bz.call(this,bE,bD[bw]()))})}if(b.isWindow(bA)){var bB=bA.document.documentElement["client"+e],bx=bA.document.body;return bA.document.compatMode==="CSS1Compat"&&bB||bx&&bx["client"+e]||bB}else{if(bA.nodeType===9){return Math.max(bA.documentElement["client"+e],bA.body["scroll"+e],bA.documentElement["scroll"+e],bA.body["offset"+e],bA.documentElement["offset"+e])}else{if(bz===L){var bC=b.css(bA,bw),by=parseFloat(bC);return b.isNumeric(by)?by:bC}else{return this.css(bw,typeof bz==="string"?bz:bz+"px")}}}}});bb.jQuery=bb.$=b;if(typeof define==="function"&&define.amd&&define.amd.jQuery){define("jquery",[],function(){return b -})}})(window); -/*! - * jQuery UI 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI - */ -(function(a,d){a.ui=a.ui||{};if(a.ui.version){return}a.extend(a.ui,{version:"1.8.18",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(e,f){return typeof e==="number"?this.each(function(){var g=this;setTimeout(function(){a(g).focus();if(f){f.call(g)}},e)}):this._focus.apply(this,arguments)},scrollParent:function(){var e;if((a.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){e=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(a.curCSS(this,"position",1))&&(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}else{e=this.parents().filter(function(){return(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!e.length?a(document):e},zIndex:function(h){if(h!==d){return this.css("zIndex",h)}if(this.length){var f=a(this[0]),e,g;while(f.length&&f[0]!==document){e=f.css("position");if(e==="absolute"||e==="relative"||e==="fixed"){g=parseInt(f.css("zIndex"),10);if(!isNaN(g)&&g!==0){return g}}f=f.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});a.each(["Width","Height"],function(g,e){var f=e==="Width"?["Left","Right"]:["Top","Bottom"],h=e.toLowerCase(),k={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};function j(m,l,i,n){a.each(f,function(){l-=parseFloat(a.curCSS(m,"padding"+this,true))||0;if(i){l-=parseFloat(a.curCSS(m,"border"+this+"Width",true))||0}if(n){l-=parseFloat(a.curCSS(m,"margin"+this,true))||0}});return l}a.fn["inner"+e]=function(i){if(i===d){return k["inner"+e].call(this)}return this.each(function(){a(this).css(h,j(this,i)+"px")})};a.fn["outer"+e]=function(i,l){if(typeof i!=="number"){return k["outer"+e].call(this,i)}return this.each(function(){a(this).css(h,j(this,i,true,l)+"px")})}});function c(g,e){var j=g.nodeName.toLowerCase();if("area"===j){var i=g.parentNode,h=i.name,f;if(!g.href||!h||i.nodeName.toLowerCase()!=="map"){return false}f=a("img[usemap=#"+h+"]")[0];return !!f&&b(f)}return(/input|select|textarea|button|object/.test(j)?!g.disabled:"a"==j?g.href||e:e)&&b(g)}function b(e){return !a(e).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}a.extend(a.expr[":"],{data:function(g,f,e){return !!a.data(g,e[3])},focusable:function(e){return c(e,!isNaN(a.attr(e,"tabindex")))},tabbable:function(g){var e=a.attr(g,"tabindex"),f=isNaN(e);return(f||e>=0)&&c(g,!f)}});a(function(){var e=document.body,f=e.appendChild(f=document.createElement("div"));f.offsetHeight;a.extend(f.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});a.support.minHeight=f.offsetHeight===100;a.support.selectstart="onselectstart" in f;e.removeChild(f).style.display="none"});a.extend(a.ui,{plugin:{add:function(f,g,j){var h=a.ui[f].prototype;for(var e in j){h.plugins[e]=h.plugins[e]||[];h.plugins[e].push([g,j[e]])}},call:function(e,g,f){var j=e.plugins[g];if(!j||!e.element[0].parentNode){return}for(var h=0;h0){return true}h[e]=1;g=(h[e]>0);h[e]=0;return g},isOverAxis:function(f,e,g){return(f>e)&&(f<(e+g))},isOver:function(j,f,i,h,e,g){return a.ui.isOverAxis(j,i,e)&&a.ui.isOverAxis(f,h,g)}})})(jQuery);/*! - * jQuery UI Widget 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Widget - */ -(function(b,d){if(b.cleanData){var c=b.cleanData;b.cleanData=function(f){for(var g=0,h;(h=f[g])!=null;g++){try{b(h).triggerHandler("remove")}catch(j){}}c(f)}}else{var a=b.fn.remove;b.fn.remove=function(e,f){return this.each(function(){if(!f){if(!e||b.filter(e,[this]).length){b("*",this).add([this]).each(function(){try{b(this).triggerHandler("remove")}catch(g){}})}}return a.call(b(this),e,f)})}}b.widget=function(f,h,e){var g=f.split(".")[0],j;f=f.split(".")[1];j=g+"-"+f;if(!e){e=h;h=b.Widget}b.expr[":"][j]=function(k){return !!b.data(k,f)};b[g]=b[g]||{};b[g][f]=function(k,l){if(arguments.length){this._createWidget(k,l)}};var i=new h();i.options=b.extend(true,{},i.options);b[g][f].prototype=b.extend(true,i,{namespace:g,widgetName:f,widgetEventPrefix:b[g][f].prototype.widgetEventPrefix||f,widgetBaseClass:j},e);b.widget.bridge(f,b[g][f])};b.widget.bridge=function(f,e){b.fn[f]=function(i){var g=typeof i==="string",h=Array.prototype.slice.call(arguments,1),j=this;i=!g&&h.length?b.extend.apply(null,[true,i].concat(h)):i;if(g&&i.charAt(0)==="_"){return j}if(g){this.each(function(){var k=b.data(this,f),l=k&&b.isFunction(k[i])?k[i].apply(k,h):k;if(l!==k&&l!==d){j=l;return false}})}else{this.each(function(){var k=b.data(this,f);if(k){k.option(i||{})._init()}else{b.data(this,f,new e(i,this))}})}return j}};b.Widget=function(e,f){if(arguments.length){this._createWidget(e,f)}};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(f,g){b.data(g,this.widgetName,this);this.element=b(g);this.options=b.extend(true,{},this.options,this._getCreateOptions(),f);var e=this;this.element.bind("remove."+this.widgetName,function(){e.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(f,g){var e=f;if(arguments.length===0){return b.extend({},this.options)}if(typeof f==="string"){if(g===d){return this.options[f]}e={};e[f]=g}this._setOptions(e);return this},_setOptions:function(f){var e=this;b.each(f,function(g,h){e._setOption(g,h)});return this},_setOption:function(e,f){this.options[e]=f;if(e==="disabled"){this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",f)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(e,f,g){var j,i,h=this.options[e];g=g||{};f=b.Event(f);f.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase();f.target=this.element[0];i=f.originalEvent;if(i){for(j in i){if(!(j in f)){f[j]=i[j]}}}this.element.trigger(f,g);return !(b.isFunction(h)&&h.call(this.element[0],f,g)===false||f.isDefaultPrevented())}}})(jQuery);/*! - * jQuery UI Mouse 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Mouse - * - * Depends: - * jquery.ui.widget.js - */ -(function(b,c){var a=false;b(document).mouseup(function(d){a=false});b.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var d=this;this.element.bind("mousedown."+this.widgetName,function(e){return d._mouseDown(e)}).bind("click."+this.widgetName,function(e){if(true===b.data(e.target,d.widgetName+".preventClickEvent")){b.removeData(e.target,d.widgetName+".preventClickEvent");e.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(f){if(a){return}(this._mouseStarted&&this._mouseUp(f));this._mouseDownEvent=f;var e=this,g=(f.which==1),d=(typeof this.options.cancel=="string"&&f.target.nodeName?b(f.target).closest(this.options.cancel).length:false);if(!g||d||!this._mouseCapture(f)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(f)&&this._mouseDelayMet(f)){this._mouseStarted=(this._mouseStart(f)!==false);if(!this._mouseStarted){f.preventDefault();return true}}if(true===b.data(f.target,this.widgetName+".preventClickEvent")){b.removeData(f.target,this.widgetName+".preventClickEvent")}this._mouseMoveDelegate=function(h){return e._mouseMove(h)};this._mouseUpDelegate=function(h){return e._mouseUp(h)};b(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);f.preventDefault();a=true;return true},_mouseMove:function(d){if(b.browser.msie&&!(document.documentMode>=9)&&!d.button){return this._mouseUp(d)}if(this._mouseStarted){this._mouseDrag(d);return d.preventDefault()}if(this._mouseDistanceMet(d)&&this._mouseDelayMet(d)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,d)!==false);(this._mouseStarted?this._mouseDrag(d):this._mouseUp(d))}return !this._mouseStarted},_mouseUp:function(d){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;if(d.target==this._mouseDownEvent.target){b.data(d.target,this.widgetName+".preventClickEvent",true)}this._mouseStop(d)}return false},_mouseDistanceMet:function(d){return(Math.max(Math.abs(this._mouseDownEvent.pageX-d.pageX),Math.abs(this._mouseDownEvent.pageY-d.pageY))>=this.options.distance)},_mouseDelayMet:function(d){return this.mouseDelayMet},_mouseStart:function(d){},_mouseDrag:function(d){},_mouseStop:function(d){},_mouseCapture:function(d){return true}})})(jQuery);(function(c,d){c.widget("ui.resizable",c.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1000},_create:function(){var f=this,k=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(k.aspectRatio),aspectRatio:k.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:k.helper||k.ghost||k.animate?k.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){this.element.wrap(c('
').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=k.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var l=this.handles.split(",");this.handles={};for(var g=0;g
');if(/sw|se|ne|nw/.test(j)){h.css({zIndex:++k.zIndex})}if("se"==j){h.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[j]=".ui-resizable-"+j;this.element.append(h)}}this._renderAxis=function(q){q=q||this.element;for(var n in this.handles){if(this.handles[n].constructor==String){this.handles[n]=c(this.handles[n],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var o=c(this.handles[n],this.element),p=0;p=/sw|ne|nw|se|n|s/.test(n)?o.outerHeight():o.outerWidth();var m=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join("");q.css(m,p);this._proportionallyResize()}if(!c(this.handles[n]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!f.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}f.axis=i&&i[1]?i[1]:"se"}});if(k.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){if(k.disabled){return}c(this).removeClass("ui-resizable-autohide");f._handles.show()},function(){if(k.disabled){return}if(!f.resizing){c(this).addClass("ui-resizable-autohide");f._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var e=function(g){c(g).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){e(this.element);var f=this.element;f.after(this.originalElement.css({position:f.css("position"),width:f.outerWidth(),height:f.outerHeight(),top:f.css("top"),left:f.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);e(this.originalElement);return this},_mouseCapture:function(f){var g=false;for(var e in this.handles){if(c(this.handles[e])[0]==f.target){g=true}}return !this.options.disabled&&g},_mouseStart:function(g){var j=this.options,f=this.element.position(),e=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(e.is(".ui-draggable")||(/absolute/).test(e.css("position"))){e.css({position:"absolute",top:f.top,left:f.left})}this._renderProxy();var k=b(this.helper.css("left")),h=b(this.helper.css("top"));if(j.containment){k+=c(j.containment).scrollLeft()||0;h+=c(j.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:k,top:h};this.size=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalSize=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalPosition={left:k,top:h};this.sizeDiff={width:e.outerWidth()-e.width(),height:e.outerHeight()-e.height()};this.originalMousePosition={left:g.pageX,top:g.pageY};this.aspectRatio=(typeof j.aspectRatio=="number")?j.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var i=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",i=="auto"?this.axis+"-resize":i);e.addClass("ui-resizable-resizing");this._propagate("start",g);return true},_mouseDrag:function(e){var h=this.helper,g=this.options,m={},q=this,j=this.originalMousePosition,n=this.axis;var r=(e.pageX-j.left)||0,p=(e.pageY-j.top)||0;var i=this._change[n];if(!i){return false}var l=i.apply(this,[e,r,p]),k=c.browser.msie&&c.browser.version<7,f=this.sizeDiff;this._updateVirtualBoundaries(e.shiftKey);if(this._aspectRatio||e.shiftKey){l=this._updateRatio(l,e)}l=this._respectSize(l,e);this._propagate("resize",e);h.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(l);this._trigger("resize",e,this.ui());return false},_mouseStop:function(h){this.resizing=false;var i=this.options,m=this;if(this._helper){var g=this._proportionallyResizeElements,e=g.length&&(/textarea/i).test(g[0].nodeName),f=e&&c.ui.hasScroll(g[0],"left")?0:m.sizeDiff.height,k=e?0:m.sizeDiff.width;var n={width:(m.helper.width()-k),height:(m.helper.height()-f)},j=(parseInt(m.element.css("left"),10)+(m.position.left-m.originalPosition.left))||null,l=(parseInt(m.element.css("top"),10)+(m.position.top-m.originalPosition.top))||null;if(!i.animate){this.element.css(c.extend(n,{top:l,left:j}))}m.helper.height(m.size.height);m.helper.width(m.size.width);if(this._helper&&!i.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",h);if(this._helper){this.helper.remove()}return false},_updateVirtualBoundaries:function(g){var j=this.options,i,h,f,k,e;e={minWidth:a(j.minWidth)?j.minWidth:0,maxWidth:a(j.maxWidth)?j.maxWidth:Infinity,minHeight:a(j.minHeight)?j.minHeight:0,maxHeight:a(j.maxHeight)?j.maxHeight:Infinity};if(this._aspectRatio||g){i=e.minHeight*this.aspectRatio;f=e.minWidth/this.aspectRatio;h=e.maxHeight*this.aspectRatio;k=e.maxWidth/this.aspectRatio;if(i>e.minWidth){e.minWidth=i}if(f>e.minHeight){e.minHeight=f}if(hl.width),s=a(l.height)&&i.minHeight&&(i.minHeight>l.height);if(h){l.width=i.minWidth}if(s){l.height=i.minHeight}if(t){l.width=i.maxWidth}if(m){l.height=i.maxHeight}var f=this.originalPosition.left+this.originalSize.width,p=this.position.top+this.size.height;var k=/sw|nw|w/.test(q),e=/nw|ne|n/.test(q);if(h&&k){l.left=f-i.minWidth}if(t&&k){l.left=f-i.maxWidth}if(s&&e){l.top=p-i.minHeight}if(m&&e){l.top=p-i.maxHeight}var n=!l.width&&!l.height;if(n&&!l.left&&l.top){l.top=null}else{if(n&&!l.top&&l.left){l.left=null}}return l},_proportionallyResize:function(){var k=this.options;if(!this._proportionallyResizeElements.length){return}var g=this.helper||this.element;for(var f=0;f');var e=c.browser.msie&&c.browser.version<7,g=(e?1:0),h=(e?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+h,height:this.element.outerHeight()+h,position:"absolute",left:this.elementOffset.left-g+"px",top:this.elementOffset.top-g+"px",zIndex:++i.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(g,f,e){return{width:this.originalSize.width+f}},w:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{left:i.left+f,width:g.width-f}},n:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{top:i.top+e,height:g.height-e}},s:function(g,f,e){return{height:this.originalSize.height+e}},se:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},sw:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[g,f,e]))},ne:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},nw:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[g,f,e]))}},_propagate:function(f,e){c.ui.plugin.call(this,f,[e,this.ui()]);(f!="resize"&&this._trigger(f,e,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});c.extend(c.ui.resizable,{version:"1.8.18"});c.ui.plugin.add("resizable","alsoResize",{start:function(f,g){var e=c(this).data("resizable"),i=e.options;var h=function(j){c(j).each(function(){var k=c(this);k.data("resizable-alsoresize",{width:parseInt(k.width(),10),height:parseInt(k.height(),10),left:parseInt(k.css("left"),10),top:parseInt(k.css("top"),10)})})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.parentNode){if(i.alsoResize.length){i.alsoResize=i.alsoResize[0];h(i.alsoResize)}else{c.each(i.alsoResize,function(j){h(j)})}}else{h(i.alsoResize)}},resize:function(g,i){var f=c(this).data("resizable"),j=f.options,h=f.originalSize,l=f.originalPosition;var k={height:(f.size.height-h.height)||0,width:(f.size.width-h.width)||0,top:(f.position.top-l.top)||0,left:(f.position.left-l.left)||0},e=function(m,n){c(m).each(function(){var q=c(this),r=c(this).data("resizable-alsoresize"),p={},o=n&&n.length?n:q.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];c.each(o,function(s,u){var t=(r[u]||0)+(k[u]||0);if(t&&t>=0){p[u]=t||null}});q.css(p)})};if(typeof(j.alsoResize)=="object"&&!j.alsoResize.nodeType){c.each(j.alsoResize,function(m,n){e(m,n)})}else{e(j.alsoResize)}},stop:function(e,f){c(this).removeData("resizable-alsoresize")}});c.ui.plugin.add("resizable","animate",{stop:function(i,n){var p=c(this).data("resizable"),j=p.options;var h=p._proportionallyResizeElements,e=h.length&&(/textarea/i).test(h[0].nodeName),f=e&&c.ui.hasScroll(h[0],"left")?0:p.sizeDiff.height,l=e?0:p.sizeDiff.width;var g={width:(p.size.width-l),height:(p.size.height-f)},k=(parseInt(p.element.css("left"),10)+(p.position.left-p.originalPosition.left))||null,m=(parseInt(p.element.css("top"),10)+(p.position.top-p.originalPosition.top))||null; -p.element.animate(c.extend(g,m&&k?{top:m,left:k}:{}),{duration:j.animateDuration,easing:j.animateEasing,step:function(){var o={width:parseInt(p.element.css("width"),10),height:parseInt(p.element.css("height"),10),top:parseInt(p.element.css("top"),10),left:parseInt(p.element.css("left"),10)};if(h&&h.length){c(h[0]).css({width:o.width,height:o.height})}p._updateCache(o);p._propagate("resize",i)}})}});c.ui.plugin.add("resizable","containment",{start:function(f,r){var t=c(this).data("resizable"),j=t.options,l=t.element;var g=j.containment,k=(g instanceof c)?g.get(0):(/parent/.test(g))?l.parent().get(0):g;if(!k){return}t.containerElement=c(k);if(/document/.test(g)||g==document){t.containerOffset={left:0,top:0};t.containerPosition={left:0,top:0};t.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var n=c(k),i=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){i[p]=b(n.css("padding"+o))});t.containerOffset=n.offset();t.containerPosition=n.position();t.containerSize={height:(n.innerHeight()-i[3]),width:(n.innerWidth()-i[1])};var q=t.containerOffset,e=t.containerSize.height,m=t.containerSize.width,h=(c.ui.hasScroll(k,"left")?k.scrollWidth:m),s=(c.ui.hasScroll(k)?k.scrollHeight:e);t.parentData={element:k,left:q.left,top:q.top,width:h,height:s}}},resize:function(g,q){var t=c(this).data("resizable"),i=t.options,f=t.containerSize,p=t.containerOffset,m=t.size,n=t.position,r=t._aspectRatio||g.shiftKey,e={top:0,left:0},h=t.containerElement;if(h[0]!=document&&(/static/).test(h.css("position"))){e=p}if(n.left<(t._helper?p.left:0)){t.size.width=t.size.width+(t._helper?(t.position.left-p.left):(t.position.left-e.left));if(r){t.size.height=t.size.width/i.aspectRatio}t.position.left=i.helper?p.left:0}if(n.top<(t._helper?p.top:0)){t.size.height=t.size.height+(t._helper?(t.position.top-p.top):t.position.top);if(r){t.size.width=t.size.height*i.aspectRatio}t.position.top=t._helper?p.top:0}t.offset.left=t.parentData.left+t.position.left;t.offset.top=t.parentData.top+t.position.top;var l=Math.abs((t._helper?t.offset.left-e.left:(t.offset.left-e.left))+t.sizeDiff.width),s=Math.abs((t._helper?t.offset.top-e.top:(t.offset.top-p.top))+t.sizeDiff.height);var k=t.containerElement.get(0)==t.element.parent().get(0),j=/relative|absolute/.test(t.containerElement.css("position"));if(k&&j){l-=t.parentData.left}if(l+t.size.width>=t.parentData.width){t.size.width=t.parentData.width-l;if(r){t.size.height=t.size.width/t.aspectRatio}}if(s+t.size.height>=t.parentData.height){t.size.height=t.parentData.height-s;if(r){t.size.width=t.size.height*t.aspectRatio}}},stop:function(f,n){var q=c(this).data("resizable"),g=q.options,l=q.position,m=q.containerOffset,e=q.containerPosition,i=q.containerElement;var j=c(q.helper),r=j.offset(),p=j.outerWidth()-q.sizeDiff.width,k=j.outerHeight()-q.sizeDiff.height;if(q._helper&&!g.animate&&(/relative/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}if(q._helper&&!g.animate&&(/static/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}}});c.ui.plugin.add("resizable","ghost",{start:function(g,h){var e=c(this).data("resizable"),i=e.options,f=e.size;e.ghost=e.originalElement.clone();e.ghost.css({opacity:0.25,display:"block",position:"relative",height:f.height,width:f.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof i.ghost=="string"?i.ghost:"");e.ghost.appendTo(e.helper)},resize:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost){e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})}},stop:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost&&e.helper){e.helper.get(0).removeChild(e.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(e,m){var p=c(this).data("resizable"),h=p.options,k=p.size,i=p.originalSize,j=p.originalPosition,n=p.axis,l=h._aspectRatio||e.shiftKey;h.grid=typeof h.grid=="number"?[h.grid,h.grid]:h.grid;var g=Math.round((k.width-i.width)/(h.grid[0]||1))*(h.grid[0]||1),f=Math.round((k.height-i.height)/(h.grid[1]||1))*(h.grid[1]||1);if(/^(se|s|e)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f}else{if(/^(ne)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f}else{if(/^(sw)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.left=j.left-g}else{p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f;p.position.left=j.left-g}}}}});var b=function(e){return parseInt(e,10)||0};var a=function(e){return !isNaN(parseInt(e,10))}})(jQuery);/*! - * jQuery hashchange event - v1.3 - 7/21/2010 - * http://benalman.com/projects/jquery-hashchange-plugin/ - * - * Copyright (c) 2010 "Cowboy" Ben Alman - * Dual licensed under the MIT and GPL licenses. - * http://benalman.com/about/license/ - */ -(function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$(' - - -
-
-
Modules
-
-
-
Here is a list of all modules:
-
- - - - - - - - - - - - -
 Configuration - Device Enable/Disable
 Configuration - Communication Interface
 Configuration - Operating System
 Configuration - Memory Management
 Configuration - Event Handlers
 Device
 FileSystem
 Netapp
 Netcfg
 UserEvents
 Socket
 Wlan
- - - - - - - + + + + + + +CC32XX SimpleLink Host Driver: Modules + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + +
+
+ +
+
+
+ + + + + + diff --git a/docs/simplelink_api/html/modules.js b/docs/simplelink_api/html/modules.js index b779d89..adeb536 100644 --- a/docs/simplelink_api/html/modules.js +++ b/docs/simplelink_api/html/modules.js @@ -1,26 +1,16 @@ -var modules = -[ - [ "Introduction", "index.html#intro_sec", null ], - [ "Modules", "index.html#modules_sec", null ], - [ "Configuration", "index.html#Config_sec", [ - [ "Modify user.h file", "index.html#Config_step1", null ], - [ "Memory management model", "index.html#Confing_step2", null ], - [ "Asynchronous event handlers routines", "index.html#Config_step3", null ], - [ "Interface communication driver", "index.html#Config_step4", null ], - [ "OS adaptation", "index.html#Config_step5", null ] - ] ], - [ "License", "index.html#sw_license", null ], - [ "More Information", "index.html#more_information", null ], - [ "Configuration - Device Enable/Disable", "group__configuration__enable__device.html", "group__configuration__enable__device" ], - [ "Configuration - Communication Interface", "group__configuration__interface.html", "group__configuration__interface" ], - [ "Configuration - Operating System", "group__configuration__os.html", "group__configuration__os" ], - [ "Configuration - Memory Management", "group__configuration__mem__mgm.html", null ], - [ "Configuration - Event Handlers", "group__configuration__events.html", "group__configuration__events" ], - [ "Device", "group__device.html", "group__device" ], - [ "FileSystem", "group___file_system.html", "group___file_system" ], - [ "Netapp", "group__netapp.html", "group__netapp" ], - [ "Netcfg", "group__netcfg.html", "group__netcfg" ], - [ "UserEvents", "group___user_events.html", "group___user_events" ], - [ "Socket", "group__socket.html", "group__socket" ], - [ "Wlan", "group__wlan.html", "group__wlan" ] +var modules = +[ + [ "Configuration - Capabilities Set", "group__configuration__capabilities.html", "group__configuration__capabilities" ], + [ "Configuration - Device Enable/Disable", "group__configuration__enable__device.html", "group__configuration__enable__device" ], + [ "Configuration - Communication Interface", "group__configuration__interface.html", "group__configuration__interface" ], + [ "Configuration - Operating System", "group__configuration__os.html", "group__configuration__os" ], + [ "Configuration - Memory Management", "group__configuration__mem__mgm.html", null ], + [ "Configuration - Event Handlers", "group__configuration__events.html", "group__configuration__events" ], + [ "Device", "group__device.html", "group__device" ], + [ "FileSystem", "group___file_system.html", "group___file_system" ], + [ "Netapp", "group__netapp.html", "group__netapp" ], + [ "Netcfg", "group__netcfg.html", "group__netcfg" ], + [ "UserEvents", "group___user_events.html", "group___user_events" ], + [ "Socket", "group__socket.html", "group__socket" ], + [ "Wlan", "group__wlan.html", "group__wlan" ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/navtree.css b/docs/simplelink_api/html/navtree.css index 41a9cb9..7363f77 100644 --- a/docs/simplelink_api/html/navtree.css +++ b/docs/simplelink_api/html/navtree.css @@ -1,143 +1,143 @@ -#nav-tree .children_ul { - margin:0; - padding:4px; -} - -#nav-tree ul { - list-style:none outside none; - margin:0px; - padding:0px; -} - -#nav-tree li { - white-space:nowrap; - margin:0px; - padding:0px; -} - -#nav-tree .plus { - margin:0px; -} - -#nav-tree .selected { - background-image: url('tab_a.png'); - background-repeat:repeat-x; - color: #fff; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); -} - -#nav-tree img { - margin:0px; - padding:0px; - border:0px; - vertical-align: middle; -} - -#nav-tree a { - text-decoration:none; - padding:0px; - margin:0px; - outline:none; -} - -#nav-tree .label { - margin:0px; - padding:0px; - font: 12px 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; -} - -#nav-tree .label a { - padding:2px; -} - -#nav-tree .selected a { - text-decoration:none; - color:#fff; -} - -#nav-tree .children_ul { - margin:0px; - padding:0px; -} - -#nav-tree .item { - margin:0px; - padding:0px; -} - -#nav-tree { - padding: 0px 0px; - background-color: #FAFAFF; - font-size:14px; - overflow:auto; -} - -#doc-content { - overflow:auto; - display:block; - padding:0px; - margin:0px; - -webkit-overflow-scrolling : touch; /* iOS 5+ */ -} - -#side-nav { - padding:0 6px 0 0; - margin: 0px; - display:block; - position: absolute; - left: 0px; - width: 250px; -} - -.ui-resizable .ui-resizable-handle { - display:block; -} - -.ui-resizable-e { - background:url("ftv2splitbar.png") repeat scroll right center transparent; - cursor:e-resize; - height:100%; - right:0; - top:0; - width:6px; -} - -.ui-resizable-handle { - display:none; - font-size:0.1px; - position:absolute; - z-index:1; -} - -#nav-tree-contents { - margin: 6px 0px 0px 0px; -} - -#nav-tree { - background-image:url('nav_h.png'); - background-repeat:repeat-x; - background-color: #F9FAFC; - -webkit-overflow-scrolling : touch; /* iOS 5+ */ -} - -#nav-sync { - position:absolute; - top:5px; - right:24px; - z-index:0; -} - -#nav-sync img { - opacity:0.3; -} - -#nav-sync img:hover { - opacity:0.9; -} - -@media print -{ - #nav-tree { display: none; } - div.ui-resizable-handle { display: none; position: relative; } -} - +#nav-tree .children_ul { + margin:0; + padding:4px; +} + +#nav-tree ul { + list-style:none outside none; + margin:0px; + padding:0px; +} + +#nav-tree li { + white-space:nowrap; + margin:0px; + padding:0px; +} + +#nav-tree .plus { + margin:0px; +} + +#nav-tree .selected { + background-image: url('tab_a.png'); + background-repeat:repeat-x; + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +} + +#nav-tree img { + margin:0px; + padding:0px; + border:0px; + vertical-align: middle; +} + +#nav-tree a { + text-decoration:none; + padding:0px; + margin:0px; + outline:none; +} + +#nav-tree .label { + margin:0px; + padding:0px; + font: 12px 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; +} + +#nav-tree .label a { + padding:2px; +} + +#nav-tree .selected a { + text-decoration:none; + color:#fff; +} + +#nav-tree .children_ul { + margin:0px; + padding:0px; +} + +#nav-tree .item { + margin:0px; + padding:0px; +} + +#nav-tree { + padding: 0px 0px; + background-color: #FAFAFF; + font-size:14px; + overflow:auto; +} + +#doc-content { + overflow:auto; + display:block; + padding:0px; + margin:0px; + -webkit-overflow-scrolling : touch; /* iOS 5+ */ +} + +#side-nav { + padding:0 6px 0 0; + margin: 0px; + display:block; + position: absolute; + left: 0px; + width: 250px; +} + +.ui-resizable .ui-resizable-handle { + display:block; +} + +.ui-resizable-e { + background:url("ftv2splitbar.png") repeat scroll right center transparent; + cursor:e-resize; + height:100%; + right:0; + top:0; + width:6px; +} + +.ui-resizable-handle { + display:none; + font-size:0.1px; + position:absolute; + z-index:1; +} + +#nav-tree-contents { + margin: 6px 0px 0px 0px; +} + +#nav-tree { + background-image:url('nav_h.png'); + background-repeat:repeat-x; + background-color: #F9FAFC; + -webkit-overflow-scrolling : touch; /* iOS 5+ */ +} + +#nav-sync { + position:absolute; + top:5px; + right:24px; + z-index:0; +} + +#nav-sync img { + opacity:0.3; +} + +#nav-sync img:hover { + opacity:0.9; +} + +@media print +{ + #nav-tree { display: none; } + div.ui-resizable-handle { display: none; position: relative; } +} + diff --git a/docs/simplelink_api/html/navtree.js b/docs/simplelink_api/html/navtree.js index ab3a7bc..216e4bf 100644 --- a/docs/simplelink_api/html/navtree.js +++ b/docs/simplelink_api/html/navtree.js @@ -1,553 +1,532 @@ -var NAVTREE = -[ - [ "CC32XX SimpleLink Host Driver", "index.html", [ - [ "Modules", "modules.html", "modules" ], - [ "Data Structures", null, [ - [ "Data Structures", "annotated.html", "annotated" ], - [ "Data Structure Index", "classes.html", null ], - [ "Data Fields", "functions.html", [ - [ "All", "functions.html", null ], - [ "Variables", "functions_vars.html", null ] - ] ] - ] ], - [ "Files", null, [ - [ "File List", "files.html", "files" ] - ] ] - ] ] -]; - -var NAVTREEINDEX = -[ -"_simple_link_8h_source.html", -"struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#a1a2075c35d52286cb696f878738d30be" -]; - -var SYNCONMSG = 'click to disable panel synchronisation'; -var SYNCOFFMSG = 'click to enable panel synchronisation'; -var navTreeSubIndices = new Array(); - -function getData(varName) -{ - var i = varName.lastIndexOf('/'); - var n = i>=0 ? varName.substring(i+1) : varName; - return eval(n.replace(/\-/g,'_')); -} - -function stripPath(uri) -{ - return uri.substring(uri.lastIndexOf('/')+1); -} - -function stripPath2(uri) -{ - var i = uri.lastIndexOf('/'); - var s = uri.substring(i+1); - var m = uri.substring(0,i+1).match(/\/d\w\/d\w\w\/$/); - return m ? uri.substring(i-6) : s; -} - -function hashValue() -{ - return $(location).attr('hash').substring(1).replace(/[^\w\-]/g,''); -} - -function hashUrl() -{ - return '#'+hashValue(); -} - -function pathName() -{ - return $(location).attr('pathname').replace(/[^-A-Za-z0-9+&@#/%?=~_|!:,.;\(\)]/g, ''); -} - -function localStorageSupported() -{ - try { - return 'localStorage' in window && window['localStorage'] !== null && window.localStorage.getItem; - } - catch(e) { - return false; - } -} - - -function storeLink(link) -{ - if (!$("#nav-sync").hasClass('sync') && localStorageSupported()) { - window.localStorage.setItem('navpath',link); - } -} - -function deleteLink() -{ - if (localStorageSupported()) { - window.localStorage.setItem('navpath',''); - } -} - -function cachedLink() -{ - if (localStorageSupported()) { - return window.localStorage.getItem('navpath'); - } else { - return ''; - } -} - -function getScript(scriptName,func,show) -{ - var head = document.getElementsByTagName("head")[0]; - var script = document.createElement('script'); - script.id = scriptName; - script.type = 'text/javascript'; - script.onload = func; - script.src = scriptName+'.js'; - if ($.browser.msie && $.browser.version<=8) { - // script.onload does not work with older versions of IE - script.onreadystatechange = function() { - if (script.readyState=='complete' || script.readyState=='loaded') { - func(); if (show) showRoot(); - } - } - } - head.appendChild(script); -} - -function createIndent(o,domNode,node,level) -{ - var level=-1; - var n = node; - while (n.parentNode) { level++; n=n.parentNode; } - if (node.childrenData) { - var imgNode = document.createElement("img"); - imgNode.style.paddingLeft=(16*level).toString()+'px'; - imgNode.width = 16; - imgNode.height = 22; - imgNode.border = 0; - node.plus_img = imgNode; - node.expandToggle = document.createElement("a"); - node.expandToggle.href = "javascript:void(0)"; - node.expandToggle.onclick = function() { - if (node.expanded) { - $(node.getChildrenUL()).slideUp("fast"); - node.plus_img.src = node.relpath+"ftv2pnode.png"; - node.expanded = false; - } else { - expandNode(o, node, false, false); - } - } - node.expandToggle.appendChild(imgNode); - domNode.appendChild(node.expandToggle); - imgNode.src = node.relpath+"ftv2pnode.png"; - } else { - var span = document.createElement("span"); - span.style.display = 'inline-block'; - span.style.width = 16*(level+1)+'px'; - span.style.height = '22px'; - span.innerHTML = ' '; - domNode.appendChild(span); - } -} - -var animationInProgress = false; - -function gotoAnchor(anchor,aname,updateLocation) -{ - var pos, docContent = $('#doc-content'); - var ancParent = $(anchor.parent()); - if (ancParent.hasClass('memItemLeft') || - ancParent.hasClass('fieldname') || - ancParent.hasClass('fieldtype') || - ancParent.is(':header')) - { - pos = ancParent.position().top; - } else if (anchor.position()) { - pos = anchor.position().top; - } - if (pos) { - var dist = Math.abs(Math.min( - pos-docContent.offset().top, - docContent[0].scrollHeight- - docContent.height()-docContent.scrollTop())); - animationInProgress=true; - docContent.animate({ - scrollTop: pos + docContent.scrollTop() - docContent.offset().top - },Math.max(50,Math.min(500,dist)),function(){ - if (updateLocation) window.location.href=aname; - animationInProgress=false; - }); - } -} - -function newNode(o, po, text, link, childrenData, lastNode) -{ - var node = new Object(); - node.children = Array(); - node.childrenData = childrenData; - node.depth = po.depth + 1; - node.relpath = po.relpath; - node.isLast = lastNode; - - node.li = document.createElement("li"); - po.getChildrenUL().appendChild(node.li); - node.parentNode = po; - - node.itemDiv = document.createElement("div"); - node.itemDiv.className = "item"; - - node.labelSpan = document.createElement("span"); - node.labelSpan.className = "label"; - - createIndent(o,node.itemDiv,node,0); - node.itemDiv.appendChild(node.labelSpan); - node.li.appendChild(node.itemDiv); - - var a = document.createElement("a"); - node.labelSpan.appendChild(a); - node.label = document.createTextNode(text); - node.expanded = false; - a.appendChild(node.label); - if (link) { - var url; - if (link.substring(0,1)=='^') { - url = link.substring(1); - link = url; - } else { - url = node.relpath+link; - } - a.className = stripPath(link.replace('#',':')); - if (link.indexOf('#')!=-1) { - var aname = '#'+link.split('#')[1]; - var srcPage = stripPath(pathName()); - var targetPage = stripPath(link.split('#')[0]); - a.href = srcPage!=targetPage ? url : "javascript:void(0)"; - a.onclick = function(){ - storeLink(link); - if (!$(a).parent().parent().hasClass('selected')) - { - $('.item').removeClass('selected'); - $('.item').removeAttr('id'); - $(a).parent().parent().addClass('selected'); - $(a).parent().parent().attr('id','selected'); - } - var anchor = $(aname); - gotoAnchor(anchor,aname,true); - }; - } else { - a.href = url; - a.onclick = function() { storeLink(link); } - } - } else { - if (childrenData != null) - { - a.className = "nolink"; - a.href = "javascript:void(0)"; - a.onclick = node.expandToggle.onclick; - } - } - - node.childrenUL = null; - node.getChildrenUL = function() { - if (!node.childrenUL) { - node.childrenUL = document.createElement("ul"); - node.childrenUL.className = "children_ul"; - node.childrenUL.style.display = "none"; - node.li.appendChild(node.childrenUL); - } - return node.childrenUL; - }; - - return node; -} - -function showRoot() -{ - var headerHeight = $("#top").height(); - var footerHeight = $("#nav-path").height(); - var windowHeight = $(window).height() - headerHeight - footerHeight; - (function (){ // retry until we can scroll to the selected item - try { - var navtree=$('#nav-tree'); - navtree.scrollTo('#selected',0,{offset:-windowHeight/2}); - } catch (err) { - setTimeout(arguments.callee, 0); - } - })(); -} - -function expandNode(o, node, imm, showRoot) -{ - if (node.childrenData && !node.expanded) { - if (typeof(node.childrenData)==='string') { - var varName = node.childrenData; - getScript(node.relpath+varName,function(){ - node.childrenData = getData(varName); - expandNode(o, node, imm, showRoot); - }, showRoot); - } else { - if (!node.childrenVisited) { - getNode(o, node); - } if (imm || ($.browser.msie && $.browser.version>8)) { - // somehow slideDown jumps to the start of tree for IE9 :-( - $(node.getChildrenUL()).show(); - } else { - $(node.getChildrenUL()).slideDown("fast"); - } - if (node.isLast) { - node.plus_img.src = node.relpath+"ftv2mlastnode.png"; - } else { - node.plus_img.src = node.relpath+"ftv2mnode.png"; - } - node.expanded = true; - } - } -} - -function glowEffect(n,duration) -{ - n.addClass('glow').delay(duration).queue(function(next){ - $(this).removeClass('glow');next(); - }); -} - -function highlightAnchor() -{ - var aname = hashUrl(); - var anchor = $(aname); - if (anchor.parent().attr('class')=='memItemLeft'){ - var rows = $('.memberdecls tr[class$="'+hashValue()+'"]'); - glowEffect(rows.children(),300); // member without details - } else if (anchor.parent().attr('class')=='fieldname'){ - glowEffect(anchor.parent().parent(),1000); // enum value - } else if (anchor.parent().attr('class')=='fieldtype'){ - glowEffect(anchor.parent().parent(),1000); // struct field - } else if (anchor.parent().is(":header")) { - glowEffect(anchor.parent(),1000); // section header - } else { - glowEffect(anchor.next(),1000); // normal member - } - gotoAnchor(anchor,aname,false); -} - -function selectAndHighlight(hash,n) -{ - var a; - if (hash) { - var link=stripPath(pathName())+':'+hash.substring(1); - a=$('.item a[class$="'+link+'"]'); - } - if (a && a.length) { - a.parent().parent().addClass('selected'); - a.parent().parent().attr('id','selected'); - highlightAnchor(); - } else if (n) { - $(n.itemDiv).addClass('selected'); - $(n.itemDiv).attr('id','selected'); - } - if ($('#nav-tree-contents .item:first').hasClass('selected')) { - $('#nav-sync').css('top','30px'); - } else { - $('#nav-sync').css('top','5px'); - } - showRoot(); -} - -function showNode(o, node, index, hash) -{ - if (node && node.childrenData) { - if (typeof(node.childrenData)==='string') { - var varName = node.childrenData; - getScript(node.relpath+varName,function(){ - node.childrenData = getData(varName); - showNode(o,node,index,hash); - },true); - } else { - if (!node.childrenVisited) { - getNode(o, node); - } - $(node.getChildrenUL()).css({'display':'block'}); - if (node.isLast) { - node.plus_img.src = node.relpath+"ftv2mlastnode.png"; - } else { - node.plus_img.src = node.relpath+"ftv2mnode.png"; - } - node.expanded = true; - var n = node.children[o.breadcrumbs[index]]; - if (index+11) hash = '#'+parts[1].replace(/[^\w\-]/g,''); - else hash=''; - } - if (hash.match(/^#l\d+$/)) { - var anchor=$('a[name='+hash.substring(1)+']'); - glowEffect(anchor.parent(),1000); // line number - hash=''; // strip line number anchors - } - var url=root+hash; - var i=-1; - while (NAVTREEINDEX[i+1]<=url) i++; - if (i==-1) { i=0; root=NAVTREE[0][1]; } // fallback: show index - if (navTreeSubIndices[i]) { - gotoNode(o,i,root,hash,relpath) - } else { - getScript(relpath+'navtreeindex'+i,function(){ - navTreeSubIndices[i] = eval('NAVTREEINDEX'+i); - if (navTreeSubIndices[i]) { - gotoNode(o,i,root,hash,relpath); - } - },true); - } -} - -function showSyncOff(n,relpath) -{ - n.html(''); -} - -function showSyncOn(n,relpath) -{ - n.html(''); -} - -function toggleSyncButton(relpath) -{ - var navSync = $('#nav-sync'); - if (navSync.hasClass('sync')) { - navSync.removeClass('sync'); - showSyncOff(navSync,relpath); - storeLink(stripPath2(pathName())+hashUrl()); - } else { - navSync.addClass('sync'); - showSyncOn(navSync,relpath); - deleteLink(); - } -} - -function initNavTree(toroot,relpath) -{ - var o = new Object(); - o.toroot = toroot; - o.node = new Object(); - o.node.li = document.getElementById("nav-tree-contents"); - o.node.childrenData = NAVTREE; - o.node.children = new Array(); - o.node.childrenUL = document.createElement("ul"); - o.node.getChildrenUL = function() { return o.node.childrenUL; }; - o.node.li.appendChild(o.node.childrenUL); - o.node.depth = 0; - o.node.relpath = relpath; - o.node.expanded = false; - o.node.isLast = true; - o.node.plus_img = document.createElement("img"); - o.node.plus_img.src = relpath+"ftv2pnode.png"; - o.node.plus_img.width = 16; - o.node.plus_img.height = 22; - - if (localStorageSupported()) { - var navSync = $('#nav-sync'); - if (cachedLink()) { - showSyncOff(navSync,relpath); - navSync.removeClass('sync'); - } else { - showSyncOn(navSync,relpath); - } - navSync.click(function(){ toggleSyncButton(relpath); }); - } - - $(window).load(function(){ - navTo(o,toroot,hashUrl(),relpath); - showRoot(); - }); - - $(window).bind('hashchange', function(){ - if (window.location.hash && window.location.hash.length>1){ - var a; - if ($(location).attr('hash')){ - var clslink=stripPath(pathName())+':'+hashValue(); - a=$('.item a[class$="'+clslink.replace(/=0 ? varName.substring(i+1) : varName; + return eval(n.replace(/\-/g,'_')); +} + +function stripPath(uri) +{ + return uri.substring(uri.lastIndexOf('/')+1); +} + +function stripPath2(uri) +{ + var i = uri.lastIndexOf('/'); + var s = uri.substring(i+1); + var m = uri.substring(0,i+1).match(/\/d\w\/d\w\w\/$/); + return m ? uri.substring(i-6) : s; +} + +function localStorageSupported() +{ + try { + return 'localStorage' in window && window['localStorage'] !== null && window.localStorage.getItem; + } + catch(e) { + return false; + } +} + + +function storeLink(link) +{ + if (!$("#nav-sync").hasClass('sync') && localStorageSupported()) { + window.localStorage.setItem('navpath',link); + } +} + +function deleteLink() +{ + if (localStorageSupported()) { + window.localStorage.setItem('navpath',''); + } +} + +function cachedLink() +{ + if (localStorageSupported()) { + return window.localStorage.getItem('navpath'); + } else { + return ''; + } +} + +function getScript(scriptName,func,show) +{ + var head = document.getElementsByTagName("head")[0]; + var script = document.createElement('script'); + script.id = scriptName; + script.type = 'text/javascript'; + script.onload = func; + script.src = scriptName+'.js'; + if ($.browser.msie && $.browser.version<=8) { + // script.onload does not work with older versions of IE + script.onreadystatechange = function() { + if (script.readyState=='complete' || script.readyState=='loaded') { + func(); if (show) showRoot(); + } + } + } + head.appendChild(script); +} + +function createIndent(o,domNode,node,level) +{ + var level=-1; + var n = node; + while (n.parentNode) { level++; n=n.parentNode; } + var imgNode = document.createElement("img"); + imgNode.style.paddingLeft=(16*level).toString()+'px'; + imgNode.width = 16; + imgNode.height = 22; + imgNode.border = 0; + if (node.childrenData) { + node.plus_img = imgNode; + node.expandToggle = document.createElement("a"); + node.expandToggle.href = "javascript:void(0)"; + node.expandToggle.onclick = function() { + if (node.expanded) { + $(node.getChildrenUL()).slideUp("fast"); + node.plus_img.src = node.relpath+"ftv2pnode.png"; + node.expanded = false; + } else { + expandNode(o, node, false, false); + } + } + node.expandToggle.appendChild(imgNode); + domNode.appendChild(node.expandToggle); + imgNode.src = node.relpath+"ftv2pnode.png"; + } else { + imgNode.src = node.relpath+"ftv2node.png"; + domNode.appendChild(imgNode); + } +} + +var animationInProgress = false; + +function gotoAnchor(anchor,aname,updateLocation) +{ + var pos, docContent = $('#doc-content'); + if (anchor.parent().attr('class')=='memItemLeft' || + anchor.parent().attr('class')=='fieldtype' || + anchor.parent().is(':header')) + { + pos = anchor.parent().position().top; + } else if (anchor.position()) { + pos = anchor.position().top; + } + if (pos) { + var dist = Math.abs(Math.min( + pos-docContent.offset().top, + docContent[0].scrollHeight- + docContent.height()-docContent.scrollTop())); + animationInProgress=true; + docContent.animate({ + scrollTop: pos + docContent.scrollTop() - docContent.offset().top + },Math.max(50,Math.min(500,dist)),function(){ + if (updateLocation) window.location.href=aname; + animationInProgress=false; + }); + } +} + +function newNode(o, po, text, link, childrenData, lastNode) +{ + var node = new Object(); + node.children = Array(); + node.childrenData = childrenData; + node.depth = po.depth + 1; + node.relpath = po.relpath; + node.isLast = lastNode; + + node.li = document.createElement("li"); + po.getChildrenUL().appendChild(node.li); + node.parentNode = po; + + node.itemDiv = document.createElement("div"); + node.itemDiv.className = "item"; + + node.labelSpan = document.createElement("span"); + node.labelSpan.className = "label"; + + createIndent(o,node.itemDiv,node,0); + node.itemDiv.appendChild(node.labelSpan); + node.li.appendChild(node.itemDiv); + + var a = document.createElement("a"); + node.labelSpan.appendChild(a); + node.label = document.createTextNode(text); + node.expanded = false; + a.appendChild(node.label); + if (link) { + var url; + if (link.substring(0,1)=='^') { + url = link.substring(1); + link = url; + } else { + url = node.relpath+link; + } + a.className = stripPath(link.replace('#',':')); + if (link.indexOf('#')!=-1) { + var aname = '#'+link.split('#')[1]; + var srcPage = stripPath($(location).attr('pathname')); + var targetPage = stripPath(link.split('#')[0]); + a.href = srcPage!=targetPage ? url : "javascript:void(0)"; + a.onclick = function(){ + storeLink(link); + if (!$(a).parent().parent().hasClass('selected')) + { + $('.item').removeClass('selected'); + $('.item').removeAttr('id'); + $(a).parent().parent().addClass('selected'); + $(a).parent().parent().attr('id','selected'); + } + var anchor = $(aname); + gotoAnchor(anchor,aname,true); + }; + } else { + a.href = url; + a.onclick = function() { storeLink(link); } + } + } else { + if (childrenData != null) + { + a.className = "nolink"; + a.href = "javascript:void(0)"; + a.onclick = node.expandToggle.onclick; + } + } + + node.childrenUL = null; + node.getChildrenUL = function() { + if (!node.childrenUL) { + node.childrenUL = document.createElement("ul"); + node.childrenUL.className = "children_ul"; + node.childrenUL.style.display = "none"; + node.li.appendChild(node.childrenUL); + } + return node.childrenUL; + }; + + return node; +} + +function showRoot() +{ + var headerHeight = $("#top").height(); + var footerHeight = $("#nav-path").height(); + var windowHeight = $(window).height() - headerHeight - footerHeight; + (function (){ // retry until we can scroll to the selected item + try { + var navtree=$('#nav-tree'); + navtree.scrollTo('#selected',0,{offset:-windowHeight/2}); + } catch (err) { + setTimeout(arguments.callee, 0); + } + })(); +} + +function expandNode(o, node, imm, showRoot) +{ + if (node.childrenData && !node.expanded) { + if (typeof(node.childrenData)==='string') { + var varName = node.childrenData; + getScript(node.relpath+varName,function(){ + node.childrenData = getData(varName); + expandNode(o, node, imm, showRoot); + }, showRoot); + } else { + if (!node.childrenVisited) { + getNode(o, node); + } if (imm || ($.browser.msie && $.browser.version>8)) { + // somehow slideDown jumps to the start of tree for IE9 :-( + $(node.getChildrenUL()).show(); + } else { + $(node.getChildrenUL()).slideDown("fast"); + } + if (node.isLast) { + node.plus_img.src = node.relpath+"ftv2mlastnode.png"; + } else { + node.plus_img.src = node.relpath+"ftv2mnode.png"; + } + node.expanded = true; + } + } +} + +function glowEffect(n,duration) +{ + n.addClass('glow').delay(duration).queue(function(next){ + $(this).removeClass('glow');next(); + }); +} + +function highlightAnchor() +{ + var aname = $(location).attr('hash'); + var anchor = $(aname); + if (anchor.parent().attr('class')=='memItemLeft'){ + var rows = $('.memberdecls tr[class$="'+ + window.location.hash.substring(1)+'"]'); + glowEffect(rows.children(),300); // member without details + } else if (anchor.parents().slice(2).prop('tagName')=='TR') { + glowEffect(anchor.parents('div.memitem'),1000); // enum value + } else if (anchor.parent().attr('class')=='fieldtype'){ + glowEffect(anchor.parent().parent(),1000); // struct field + } else if (anchor.parent().is(":header")) { + glowEffect(anchor.parent(),1000); // section header + } else { + glowEffect(anchor.next(),1000); // normal member + } + gotoAnchor(anchor,aname,false); +} + +function selectAndHighlight(hash,n) +{ + var a; + if (hash) { + var link=stripPath($(location).attr('pathname'))+':'+hash.substring(1); + a=$('.item a[class$="'+link+'"]'); + } + if (a && a.length) { + a.parent().parent().addClass('selected'); + a.parent().parent().attr('id','selected'); + highlightAnchor(); + } else if (n) { + $(n.itemDiv).addClass('selected'); + $(n.itemDiv).attr('id','selected'); + } + if ($('#nav-tree-contents .item:first').hasClass('selected')) { + $('#nav-sync').css('top','30px'); + } else { + $('#nav-sync').css('top','5px'); + } + showRoot(); +} + +function showNode(o, node, index, hash) +{ + if (node && node.childrenData) { + if (typeof(node.childrenData)==='string') { + var varName = node.childrenData; + getScript(node.relpath+varName,function(){ + node.childrenData = getData(varName); + showNode(o,node,index,hash); + },true); + } else { + if (!node.childrenVisited) { + getNode(o, node); + } + $(node.getChildrenUL()).show(); + if (node.isLast) { + node.plus_img.src = node.relpath+"ftv2mlastnode.png"; + } else { + node.plus_img.src = node.relpath+"ftv2mnode.png"; + } + node.expanded = true; + var n = node.children[o.breadcrumbs[index]]; + if (index+11) hash = '#'+parts[1]; + else hash=''; + } + if (hash.match(/^#l\d+$/)) { + var anchor=$('a[name='+hash.substring(1)+']'); + glowEffect(anchor.parent(),1000); // line number + hash=''; // strip line number anchors + //root=root.replace(/_source\./,'.'); // source link to doc link + } + var url=root+hash; + var i=-1; + while (NAVTREEINDEX[i+1]<=url) i++; + if (i==-1) { i=0; root=NAVTREE[0][1]; } // fallback: show index + if (navTreeSubIndices[i]) { + gotoNode(o,i,root,hash,relpath) + } else { + getScript(relpath+'navtreeindex'+i,function(){ + navTreeSubIndices[i] = eval('NAVTREEINDEX'+i); + if (navTreeSubIndices[i]) { + gotoNode(o,i,root,hash,relpath); + } + },true); + } +} + +function showSyncOff(n,relpath) +{ + n.html(''); +} + +function showSyncOn(n,relpath) +{ + n.html(''); +} + +function toggleSyncButton(relpath) +{ + var navSync = $('#nav-sync'); + if (navSync.hasClass('sync')) { + navSync.removeClass('sync'); + showSyncOff(navSync,relpath); + storeLink(stripPath2($(location).attr('pathname'))+$(location).attr('hash')); + } else { + navSync.addClass('sync'); + showSyncOn(navSync,relpath); + deleteLink(); + } +} + +function initNavTree(toroot,relpath) +{ + var o = new Object(); + o.toroot = toroot; + o.node = new Object(); + o.node.li = document.getElementById("nav-tree-contents"); + o.node.childrenData = NAVTREE; + o.node.children = new Array(); + o.node.childrenUL = document.createElement("ul"); + o.node.getChildrenUL = function() { return o.node.childrenUL; }; + o.node.li.appendChild(o.node.childrenUL); + o.node.depth = 0; + o.node.relpath = relpath; + o.node.expanded = false; + o.node.isLast = true; + o.node.plus_img = document.createElement("img"); + o.node.plus_img.src = relpath+"ftv2pnode.png"; + o.node.plus_img.width = 16; + o.node.plus_img.height = 22; + + if (localStorageSupported()) { + var navSync = $('#nav-sync'); + if (cachedLink()) { + showSyncOff(navSync,relpath); + navSync.removeClass('sync'); + } else { + showSyncOn(navSync,relpath); + } + navSync.click(function(){ toggleSyncButton(relpath); }); + } + + navTo(o,toroot,window.location.hash,relpath); + + $(window).bind('hashchange', function(){ + if (window.location.hash && window.location.hash.length>1){ + var a; + if ($(location).attr('hash')){ + var clslink=stripPath($(location).attr('pathname'))+':'+ + $(location).attr('hash').substring(1); + a=$('.item a[class$="'+clslink+'"]'); + } + if (a==null || !$(a).parent().parent().hasClass('selected')){ + $('.item').removeClass('selected'); + $('.item').removeAttr('id'); + } + var link=stripPath2($(location).attr('pathname')); + navTo(o,link,$(location).attr('hash'),relpath); + } else if (!animationInProgress) { + $('#doc-content').scrollTop(0); + $('.item').removeClass('selected'); + $('.item').removeAttr('id'); + navTo(o,toroot,window.location.hash,relpath); + } + }) + + $(window).load(showRoot); +} + diff --git a/docs/simplelink_api/html/navtreeindex0.js b/docs/simplelink_api/html/navtreeindex0.js index 447cb31..936b428 100644 --- a/docs/simplelink_api/html/navtreeindex0.js +++ b/docs/simplelink_api/html/navtreeindex0.js @@ -1,253 +1,253 @@ -var NAVTREEINDEX0 = -{ -"_simple_link_8h_source.html":[2,0,4], -"annotated.html":[1,0], -"classes.html":[1,1], -"device_8h_source.html":[2,0,0], -"files.html":[2,0], -"fs_8h_source.html":[2,0,1], -"functions.html":[1,2,0], -"functions_vars.html":[1,2,1], -"group___file_system.html":[0,11], -"group___file_system.html#ga08228317c6090bb2ce1eca508acb1f35":[0,11,2], -"group___file_system.html#ga32f5957d3f53ea68d1c2c80e2e2b6787":[0,11,6], -"group___file_system.html#ga62835b890b9f9992c3db60119a627dbc":[0,11,5], -"group___file_system.html#ga6a9aaae1813255fa13c7d6bc26c2904c":[0,11,4], -"group___file_system.html#gadcea87bf2342174220435d564b894a42":[0,11,1], -"group___file_system.html#gae3ebf3e8ef6f34ff9e3fe97e5370aa1c":[0,11,3], -"group___user_events.html":[0,14], -"group___user_events.html#ga43d18f96a28035b76652c652f8e9b351":[0,14,3], -"group___user_events.html#ga456ce303ecb46525a9a4bf281e82100f":[0,14,2], -"group___user_events.html#gaa6d77040cbaaa41f5ddaf4f70d9d652c":[0,14,1], -"group___user_events.html#gacfd6910f913239edf6eda7889877e8de":[0,14,0], -"group__configuration__enable__device.html":[0,5], -"group__configuration__enable__device.html#ga8bbed8fdfdf8935ac0dd9a05b04d30ca":[0,5,1], -"group__configuration__enable__device.html#gacca1eb461c75328c51f1f31c68211f2f":[0,5,0], -"group__configuration__events.html":[0,9], -"group__configuration__events.html#ga3c0891823e25cd59435c60d20b5d4ca2":[0,9,1], -"group__configuration__events.html#ga562ae3aa3677752a7860927c6723a47c":[0,9,3], -"group__configuration__events.html#gacef3a52784e64d85ac16e3184276e8e7":[0,9,0], -"group__configuration__events.html#gadb456a8a930b59fe6a49a94480173f4e":[0,9,2], -"group__configuration__interface.html":[0,6], -"group__configuration__interface.html#ga0d4d3db7b5ee6efcaf940de38f32d190":[0,6,3], -"group__configuration__interface.html#ga0e17e205005322be3b619eeeeec9f069":[0,6,4], -"group__configuration__interface.html#ga134a6c4658baae78724989e8a36d7be0":[0,6,1], -"group__configuration__interface.html#ga206e7c86da4e31989d54dbd8531ce505":[0,6,2], -"group__configuration__interface.html#ga93d829306f92470614ca2fe71e7fbaa2":[0,6,0], -"group__configuration__interface.html#gaaca4940235fc8e01cdad18a0908fda34":[0,6,6], -"group__configuration__interface.html#gab3b2a3ae727a4e932ee45ea17fe4f701":[0,6,5], -"group__configuration__mem__mgm.html":[0,8], -"group__configuration__os.html":[0,7], -"group__configuration__os.html#ga2b59ba700928c882ee7e09cc2ca21ae0":[0,7,0], -"group__configuration__os.html#ga46fef31825e3d93f0cbf87ef0f0e8bdc":[0,7,7], -"group__configuration__os.html#ga53c6c1fb7069626627b59ed2ac526f37":[0,7,3], -"group__configuration__os.html#ga6ac346506983bdee1f92bf25be6242d8":[0,7,2], -"group__configuration__os.html#ga7c3a3039c187e241dc672012283a1dbd":[0,7,10], -"group__configuration__os.html#ga8a675ba872a3baab12ba0061d0438497":[0,7,12], -"group__configuration__os.html#ga8c0d4537932fc4d16fdb74b47c87f25c":[0,7,9], -"group__configuration__os.html#ga8d2ec9002b5c79f7ff4078131bd2cf75":[0,7,14], -"group__configuration__os.html#gab3addb759397657f08d76f9a8d911df3":[0,7,5], -"group__configuration__os.html#gab5eaa3977a30d7850822d02d59177134":[0,7,8], -"group__configuration__os.html#gab7a5fd0efc65395fb4a08a373d5b2249":[0,7,6], -"group__configuration__os.html#gac1d0a12a5afd13d8b7809911c645fd5c":[0,7,1], -"group__configuration__os.html#gad6449455165bec5c40eb0a1b399e285a":[0,7,13], -"group__configuration__os.html#gae4e01547906364515ec4ed1efd07020c":[0,7,4], -"group__configuration__os.html#gaf276f690a7bcfca16d38b279d1229472":[0,7,15], -"group__configuration__os.html#gafd412ee7243ea29192ab6156e5dae006":[0,7,11], -"group__device.html":[0,10], -"group__device.html#ga5869df658d2c9fe3c2baa50503a1a8dd":[0,10,10], -"group__device.html#ga7806b05e2f17b11b8d054f92f7f2c868":[0,10,9], -"group__device.html#ga7baa360e5cda2cff9b52c0d9b69a6c86":[0,10,11], -"group__device.html#ga99e4952cbe9d52fe22698e6e7a59b891":[0,10,6], -"group__device.html#gaa6b773e7c7bc76a72aa4c01aa65e250a":[0,10,8], -"group__device.html#gad9f4a882aaa3da4631deed04b789d801":[0,10,7], -"group__netapp.html":[0,12], -"group__netapp.html#ga026042b00c2ac7f4272d009d883c9335":[0,12,22], -"group__netapp.html#ga0cb97cebe1700f226a106dcaf380d621":[0,12,14], -"group__netapp.html#ga123121018f78e1417742903d033dc6ef":[0,12,21], -"group__netapp.html#ga16fb7d6f45b455c16396a8e7c67766ea":[0,12,17], -"group__netapp.html#ga4ca13631c7c531b661200fe6b7fe7b49":[0,12,23], -"group__netapp.html#ga8df56e6702e8f8a56dce8eb679ace02e":[0,12,20], -"group__netapp.html#ga9f81d4dcdc49acbcb4f7114e23b36863":[0,12,15], -"group__netapp.html#gaa56ce9e64400819d6040daf0a99a00e1":[0,12,16], -"group__netapp.html#gac7fa8da673496ba7a6a25ef54ba4da27":[0,12,19], -"group__netapp.html#gaed2c05189b54f6c61d143a551191abc8":[0,12,18], -"group__netcfg.html":[0,13], -"group__netcfg.html#gaae48efdddc313517b86d25d819f10b24":[0,13,1], -"group__netcfg.html#gab199703b982451676f7c5bdb344ec4ef":[0,13,2], -"group__socket.html":[0,15], -"group__socket.html#ga0d9e401652361c24235f157e65e35365":[0,15,31], -"group__socket.html#ga6363ea2098e629c1a6e2bf80e731fb79":[0,15,42], -"group__socket.html#ga712c2a31c2844b54c33ede3a9a148d61":[0,15,34], -"group__socket.html#ga72085bf8fae027f8fe31a0eb99a6808b":[0,15,25], -"group__socket.html#ga77d6029b0c39df5541b0b0d6484591b4":[0,15,33], -"group__socket.html#ga783a041dad81818b4b8d15e4d7a852fa":[0,15,41], -"group__socket.html#ga7d864d86f8dd7296774072db021a69e7":[0,15,36], -"group__socket.html#ga97747fea9f469feeb7272b76e4fe9a0e":[0,15,39], -"group__socket.html#ga9c87fa7e319677c3d2f88180a21fee2c":[0,15,30], -"group__socket.html#gaa775fcb6d09bf35b9dac3e5eb8e8c997":[0,15,43], -"group__socket.html#gaa8aefbd7da7312044d0c47cb256e5029":[0,15,29], -"group__socket.html#gac58eca56e2cf9bf58f8f3ef8790f7740":[0,15,32], -"group__socket.html#gacc7971a6e41592c8ef90936b25495a8b":[0,15,27], -"group__socket.html#gace86078cc514a5efa01f2b757e3bb8bf":[0,15,37], -"group__socket.html#gad8b9db85493e84b19994840f4cff0ca0":[0,15,28], -"group__socket.html#gadcb0c4792127dceb1feb3e9b87ab2094":[0,15,26], -"group__socket.html#gadfb6f98e5c75a46050780e8afbae13bd":[0,15,35], -"group__socket.html#gaf3234446a6f3c770d5a3d56300f487f6":[0,15,40], -"group__socket.html#gaf370fe1b17863024b28e081af02f6cf3":[0,15,38], -"group__wlan.html":[0,16], -"group__wlan.html#ga0f61489aecc77c79f5350a8c6bab3ab5":[0,16,24], -"group__wlan.html#ga14a7b9540cb77fd6f25d867dc4b86216":[0,16,31], -"group__wlan.html#ga1a64252fcd41167613bed9c63db18fd4":[0,16,30], -"group__wlan.html#ga1b9a54dd2e2bf803aa35db1fda145660":[0,16,19], -"group__wlan.html#ga26b54ee4d92ffbc83381e50cfb23f6d7":[0,16,22], -"group__wlan.html#ga2896a54ee7672e6cd1ee37b1f2fe25b4":[0,16,18], -"group__wlan.html#ga2ac29ca184173a50d76a36f259a4435d":[0,16,32], -"group__wlan.html#ga3314697c8034ce4d12809cc16e717c58":[0,16,21], -"group__wlan.html#ga40fdb95f2590b43c91a60377349aad4c":[0,16,28], -"group__wlan.html#ga69b1778b120c0b2db7f2fd2884dde5d8":[0,16,29], -"group__wlan.html#ga77385f1875fa8dc16087dc51a135b303":[0,16,15], -"group__wlan.html#ga8d3140cea09851de2c580c89f222f808":[0,16,16], -"group__wlan.html#ga91085b684cf378ae5a1ab0884b448c7d":[0,16,27], -"group__wlan.html#gab5ffd26ae9abe6ea5bc61b99a0ced94f":[0,16,25], -"group__wlan.html#gabdb0111c7ac6315038a05a65f92dd5e1":[0,16,23], -"group__wlan.html#gac30d8b0d601562d2f8a8468da18bad11":[0,16,26], -"group__wlan.html#gac400e2c9d09b15c953ed2766b33295d5":[0,16,17], -"group__wlan.html#gac95a8b72fab78924ea6b52e3799c7de6":[0,16,33], -"group__wlan.html#gae6e655c4c90b29ab2fccbfe620ec6a50":[0,16,20], -"index.html":[], -"index.html#Config_sec":[2], -"index.html#Config_step1":[2,0], -"index.html#Config_step3":[2,2], -"index.html#Config_step4":[2,3], -"index.html#Config_step5":[2,4], -"index.html#Confing_step2":[2,1], -"index.html#intro_sec":[0], -"index.html#modules_sec":[1], -"index.html#more_information":[4], -"index.html#sw_license":[3], -"modules.html":[0], -"netapp_8h_source.html":[2,0,2], -"netcfg_8h_source.html":[2,0,3], -"pages.html":[], -"socket_8h_source.html":[2,0,5], -"struct___sl_partial_version.html":[0,10,0], -"struct___sl_partial_version.html#a59bd6f51689f540b0ba4dc785e4bfb64":[0,10,0,1], -"struct___sl_partial_version.html#a877d3a1147d35755dbce8176048ce947":[0,10,0,0], -"struct___sl_partial_version.html#ac5605d53799a6c74ac3f37559c465edb":[0,10,0,2], -"struct___wlan_rx_filter_operation_command_buff__t.html":[1,0,5], -"struct___wlan_rx_filter_operation_command_buff__t.html#a0fd0bcceb96f701e100777c638b3d92e":[1,0,5,1], -"struct___wlan_rx_filter_operation_command_buff__t.html#a1eef0241be0cb0a36a86bf455f7831a8":[1,0,5,0], -"struct___wlan_rx_filter_pre_prepared_filters_command_buff__t.html":[1,0,6], -"struct___wlan_rx_filter_pre_prepared_filters_command_buff__t.html#a99976729d13a30d41b5e1bae56bdf259":[1,0,6,0], -"struct___wlan_rx_filter_pre_prepared_filters_command_response_buff__t.html":[1,0,7], -"struct___wlan_rx_filter_pre_prepared_filters_command_response_buff__t.html#a99976729d13a30d41b5e1bae56bdf259":[1,0,7,0], -"struct___wlan_rx_filter_retrieve_enable_status_command_response_buff__t.html":[1,0,8], -"struct___wlan_rx_filter_retrieve_enable_status_command_response_buff__t.html#a1eef0241be0cb0a36a86bf455f7831a8":[1,0,8,0], -"struct___wlan_rx_filter_update_args_command_buff__t.html":[1,0,9], -"struct___wlan_rx_filter_update_args_command_buff__t.html#a4b1699c0a6c09f3c62ebd985380cf166":[1,0,9,1], -"struct___wlan_rx_filter_update_args_command_buff__t.html#a7b31ced7e468b57e02cd3b78db2cbef5":[1,0,9,3], -"struct___wlan_rx_filter_update_args_command_buff__t.html#add6818ee6f7084d693b35651574a0fd4":[1,0,9,2], -"struct___wlan_rx_filter_update_args_command_buff__t.html#ae3682ba56f6d59761126f6b26b2cc243":[1,0,9,0], -"struct__sl_http_server_data__t.html":[0,12,3], -"struct__sl_http_server_data__t.html#a2283b20c750664ec3b4301cb8e64f198":[0,12,3,2], -"struct__sl_http_server_data__t.html#a295865b2d6f6091bc35d8de6e8cae731":[0,12,3,0], -"struct__sl_http_server_data__t.html#adff3bc96f451530f4776b011f36a3c2a":[0,12,3,1], -"struct__sl_http_server_data__t.html#ae6d3f66fb64a31cc12909a1ec028387b":[0,12,3,3], -"struct__sl_http_server_post_data__t.html":[0,12,4], -"struct__sl_http_server_post_data__t.html#a76122764e78b080056125b9ef28ada7b":[0,12,4,0], -"struct__sl_http_server_post_data__t.html#ac17cbf485a7c72aa811cfda94d8649c6":[0,12,4,2], -"struct__sl_http_server_post_data__t.html#ac32e60a343288e97e368ae665adf7442":[0,12,4,1], -"struct__sl_http_server_string__t.html":[0,12,2], -"struct__sl_http_server_string__t.html#acc9fcad2930f408ce8147134702a4ff3":[0,12,2,1], -"struct__sl_http_server_string__t.html#ae2f1a2294cac364e7901e04f5821ede8":[0,12,2,0], -"struct_sl___wlan_network_entry__t.html":[0,16,8], -"struct_sl___wlan_network_entry__t.html#a1625b9ac8d0d51aa89df83295c9a5de2":[0,16,8,0], -"struct_sl___wlan_network_entry__t.html#a2e45fb530d9c89d3673ea6e05f07844d":[0,16,8,5], -"struct_sl___wlan_network_entry__t.html#a80c3df13ed7cf0b1a5e5639811c82f34":[0,16,8,2], -"struct_sl___wlan_network_entry__t.html#aa1d4d52e9a684f2a28c9c8b89573af18":[0,16,8,1], -"struct_sl___wlan_network_entry__t.html#ad097bad1e9bb0c4e70de8748263b76da":[0,16,8,4], -"struct_sl___wlan_network_entry__t.html#af791c098aa0b08d0ee0126843b1fe855":[0,16,8,3], -"struct_sl_date_time__t.html":[0,10,5], -"struct_sl_date_time__t.html#a000a13e33ea38c8e0bb5541f3723126d":[0,10,5,5], -"struct_sl_date_time__t.html#a041e83bc571abb3b79165cbf6bea74a1":[0,10,5,8], -"struct_sl_date_time__t.html#a49f5795062d81178ce89f77d61448bee":[0,10,5,0], -"struct_sl_date_time__t.html#a5171f9a27af9cba0e6ef95d9af2eed07":[0,10,5,6], -"struct_sl_date_time__t.html#a92f8e6dd9aa31ef8fb286c5c2c0c34b9":[0,10,5,2], -"struct_sl_date_time__t.html#aa898a97b5759e5020905a464619003d1":[0,10,5,4], -"struct_sl_date_time__t.html#ac214aa05234cf1c38cbc1e464997c25e":[0,10,5,7], -"struct_sl_date_time__t.html#ac9111faf20f5af837320742ad9654226":[0,10,5,3], -"struct_sl_date_time__t.html#af83ea24b23158f14e96ff93c5e8c0896":[0,10,5,1], -"struct_sl_device_event__t.html":[0,10,4], -"struct_sl_device_event__t.html#ad8c1d9df20f3a61d8c0f1b7aba495af7":[0,10,4,1], -"struct_sl_device_event__t.html#adeedbaaa252b969fc66e151eef37ea62":[0,10,4,0], -"struct_sl_fd_set__t.html":[0,15,23], -"struct_sl_fd_set__t.html#a3071152bcd9c3ea1a88c38a026f96b1c":[0,15,23,0], -"struct_sl_fs_file_info__t.html":[0,11,0], -"struct_sl_fs_file_info__t.html#a1888c786f5e31740d464bd7d88773e4b":[0,11,0,0], -"struct_sl_fs_file_info__t.html#a42e92a9d18f2642049165db21a2bfe82":[0,11,0,1], -"struct_sl_fs_file_info__t.html#abdf1173d4d93434f8a910e0f84987463":[0,11,0,3], -"struct_sl_fs_file_info__t.html#ac19f310fccda9703415c584f0a7497f4":[0,11,0,2], -"struct_sl_get_rx_stat_response__t.html":[0,16,7], -"struct_sl_get_rx_stat_response__t.html#a0b84e628b2501fbf4a814b2f678a63ef":[0,16,7,6], -"struct_sl_get_rx_stat_response__t.html#a11b977458ccb1ceade91d3f2ae733307":[0,16,7,7], -"struct_sl_get_rx_stat_response__t.html#a2050deb55011de7a472c8d5bcd6099f7":[0,16,7,1], -"struct_sl_get_rx_stat_response__t.html#a6e06f9a2b719028a084d2fc2333cd309":[0,16,7,4], -"struct_sl_get_rx_stat_response__t.html#a85c0324d0b3de70a327e185173309a5c":[0,16,7,2], -"struct_sl_get_rx_stat_response__t.html#ac40e3ad339a01bee80c412d99eb1a128":[0,16,7,8], -"struct_sl_get_rx_stat_response__t.html#ad18c6011a86553bd786ffae0f7b87538":[0,16,7,3], -"struct_sl_get_rx_stat_response__t.html#ae0b83e8cbdae8b17ae333f5684bd5708":[0,16,7,5], -"struct_sl_get_rx_stat_response__t.html#af3660978617c803a996f041215004a50":[0,16,7,0], -"struct_sl_get_sec_params_ext__t.html":[0,16,11], -"struct_sl_get_sec_params_ext__t.html#a24af689142eda26860754c5e9c0f9e60":[0,16,11,5], -"struct_sl_get_sec_params_ext__t.html#a402a97b0e8257ae2f2b928c7590d0b03":[0,16,11,0], -"struct_sl_get_sec_params_ext__t.html#a4f18f173d08eff5ae05fa940c60df4c0":[0,16,11,3], -"struct_sl_get_sec_params_ext__t.html#a55a132bbb3126099cb8f12cb6d174876":[0,16,11,2], -"struct_sl_get_sec_params_ext__t.html#ac3b3c772e1d98758cc674e2f6f0658d5":[0,16,11,4], -"struct_sl_get_sec_params_ext__t.html#ac62b273b2e1b1c60eca7ef61a29b0aa5":[0,16,11,1], -"struct_sl_http_server_event__t.html":[0,12,7], -"struct_sl_http_server_event__t.html#adeedbaaa252b969fc66e151eef37ea62":[0,12,7,0], -"struct_sl_http_server_event__t.html#aea6d012a43dcb8ded6b90686ceaef0f7":[0,12,7,1], -"struct_sl_http_server_response__t.html":[0,12,8], -"struct_sl_http_server_response__t.html#a79b6c5114e9f6da69c3113d4be87a943":[0,12,8,1], -"struct_sl_http_server_response__t.html#acc4e0dc6756b696c4e2bbdd3f75d1123":[0,12,8,0], -"struct_sl_in6_addr__t.html":[0,15,13], -"struct_sl_in6_addr__t.html#a3db8a67c76268286e0dfc750988e16bf":[0,15,13,1], -"struct_sl_in6_addr__t.html#accb4b15a4e8073b36d17764520329d44":[0,15,13,2], -"struct_sl_in6_addr__t.html#aee8fdf3ea3807e415be615b7ea9c7ac3":[0,15,13,0], -"struct_sl_in_addr__t.html":[0,15,0], -"struct_sl_in_addr__t.html#a1bb442d64dfd79d2219d69704947e21b":[0,15,0,0], -"struct_sl_ip_leased_async__t.html":[0,15,18], -"struct_sl_ip_leased_async__t.html#a51fa48efb76fa1995446db52ac06a46f":[0,15,18,2], -"struct_sl_ip_leased_async__t.html#aba21cfc12ca7e52b24d4566825a69583":[0,15,18,0], -"struct_sl_ip_leased_async__t.html#ae870c09512e5404d8fd6a94d899d52b5":[0,15,18,1], -"struct_sl_ip_leased_async__t.html#aee74651e918d4c23f3eabe25fbbf8142":[0,15,18,3], -"struct_sl_ip_released_async__t.html":[0,15,19], -"struct_sl_ip_released_async__t.html#a51fa48efb76fa1995446db52ac06a46f":[0,15,19,1], -"struct_sl_ip_released_async__t.html#a74c4b0fa5b3987eb1c1c38d1328800ec":[0,15,19,2], -"struct_sl_ip_released_async__t.html#aba21cfc12ca7e52b24d4566825a69583":[0,15,19,0], -"struct_sl_ip_v4_acquired_async__t.html":[0,15,16], -"struct_sl_ip_v4_acquired_async__t.html#a269bb91b6feb081352eedf250664de16":[0,15,16,1], -"struct_sl_ip_v4_acquired_async__t.html#aad25be6b70d3ea82fd985d8b48897883":[0,15,16,0], -"struct_sl_ip_v4_acquired_async__t.html#af1a8503514e9d113c83fe28f8822fa16":[0,15,16,2], -"struct_sl_ip_v6_acquired_async__t.html":[0,15,17], -"struct_sl_ip_v6_acquired_async__t.html#a4b2c27059c223cdd2149f3fbd526b453":[0,15,17,3], -"struct_sl_ip_v6_acquired_async__t.html#a7fa567b0024e3a179a266440636b9f58":[0,15,17,1], -"struct_sl_ip_v6_acquired_async__t.html#a90f4865c4077830b35b1828abc96f69b":[0,15,17,0], -"struct_sl_ip_v6_acquired_async__t.html#aeb14becbd5ead4e94404e551abb631c4":[0,15,17,2], -"struct_sl_net_app_dhcp_server_basic_opt__t.html":[0,12,9], -"struct_sl_net_app_dhcp_server_basic_opt__t.html#a3658ee49e477ac75294c4dcb44e9469b":[0,12,9,0], -"struct_sl_net_app_dhcp_server_basic_opt__t.html#ad89c28578421c014b62f5edd796760b1":[0,12,9,1], -"struct_sl_net_app_dhcp_server_basic_opt__t.html#ae870c09512e5404d8fd6a94d899d52b5":[0,12,9,2], -"struct_sl_net_app_event__t.html":[0,15,21], -"struct_sl_net_app_event__t.html#ac58cdb6e0d008f951c65fade86f32713":[0,15,21,1], -"struct_sl_net_app_event__t.html#adeedbaaa252b969fc66e151eef37ea62":[0,15,21,0], -"struct_sl_net_app_get_full_service_ipv4_list__t.html":[0,12,11], -"struct_sl_net_app_get_full_service_ipv4_list__t.html#a14a68e63be446395d1bdc960d9cd46bb":[0,12,11,3], -"struct_sl_net_app_get_full_service_ipv4_list__t.html#a1a2075c35d52286cb696f878738d30be":[0,12,11,2], -"struct_sl_net_app_get_full_service_ipv4_list__t.html#a3f5363b14f728fe990328585ccbc70e1":[0,12,11,0], -"struct_sl_net_app_get_full_service_ipv4_list__t.html#a526174fd4b7f339328e315dbb01c19f7":[0,12,11,4], -"struct_sl_net_app_get_full_service_ipv4_list__t.html#aeb85c9d6321692e2622077406052c2c2":[0,12,11,1], -"struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html":[0,12,12], -"struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#a14a68e63be446395d1bdc960d9cd46bb":[0,12,12,3] -}; +var NAVTREEINDEX0 = +{ +"annotated.html":[2,0], +"classes.html":[2,1], +"device_8h_source.html":[3,0,0], +"files.html":[3,0], +"fs_8h_source.html":[3,0,1], +"functions.html":[2,2,0], +"functions_vars.html":[2,2,1], +"group___file_system.html":[1,7], +"group___file_system.html#ga12caded07ff4c66e5b6e73a36009072d":[1,7,1], +"group___file_system.html#ga1318606b831a75593f57fb234370dc78":[1,7,4], +"group___file_system.html#ga23d68a0f564436b6ef08325b1a159e85":[1,7,6], +"group___file_system.html#ga6df7dfcefa195a2bc5ef81dbbcaab5ed":[1,7,3], +"group___file_system.html#ga745742b9829a05e2a502efa054f4900c":[1,7,5], +"group___file_system.html#gaa3b9c7b7c0e2be74332d136b94f7940d":[1,7,2], +"group___user_events.html":[1,10], +"group___user_events.html#ga43d18f96a28035b76652c652f8e9b351":[1,10,3], +"group___user_events.html#ga456ce303ecb46525a9a4bf281e82100f":[1,10,2], +"group___user_events.html#gaa6d77040cbaaa41f5ddaf4f70d9d652c":[1,10,1], +"group___user_events.html#gacfd6910f913239edf6eda7889877e8de":[1,10,0], +"group__configuration__capabilities.html":[1,0], +"group__configuration__capabilities.html#ga4be99245edba2bfb842d8df4d09eb999":[1,0,1], +"group__configuration__capabilities.html#ga5c7e38b29356ef0962f718e0330c9856":[1,0,5], +"group__configuration__capabilities.html#ga7cbf8400d435a30ab34d4a2214400114":[1,0,2], +"group__configuration__capabilities.html#ga9188550c03f37f238eb9f30a1cbd0df0":[1,0,4], +"group__configuration__capabilities.html#gaa42d6fa27f3569e91678da37cefdd8bc":[1,0,0], +"group__configuration__capabilities.html#gaa73df10f6f9d30adb4ab338d340ad947":[1,0,7], +"group__configuration__capabilities.html#gaac3f7bc7062d8af4877ad9945e0b3d18":[1,0,6], +"group__configuration__capabilities.html#gabc6eb775d34a6bfdb403870731bcb2d2":[1,0,9], +"group__configuration__capabilities.html#gac1149288c21844487d5355043cc29192":[1,0,10], +"group__configuration__capabilities.html#gacf5fb67b728e2a462af65cdf255bcf9a":[1,0,3], +"group__configuration__capabilities.html#gad726661ffffa2ba5ec2a07004ca7424c":[1,0,11], +"group__configuration__capabilities.html#gaf01455b50bce19c25ca37eef89b77557":[1,0,8], +"group__configuration__enable__device.html":[1,1], +"group__configuration__enable__device.html#ga60ed6944dbba2084aab55225a3bfee57":[1,1,2], +"group__configuration__enable__device.html#ga8bbed8fdfdf8935ac0dd9a05b04d30ca":[1,1,1], +"group__configuration__enable__device.html#gacca1eb461c75328c51f1f31c68211f2f":[1,1,0], +"group__configuration__events.html":[1,5], +"group__configuration__events.html#ga3c0891823e25cd59435c60d20b5d4ca2":[1,5,1], +"group__configuration__events.html#ga562ae3aa3677752a7860927c6723a47c":[1,5,3], +"group__configuration__events.html#gacef3a52784e64d85ac16e3184276e8e7":[1,5,0], +"group__configuration__events.html#gadb456a8a930b59fe6a49a94480173f4e":[1,5,2], +"group__configuration__interface.html":[1,2], +"group__configuration__interface.html#ga0d4d3db7b5ee6efcaf940de38f32d190":[1,2,3], +"group__configuration__interface.html#ga0e17e205005322be3b619eeeeec9f069":[1,2,4], +"group__configuration__interface.html#ga134a6c4658baae78724989e8a36d7be0":[1,2,1], +"group__configuration__interface.html#ga206e7c86da4e31989d54dbd8531ce505":[1,2,2], +"group__configuration__interface.html#ga93d829306f92470614ca2fe71e7fbaa2":[1,2,0], +"group__configuration__interface.html#gaaca4940235fc8e01cdad18a0908fda34":[1,2,6], +"group__configuration__interface.html#gab3b2a3ae727a4e932ee45ea17fe4f701":[1,2,5], +"group__configuration__mem__mgm.html":[1,4], +"group__configuration__os.html":[1,3], +"group__configuration__os.html#gab5eaa3977a30d7850822d02d59177134":[1,3,0], +"group__device.html":[1,6], +"group__device.html#ga0425868dc13ee98bff664127d9d37ee4":[1,6,13], +"group__device.html#ga1e30957d5b7720918fb206d44f373613":[1,6,12], +"group__device.html#ga474ffecf51d679b27f7b449dc7b2e554":[1,6,7], +"group__device.html#ga57d6ea9dfcc0fb18f956fd2cae8f5f19":[1,6,10], +"group__device.html#ga5869df658d2c9fe3c2baa50503a1a8dd":[1,6,11], +"group__device.html#ga6a8648f29287968fcb8a9efcdd91becd":[1,6,8], +"group__device.html#ga6e2bf948f1cce2bc5aae771892739fb2":[1,6,9], +"group__netapp.html":[1,8], +"group__netapp.html#ga29b52a83173826c523890dee46cc252a":[1,8,14], +"group__netapp.html#ga2afa652378453fe2f3c1010915673576":[1,8,21], +"group__netapp.html#ga3c18e929acd30de42a36afe2d85bbe05":[1,8,15], +"group__netapp.html#ga4adc32529c7c7c84273728cf16393dad":[1,8,20], +"group__netapp.html#ga5fb699d928b704c4237d4f0921a89ab9":[1,8,19], +"group__netapp.html#ga6e77cdf4e8540180bf4358c48a08e0fe":[1,8,17], +"group__netapp.html#gaa7539fd75708676a4ed8bbfaeaebc791":[1,8,16], +"group__netapp.html#gad174e319fb745e2d871fe1b08b567131":[1,8,23], +"group__netapp.html#gae222ee3db8c89e9e3ecf8b2738961b33":[1,8,18], +"group__netapp.html#gaecf228612e6baacf183d3f6eea64b120":[1,8,22], +"group__netcfg.html":[1,9], +"group__netcfg.html#ga059a56d0d883e74c65eea199ed8513bb":[1,9,2], +"group__netcfg.html#ga86e2fc6c2fca5d8537529b612fb7ebe4":[1,9,1], +"group__socket.html":[1,11], +"group__socket.html#ga0d9e401652361c24235f157e65e35365":[1,11,32], +"group__socket.html#ga6363ea2098e629c1a6e2bf80e731fb79":[1,11,43], +"group__socket.html#ga712c2a31c2844b54c33ede3a9a148d61":[1,11,35], +"group__socket.html#ga72085bf8fae027f8fe31a0eb99a6808b":[1,11,26], +"group__socket.html#ga77d6029b0c39df5541b0b0d6484591b4":[1,11,34], +"group__socket.html#ga783a041dad81818b4b8d15e4d7a852fa":[1,11,42], +"group__socket.html#ga7d864d86f8dd7296774072db021a69e7":[1,11,37], +"group__socket.html#ga97747fea9f469feeb7272b76e4fe9a0e":[1,11,40], +"group__socket.html#ga9c87fa7e319677c3d2f88180a21fee2c":[1,11,31], +"group__socket.html#gaa775fcb6d09bf35b9dac3e5eb8e8c997":[1,11,44], +"group__socket.html#gaa8aefbd7da7312044d0c47cb256e5029":[1,11,30], +"group__socket.html#gac58eca56e2cf9bf58f8f3ef8790f7740":[1,11,33], +"group__socket.html#gacc7971a6e41592c8ef90936b25495a8b":[1,11,28], +"group__socket.html#gace86078cc514a5efa01f2b757e3bb8bf":[1,11,38], +"group__socket.html#gad8b9db85493e84b19994840f4cff0ca0":[1,11,29], +"group__socket.html#gadcb0c4792127dceb1feb3e9b87ab2094":[1,11,27], +"group__socket.html#gadfb6f98e5c75a46050780e8afbae13bd":[1,11,36], +"group__socket.html#gaf3234446a6f3c770d5a3d56300f487f6":[1,11,41], +"group__socket.html#gaf370fe1b17863024b28e081af02f6cf3":[1,11,39], +"group__wlan.html":[1,12], +"group__wlan.html#ga0f61489aecc77c79f5350a8c6bab3ab5":[1,12,24], +"group__wlan.html#ga14a7b9540cb77fd6f25d867dc4b86216":[1,12,31], +"group__wlan.html#ga15d4779e6097f67111c69eaaff56a261":[1,12,15], +"group__wlan.html#ga27081ec6f3047e97b8b024ae751c955b":[1,12,21], +"group__wlan.html#ga2ac29ca184173a50d76a36f259a4435d":[1,12,32], +"group__wlan.html#ga40fdb95f2590b43c91a60377349aad4c":[1,12,28], +"group__wlan.html#ga5195b07e98404f074e0294276fc64858":[1,12,23], +"group__wlan.html#ga620559124e4421c6887ec67ff50bbbbc":[1,12,18], +"group__wlan.html#ga69b1778b120c0b2db7f2fd2884dde5d8":[1,12,29], +"group__wlan.html#ga8d3140cea09851de2c580c89f222f808":[1,12,16], +"group__wlan.html#gaa0491d6453e037c857bd10e3be87df3d":[1,12,20], +"group__wlan.html#gab3fe766dab62ecd42836529be4c0b2e1":[1,12,19], +"group__wlan.html#gab5ffd26ae9abe6ea5bc61b99a0ced94f":[1,12,25], +"group__wlan.html#gab8ba00f95398b5dccd80550ab3fc17e5":[1,12,30], +"group__wlan.html#gac30d8b0d601562d2f8a8468da18bad11":[1,12,26], +"group__wlan.html#gac4bc2e3a0c2152b49a1614b08ee36204":[1,12,22], +"group__wlan.html#gac95a8b72fab78924ea6b52e3799c7de6":[1,12,33], +"group__wlan.html#gae085496a64690e1d90de834ec571a409":[1,12,17], +"group__wlan.html#gae42178af250ac0d4356459f666831ad1":[1,12,27], +"index.html":[], +"index.html":[0], +"index.html#Config_sec":[0,2], +"index.html#Config_step1":[0,2,0], +"index.html#Config_step2":[0,2,1], +"index.html#Config_step4":[0,2,3], +"index.html#Config_step5":[0,2,4], +"index.html#Config_step6":[0,2,5], +"index.html#Confing_step3":[0,2,2], +"index.html#intro_sec":[0,0], +"index.html#modules_sec":[0,1], +"index.html#sw_license":[0,3], +"modules.html":[1], +"netapp_8h_source.html":[3,0,2], +"netcfg_8h_source.html":[3,0,3], +"pages.html":[], +"simplelink_8h_source.html":[3,0,4], +"socket_8h_source.html":[3,0,5], +"struct___sl_partial_version.html":[1,6,0], +"struct___sl_partial_version.html#a59bd6f51689f540b0ba4dc785e4bfb64":[1,6,0,1], +"struct___sl_partial_version.html#a877d3a1147d35755dbce8176048ce947":[1,6,0,0], +"struct___sl_partial_version.html#ac5605d53799a6c74ac3f37559c465edb":[1,6,0,2], +"struct___wlan_rx_filter_operation_command_buff__t.html":[2,0,5], +"struct___wlan_rx_filter_operation_command_buff__t.html#a0fd0bcceb96f701e100777c638b3d92e":[2,0,5,1], +"struct___wlan_rx_filter_operation_command_buff__t.html#a1eef0241be0cb0a36a86bf455f7831a8":[2,0,5,0], +"struct___wlan_rx_filter_pre_prepared_filters_command_buff__t.html":[2,0,6], +"struct___wlan_rx_filter_pre_prepared_filters_command_buff__t.html#a99976729d13a30d41b5e1bae56bdf259":[2,0,6,0], +"struct___wlan_rx_filter_pre_prepared_filters_command_response_buff__t.html":[2,0,7], +"struct___wlan_rx_filter_pre_prepared_filters_command_response_buff__t.html#a99976729d13a30d41b5e1bae56bdf259":[2,0,7,0], +"struct___wlan_rx_filter_retrieve_enable_status_command_response_buff__t.html":[2,0,8], +"struct___wlan_rx_filter_retrieve_enable_status_command_response_buff__t.html#a1eef0241be0cb0a36a86bf455f7831a8":[2,0,8,0], +"struct___wlan_rx_filter_update_args_command_buff__t.html":[2,0,9], +"struct___wlan_rx_filter_update_args_command_buff__t.html#a4b1699c0a6c09f3c62ebd985380cf166":[2,0,9,1], +"struct___wlan_rx_filter_update_args_command_buff__t.html#a7b31ced7e468b57e02cd3b78db2cbef5":[2,0,9,3], +"struct___wlan_rx_filter_update_args_command_buff__t.html#add6818ee6f7084d693b35651574a0fd4":[2,0,9,2], +"struct___wlan_rx_filter_update_args_command_buff__t.html#ae3682ba56f6d59761126f6b26b2cc243":[2,0,9,0], +"struct__sl_http_server_data__t.html":[1,8,3], +"struct__sl_http_server_data__t.html#a2283b20c750664ec3b4301cb8e64f198":[1,8,3,2], +"struct__sl_http_server_data__t.html#a295865b2d6f6091bc35d8de6e8cae731":[1,8,3,0], +"struct__sl_http_server_data__t.html#adff3bc96f451530f4776b011f36a3c2a":[1,8,3,1], +"struct__sl_http_server_data__t.html#ae6d3f66fb64a31cc12909a1ec028387b":[1,8,3,3], +"struct__sl_http_server_post_data__t.html":[1,8,4], +"struct__sl_http_server_post_data__t.html#a76122764e78b080056125b9ef28ada7b":[1,8,4,0], +"struct__sl_http_server_post_data__t.html#ac17cbf485a7c72aa811cfda94d8649c6":[1,8,4,2], +"struct__sl_http_server_post_data__t.html#ac32e60a343288e97e368ae665adf7442":[1,8,4,1], +"struct__sl_http_server_string__t.html":[1,8,2], +"struct__sl_http_server_string__t.html#acc9fcad2930f408ce8147134702a4ff3":[1,8,2,1], +"struct__sl_http_server_string__t.html#ae2f1a2294cac364e7901e04f5821ede8":[1,8,2,0], +"struct_sl___wlan_network_entry__t.html":[1,12,8], +"struct_sl___wlan_network_entry__t.html#a1625b9ac8d0d51aa89df83295c9a5de2":[1,12,8,0], +"struct_sl___wlan_network_entry__t.html#a2e45fb530d9c89d3673ea6e05f07844d":[1,12,8,5], +"struct_sl___wlan_network_entry__t.html#a80c3df13ed7cf0b1a5e5639811c82f34":[1,12,8,2], +"struct_sl___wlan_network_entry__t.html#aa1d4d52e9a684f2a28c9c8b89573af18":[1,12,8,1], +"struct_sl___wlan_network_entry__t.html#ad097bad1e9bb0c4e70de8748263b76da":[1,12,8,4], +"struct_sl___wlan_network_entry__t.html#af791c098aa0b08d0ee0126843b1fe855":[1,12,8,3], +"struct_sl_date_time__t.html":[1,6,6], +"struct_sl_date_time__t.html#a000a13e33ea38c8e0bb5541f3723126d":[1,6,6,5], +"struct_sl_date_time__t.html#a041e83bc571abb3b79165cbf6bea74a1":[1,6,6,8], +"struct_sl_date_time__t.html#a49f5795062d81178ce89f77d61448bee":[1,6,6,0], +"struct_sl_date_time__t.html#a5171f9a27af9cba0e6ef95d9af2eed07":[1,6,6,6], +"struct_sl_date_time__t.html#a92f8e6dd9aa31ef8fb286c5c2c0c34b9":[1,6,6,2], +"struct_sl_date_time__t.html#aa898a97b5759e5020905a464619003d1":[1,6,6,4], +"struct_sl_date_time__t.html#ac214aa05234cf1c38cbc1e464997c25e":[1,6,6,7], +"struct_sl_date_time__t.html#ac9111faf20f5af837320742ad9654226":[1,6,6,3], +"struct_sl_date_time__t.html#af83ea24b23158f14e96ff93c5e8c0896":[1,6,6,1], +"struct_sl_device_event__t.html":[1,6,5], +"struct_sl_device_event__t.html#ad8c1d9df20f3a61d8c0f1b7aba495af7":[1,6,5,1], +"struct_sl_device_event__t.html#adeedbaaa252b969fc66e151eef37ea62":[1,6,5,0], +"struct_sl_fd_set__t.html":[1,11,24], +"struct_sl_fd_set__t.html#a3071152bcd9c3ea1a88c38a026f96b1c":[1,11,24,0], +"struct_sl_fs_file_info__t.html":[1,7,0], +"struct_sl_fs_file_info__t.html#a1888c786f5e31740d464bd7d88773e4b":[1,7,0,0], +"struct_sl_fs_file_info__t.html#a42e92a9d18f2642049165db21a2bfe82":[1,7,0,1], +"struct_sl_fs_file_info__t.html#abdf1173d4d93434f8a910e0f84987463":[1,7,0,3], +"struct_sl_fs_file_info__t.html#ac19f310fccda9703415c584f0a7497f4":[1,7,0,2], +"struct_sl_get_rx_stat_response__t.html":[1,12,7], +"struct_sl_get_rx_stat_response__t.html#a006a7c484f312ebb8a96587d24cc0686":[1,12,7,4], +"struct_sl_get_rx_stat_response__t.html#a0b84e628b2501fbf4a814b2f678a63ef":[1,12,7,6], +"struct_sl_get_rx_stat_response__t.html#a11b977458ccb1ceade91d3f2ae733307":[1,12,7,7], +"struct_sl_get_rx_stat_response__t.html#a2050deb55011de7a472c8d5bcd6099f7":[1,12,7,1], +"struct_sl_get_rx_stat_response__t.html#a6e06f9a2b719028a084d2fc2333cd309":[1,12,7,5], +"struct_sl_get_rx_stat_response__t.html#a85c0324d0b3de70a327e185173309a5c":[1,12,7,2], +"struct_sl_get_rx_stat_response__t.html#ac40e3ad339a01bee80c412d99eb1a128":[1,12,7,8], +"struct_sl_get_rx_stat_response__t.html#ad18c6011a86553bd786ffae0f7b87538":[1,12,7,3], +"struct_sl_get_rx_stat_response__t.html#af3660978617c803a996f041215004a50":[1,12,7,0], +"struct_sl_get_sec_params_ext__t.html":[1,12,11], +"struct_sl_get_sec_params_ext__t.html#a24af689142eda26860754c5e9c0f9e60":[1,12,11,5], +"struct_sl_get_sec_params_ext__t.html#a402a97b0e8257ae2f2b928c7590d0b03":[1,12,11,0], +"struct_sl_get_sec_params_ext__t.html#a4f18f173d08eff5ae05fa940c60df4c0":[1,12,11,3], +"struct_sl_get_sec_params_ext__t.html#a55a132bbb3126099cb8f12cb6d174876":[1,12,11,2], +"struct_sl_get_sec_params_ext__t.html#ac3b3c772e1d98758cc674e2f6f0658d5":[1,12,11,4], +"struct_sl_get_sec_params_ext__t.html#ac62b273b2e1b1c60eca7ef61a29b0aa5":[1,12,11,1], +"struct_sl_http_server_event__t.html":[1,8,7], +"struct_sl_http_server_event__t.html#adeedbaaa252b969fc66e151eef37ea62":[1,8,7,0], +"struct_sl_http_server_event__t.html#aea6d012a43dcb8ded6b90686ceaef0f7":[1,8,7,1], +"struct_sl_http_server_response__t.html":[1,8,8], +"struct_sl_http_server_response__t.html#a79b6c5114e9f6da69c3113d4be87a943":[1,8,8,1], +"struct_sl_http_server_response__t.html#acc4e0dc6756b696c4e2bbdd3f75d1123":[1,8,8,0], +"struct_sl_in6_addr__t.html":[1,11,14], +"struct_sl_in6_addr__t.html#a3db8a67c76268286e0dfc750988e16bf":[1,11,14,1], +"struct_sl_in6_addr__t.html#accb4b15a4e8073b36d17764520329d44":[1,11,14,2], +"struct_sl_in6_addr__t.html#aee8fdf3ea3807e415be615b7ea9c7ac3":[1,11,14,0], +"struct_sl_in_addr__t.html":[1,11,0], +"struct_sl_in_addr__t.html#a1bb442d64dfd79d2219d69704947e21b":[1,11,0,0], +"struct_sl_ip_leased_async__t.html":[1,11,19], +"struct_sl_ip_leased_async__t.html#a51fa48efb76fa1995446db52ac06a46f":[1,11,19,2], +"struct_sl_ip_leased_async__t.html#aba21cfc12ca7e52b24d4566825a69583":[1,11,19,0], +"struct_sl_ip_leased_async__t.html#ae870c09512e5404d8fd6a94d899d52b5":[1,11,19,1], +"struct_sl_ip_leased_async__t.html#aee74651e918d4c23f3eabe25fbbf8142":[1,11,19,3], +"struct_sl_ip_released_async__t.html":[1,11,20], +"struct_sl_ip_released_async__t.html#a51fa48efb76fa1995446db52ac06a46f":[1,11,20,1], +"struct_sl_ip_released_async__t.html#a74c4b0fa5b3987eb1c1c38d1328800ec":[1,11,20,2], +"struct_sl_ip_released_async__t.html#aba21cfc12ca7e52b24d4566825a69583":[1,11,20,0], +"struct_sl_ip_v4_acquired_async__t.html":[1,11,17], +"struct_sl_ip_v4_acquired_async__t.html#a269bb91b6feb081352eedf250664de16":[1,11,17,1], +"struct_sl_ip_v4_acquired_async__t.html#aad25be6b70d3ea82fd985d8b48897883":[1,11,17,0], +"struct_sl_ip_v4_acquired_async__t.html#af1a8503514e9d113c83fe28f8822fa16":[1,11,17,2], +"struct_sl_ip_v6_acquired_async__t.html":[1,11,18], +"struct_sl_ip_v6_acquired_async__t.html#a4b2c27059c223cdd2149f3fbd526b453":[1,11,18,3], +"struct_sl_ip_v6_acquired_async__t.html#a7fa567b0024e3a179a266440636b9f58":[1,11,18,1], +"struct_sl_ip_v6_acquired_async__t.html#a90f4865c4077830b35b1828abc96f69b":[1,11,18,0], +"struct_sl_ip_v6_acquired_async__t.html#aeb14becbd5ead4e94404e551abb631c4":[1,11,18,2], +"struct_sl_net_app_dhcp_server_basic_opt__t.html":[1,8,9], +"struct_sl_net_app_dhcp_server_basic_opt__t.html#a3658ee49e477ac75294c4dcb44e9469b":[1,8,9,0], +"struct_sl_net_app_dhcp_server_basic_opt__t.html#ad89c28578421c014b62f5edd796760b1":[1,8,9,1], +"struct_sl_net_app_dhcp_server_basic_opt__t.html#ae870c09512e5404d8fd6a94d899d52b5":[1,8,9,2], +"struct_sl_net_app_event__t.html":[1,11,22], +"struct_sl_net_app_event__t.html#ac58cdb6e0d008f951c65fade86f32713":[1,11,22,1], +"struct_sl_net_app_event__t.html#adeedbaaa252b969fc66e151eef37ea62":[1,11,22,0], +"struct_sl_net_app_get_full_service_ipv4_list__t.html":[1,8,11], +"struct_sl_net_app_get_full_service_ipv4_list__t.html#a14a68e63be446395d1bdc960d9cd46bb":[1,8,11,3], +"struct_sl_net_app_get_full_service_ipv4_list__t.html#a1a2075c35d52286cb696f878738d30be":[1,8,11,2], +"struct_sl_net_app_get_full_service_ipv4_list__t.html#a3f5363b14f728fe990328585ccbc70e1":[1,8,11,0], +"struct_sl_net_app_get_full_service_ipv4_list__t.html#a526174fd4b7f339328e315dbb01c19f7":[1,8,11,4], +"struct_sl_net_app_get_full_service_ipv4_list__t.html#aeb85c9d6321692e2622077406052c2c2":[1,8,11,1], +"struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html":[1,8,12] +}; diff --git a/docs/simplelink_api/html/navtreeindex1.js b/docs/simplelink_api/html/navtreeindex1.js index 0a00089..7e7c847 100644 --- a/docs/simplelink_api/html/navtreeindex1.js +++ b/docs/simplelink_api/html/navtreeindex1.js @@ -1,231 +1,240 @@ -var NAVTREEINDEX1 = -{ -"struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#a1a2075c35d52286cb696f878738d30be":[0,12,12,2], -"struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#a3f5363b14f728fe990328585ccbc70e1":[0,12,12,0], -"struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#a526174fd4b7f339328e315dbb01c19f7":[0,12,12,4], -"struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#a6b9cac633579a01d5f6e03c9a3dde9e0":[0,12,12,5], -"struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#aeb85c9d6321692e2622077406052c2c2":[0,12,12,1], -"struct_sl_net_app_get_short_service_ipv4_list__t.html":[0,12,10], -"struct_sl_net_app_get_short_service_ipv4_list__t.html#a1a2075c35d52286cb696f878738d30be":[0,12,10,1], -"struct_sl_net_app_get_short_service_ipv4_list__t.html#a3f5363b14f728fe990328585ccbc70e1":[0,12,10,0], -"struct_sl_net_app_get_short_service_ipv4_list__t.html#a526174fd4b7f339328e315dbb01c19f7":[0,12,10,2], -"struct_sl_net_app_service_advertise_timing_parameters__t.html":[0,12,13], -"struct_sl_net_app_service_advertise_timing_parameters__t.html#a010529614c86bbaa26654186b52b800d":[0,12,13,3], -"struct_sl_net_app_service_advertise_timing_parameters__t.html#a1cd71a7ab31d4352d718a5707d3a969b":[0,12,13,1], -"struct_sl_net_app_service_advertise_timing_parameters__t.html#a5f05e30c41182b96d2c4691cfd75f138":[0,12,13,4], -"struct_sl_net_app_service_advertise_timing_parameters__t.html#a788ae2e5459feba3d646ffa71980f6db":[0,12,13,0], -"struct_sl_net_app_service_advertise_timing_parameters__t.html#a95b98eb3e4b7b7e456cc4ebfe9282536":[0,12,13,5], -"struct_sl_net_app_service_advertise_timing_parameters__t.html#a9f1818d1132e3399c3f8a79e453d5b56":[0,12,13,2], -"struct_sl_net_cfg_ip_v4_args__t.html":[0,13,0], -"struct_sl_net_cfg_ip_v4_args__t.html#a47731711b8c0c195ca46de2e938364d3":[0,13,0,0], -"struct_sl_net_cfg_ip_v4_args__t.html#a920eac2941ede0d5a676d59ea8319a56":[0,13,0,1], -"struct_sl_net_cfg_ip_v4_args__t.html#ae5dd0932c0fc590f70c116dae8c56b07":[0,13,0,2], -"struct_sl_net_cfg_ip_v4_args__t.html#af37ed58288d015f7869dbfa8b566eec1":[0,13,0,3], -"struct_sl_ping_report__t.html":[0,12,0], -"struct_sl_ping_report__t.html#a10437a22b3604a1fbe4cb91bd711077f":[0,12,0,2], -"struct_sl_ping_report__t.html#a5d610bdde4039525984224ee0f35b6d9":[0,12,0,0], -"struct_sl_ping_report__t.html#a92813cdd58af8c15929270ccf61b26a2":[0,12,0,4], -"struct_sl_ping_report__t.html#abb8b750ec3b99bcac2b1a84c611c6d2a":[0,12,0,1], -"struct_sl_ping_report__t.html#ac8e9ea566ef6bd2acb54a6af9677486a":[0,12,0,3], -"struct_sl_ping_report__t.html#af7da9681c2b355a3261a476f353bfe93":[0,12,0,5], -"struct_sl_ping_start_command__t.html":[0,12,1], -"struct_sl_ping_start_command__t.html#a0b36eb660aeeb08cc0e280ee657b7192":[0,12,1,5], -"struct_sl_ping_start_command__t.html#a15c82a992940a12e86afd8b3b34436ed":[0,12,1,6], -"struct_sl_ping_start_command__t.html#a16ea88b3a07d38c6e26af86e4d9e04aa":[0,12,1,1], -"struct_sl_ping_start_command__t.html#a4323564c51aa12dd8930e39566fd8625":[0,12,1,7], -"struct_sl_ping_start_command__t.html#a5e17ea66dfb99beb88bd64c847954444":[0,12,1,3], -"struct_sl_ping_start_command__t.html#a994b4b990c3ea36ca117cf3fd0943f0d":[0,12,1,8], -"struct_sl_ping_start_command__t.html#aba8221b8c6c4e83f843e7cf2b63ec649":[0,12,1,2], -"struct_sl_ping_start_command__t.html#abc512772e263735c06e9072f94c92952":[0,12,1,0], -"struct_sl_ping_start_command__t.html#af95d2469f8867016b655574752e3f905":[0,12,1,4], -"struct_sl_sec_params__t.html":[0,16,9], -"struct_sl_sec_params__t.html#a1d58ad89ed5b340d15c354b769f8ecc2":[0,16,9,2], -"struct_sl_sec_params__t.html#a9b049837934488d32481cf8d616e12af":[0,16,9,1], -"struct_sl_sec_params__t.html#af943e0f6d7ca78a5b795c8da294c5d1e":[0,16,9,0], -"struct_sl_sec_params_ext__t.html":[0,16,10], -"struct_sl_sec_params_ext__t.html#a24af689142eda26860754c5e9c0f9e60":[0,16,10,5], -"struct_sl_sec_params_ext__t.html#a4f18f173d08eff5ae05fa940c60df4c0":[0,16,10,3], -"struct_sl_sec_params_ext__t.html#a55a132bbb3126099cb8f12cb6d174876":[0,16,10,2], -"struct_sl_sec_params_ext__t.html#a882de2171333187a5cded2550accce18":[0,16,10,0], -"struct_sl_sec_params_ext__t.html#ac62b273b2e1b1c60eca7ef61a29b0aa5":[0,16,10,1], -"struct_sl_sec_params_ext__t.html#afc4f533307e2aee2c6c114f8941aa499":[0,16,10,4], -"struct_sl_sock_addr__t.html":[0,15,12], -"struct_sl_sock_addr__t.html#a2ec201dde0ef6487c4d40b54bb193f8d":[0,15,12,1], -"struct_sl_sock_addr__t.html#ae2b1f612104f3b2e3986fec7cc8b434b":[0,15,12,0], -"struct_sl_sock_addr_in6__t.html":[0,15,14], -"struct_sl_sock_addr_in6__t.html#a1353901c9555ac56c1ca22dc1533c3b8":[0,15,14,1], -"struct_sl_sock_addr_in6__t.html#a95780ab290350f365e6de5dba3af0032":[0,15,14,4], -"struct_sl_sock_addr_in6__t.html#ab80273cf64088fdcf85aca765997b845":[0,15,14,0], -"struct_sl_sock_addr_in6__t.html#ad7c0b531025d2975102172b2398611f5":[0,15,14,3], -"struct_sl_sock_addr_in6__t.html#afba686aa3c6f6242cac4d29bc7c7d558":[0,15,14,2], -"struct_sl_sock_addr_in__t.html":[0,15,15], -"struct_sl_sock_addr_in__t.html#a073756b1c41885b395510a04d5e8e108":[0,15,15,1], -"struct_sl_sock_addr_in__t.html#a46c3a43fbd9a84363466a5ea60c08440":[0,15,15,3], -"struct_sl_sock_addr_in__t.html#a591c70234168b0d4509cadef8b6d3ea1":[0,15,15,2], -"struct_sl_sock_addr_in__t.html#ac202531c3497bcb9d64a83028f036d81":[0,15,15,0], -"struct_sl_sock_event__t.html":[0,15,7], -"struct_sl_sock_event__t.html#a3b2d881ad4bcc5cee8a09ea2e3a9e364":[0,15,7,1], -"struct_sl_sock_event__t.html#adeedbaaa252b969fc66e151eef37ea62":[0,15,7,0], -"struct_sl_sock_event_data__t.html":[0,15,6], -"struct_sl_sock_event_data__t.html#a7bcf1a1a2604db78219a22c1133662f1":[0,15,6,0], -"struct_sl_sock_event_data__t.html#a88b0e46c9227c27bb67842b895edbc6f":[0,15,6,2], -"struct_sl_sock_event_data__t.html#ade95cf432a38a6ee899c7e9b69a06d83":[0,15,6,1], -"struct_sl_sock_ip_mreq.html":[0,15,10], -"struct_sl_sock_ip_mreq.html#a526726f1171c79d8003490ab86f3da7c":[0,15,10,0], -"struct_sl_sock_ip_mreq.html#a6a0c67f0fbae8c3d98c1913f2d37b200":[0,15,10,1], -"struct_sl_sock_keepalive__t.html":[0,15,1], -"struct_sl_sock_keepalive__t.html#aac43eef83958917bdf29de10afae4a00":[0,15,1,0], -"struct_sl_sock_nonblocking__t.html":[0,15,4], -"struct_sl_sock_nonblocking__t.html#ad95a3e0aa5ed5b4a341c2503dcae327d":[0,15,4,0], -"struct_sl_sock_reuseaddr__t.html":[0,15,2], -"struct_sl_sock_reuseaddr__t.html#a1885583c07b6775cfa117a4a64ae6e3d":[0,15,2,0], -"struct_sl_sock_secure_mask.html":[0,15,8], -"struct_sl_sock_secure_mask.html#a60798538f913579423ecfac09c9e13d7":[0,15,8,0], -"struct_sl_sock_secure_method.html":[0,15,9], -"struct_sl_sock_secure_method.html#a7b920ea3f38a2399d1aa2c473cf1021e":[0,15,9,0], -"struct_sl_sock_winsize__t.html":[0,15,3], -"struct_sl_sock_winsize__t.html#af706421c801e172c074064414e837eec":[0,15,3,0], -"struct_sl_socket_async_event__t.html":[0,15,5], -"struct_sl_socket_async_event__t.html#a525a5ef247f93f470f4f5e2b5cc59dce":[0,15,5,1], -"struct_sl_socket_async_event__t.html#a6e61459b1cc5e37bbd460cbbdade7fd0":[0,15,5,0], -"struct_sl_socket_async_event__t.html#ad8afa2d0f076cad9c84b3c1e9022fbd6":[0,15,5,2], -"struct_sl_timeval__t.html":[0,15,11], -"struct_sl_timeval__t.html#a1ad5c78770a3d6fd50eae96b9096830b":[0,15,11,1], -"struct_sl_timeval__t.html#a8f5aa475627ac4ba971fce4b1a79b673":[0,15,11,0], -"struct_sl_transceiver_rx_over_head__t.html":[0,15,24], -"struct_sl_transceiver_rx_over_head__t.html#a80c3df13ed7cf0b1a5e5639811c82f34":[0,15,24,3], -"struct_sl_transceiver_rx_over_head__t.html#a953f0299b419ccb222c1c7ef8320ff51":[0,15,24,2], -"struct_sl_transceiver_rx_over_head__t.html#aa884a666899783e8d3f3d4921b0a24c3":[0,15,24,0], -"struct_sl_transceiver_rx_over_head__t.html#add68adbd81b0e5a99dda8bd7b4481108":[0,15,24,1], -"struct_sl_transceiver_rx_over_head__t.html#ae583290c9ab9f4aa0275b90ed56de3c4":[0,15,24,4], -"struct_sl_version_full.html":[0,10,1], -"struct_sl_version_full.html#a04d0b5c1e5fe2e3e1209bafd6f6d6596":[0,10,1,3], -"struct_sl_version_full.html#a3e6fcab66830b3ba1b3d8d6167595d03":[0,10,1,2], -"struct_sl_version_full.html#a70e21c342f3050f69fba55d461ccec8c":[0,10,1,1], -"struct_sl_version_full.html#ad5ea7f4ad7fbeb5a94ac66e2da5d55db":[0,10,1,0], -"struct_sl_wlan_event__t.html":[0,16,6], -"struct_sl_wlan_event__t.html#adeedbaaa252b969fc66e151eef37ea62":[0,16,6,0], -"struct_sl_wlan_event__t.html#ae587c51197255d4e4ef20cc90d73825f":[0,16,6,1], -"struct_slrx_filter_action__t.html":[1,0,41], -"struct_slrx_filter_action__t.html#a1d5a5c67b72f38d0f547f4b41594361d":[1,0,41,0], -"struct_slrx_filter_action__t.html#a7b31ced7e468b57e02cd3b78db2cbef5":[1,0,41,2], -"struct_slrx_filter_action__t.html#ae40c17e8d9ccc84c73d1b330bb156e7e":[1,0,41,1], -"struct_slrx_filter_combination_type__t.html":[1,0,43], -"struct_slrx_filter_combination_type__t.html#a22b5805a99770fcc3ff9092f58305e2a":[1,0,43,0], -"struct_slrx_filter_combination_type__t.html#abfe28724ad150292705a0bf83b093b8e":[1,0,43,2], -"struct_slrx_filter_combination_type__t.html#ad3b0190bfb0627c438a9438f6810aca8":[1,0,43,1], -"struct_slrx_filter_header_type__t.html":[1,0,46], -"struct_slrx_filter_header_type__t.html#aa92cfd1d32af09ab6c845ced96c4110f":[1,0,46,0], -"struct_slrx_filter_header_type__t.html#aab0c11c64eed544d5fb67de89249c6fa":[1,0,46,3], -"struct_slrx_filter_header_type__t.html#ac40cef42995351984232b29151bc0b6c":[1,0,46,2], -"struct_slrx_filter_header_type__t.html#afb384f375f43a8cb7e349ffaf70c26e6":[1,0,46,1], -"struct_slrx_filter_payload_type__t.html":[1,0,47], -"struct_slrx_filter_payload_type__t.html#a87972b443af7974c2e52bea59b8aed29":[1,0,47,1], -"struct_slrx_filter_payload_type__t.html#a9ac3d3bada3c45dcf2539a383edcfc9b":[1,0,47,0], -"struct_slrx_filter_payload_type__t.html#afde99c9d09bcb152ed68b329a9c31778":[1,0,47,2], -"struct_slrx_filter_regx_pattern__t.html":[1,0,48], -"struct_slrx_filter_regx_pattern__t.html#ac0c9cf412eba9cd1dfb43711e369f370":[1,0,48,0], -"struct_slrx_filter_rule_header_args_and_mask__t.html":[1,0,50], -"struct_slrx_filter_rule_header_args_and_mask__t.html#a56eb016bde23aa213a1b2ffdab58f45b":[1,0,50,1], -"struct_slrx_filter_rule_header_args_and_mask__t.html#abb9bde3180785cbeed7c73b5253c10ab":[1,0,50,0], -"struct_slrx_filter_trigger__t.html":[1,0,51], -"struct_slrx_filter_trigger__t.html#a58947c0d33b44b6adf9e52be48442da0":[1,0,51,1], -"struct_slrx_filter_trigger__t.html#a63fc624b51e2f96ba2054da8934da74d":[1,0,51,0], -"struct_slrx_filter_trigger__t.html#a66f6c39245f5a4123398f30372080bfc":[1,0,51,6], -"struct_slrx_filter_trigger__t.html#a863f7b752f89e8cd93321be77aeed49a":[1,0,51,4], -"struct_slrx_filter_trigger__t.html#a86d80a330d869efafebcebe256ef6065":[1,0,51,3], -"struct_slrx_filter_trigger__t.html#aefd13bb20e8dce135b6205d7672ea722":[1,0,51,5], -"struct_slrx_filter_trigger__t.html#af15eebd3bfbe2c8c5c25c719b4e0a0ff":[1,0,51,2], -"structsl___device_report.html":[0,10,2], -"structsl___device_report.html#ac0b67f727ab542ea92d7bb5a9586c638":[0,10,2,0], -"structsl___device_report.html#aea15cd487dbeb2bdf9c07ef8d864c64e":[0,10,2,1], -"structsl__protocol___info_element__t.html":[0,16,13], -"structsl__protocol___info_element__t.html#a128a630f6d2121a0106add0f03f1cab9":[0,16,13,2], -"structsl__protocol___info_element__t.html#a27e0ca8e8af28ff69c2df264599f5625":[0,16,13,0], -"structsl__protocol___info_element__t.html#a2888afcbf466934238f060ea0b8300ed":[0,16,13,1], -"structsl__protocol___info_element__t.html#aa7158dccffcbe48160a5c4ac033466ff":[0,16,13,3], -"structsl__protocol___wlan_set_info_element__t.html":[0,16,14], -"structsl__protocol___wlan_set_info_element__t.html#a1b7d00023fd5674c4bd44bc179294390":[0,16,14,1], -"structsl__protocol___wlan_set_info_element__t.html#a838542fa5c0baf0d55b638d8906ec18e":[0,16,14,2], -"structsl__protocol___wlan_set_info_element__t.html#ac1029492d0e3b06663e3dfa879773e2a":[0,16,14,0], -"structsl_peer_info_async_response__t.html":[0,16,4], -"structsl_peer_info_async_response__t.html#a134cf4c828e548efdc5febe2b8b826ae":[0,16,4,0], -"structsl_peer_info_async_response__t.html#a3b1181843fd7fc28edccb34fe78934cc":[0,16,4,6], -"structsl_peer_info_async_response__t.html#a46d3c053c50ca746d761db91f590bb60":[0,16,4,5], -"structsl_peer_info_async_response__t.html#a51fa48efb76fa1995446db52ac06a46f":[0,16,4,2], -"structsl_peer_info_async_response__t.html#a8e4b7daa24f45b8112386655cc2c5c61":[0,16,4,4], -"structsl_peer_info_async_response__t.html#ad58b0d3c676c06221fa491ec4b384cad":[0,16,4,1], -"structsl_peer_info_async_response__t.html#af3d92d2c6ec560caf5c705fa487d9622":[0,16,4,3], -"structsl_smart_config_start_async_response__t.html":[0,16,0], -"structsl_smart_config_start_async_response__t.html#a4fd951e04acb1b6941b85533d248ba27":[0,16,0,3], -"structsl_smart_config_start_async_response__t.html#a9bd457bdee1c8059b6cf88ac0647d0e1":[0,16,0,4], -"structsl_smart_config_start_async_response__t.html#aac6bab1ba54c9d01c548a5971fe18a95":[0,16,0,1], -"structsl_smart_config_start_async_response__t.html#aaf9ed7d9e9d6c2bdd7b7fc7b768b81de":[0,16,0,2], -"structsl_smart_config_start_async_response__t.html#ae788e671c21e21c7913ac4b439887785":[0,16,0,0], -"structsl_smart_config_stop_async_response__t.html":[0,16,1], -"structsl_smart_config_stop_async_response__t.html#a0fcf01673166445f62de27571ae41090":[0,16,1,1], -"structsl_smart_config_stop_async_response__t.html#aee74651e918d4c23f3eabe25fbbf8142":[0,16,1,0], -"structsl_wlan_conn_failure_async_response__t.html":[0,16,2], -"structsl_wlan_conn_failure_async_response__t.html#a0fcf01673166445f62de27571ae41090":[0,16,2,1], -"structsl_wlan_conn_failure_async_response__t.html#aee74651e918d4c23f3eabe25fbbf8142":[0,16,2,0], -"structsl_wlan_connect_async_response__t.html":[0,16,3], -"structsl_wlan_connect_async_response__t.html#a02de4ebfc0ae3ef0524521fea6cdba7a":[0,16,3,1], -"structsl_wlan_connect_async_response__t.html#a134cf4c828e548efdc5febe2b8b826ae":[0,16,3,2], -"structsl_wlan_connect_async_response__t.html#a26584d70e5f1888864c8c3f3d43e21c7":[0,16,3,0], -"structsl_wlan_connect_async_response__t.html#a2e45fb530d9c89d3673ea6e05f07844d":[0,16,3,6], -"structsl_wlan_connect_async_response__t.html#a591a340cf7a3bc8395dc554fc01910b7":[0,16,3,4], -"structsl_wlan_connect_async_response__t.html#a89e1ad338d707b4182bd0a8bf5a15bc6":[0,16,3,7], -"structsl_wlan_connect_async_response__t.html#ad58b0d3c676c06221fa491ec4b384cad":[0,16,3,3], -"structsl_wlan_connect_async_response__t.html#aef3e37e4643200170981d36287a9bbf5":[0,16,3,5], -"structsl_wlan_scan_param_command__t.html":[0,16,12], -"structsl_wlan_scan_param_command__t.html#a12b902a2708b47b806a727a2604f9c4f":[0,16,12,1], -"structsl_wlan_scan_param_command__t.html#a1401545f73ec1aeb0f1caff176a49877":[0,16,12,0], -"structsock__secure_files.html":[0,15,22], -"structsock__secure_files.html#ac65e78cc8df4ee675c0f86d9572be2a5":[0,15,22,0], -"trace_8h_source.html":[2,0,6], -"union___sl_device_event_data__u.html":[0,10,3], -"union___sl_device_event_data__u.html#a3447f4b5eb63cfa640a5c0dca641a30c":[0,10,3,0], -"union_sl_http_server_event_data__u.html":[0,12,5], -"union_sl_http_server_event_data__u.html#a4c697e1d747be7f899ab3593a57fb575":[0,12,5,0], -"union_sl_http_server_event_data__u.html#afe08fe6236a178fb1bd225b511f64ab9":[0,12,5,1], -"union_sl_http_server_responsedata__u.html":[0,12,6], -"union_sl_http_server_responsedata__u.html#ac17cbf485a7c72aa811cfda94d8649c6":[0,12,6,0], -"union_sl_net_app_event_data__u.html":[0,15,20], -"union_sl_net_app_event_data__u.html#a1243613fce8b1dcb1bb980e16b18a603":[0,15,20,3], -"union_sl_net_app_event_data__u.html#a400e2b41a0f0b2c5bcea239044bc9c51":[0,15,20,1], -"union_sl_net_app_event_data__u.html#a70e52a1e4d3f9d2f266678ec36368c7c":[0,15,20,0], -"union_sl_net_app_event_data__u.html#a981f461c52d720de7fe25818b9df2192":[0,15,20,4], -"union_sl_net_app_event_data__u.html#aed0298fb2bc398113623878895eaa5c1":[0,15,20,2], -"union_sl_wlan_event_data__u.html":[0,16,5], -"union_sl_wlan_event_data__u.html#a2211e22e568ee4349eebd7ed5b6f9b60":[0,16,5,4], -"union_sl_wlan_event_data__u.html#a3e0a9eb580163ca72c178d96a5edba79":[0,16,5,5], -"union_sl_wlan_event_data__u.html#a406b4e8670796f9cdc1746646fab6588":[0,16,5,8], -"union_sl_wlan_event_data__u.html#a5e285baad857f73a0167f73e4b17ae50":[0,16,5,1], -"union_sl_wlan_event_data__u.html#a8a4b774d3fea5bd36d46e36326f11ed4":[0,16,5,0], -"union_sl_wlan_event_data__u.html#a8b490ba7a54396f6e289b5789644de5f":[0,16,5,2], -"union_sl_wlan_event_data__u.html#a962b4e0845dd71daaf9929aea34183fc":[0,16,5,6], -"union_sl_wlan_event_data__u.html#abf61e2e1e81c5eda10f6ff84a7197b31":[0,16,5,7], -"union_sl_wlan_event_data__u.html#aee4d526e0489f6384555d71c6a4c2ff3":[0,16,5,3], -"union_slrx_filter_action_type__t.html":[1,0,42], -"union_slrx_filter_action_type__t.html#a0c18cf04f2432035440b4608ea66fb4d":[1,0,42,0], -"union_slrx_filter_flags__t.html":[1,0,44], -"union_slrx_filter_flags__t.html#a0c18cf04f2432035440b4608ea66fb4d":[1,0,44,0], -"union_slrx_filter_header_arg__t.html":[1,0,45], -"union_slrx_filter_header_arg__t.html#a1e508430e5a6792cac172b6c998c6567":[1,0,45,3], -"union_slrx_filter_header_arg__t.html#a26d90366d80d756f1eb2d14eb64b5dc6":[1,0,45,0], -"union_slrx_filter_header_arg__t.html#a41fabfb5e5eef845d59da375897130f5":[1,0,45,5], -"union_slrx_filter_header_arg__t.html#a58bc18e2b2e4ba9d28c8427996e5c743":[1,0,45,4], -"union_slrx_filter_header_arg__t.html#ada685946d2c6c39fdbbc51b9e93abb84":[1,0,45,2], -"union_slrx_filter_header_arg__t.html#aeec8bc31c1d80630b72ea2e25a18a596":[1,0,45,1], -"union_slrx_filter_rule__t.html":[1,0,49], -"union_slrx_filter_rule__t.html#a6d946e0ff1c4c0cd939e209a4582bf85":[1,0,49,1], -"union_slrx_filter_rule__t.html#a80b200ae0cf46a6badfb2e62392d2b0c":[1,0,49,0], -"union_slrx_filter_rule__t.html#a936ba6e8ff6ba17047db77545e716ad2":[1,0,49,2], -"union_slrx_filter_trigger_connection_states__t.html":[1,0,52], -"union_slrx_filter_trigger_connection_states__t.html#a0c18cf04f2432035440b4608ea66fb4d":[1,0,52,0], -"union_slrx_filter_trigger_roles__t.html":[1,0,53], -"union_slrx_filter_trigger_roles__t.html#a0c18cf04f2432035440b4608ea66fb4d":[1,0,53,0], -"user_8h_source.html":[2,0,7], -"wlan_8h_source.html":[2,0,8], -"wlan__rx__filters_8h_source.html":[2,0,9] -}; +var NAVTREEINDEX1 = +{ +"struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#a14a68e63be446395d1bdc960d9cd46bb":[1,8,12,3], +"struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#a1a2075c35d52286cb696f878738d30be":[1,8,12,2], +"struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#a3f5363b14f728fe990328585ccbc70e1":[1,8,12,0], +"struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#a526174fd4b7f339328e315dbb01c19f7":[1,8,12,4], +"struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#a6b9cac633579a01d5f6e03c9a3dde9e0":[1,8,12,5], +"struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#aeb85c9d6321692e2622077406052c2c2":[1,8,12,1], +"struct_sl_net_app_get_short_service_ipv4_list__t.html":[1,8,10], +"struct_sl_net_app_get_short_service_ipv4_list__t.html#a1a2075c35d52286cb696f878738d30be":[1,8,10,1], +"struct_sl_net_app_get_short_service_ipv4_list__t.html#a3f5363b14f728fe990328585ccbc70e1":[1,8,10,0], +"struct_sl_net_app_get_short_service_ipv4_list__t.html#a526174fd4b7f339328e315dbb01c19f7":[1,8,10,2], +"struct_sl_net_app_service_advertise_timing_parameters__t.html":[1,8,13], +"struct_sl_net_app_service_advertise_timing_parameters__t.html#a010529614c86bbaa26654186b52b800d":[1,8,13,3], +"struct_sl_net_app_service_advertise_timing_parameters__t.html#a1cd71a7ab31d4352d718a5707d3a969b":[1,8,13,1], +"struct_sl_net_app_service_advertise_timing_parameters__t.html#a5f05e30c41182b96d2c4691cfd75f138":[1,8,13,4], +"struct_sl_net_app_service_advertise_timing_parameters__t.html#a788ae2e5459feba3d646ffa71980f6db":[1,8,13,0], +"struct_sl_net_app_service_advertise_timing_parameters__t.html#a95b98eb3e4b7b7e456cc4ebfe9282536":[1,8,13,5], +"struct_sl_net_app_service_advertise_timing_parameters__t.html#a9f1818d1132e3399c3f8a79e453d5b56":[1,8,13,2], +"struct_sl_net_cfg_ip_v4_args__t.html":[1,9,0], +"struct_sl_net_cfg_ip_v4_args__t.html#a47731711b8c0c195ca46de2e938364d3":[1,9,0,0], +"struct_sl_net_cfg_ip_v4_args__t.html#a920eac2941ede0d5a676d59ea8319a56":[1,9,0,1], +"struct_sl_net_cfg_ip_v4_args__t.html#ae5dd0932c0fc590f70c116dae8c56b07":[1,9,0,2], +"struct_sl_net_cfg_ip_v4_args__t.html#af37ed58288d015f7869dbfa8b566eec1":[1,9,0,3], +"struct_sl_ping_report__t.html":[1,8,0], +"struct_sl_ping_report__t.html#a10437a22b3604a1fbe4cb91bd711077f":[1,8,0,2], +"struct_sl_ping_report__t.html#a5d610bdde4039525984224ee0f35b6d9":[1,8,0,0], +"struct_sl_ping_report__t.html#a92813cdd58af8c15929270ccf61b26a2":[1,8,0,4], +"struct_sl_ping_report__t.html#abb8b750ec3b99bcac2b1a84c611c6d2a":[1,8,0,1], +"struct_sl_ping_report__t.html#ac8e9ea566ef6bd2acb54a6af9677486a":[1,8,0,3], +"struct_sl_ping_report__t.html#af7da9681c2b355a3261a476f353bfe93":[1,8,0,5], +"struct_sl_ping_start_command__t.html":[1,8,1], +"struct_sl_ping_start_command__t.html#a0b36eb660aeeb08cc0e280ee657b7192":[1,8,1,5], +"struct_sl_ping_start_command__t.html#a15c82a992940a12e86afd8b3b34436ed":[1,8,1,6], +"struct_sl_ping_start_command__t.html#a16ea88b3a07d38c6e26af86e4d9e04aa":[1,8,1,1], +"struct_sl_ping_start_command__t.html#a4323564c51aa12dd8930e39566fd8625":[1,8,1,7], +"struct_sl_ping_start_command__t.html#a5e17ea66dfb99beb88bd64c847954444":[1,8,1,3], +"struct_sl_ping_start_command__t.html#a994b4b990c3ea36ca117cf3fd0943f0d":[1,8,1,8], +"struct_sl_ping_start_command__t.html#aba8221b8c6c4e83f843e7cf2b63ec649":[1,8,1,2], +"struct_sl_ping_start_command__t.html#abc512772e263735c06e9072f94c92952":[1,8,1,0], +"struct_sl_ping_start_command__t.html#af95d2469f8867016b655574752e3f905":[1,8,1,4], +"struct_sl_sec_params__t.html":[1,12,9], +"struct_sl_sec_params__t.html#a1d58ad89ed5b340d15c354b769f8ecc2":[1,12,9,2], +"struct_sl_sec_params__t.html#a9b049837934488d32481cf8d616e12af":[1,12,9,1], +"struct_sl_sec_params__t.html#af943e0f6d7ca78a5b795c8da294c5d1e":[1,12,9,0], +"struct_sl_sec_params_ext__t.html":[1,12,10], +"struct_sl_sec_params_ext__t.html#a24af689142eda26860754c5e9c0f9e60":[1,12,10,5], +"struct_sl_sec_params_ext__t.html#a4f18f173d08eff5ae05fa940c60df4c0":[1,12,10,3], +"struct_sl_sec_params_ext__t.html#a55a132bbb3126099cb8f12cb6d174876":[1,12,10,2], +"struct_sl_sec_params_ext__t.html#a882de2171333187a5cded2550accce18":[1,12,10,0], +"struct_sl_sec_params_ext__t.html#ac62b273b2e1b1c60eca7ef61a29b0aa5":[1,12,10,1], +"struct_sl_sec_params_ext__t.html#afc4f533307e2aee2c6c114f8941aa499":[1,12,10,4], +"struct_sl_sock_addr__t.html":[1,11,13], +"struct_sl_sock_addr__t.html#a2ec201dde0ef6487c4d40b54bb193f8d":[1,11,13,1], +"struct_sl_sock_addr__t.html#ae2b1f612104f3b2e3986fec7cc8b434b":[1,11,13,0], +"struct_sl_sock_addr_in6__t.html":[1,11,15], +"struct_sl_sock_addr_in6__t.html#a1353901c9555ac56c1ca22dc1533c3b8":[1,11,15,1], +"struct_sl_sock_addr_in6__t.html#a95780ab290350f365e6de5dba3af0032":[1,11,15,4], +"struct_sl_sock_addr_in6__t.html#ab80273cf64088fdcf85aca765997b845":[1,11,15,0], +"struct_sl_sock_addr_in6__t.html#ad7c0b531025d2975102172b2398611f5":[1,11,15,3], +"struct_sl_sock_addr_in6__t.html#afba686aa3c6f6242cac4d29bc7c7d558":[1,11,15,2], +"struct_sl_sock_addr_in__t.html":[1,11,16], +"struct_sl_sock_addr_in__t.html#a073756b1c41885b395510a04d5e8e108":[1,11,16,1], +"struct_sl_sock_addr_in__t.html#a46c3a43fbd9a84363466a5ea60c08440":[1,11,16,3], +"struct_sl_sock_addr_in__t.html#a591c70234168b0d4509cadef8b6d3ea1":[1,11,16,2], +"struct_sl_sock_addr_in__t.html#ac202531c3497bcb9d64a83028f036d81":[1,11,16,0], +"struct_sl_sock_event__t.html":[1,11,8], +"struct_sl_sock_event__t.html#a5417ec200900ac2c08550715dbb114a7":[1,11,8,1], +"struct_sl_sock_event__t.html#adeedbaaa252b969fc66e151eef37ea62":[1,11,8,0], +"struct_sl_sock_ip_mreq.html":[1,11,11], +"struct_sl_sock_ip_mreq.html#a526726f1171c79d8003490ab86f3da7c":[1,11,11,0], +"struct_sl_sock_ip_mreq.html#a6a0c67f0fbae8c3d98c1913f2d37b200":[1,11,11,1], +"struct_sl_sock_keepalive__t.html":[1,11,1], +"struct_sl_sock_keepalive__t.html#aac43eef83958917bdf29de10afae4a00":[1,11,1,0], +"struct_sl_sock_nonblocking__t.html":[1,11,4], +"struct_sl_sock_nonblocking__t.html#ad95a3e0aa5ed5b4a341c2503dcae327d":[1,11,4,0], +"struct_sl_sock_reuseaddr__t.html":[1,11,2], +"struct_sl_sock_reuseaddr__t.html#a1885583c07b6775cfa117a4a64ae6e3d":[1,11,2,0], +"struct_sl_sock_secure_mask.html":[1,11,9], +"struct_sl_sock_secure_mask.html#a60798538f913579423ecfac09c9e13d7":[1,11,9,0], +"struct_sl_sock_secure_method.html":[1,11,10], +"struct_sl_sock_secure_method.html#a7b920ea3f38a2399d1aa2c473cf1021e":[1,11,10,0], +"struct_sl_sock_tx_fail_event_data__t.html":[1,11,6], +"struct_sl_sock_tx_fail_event_data__t.html#a6e61459b1cc5e37bbd460cbbdade7fd0":[1,11,6,1], +"struct_sl_sock_tx_fail_event_data__t.html#a88b0e46c9227c27bb67842b895edbc6f":[1,11,6,2], +"struct_sl_sock_tx_fail_event_data__t.html#add68adbd81b0e5a99dda8bd7b4481108":[1,11,6,0], +"struct_sl_sock_winsize__t.html":[1,11,3], +"struct_sl_sock_winsize__t.html#af706421c801e172c074064414e837eec":[1,11,3,0], +"struct_sl_socket_async_event__t.html":[1,11,5], +"struct_sl_socket_async_event__t.html#a525a5ef247f93f470f4f5e2b5cc59dce":[1,11,5,2], +"struct_sl_socket_async_event__t.html#a6e61459b1cc5e37bbd460cbbdade7fd0":[1,11,5,1], +"struct_sl_socket_async_event__t.html#a8906bd316385e67450a57a4a8bd50a8a":[1,11,5,0], +"struct_sl_socket_async_event__t.html#af7f7ebaf50ae06049cd3f317a812d90d":[1,11,5,3], +"struct_sl_timeval__t.html":[1,11,12], +"struct_sl_timeval__t.html#a1ad5c78770a3d6fd50eae96b9096830b":[1,11,12,1], +"struct_sl_timeval__t.html#a8f5aa475627ac4ba971fce4b1a79b673":[1,11,12,0], +"struct_sl_transceiver_rx_over_head__t.html":[1,11,25], +"struct_sl_transceiver_rx_over_head__t.html#a80c3df13ed7cf0b1a5e5639811c82f34":[1,11,25,3], +"struct_sl_transceiver_rx_over_head__t.html#a953f0299b419ccb222c1c7ef8320ff51":[1,11,25,2], +"struct_sl_transceiver_rx_over_head__t.html#aa884a666899783e8d3f3d4921b0a24c3":[1,11,25,0], +"struct_sl_transceiver_rx_over_head__t.html#add68adbd81b0e5a99dda8bd7b4481108":[1,11,25,1], +"struct_sl_transceiver_rx_over_head__t.html#ae583290c9ab9f4aa0275b90ed56de3c4":[1,11,25,4], +"struct_sl_version_full.html":[1,6,1], +"struct_sl_version_full.html#a04d0b5c1e5fe2e3e1209bafd6f6d6596":[1,6,1,3], +"struct_sl_version_full.html#a3e6fcab66830b3ba1b3d8d6167595d03":[1,6,1,2], +"struct_sl_version_full.html#a70e21c342f3050f69fba55d461ccec8c":[1,6,1,1], +"struct_sl_version_full.html#ad5ea7f4ad7fbeb5a94ac66e2da5d55db":[1,6,1,0], +"struct_sl_wlan_event__t.html":[1,12,6], +"struct_sl_wlan_event__t.html#adeedbaaa252b969fc66e151eef37ea62":[1,12,6,0], +"struct_sl_wlan_event__t.html#ae587c51197255d4e4ef20cc90d73825f":[1,12,6,1], +"struct_slrx_filter_action__t.html":[2,0,42], +"struct_slrx_filter_action__t.html#a1d5a5c67b72f38d0f547f4b41594361d":[2,0,42,0], +"struct_slrx_filter_action__t.html#a7b31ced7e468b57e02cd3b78db2cbef5":[2,0,42,2], +"struct_slrx_filter_action__t.html#ae40c17e8d9ccc84c73d1b330bb156e7e":[2,0,42,1], +"struct_slrx_filter_combination_type__t.html":[2,0,44], +"struct_slrx_filter_combination_type__t.html#a22b5805a99770fcc3ff9092f58305e2a":[2,0,44,0], +"struct_slrx_filter_combination_type__t.html#abfe28724ad150292705a0bf83b093b8e":[2,0,44,2], +"struct_slrx_filter_combination_type__t.html#ad3b0190bfb0627c438a9438f6810aca8":[2,0,44,1], +"struct_slrx_filter_header_type__t.html":[2,0,47], +"struct_slrx_filter_header_type__t.html#aa92cfd1d32af09ab6c845ced96c4110f":[2,0,47,0], +"struct_slrx_filter_header_type__t.html#aab0c11c64eed544d5fb67de89249c6fa":[2,0,47,3], +"struct_slrx_filter_header_type__t.html#ac40cef42995351984232b29151bc0b6c":[2,0,47,2], +"struct_slrx_filter_header_type__t.html#afb384f375f43a8cb7e349ffaf70c26e6":[2,0,47,1], +"struct_slrx_filter_payload_type__t.html":[2,0,48], +"struct_slrx_filter_payload_type__t.html#a87972b443af7974c2e52bea59b8aed29":[2,0,48,1], +"struct_slrx_filter_payload_type__t.html#a9ac3d3bada3c45dcf2539a383edcfc9b":[2,0,48,0], +"struct_slrx_filter_payload_type__t.html#afde99c9d09bcb152ed68b329a9c31778":[2,0,48,2], +"struct_slrx_filter_regx_pattern__t.html":[2,0,49], +"struct_slrx_filter_regx_pattern__t.html#ac0c9cf412eba9cd1dfb43711e369f370":[2,0,49,0], +"struct_slrx_filter_rule_header_args_and_mask__t.html":[2,0,51], +"struct_slrx_filter_rule_header_args_and_mask__t.html#a56eb016bde23aa213a1b2ffdab58f45b":[2,0,51,1], +"struct_slrx_filter_rule_header_args_and_mask__t.html#abb9bde3180785cbeed7c73b5253c10ab":[2,0,51,0], +"struct_slrx_filter_trigger__t.html":[2,0,52], +"struct_slrx_filter_trigger__t.html#a58947c0d33b44b6adf9e52be48442da0":[2,0,52,1], +"struct_slrx_filter_trigger__t.html#a63fc624b51e2f96ba2054da8934da74d":[2,0,52,0], +"struct_slrx_filter_trigger__t.html#a66f6c39245f5a4123398f30372080bfc":[2,0,52,6], +"struct_slrx_filter_trigger__t.html#a863f7b752f89e8cd93321be77aeed49a":[2,0,52,4], +"struct_slrx_filter_trigger__t.html#a86d80a330d869efafebcebe256ef6065":[2,0,52,3], +"struct_slrx_filter_trigger__t.html#aefd13bb20e8dce135b6205d7672ea722":[2,0,52,5], +"struct_slrx_filter_trigger__t.html#af15eebd3bfbe2c8c5c25c719b4e0a0ff":[2,0,52,2], +"structsl___device_report.html":[1,6,3], +"structsl___device_report.html#ac0b67f727ab542ea92d7bb5a9586c638":[1,6,3,0], +"structsl___device_report.html#aea15cd487dbeb2bdf9c07ef8d864c64e":[1,6,3,1], +"structsl___device_report_abort.html":[1,6,2], +"structsl___device_report_abort.html#a102ff99b384c6e6ec0e34b36e73e68c5":[1,6,2,1], +"structsl___device_report_abort.html#a11d5127aeadfedde8e59b6742e7e70ec":[1,6,2,0], +"structsl__protocol___info_element__t.html":[1,12,13], +"structsl__protocol___info_element__t.html#a128a630f6d2121a0106add0f03f1cab9":[1,12,13,2], +"structsl__protocol___info_element__t.html#a27e0ca8e8af28ff69c2df264599f5625":[1,12,13,0], +"structsl__protocol___info_element__t.html#a2888afcbf466934238f060ea0b8300ed":[1,12,13,1], +"structsl__protocol___info_element__t.html#aa7158dccffcbe48160a5c4ac033466ff":[1,12,13,3], +"structsl__protocol___wlan_set_info_element__t.html":[1,12,14], +"structsl__protocol___wlan_set_info_element__t.html#a1b7d00023fd5674c4bd44bc179294390":[1,12,14,1], +"structsl__protocol___wlan_set_info_element__t.html#a838542fa5c0baf0d55b638d8906ec18e":[1,12,14,2], +"structsl__protocol___wlan_set_info_element__t.html#ac1029492d0e3b06663e3dfa879773e2a":[1,12,14,0], +"structsl_peer_info_async_response__t.html":[1,12,4], +"structsl_peer_info_async_response__t.html#a134cf4c828e548efdc5febe2b8b826ae":[1,12,4,0], +"structsl_peer_info_async_response__t.html#a3b1181843fd7fc28edccb34fe78934cc":[1,12,4,6], +"structsl_peer_info_async_response__t.html#a46d3c053c50ca746d761db91f590bb60":[1,12,4,5], +"structsl_peer_info_async_response__t.html#a51fa48efb76fa1995446db52ac06a46f":[1,12,4,2], +"structsl_peer_info_async_response__t.html#a8e4b7daa24f45b8112386655cc2c5c61":[1,12,4,4], +"structsl_peer_info_async_response__t.html#ad58b0d3c676c06221fa491ec4b384cad":[1,12,4,1], +"structsl_peer_info_async_response__t.html#af3d92d2c6ec560caf5c705fa487d9622":[1,12,4,3], +"structsl_smart_config_start_async_response__t.html":[1,12,0], +"structsl_smart_config_start_async_response__t.html#a4fd951e04acb1b6941b85533d248ba27":[1,12,0,3], +"structsl_smart_config_start_async_response__t.html#a9bd457bdee1c8059b6cf88ac0647d0e1":[1,12,0,4], +"structsl_smart_config_start_async_response__t.html#aac6bab1ba54c9d01c548a5971fe18a95":[1,12,0,1], +"structsl_smart_config_start_async_response__t.html#aaf9ed7d9e9d6c2bdd7b7fc7b768b81de":[1,12,0,2], +"structsl_smart_config_start_async_response__t.html#ae788e671c21e21c7913ac4b439887785":[1,12,0,0], +"structsl_smart_config_stop_async_response__t.html":[1,12,1], +"structsl_smart_config_stop_async_response__t.html#a0fcf01673166445f62de27571ae41090":[1,12,1,1], +"structsl_smart_config_stop_async_response__t.html#aee74651e918d4c23f3eabe25fbbf8142":[1,12,1,0], +"structsl_wlan_conn_failure_async_response__t.html":[1,12,2], +"structsl_wlan_conn_failure_async_response__t.html#a0fcf01673166445f62de27571ae41090":[1,12,2,1], +"structsl_wlan_conn_failure_async_response__t.html#aee74651e918d4c23f3eabe25fbbf8142":[1,12,2,0], +"structsl_wlan_connect_async_response__t.html":[1,12,3], +"structsl_wlan_connect_async_response__t.html#a02de4ebfc0ae3ef0524521fea6cdba7a":[1,12,3,1], +"structsl_wlan_connect_async_response__t.html#a134cf4c828e548efdc5febe2b8b826ae":[1,12,3,2], +"structsl_wlan_connect_async_response__t.html#a26584d70e5f1888864c8c3f3d43e21c7":[1,12,3,0], +"structsl_wlan_connect_async_response__t.html#a2e45fb530d9c89d3673ea6e05f07844d":[1,12,3,6], +"structsl_wlan_connect_async_response__t.html#a591a340cf7a3bc8395dc554fc01910b7":[1,12,3,4], +"structsl_wlan_connect_async_response__t.html#a89e1ad338d707b4182bd0a8bf5a15bc6":[1,12,3,7], +"structsl_wlan_connect_async_response__t.html#ad58b0d3c676c06221fa491ec4b384cad":[1,12,3,3], +"structsl_wlan_connect_async_response__t.html#aef3e37e4643200170981d36287a9bbf5":[1,12,3,5], +"structsl_wlan_scan_param_command__t.html":[1,12,12], +"structsl_wlan_scan_param_command__t.html#a12b902a2708b47b806a727a2604f9c4f":[1,12,12,1], +"structsl_wlan_scan_param_command__t.html#a1401545f73ec1aeb0f1caff176a49877":[1,12,12,0], +"structsock__secure_files.html":[1,11,23], +"structsock__secure_files.html#ac65e78cc8df4ee675c0f86d9572be2a5":[1,11,23,0], +"trace_8h_source.html":[3,0,6], +"union___sl_device_event_data__u.html":[1,6,4], +"union___sl_device_event_data__u.html#a3447f4b5eb63cfa640a5c0dca641a30c":[1,6,4,0], +"union___sl_device_event_data__u.html#a953cec9fcfc133f5c137a3b27c9a5019":[1,6,4,1], +"union_sl_http_server_event_data__u.html":[1,8,5], +"union_sl_http_server_event_data__u.html#a4c697e1d747be7f899ab3593a57fb575":[1,8,5,0], +"union_sl_http_server_event_data__u.html#afe08fe6236a178fb1bd225b511f64ab9":[1,8,5,1], +"union_sl_http_server_responsedata__u.html":[1,8,6], +"union_sl_http_server_responsedata__u.html#ac17cbf485a7c72aa811cfda94d8649c6":[1,8,6,0], +"union_sl_net_app_event_data__u.html":[1,11,21], +"union_sl_net_app_event_data__u.html#a1243613fce8b1dcb1bb980e16b18a603":[1,11,21,3], +"union_sl_net_app_event_data__u.html#a400e2b41a0f0b2c5bcea239044bc9c51":[1,11,21,1], +"union_sl_net_app_event_data__u.html#a70e52a1e4d3f9d2f266678ec36368c7c":[1,11,21,0], +"union_sl_net_app_event_data__u.html#a981f461c52d720de7fe25818b9df2192":[1,11,21,4], +"union_sl_net_app_event_data__u.html#aed0298fb2bc398113623878895eaa5c1":[1,11,21,2], +"union_sl_sock_event_data__u.html":[1,11,7], +"union_sl_sock_event_data__u.html#a595b11dcc257e90eee3feb5fa262591e":[1,11,7,1], +"union_sl_sock_event_data__u.html#ae60ad12b7cac0600997d825fc8e71f6e":[1,11,7,0], +"union_sl_wlan_event_data__u.html":[1,12,5], +"union_sl_wlan_event_data__u.html#a2211e22e568ee4349eebd7ed5b6f9b60":[1,12,5,4], +"union_sl_wlan_event_data__u.html#a3e0a9eb580163ca72c178d96a5edba79":[1,12,5,5], +"union_sl_wlan_event_data__u.html#a406b4e8670796f9cdc1746646fab6588":[1,12,5,8], +"union_sl_wlan_event_data__u.html#a5e285baad857f73a0167f73e4b17ae50":[1,12,5,1], +"union_sl_wlan_event_data__u.html#a8a4b774d3fea5bd36d46e36326f11ed4":[1,12,5,0], +"union_sl_wlan_event_data__u.html#a8b490ba7a54396f6e289b5789644de5f":[1,12,5,2], +"union_sl_wlan_event_data__u.html#a962b4e0845dd71daaf9929aea34183fc":[1,12,5,6], +"union_sl_wlan_event_data__u.html#abf61e2e1e81c5eda10f6ff84a7197b31":[1,12,5,7], +"union_sl_wlan_event_data__u.html#aee4d526e0489f6384555d71c6a4c2ff3":[1,12,5,3], +"union_slrx_filter_action_type__t.html":[2,0,43], +"union_slrx_filter_action_type__t.html#a0c18cf04f2432035440b4608ea66fb4d":[2,0,43,0], +"union_slrx_filter_flags__t.html":[2,0,45], +"union_slrx_filter_flags__t.html#a0c18cf04f2432035440b4608ea66fb4d":[2,0,45,0], +"union_slrx_filter_header_arg__t.html":[2,0,46], +"union_slrx_filter_header_arg__t.html#a1e508430e5a6792cac172b6c998c6567":[2,0,46,3], +"union_slrx_filter_header_arg__t.html#a26d90366d80d756f1eb2d14eb64b5dc6":[2,0,46,0], +"union_slrx_filter_header_arg__t.html#a41fabfb5e5eef845d59da375897130f5":[2,0,46,5], +"union_slrx_filter_header_arg__t.html#a58bc18e2b2e4ba9d28c8427996e5c743":[2,0,46,4], +"union_slrx_filter_header_arg__t.html#ada685946d2c6c39fdbbc51b9e93abb84":[2,0,46,2], +"union_slrx_filter_header_arg__t.html#aeec8bc31c1d80630b72ea2e25a18a596":[2,0,46,1], +"union_slrx_filter_rule__t.html":[2,0,50], +"union_slrx_filter_rule__t.html#a6d946e0ff1c4c0cd939e209a4582bf85":[2,0,50,1], +"union_slrx_filter_rule__t.html#a80b200ae0cf46a6badfb2e62392d2b0c":[2,0,50,0], +"union_slrx_filter_rule__t.html#a936ba6e8ff6ba17047db77545e716ad2":[2,0,50,2], +"union_slrx_filter_trigger_connection_states__t.html":[2,0,53], +"union_slrx_filter_trigger_connection_states__t.html#a0c18cf04f2432035440b4608ea66fb4d":[2,0,53,0], +"union_slrx_filter_trigger_roles__t.html":[2,0,54], +"union_slrx_filter_trigger_roles__t.html#a0c18cf04f2432035440b4608ea66fb4d":[2,0,54,0], +"user_8h_source.html":[3,0,7], +"wlan_8h_source.html":[3,0,8], +"wlan__rx__filters_8h_source.html":[3,0,9] +}; diff --git a/docs/simplelink_api/html/netapp_8h_source.html b/docs/simplelink_api/html/netapp_8h_source.html index f13815a..9134802 100644 --- a/docs/simplelink_api/html/netapp_8h_source.html +++ b/docs/simplelink_api/html/netapp_8h_source.html @@ -1,541 +1,518 @@ - - - - - - -CC32XX SimpleLink Host Driver: netapp.h Source File - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
-
-
netapp.h
-
-
-
1 /*
-
2  * netapp.h - CC31xx/CC32xx Host Driver Implementation
-
3  *
-
4  * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
-
5  *
-
6  *
-
7  * Redistribution and use in source and binary forms, with or without
-
8  * modification, are permitted provided that the following conditions
-
9  * are met:
-
10  *
-
11  * Redistributions of source code must retain the above copyright
-
12  * notice, this list of conditions and the following disclaimer.
-
13  *
-
14  * Redistributions in binary form must reproduce the above copyright
-
15  * notice, this list of conditions and the following disclaimer in the
-
16  * documentation and/or other materials provided with the
-
17  * distribution.
-
18  *
-
19  * Neither the name of Texas Instruments Incorporated nor the names of
-
20  * its contributors may be used to endorse or promote products derived
-
21  * from this software without specific prior written permission.
-
22  *
-
23  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-
24  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-
25  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-
26  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-
27  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-
28  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-
29  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-
30  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-
31  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-
32  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-
33  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
34  *
-
35 */
-
36 
-
37 #ifndef __NETAPP_H__
-
38 #define __NETAPP_H__
-
39 
-
40 /*****************************************************************************/
-
41 /* Include files */
-
42 /*****************************************************************************/
-
43 
-
44 #include "simplelink.h"
-
45 
-
46 
-
47 #ifdef __cplusplus
-
48 extern "C" {
-
49 #endif
-
50 
-
58 /*****************************************************************************/
-
59 /* Macro declarations */
-
60 /*****************************************************************************/
-
61 
-
62 /*ERROR code*/
-
63 #define SL_ERROR_NETAPP_RX_BUFFER_LENGTH_ERROR (-230)
-
64 
-
65 /* Http Server interface */
-
66 #define MAX_INPUT_STRING (64) /* because of WPA */
-
67 
-
68 #define MAX_AUTH_NAME_LEN (20)
-
69 #define MAX_AUTH_PASSWORD_LEN (20)
-
70 #define MAX_AUTH_REALM_LEN (20)
-
71 
-
72 #define MAX_DEVICE_URN_LEN (15+1)
-
73 #define MAX_DOMAIN_NAME_LEN (24+1)
-
74 
-
75 #define MAX_ACTION_LEN (30)
-
76 /* Important: in case the max len is changed, make sure the struct sl_NetAppHttpServerSendToken_t in protocol.h is padded correctly! */
-
77 #define MAX_TOKEN_NAME_LEN (20)
-
78 #define MAX_TOKEN_VALUE_LEN MAX_INPUT_STRING
-
79 
-
80 #define NETAPP_MAX_SERVICE_TEXT_SIZE (256)
-
81 #define NETAPP_MAX_SERVICE_NAME_SIZE (60)
-
82 #define NETAPP_MAX_SERVICE_HOST_NAME_SIZE (64)
-
83 
-
84 
-
85 /* Server Responses */
-
86 #define SL_NETAPP_RESPONSE_NONE (0)
-
87 #define SL_NETAPP_HTTPSETTOKENVALUE (1)
-
88 
-
89 #define SL_NETAPP_FAMILY_MASK (0x80)
-
90 
-
91 /* mDNS types */
-
92 #define SL_NET_APP_MASK_IPP_TYPE_OF_SERVICE (0x00000001)
-
93 #define SL_NET_APP_MASK_DEVICE_INFO_TYPE_OF_SERVICE (0x00000002)
-
94 #define SL_NET_APP_MASK_HTTP_TYPE_OF_SERVICE (0x00000004)
-
95 #define SL_NET_APP_MASK_HTTPS_TYPE_OF_SERVICE (0x00000008)
-
96 #define SL_NET_APP_MASK_WORKSATION_TYPE_OF_SERVICE (0x00000010)
-
97 #define SL_NET_APP_MASK_GUID_TYPE_OF_SERVICE (0x00000020)
-
98 #define SL_NET_APP_MASK_H323_TYPE_OF_SERVICE (0x00000040)
-
99 #define SL_NET_APP_MASK_NTP_TYPE_OF_SERVICE (0x00000080)
-
100 #define SL_NET_APP_MASK_OBJECITVE_TYPE_OF_SERVICE (0x00000100)
-
101 #define SL_NET_APP_MASK_RDP_TYPE_OF_SERVICE (0x00000200)
-
102 #define SL_NET_APP_MASK_REMOTE_TYPE_OF_SERVICE (0x00000400)
-
103 #define SL_NET_APP_MASK_RTSP_TYPE_OF_SERVICE (0x00000800)
-
104 #define SL_NET_APP_MASK_SIP_TYPE_OF_SERVICE (0x00001000)
-
105 #define SL_NET_APP_MASK_SMB_TYPE_OF_SERVICE (0x00002000)
-
106 #define SL_NET_APP_MASK_SOAP_TYPE_OF_SERVICE (0x00004000)
-
107 #define SL_NET_APP_MASK_SSH_TYPE_OF_SERVICE (0x00008000)
-
108 #define SL_NET_APP_MASK_TELNET_TYPE_OF_SERVICE (0x00010000)
-
109 #define SL_NET_APP_MASK_TFTP_TYPE_OF_SERVICE (0x00020000)
-
110 #define SL_NET_APP_MASK_XMPP_CLIENT_TYPE_OF_SERVICE (0x00040000)
-
111 #define SL_NET_APP_MASK_RAOP_TYPE_OF_SERVICE (0x00080000)
-
112 #define SL_NET_APP_MASK_ALL_TYPE_OF_SERVICE (0xFFFFFFFF)
-
113 
-
114 /********************************************************************************************************/
-
115 /* sl_NetAppDnsGetHostByName error codes */
-
116 
-
117 #define SL_NET_APP_DNS_QUERY_NO_RESPONSE (-159) /* DNS query failed, no response */
-
118 #define SL_NET_APP_DNS_NO_SERVER (-161) /* No DNS server was specified */
-
119 #define SL_NET_APP_DNS_PARAM_ERROR (-162) /* mDNS parameters error */
-
120 #define SL_NET_APP_DNS_QUERY_FAILED (-163) /* DNS query failed; no DNS server sent an 'answer' */
-
121 #define SL_NET_APP_DNS_INTERNAL_1 (-164)
-
122 #define SL_NET_APP_DNS_INTERNAL_2 (-165)
-
123 #define SL_NET_APP_DNS_MALFORMED_PACKET (-166) /* Improperly formed or corrupted DNS packet received */
-
124 #define SL_NET_APP_DNS_INTERNAL_3 (-167)
-
125 #define SL_NET_APP_DNS_INTERNAL_4 (-168)
-
126 #define SL_NET_APP_DNS_INTERNAL_5 (-169)
-
127 #define SL_NET_APP_DNS_INTERNAL_6 (-170)
-
128 #define SL_NET_APP_DNS_INTERNAL_7 (-171)
-
129 #define SL_NET_APP_DNS_INTERNAL_8 (-172)
-
130 #define SL_NET_APP_DNS_INTERNAL_9 (-173)
-
131 #define SL_NET_APP_DNS_MISMATCHED_RESPONSE (-174) /* Server response type does not match the query request*/
-
132 #define SL_NET_APP_DNS_INTERNAL_10 (-175)
-
133 #define SL_NET_APP_DNS_INTERNAL_11 (-176)
-
134 #define SL_NET_APP_DNS_NO_ANSWER (-177) /* No response for one-shot query */
-
135 #define SL_NET_APP_DNS_NO_KNOWN_ANSWER (-178) /* No known answer for query */
-
136 #define SL_NET_APP_DNS_NAME_MISMATCH (-179) /* Illegal service name according to the RFC */
-
137 #define SL_NET_APP_DNS_NOT_STARTED (-180) /* mDNS is not running */
-
138 #define SL_NET_APP_DNS_HOST_NAME_ERROR (-181) /* Host name error. Host name format is not allowed according to RFC 1033,1034,1035, 6763 */
-
139 #define SL_NET_APP_DNS_NO_MORE_ENTRIES (-182) /* No more entries be found. */
-
140 
-
141 #define SL_NET_APP_DNS_MAX_SERVICES_ERROR (-200) /* Maximum advertise services are already configured */
-
142 #define SL_NET_APP_DNS_IDENTICAL_SERVICES_ERROR (-201) /* Trying to register a service that is already exists */
-
143 #define SL_NET_APP_DNS_NOT_EXISTED_SERVICE_ERROR (-203) /* Trying to delete service that does not existed */
-
144 #define SL_NET_APP_DNS_ERROR_SERVICE_NAME_ERROR (-204) /* Illegal service name according to the RFC */
-
145 #define SL_NET_APP_DNS_RX_PACKET_ALLOCATION_ERROR (-205) /* Retry request */
-
146 #define SL_NET_APP_DNS_BUFFER_SIZE_ERROR (-206) /* List size buffer is bigger than internally allowed in the NWP */
-
147 #define SL_NET_APP_DNS_NET_APP_SET_ERROR (-207) /* Illegal length of one of the mDNS Set functions */
-
148 #define SL_NET_APP_DNS_GET_SERVICE_LIST_FLAG_ERROR (-208)
-
149 #define SL_NET_APP_DNS_NO_CONFIGURATION_ERROR (-209)
-
150 
-
151 /* Set Dev name error codes (NETAPP_SET_GET_DEV_CONF_OPT_DEVICE_URN) */
-
152 #define SL_ERROR_DEVICE_NAME_LEN_ERR (-117)
-
153 #define SL_ERROR_DEVICE_NAME_INVALID (-118)
-
154 /* Set domain name error codes (NETAPP_SET_GET_DEV_CONF_OPT_DOMAIN_NAME) */
-
155 #define SL_ERROR_DOMAIN_NAME_LEN_ERR (-119)
-
156 #define SL_ERROR_DOMAIN_NAME_INVALID (-120)
-
157 
-
158 /********************************************************************************************************/
-
159 
-
160 /* NetApp application IDs */
-
161 #define SL_NET_APP_HTTP_SERVER_ID (1)
-
162 #define SL_NET_APP_DHCP_SERVER_ID (2)
-
163 #define SL_NET_APP_MDNS_ID (4)
-
164 #define SL_NET_APP_DNS_SERVER_ID (8)
-
165 #define SL_NET_APP_DEVICE_CONFIG_ID (16)
-
166 /* NetApp application set/get options */
-
167 #define NETAPP_SET_DHCP_SRV_BASIC_OPT (0)
-
168 /* HTTP server set/get options */
-
169 #define NETAPP_SET_GET_HTTP_OPT_PORT_NUMBER (0)
-
170 #define NETAPP_SET_GET_HTTP_OPT_AUTH_CHECK (1)
-
171 #define NETAPP_SET_GET_HTTP_OPT_AUTH_NAME (2)
-
172 #define NETAPP_SET_GET_HTTP_OPT_AUTH_PASSWORD (3)
-
173 #define NETAPP_SET_GET_HTTP_OPT_AUTH_REALM (4)
-
174 #define NETAPP_SET_GET_HTTP_OPT_ROM_PAGES_ACCESS (5)
-
175 
-
176 #define NETAPP_SET_GET_MDNS_CONT_QUERY_OPT (1)
-
177 #define NETAPP_SET_GET_MDNS_QEVETN_MASK_OPT (2)
-
178 #define NETAPP_SET_GET_MDNS_TIMING_PARAMS_OPT (3)
-
179 
-
180 /* DNS server set/get options */
-
181 #define NETAPP_SET_GET_DNS_OPT_DOMAIN_NAME (0)
-
182 
-
183 /* Device Config set/get options */
-
184 #define NETAPP_SET_GET_DEV_CONF_OPT_DEVICE_URN (0)
-
185 #define NETAPP_SET_GET_DEV_CONF_OPT_DOMAIN_NAME (1)
-
186 
-
187 
-
188 /*****************************************************************************/
-
189 /* Structure/Enum declarations */
-
190 /*****************************************************************************/
-
191 
-
192 typedef struct
-
193 {
-
194  _u32 PacketsSent;
-
195  _u32 PacketsReceived;
-
196  _u16 MinRoundTime;
-
197  _u16 MaxRoundTime;
-
198  _u16 AvgRoundTime;
-
199  _u32 TestTime;
- -
201 
-
202 typedef struct
-
203 {
-
204  _u32 PingIntervalTime; /* delay between pings, in milliseconds */
-
205  _u16 PingSize; /* ping packet size in bytes */
-
206  _u16 PingRequestTimeout; /* timeout time for every ping in milliseconds */
-
207  _u32 TotalNumberOfAttempts; /* max number of ping requests. 0 - forever */
-
208  _u32 Flags; /* flag - 0 report only when finished, 1 - return response for every ping, 2 - stop after 1 successful ping. */
-
209  _u32 Ip; /* IPv4 address or IPv6 first 4 bytes */
-
210  _u32 Ip1OrPaadding;
-
211  _u32 Ip2OrPaadding;
-
212  _u32 Ip3OrPaadding;
- -
214 
-
215 typedef struct _slHttpServerString_t
-
216 {
-
217  _u8 len;
-
218  _u8 *data;
- -
220 
-
221 typedef struct _slHttpServerData_t
-
222 {
-
223  _u8 value_len;
-
224  _u8 name_len;
-
225  _u8 *token_value;
-
226  _u8 *token_name;
- -
228 
- -
230 {
-
231  slHttpServerString_t action;
-
232  slHttpServerString_t token_name;
-
233  slHttpServerString_t token_value;
- -
235 
-
236 typedef union
-
237 {
-
238  slHttpServerString_t httpTokenName; /* SL_NETAPP_HTTPGETTOKENVALUE */
-
239  slHttpServerPostData_t httpPostData; /* SL_NETAPP_HTTPPOSTTOKENVALUE */
- -
241 
-
242 typedef union
-
243 {
-
244  slHttpServerString_t token_value;
- -
246 
-
247 typedef struct
-
248 {
-
249  _u32 Event;
-
250  SlHttpServerEventData_u EventData;
- -
252 
-
253 typedef struct
-
254 {
-
255  _u32 Response;
-
256  SlHttpServerResponsedata_u ResponseData;
- -
258 
-
259 
-
260 typedef struct
-
261 {
-
262  _u32 lease_time;
-
263  _u32 ipv4_addr_start;
-
264  _u32 ipv4_addr_last;
- -
266 
-
267 /*mDNS parameters*/
-
268 typedef enum
-
269 {
-
270  SL_NET_APP_FULL_SERVICE_WITH_TEXT_IPV4_TYPE = 1,
-
271  SL_NET_APP_FULL_SERVICE_IPV4_TYPE,
-
272  SL_NET_APP_SHORT_SERVICE_IPV4_TYPE
-
273 
-
274 } SlNetAppGetServiceListType_e;
-
275 
-
276 typedef struct
-
277 {
-
278  _u32 service_ipv4;
-
279  _u16 service_port;
-
280  _u16 Reserved;
- -
282 
-
283 typedef struct
-
284 {
-
285  _u32 service_ipv4;
-
286  _u16 service_port;
-
287  _u16 Reserved;
-
288  _u8 service_name[NETAPP_MAX_SERVICE_NAME_SIZE];
-
289  _u8 service_host[NETAPP_MAX_SERVICE_HOST_NAME_SIZE];
- -
291 
-
292 typedef struct
-
293 {
-
294  _u32 service_ipv4;
-
295  _u16 service_port;
-
296  _u16 Reserved;
-
297  _u8 service_name[NETAPP_MAX_SERVICE_NAME_SIZE];
-
298  _u8 service_host[NETAPP_MAX_SERVICE_HOST_NAME_SIZE];
-
299  _u8 service_text[NETAPP_MAX_SERVICE_TEXT_SIZE];
- -
301 
-
302 typedef struct
-
303 {
-
304  /*The below parameters are used to configure the advertise times and interval
-
305  For example:
-
306  If:
-
307  Period is set to T
-
308  Repetitions are set to P
-
309  Telescopic factor is K=2
-
310  The transmission shall be:
-
311  advertise P times
-
312  wait T
-
313  advertise P times
-
314  wait 4 * T
-
315  advertise P time
-
316  wait 16 * T ... (till max time reached / configuration changed / query issued)
-
317  */
-
318  _u32 t; /* Number of ticks for the initial period. Default is 100 ticks for 1 second. */
-
319  _u32 p; /* Number of repetitions. Default value is 1 */
-
320  _u32 k; /* Telescopic factor. Default value is 2. */
-
321  _u32 RetransInterval;/* Announcing retransmission interval */
-
322  _u32 Maxinterval; /* Announcing max period interval */
-
323  _u32 max_time; /* Announcing max time */
- -
325 
-
326 /*****************************************************************************/
-
327 /* Types declarations */
-
328 /*****************************************************************************/
-
329 typedef void (*P_SL_DEV_PING_CALLBACK)(SlPingReport_t*);
-
330 
-
331 /*****************************************************************************/
-
332 /* Function prototypes */
-
333 /*****************************************************************************/
-
334 
-
335 
-
358 #if _SL_INCLUDE_FUNC(sl_NetAppStart)
-
359 _i16 sl_NetAppStart(_u32 AppBitMap);
-
360 #endif
-
361 
-
384 #if _SL_INCLUDE_FUNC(sl_NetAppStop)
-
385 _i16 sl_NetAppStop(_u32 AppBitMap);
-
386 #endif
-
387 
-
432 #if _SL_INCLUDE_FUNC(sl_NetAppDnsGetHostByName)
-
433 _i16 sl_NetAppDnsGetHostByName(_i8 * hostname, _u16 usNameLen, _u32* out_ip_addr,_u8 family );
-
434 #endif
-
435 
-
491 #if _SL_INCLUDE_FUNC(sl_NetAppDnsGetHostByService)
-
492 _i32 sl_NetAppDnsGetHostByService(_i8 *pServiceName, /* string containing all (or only part): name + subtype + service */
-
493  _u8 ServiceLen,
-
494  _u8 Family, /* 4-IPv4 , 16-IPv6 */
-
495  _u32 pAddr[],
-
496  _u32 *pPort,
-
497  _u16 *pTextLen, /* in: max len , out: actual len */
-
498  _i8 *pText
-
499  );
-
500 
-
501 #endif
-
502 
-
551 #if _SL_INCLUDE_FUNC(sl_NetAppGetServiceList)
-
552 _i16 sl_NetAppGetServiceList(_u8 IndexOffest,
-
553  _u8 MaxServiceCount,
-
554  _u8 Flags,
-
555  _i8 *pBuffer,
-
556  _u32 RxBufferLength
-
557  );
-
558 
-
559 #endif
-
560 
-
584 #if _SL_INCLUDE_FUNC(sl_NetAppMDNSUnRegisterService)
-
585 _i16 sl_NetAppMDNSUnRegisterService(const _i8 *pServiceName,_u8 ServiceNameLen);
-
586 #endif
-
587 
-
652 #if _SL_INCLUDE_FUNC(sl_NetAppMDNSRegisterService)
-
653 _i16 sl_NetAppMDNSRegisterService( const _i8* pServiceName,
-
654  _u8 ServiceNameLen,
-
655  const _i8* pText,
-
656  _u8 TextLen,
-
657  _u16 Port,
-
658  _u32 TTL,
-
659  _u32 Options);
-
660 #endif
-
661 
-
722 #if _SL_INCLUDE_FUNC(sl_NetAppPingStart)
-
723 _i16 sl_NetAppPingStart(SlPingStartCommand_t* pPingParams,_u8 family,SlPingReport_t *pReport,const P_SL_DEV_PING_CALLBACK pPingCallback);
-
724 #endif
-
725 
-
772 #if _SL_INCLUDE_FUNC(sl_NetAppSet)
-
773 _i32 sl_NetAppSet(_u8 AppId ,_u8 Option,_u8 OptionLen, _u8 *pOptionValue);
-
774 #endif
-
775 
-
826 #if _SL_INCLUDE_FUNC(sl_NetAppGet)
-
827 _i32 sl_NetAppGet(_u8 AppId, _u8 Option,_u8 *pOptionLen, _u8 *pOptionValue);
-
828 #endif
-
829 
-
830 
-
831 
-
840 #ifdef __cplusplus
-
841 }
-
842 #endif /* __cplusplus */
-
843 
-
844 #endif /* __NETAPP_H__ */
-
845 
-
_i16 sl_NetAppMDNSUnRegisterService(const _i8 *pServiceName, _u8 ServiceNameLen)
Unregister mDNS service This function deletes the mDNS service from the mDNS package and the database...
-
Definition: netapp.h:260
-
Definition: netapp.h:192
-
_i16 sl_NetAppStart(_u32 AppBitMap)
Starts a network application.
- -
Definition: netapp.h:221
-
_i16 sl_NetAppGetServiceList(_u8 IndexOffest, _u8 MaxServiceCount, _u8 Flags, _i8 *pBuffer, _u32 RxBufferLength)
Get service List Insert into out pBuffer a list of peer's services that are the NWP. The list is in a form of service struct. The user should chose the type of the service struct like:
- -
_i16 sl_NetAppDnsGetHostByName(_i8 *hostname, _u16 usNameLen, _u32 *out_ip_addr, _u8 family)
Get host IP by name.
-
_i32 sl_NetAppGet(_u8 AppId, _u8 Option, _u8 *pOptionLen, _u8 *pOptionValue)
Internal function for getting network applications configurations.
-
_i32 sl_NetAppSet(_u8 AppId, _u8 Option, _u8 OptionLen, _u8 *pOptionValue)
Internal function for setting network application configurations.
-
_i32 sl_NetAppDnsGetHostByService(_i8 *pServiceName, _u8 ServiceLen, _u8 Family, _u32 pAddr[], _u32 *pPort, _u16 *pTextLen, _i8 *pText)
Return service attributes like IP address, port and text according to service name.
-
_i16 sl_NetAppPingStart(SlPingStartCommand_t *pPingParams, _u8 family, SlPingReport_t *pReport, const P_SL_DEV_PING_CALLBACK pPingCallback)
send ICMP ECHO_REQUEST to network hosts
-
Definition: netapp.h:202
-
_i16 sl_NetAppStop(_u32 AppBitMap)
Stops a network application.
-
Definition: netapp.h:247
-
_i16 sl_NetAppMDNSRegisterService(const _i8 *pServiceName, _u8 ServiceNameLen, const _i8 *pText, _u8 TextLen, _u16 Port, _u32 TTL, _u32 Options)
Register a new mDNS service.
-
Definition: netapp.h:215
-
Definition: netapp.h:276
-
Definition: netapp.h:242
-
Definition: netapp.h:283
-
Definition: netapp.h:236
-
Definition: netapp.h:253
-
Definition: netapp.h:229
-
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: netapp.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
netapp.h
+
+
+
1 /*
+
2  * netapp.h - CC31xx/CC32xx Host Driver Implementation
+
3  *
+
4  * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
+
5  *
+
6  *
+
7  * Redistribution and use in source and binary forms, with or without
+
8  * modification, are permitted provided that the following conditions
+
9  * are met:
+
10  *
+
11  * Redistributions of source code must retain the above copyright
+
12  * notice, this list of conditions and the following disclaimer.
+
13  *
+
14  * Redistributions in binary form must reproduce the above copyright
+
15  * notice, this list of conditions and the following disclaimer in the
+
16  * documentation and/or other materials provided with the
+
17  * distribution.
+
18  *
+
19  * Neither the name of Texas Instruments Incorporated nor the names of
+
20  * its contributors may be used to endorse or promote products derived
+
21  * from this software without specific prior written permission.
+
22  *
+
23  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+
24  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+
25  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+
26  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+
27  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+
28  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+
29  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+
30  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+
31  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+
32  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+
33  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
34  *
+
35 */
+
36 
+
37 /*****************************************************************************/
+
38 /* Include files */
+
39 /*****************************************************************************/
+
40 
+
41 #include "simplelink.h"
+
42 
+
43 #ifndef __NETAPP_H__
+
44 #define __NETAPP_H__
+
45 
+
46 
+
47 
+
48 
+
49 #ifdef __cplusplus
+
50 extern "C" {
+
51 #endif
+
52 
+
60 /*****************************************************************************/
+
61 /* Macro declarations */
+
62 /*****************************************************************************/
+
63 
+
64 /*ERROR code*/
+
65 #define SL_ERROR_NETAPP_RX_BUFFER_LENGTH_ERROR (-230)
+
66 
+
67 /* Http Server interface */
+
68 #define MAX_INPUT_STRING (64) /* because of WPA */
+
69 
+
70 #define MAX_AUTH_NAME_LEN (20)
+
71 #define MAX_AUTH_PASSWORD_LEN (20)
+
72 #define MAX_AUTH_REALM_LEN (20)
+
73 
+
74 #define MAX_DEVICE_URN_LEN (15+1)
+
75 #define MAX_DOMAIN_NAME_LEN (24+1)
+
76 
+
77 #define MAX_ACTION_LEN (30)
+
78 /* Important: in case the max len is changed, make sure the struct sl_NetAppHttpServerSendToken_t in protocol.h is padded correctly! */
+
79 #define MAX_TOKEN_NAME_LEN (20)
+
80 #define MAX_TOKEN_VALUE_LEN MAX_INPUT_STRING
+
81 
+
82 #define NETAPP_MAX_SERVICE_TEXT_SIZE (256)
+
83 #define NETAPP_MAX_SERVICE_NAME_SIZE (60)
+
84 #define NETAPP_MAX_SERVICE_HOST_NAME_SIZE (64)
+
85 
+
86 
+
87 /* Server Responses */
+
88 #define SL_NETAPP_RESPONSE_NONE (0)
+
89 #define SL_NETAPP_HTTPSETTOKENVALUE (1)
+
90 
+
91 #define SL_NETAPP_FAMILY_MASK (0x80)
+
92 
+
93 /* mDNS types */
+
94 #define SL_NET_APP_MASK_IPP_TYPE_OF_SERVICE (0x00000001)
+
95 #define SL_NET_APP_MASK_DEVICE_INFO_TYPE_OF_SERVICE (0x00000002)
+
96 #define SL_NET_APP_MASK_HTTP_TYPE_OF_SERVICE (0x00000004)
+
97 #define SL_NET_APP_MASK_HTTPS_TYPE_OF_SERVICE (0x00000008)
+
98 #define SL_NET_APP_MASK_WORKSATION_TYPE_OF_SERVICE (0x00000010)
+
99 #define SL_NET_APP_MASK_GUID_TYPE_OF_SERVICE (0x00000020)
+
100 #define SL_NET_APP_MASK_H323_TYPE_OF_SERVICE (0x00000040)
+
101 #define SL_NET_APP_MASK_NTP_TYPE_OF_SERVICE (0x00000080)
+
102 #define SL_NET_APP_MASK_OBJECITVE_TYPE_OF_SERVICE (0x00000100)
+
103 #define SL_NET_APP_MASK_RDP_TYPE_OF_SERVICE (0x00000200)
+
104 #define SL_NET_APP_MASK_REMOTE_TYPE_OF_SERVICE (0x00000400)
+
105 #define SL_NET_APP_MASK_RTSP_TYPE_OF_SERVICE (0x00000800)
+
106 #define SL_NET_APP_MASK_SIP_TYPE_OF_SERVICE (0x00001000)
+
107 #define SL_NET_APP_MASK_SMB_TYPE_OF_SERVICE (0x00002000)
+
108 #define SL_NET_APP_MASK_SOAP_TYPE_OF_SERVICE (0x00004000)
+
109 #define SL_NET_APP_MASK_SSH_TYPE_OF_SERVICE (0x00008000)
+
110 #define SL_NET_APP_MASK_TELNET_TYPE_OF_SERVICE (0x00010000)
+
111 #define SL_NET_APP_MASK_TFTP_TYPE_OF_SERVICE (0x00020000)
+
112 #define SL_NET_APP_MASK_XMPP_CLIENT_TYPE_OF_SERVICE (0x00040000)
+
113 #define SL_NET_APP_MASK_RAOP_TYPE_OF_SERVICE (0x00080000)
+
114 #define SL_NET_APP_MASK_ALL_TYPE_OF_SERVICE (0xFFFFFFFF)
+
115 
+
116 /********************************************************************************************************/
+
117 /* sl_NetAppDnsGetHostByName error codes */
+
118 
+
119 #define SL_NET_APP_DNS_QUERY_NO_RESPONSE (-159) /* DNS query failed, no response */
+
120 #define SL_NET_APP_DNS_NO_SERVER (-161) /* No DNS server was specified */
+
121 #define SL_NET_APP_DNS_PARAM_ERROR (-162) /* mDNS parameters error */
+
122 #define SL_NET_APP_DNS_QUERY_FAILED (-163) /* DNS query failed; no DNS server sent an 'answer' */
+
123 #define SL_NET_APP_DNS_INTERNAL_1 (-164)
+
124 #define SL_NET_APP_DNS_INTERNAL_2 (-165)
+
125 #define SL_NET_APP_DNS_MALFORMED_PACKET (-166) /* Improperly formed or corrupted DNS packet received */
+
126 #define SL_NET_APP_DNS_INTERNAL_3 (-167)
+
127 #define SL_NET_APP_DNS_INTERNAL_4 (-168)
+
128 #define SL_NET_APP_DNS_INTERNAL_5 (-169)
+
129 #define SL_NET_APP_DNS_INTERNAL_6 (-170)
+
130 #define SL_NET_APP_DNS_INTERNAL_7 (-171)
+
131 #define SL_NET_APP_DNS_INTERNAL_8 (-172)
+
132 #define SL_NET_APP_DNS_INTERNAL_9 (-173)
+
133 #define SL_NET_APP_DNS_MISMATCHED_RESPONSE (-174) /* Server response type does not match the query request*/
+
134 #define SL_NET_APP_DNS_INTERNAL_10 (-175)
+
135 #define SL_NET_APP_DNS_INTERNAL_11 (-176)
+
136 #define SL_NET_APP_DNS_NO_ANSWER (-177) /* No response for one-shot query */
+
137 #define SL_NET_APP_DNS_NO_KNOWN_ANSWER (-178) /* No known answer for query */
+
138 #define SL_NET_APP_DNS_NAME_MISMATCH (-179) /* Illegal service name according to the RFC */
+
139 #define SL_NET_APP_DNS_NOT_STARTED (-180) /* mDNS is not running */
+
140 #define SL_NET_APP_DNS_HOST_NAME_ERROR (-181) /* Host name error. Host name format is not allowed according to RFC 1033,1034,1035, 6763 */
+
141 #define SL_NET_APP_DNS_NO_MORE_ENTRIES (-182) /* No more entries be found. */
+
142 
+
143 #define SL_NET_APP_DNS_MAX_SERVICES_ERROR (-200) /* Maximum advertise services are already configured */
+
144 #define SL_NET_APP_DNS_IDENTICAL_SERVICES_ERROR (-201) /* Trying to register a service that is already exists */
+
145 #define SL_NET_APP_DNS_NOT_EXISTED_SERVICE_ERROR (-203) /* Trying to delete service that does not existed */
+
146 #define SL_NET_APP_DNS_ERROR_SERVICE_NAME_ERROR (-204) /* Illegal service name according to the RFC */
+
147 #define SL_NET_APP_DNS_RX_PACKET_ALLOCATION_ERROR (-205) /* Retry request */
+
148 #define SL_NET_APP_DNS_BUFFER_SIZE_ERROR (-206) /* List size buffer is bigger than internally allowed in the NWP */
+
149 #define SL_NET_APP_DNS_NET_APP_SET_ERROR (-207) /* Illegal length of one of the mDNS Set functions */
+
150 #define SL_NET_APP_DNS_GET_SERVICE_LIST_FLAG_ERROR (-208)
+
151 #define SL_NET_APP_DNS_NO_CONFIGURATION_ERROR (-209)
+
152 
+
153 /* Set Dev name error codes (NETAPP_SET_GET_DEV_CONF_OPT_DEVICE_URN) */
+
154 #define SL_ERROR_DEVICE_NAME_LEN_ERR (-117)
+
155 #define SL_ERROR_DEVICE_NAME_INVALID (-118)
+
156 /* Set domain name error codes (NETAPP_SET_GET_DEV_CONF_OPT_DOMAIN_NAME) */
+
157 #define SL_ERROR_DOMAIN_NAME_LEN_ERR (-119)
+
158 #define SL_ERROR_DOMAIN_NAME_INVALID (-120)
+
159 
+
160 /********************************************************************************************************/
+
161 
+
162 /* NetApp application IDs */
+
163 #define SL_NET_APP_HTTP_SERVER_ID (1)
+
164 #define SL_NET_APP_DHCP_SERVER_ID (2)
+
165 #define SL_NET_APP_MDNS_ID (4)
+
166 #define SL_NET_APP_DNS_SERVER_ID (8)
+
167 #define SL_NET_APP_DEVICE_CONFIG_ID (16)
+
168 /* NetApp application set/get options */
+
169 #define NETAPP_SET_DHCP_SRV_BASIC_OPT (0)
+
170 /* HTTP server set/get options */
+
171 #define NETAPP_SET_GET_HTTP_OPT_PORT_NUMBER (0)
+
172 #define NETAPP_SET_GET_HTTP_OPT_AUTH_CHECK (1)
+
173 #define NETAPP_SET_GET_HTTP_OPT_AUTH_NAME (2)
+
174 #define NETAPP_SET_GET_HTTP_OPT_AUTH_PASSWORD (3)
+
175 #define NETAPP_SET_GET_HTTP_OPT_AUTH_REALM (4)
+
176 #define NETAPP_SET_GET_HTTP_OPT_ROM_PAGES_ACCESS (5)
+
177 
+
178 #define NETAPP_SET_GET_MDNS_CONT_QUERY_OPT (1)
+
179 #define NETAPP_SET_GET_MDNS_QEVETN_MASK_OPT (2)
+
180 #define NETAPP_SET_GET_MDNS_TIMING_PARAMS_OPT (3)
+
181 
+
182 /* DNS server set/get options */
+
183 #define NETAPP_SET_GET_DNS_OPT_DOMAIN_NAME (0)
+
184 
+
185 /* Device Config set/get options */
+
186 #define NETAPP_SET_GET_DEV_CONF_OPT_DEVICE_URN (0)
+
187 #define NETAPP_SET_GET_DEV_CONF_OPT_DOMAIN_NAME (1)
+
188 
+
189 
+
190 /*****************************************************************************/
+
191 /* Structure/Enum declarations */
+
192 /*****************************************************************************/
+
193 
+
194 typedef struct
+
195 {
+
196  _u32 PacketsSent;
+
197  _u32 PacketsReceived;
+
198  _u16 MinRoundTime;
+
199  _u16 MaxRoundTime;
+
200  _u16 AvgRoundTime;
+
201  _u32 TestTime;
+ +
203 
+
204 typedef struct
+
205 {
+
206  _u32 PingIntervalTime; /* delay between pings, in milliseconds */
+
207  _u16 PingSize; /* ping packet size in bytes */
+
208  _u16 PingRequestTimeout; /* timeout time for every ping in milliseconds */
+
209  _u32 TotalNumberOfAttempts; /* max number of ping requests. 0 - forever */
+
210  _u32 Flags; /* flag - 0 report only when finished, 1 - return response for every ping, 2 - stop after 1 successful ping. */
+
211  _u32 Ip; /* IPv4 address or IPv6 first 4 bytes */
+
212  _u32 Ip1OrPaadding;
+
213  _u32 Ip2OrPaadding;
+
214  _u32 Ip3OrPaadding;
+ +
216 
+
217 typedef struct _slHttpServerString_t
+
218 {
+
219  _u8 len;
+
220  _u8 *data;
+ +
222 
+
223 typedef struct _slHttpServerData_t
+
224 {
+
225  _u8 value_len;
+
226  _u8 name_len;
+
227  _u8 *token_value;
+
228  _u8 *token_name;
+ +
230 
+ +
232 {
+
233  slHttpServerString_t action;
+
234  slHttpServerString_t token_name;
+
235  slHttpServerString_t token_value;
+ +
237 
+
238 typedef union
+
239 {
+
240  slHttpServerString_t httpTokenName; /* SL_NETAPP_HTTPGETTOKENVALUE */
+
241  slHttpServerPostData_t httpPostData; /* SL_NETAPP_HTTPPOSTTOKENVALUE */
+ +
243 
+
244 typedef union
+
245 {
+
246  slHttpServerString_t token_value;
+ +
248 
+
249 typedef struct
+
250 {
+
251  _u32 Event;
+
252  SlHttpServerEventData_u EventData;
+ +
254 
+
255 typedef struct
+
256 {
+
257  _u32 Response;
+
258  SlHttpServerResponsedata_u ResponseData;
+ +
260 
+
261 
+
262 typedef struct
+
263 {
+
264  _u32 lease_time;
+
265  _u32 ipv4_addr_start;
+
266  _u32 ipv4_addr_last;
+ +
268 
+
269 /*mDNS parameters*/
+
270 typedef enum
+
271 {
+
272  SL_NET_APP_FULL_SERVICE_WITH_TEXT_IPV4_TYPE = 1,
+
273  SL_NET_APP_FULL_SERVICE_IPV4_TYPE,
+
274  SL_NET_APP_SHORT_SERVICE_IPV4_TYPE
+
275 
+
276 } SlNetAppGetServiceListType_e;
+
277 
+
278 typedef struct
+
279 {
+
280  _u32 service_ipv4;
+
281  _u16 service_port;
+
282  _u16 Reserved;
+ +
284 
+
285 typedef struct
+
286 {
+
287  _u32 service_ipv4;
+
288  _u16 service_port;
+
289  _u16 Reserved;
+
290  _u8 service_name[NETAPP_MAX_SERVICE_NAME_SIZE];
+
291  _u8 service_host[NETAPP_MAX_SERVICE_HOST_NAME_SIZE];
+ +
293 
+
294 typedef struct
+
295 {
+
296  _u32 service_ipv4;
+
297  _u16 service_port;
+
298  _u16 Reserved;
+
299  _u8 service_name[NETAPP_MAX_SERVICE_NAME_SIZE];
+
300  _u8 service_host[NETAPP_MAX_SERVICE_HOST_NAME_SIZE];
+
301  _u8 service_text[NETAPP_MAX_SERVICE_TEXT_SIZE];
+ +
303 
+
304 typedef struct
+
305 {
+
306  /*The below parameters are used to configure the advertise times and interval
+
307  For example:
+
308  If:
+
309  Period is set to T
+
310  Repetitions are set to P
+
311  Telescopic factor is K=2
+
312  The transmission shall be:
+
313  advertise P times
+
314  wait T
+
315  advertise P times
+
316  wait 4 * T
+
317  advertise P time
+
318  wait 16 * T ... (till max time reached / configuration changed / query issued)
+
319  */
+
320  _u32 t; /* Number of ticks for the initial period. Default is 100 ticks for 1 second. */
+
321  _u32 p; /* Number of repetitions. Default value is 1 */
+
322  _u32 k; /* Telescopic factor. Default value is 2. */
+
323  _u32 RetransInterval;/* Announcing retransmission interval */
+
324  _u32 Maxinterval; /* Announcing max period interval */
+
325  _u32 max_time; /* Announcing max time */
+ +
327 
+
328 /*****************************************************************************/
+
329 /* Types declarations */
+
330 /*****************************************************************************/
+
331 typedef void (*P_SL_DEV_PING_CALLBACK)(SlPingReport_t*);
+
332 
+
333 /*****************************************************************************/
+
334 /* Function prototypes */
+
335 /*****************************************************************************/
+
336 
+
337 
+
360 #if _SL_INCLUDE_FUNC(sl_NetAppStart)
+
361 _i16 sl_NetAppStart(const _u32 AppBitMap);
+
362 #endif
+
363 
+
386 #if _SL_INCLUDE_FUNC(sl_NetAppStop)
+
387 _i16 sl_NetAppStop(const _u32 AppBitMap);
+
388 #endif
+
389 
+
436 #if _SL_INCLUDE_FUNC(sl_NetAppDnsGetHostByName)
+
437 _i16 sl_NetAppDnsGetHostByName(_i8 * hostname,const _u16 usNameLen, _u32* out_ip_addr,const _u8 family );
+
438 #endif
+
439 
+
495 #if _SL_INCLUDE_FUNC(sl_NetAppDnsGetHostByService)
+
496 _i32 sl_NetAppDnsGetHostByService(_i8 *pServiceName, /* string containing all (or only part): name + subtype + service */
+
497  const _u8 ServiceLen,
+
498  const _u8 Family, /* 4-IPv4 , 16-IPv6 */
+
499  _u32 pAddr[],
+
500  _u32 *pPort,
+
501  _u16 *pTextLen, /* in: max len , out: actual len */
+
502  _i8 *pText
+
503  );
+
504 
+
505 #endif
+
506 
+
555 #if _SL_INCLUDE_FUNC(sl_NetAppGetServiceList)
+
556 _i16 sl_NetAppGetServiceList(const _u8 IndexOffest,
+
557  const _u8 MaxServiceCount,
+
558  const _u8 Flags,
+
559  _i8 *pBuffer,
+
560  const _u32 RxBufferLength
+
561  );
+
562 
+
563 #endif
+
564 
+
588 #if _SL_INCLUDE_FUNC(sl_NetAppMDNSUnRegisterService)
+
589 _i16 sl_NetAppMDNSUnRegisterService(const _i8 *pServiceName,const _u8 ServiceNameLen);
+
590 #endif
+
591 
+
656 #if _SL_INCLUDE_FUNC(sl_NetAppMDNSRegisterService)
+
657 _i16 sl_NetAppMDNSRegisterService( const _i8* pServiceName,
+
658  const _u8 ServiceNameLen,
+
659  const _i8* pText,
+
660  const _u8 TextLen,
+
661  const _u16 Port,
+
662  const _u32 TTL,
+
663  _u32 Options);
+
664 #endif
+
665 
+
726 #if _SL_INCLUDE_FUNC(sl_NetAppPingStart)
+
727 _i16 sl_NetAppPingStart(const SlPingStartCommand_t* pPingParams,const _u8 family,SlPingReport_t *pReport,const P_SL_DEV_PING_CALLBACK pPingCallback);
+
728 #endif
+
729 
+
793 #if _SL_INCLUDE_FUNC(sl_NetAppSet)
+
794 _i32 sl_NetAppSet(const _u8 AppId ,const _u8 Option,const _u8 OptionLen,const _u8 *pOptionValue);
+
795 #endif
+
796 
+
865 #if _SL_INCLUDE_FUNC(sl_NetAppGet)
+
866 _i32 sl_NetAppGet(const _u8 AppId,const _u8 Option,_u8 *pOptionLen, _u8 *pOptionValue);
+
867 #endif
+
868 
+
869 
+
870 
+
879 #ifdef __cplusplus
+
880 }
+
881 #endif /* __cplusplus */
+
882 
+
883 #endif /* __NETAPP_H__ */
+
884 
+
+
+ + + + diff --git a/docs/simplelink_api/html/netcfg_8h_source.html b/docs/simplelink_api/html/netcfg_8h_source.html index 0721b00..1f0992f 100644 --- a/docs/simplelink_api/html/netcfg_8h_source.html +++ b/docs/simplelink_api/html/netcfg_8h_source.html @@ -1,230 +1,228 @@ - - - - - - -CC32XX SimpleLink Host Driver: netcfg.h Source File - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
-
-
netcfg.h
-
-
-
1 /*
-
2  * netcfg.h - CC31xx/CC32xx Host Driver Implementation
-
3  *
-
4  * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
-
5  *
-
6  *
-
7  * Redistribution and use in source and binary forms, with or without
-
8  * modification, are permitted provided that the following conditions
-
9  * are met:
-
10  *
-
11  * Redistributions of source code must retain the above copyright
-
12  * notice, this list of conditions and the following disclaimer.
-
13  *
-
14  * Redistributions in binary form must reproduce the above copyright
-
15  * notice, this list of conditions and the following disclaimer in the
-
16  * documentation and/or other materials provided with the
-
17  * distribution.
-
18  *
-
19  * Neither the name of Texas Instruments Incorporated nor the names of
-
20  * its contributors may be used to endorse or promote products derived
-
21  * from this software without specific prior written permission.
-
22  *
-
23  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-
24  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-
25  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-
26  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-
27  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-
28  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-
29  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-
30  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-
31  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-
32  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-
33  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
34  *
-
35 */
-
36 
-
37 #ifndef __NETCFG_H__
-
38 #define __NETCFG_H__
-
39 
-
40 /*****************************************************************************/
-
41 /* Include files */
-
42 /*****************************************************************************/
-
43 #include "simplelink.h"
-
44 
-
45 #ifdef __cplusplus
-
46 extern "C" {
-
47 #endif
-
48 
-
49 
-
50 
-
59 /*****************************************************************************/
-
60 /* Macro declarations */
-
61 /*****************************************************************************/
-
62 
-
63 #define SL_MAC_ADDR_LEN (6)
-
64 #define SL_IPV4_VAL(add_3,add_2,add_1,add_0) ((((_u32)add_3 << 24) & 0xFF000000) | (((_u32)add_2 << 16) & 0xFF0000) | (((_u32)add_1 << 8) & 0xFF00) | ((_u32)add_0 & 0xFF) )
-
65 #define SL_IPV4_BYTE(val,index) ( (val >> (index*8)) & 0xFF )
-
66 
-
67 #define IPCONFIG_MODE_DISABLE_IPV4 (0)
-
68 #define IPCONFIG_MODE_ENABLE_IPV4 (1)
-
69 
-
70 /*****************************************************************************/
-
71 /* Structure/Enum declarations */
-
72 /*****************************************************************************/
-
73 typedef enum
-
74 {
-
75  SL_MAC_ADDRESS_SET = 1,
-
76  SL_MAC_ADDRESS_GET = 2,
-
77  SL_IPV4_STA_P2P_CL_GET_INFO = 3,
-
78  SL_IPV4_STA_P2P_CL_DHCP_ENABLE = 4,
-
79  SL_IPV4_STA_P2P_CL_STATIC_ENABLE = 5,
-
80  SL_IPV4_AP_P2P_GO_GET_INFO = 6,
-
81  SL_IPV4_AP_P2P_GO_STATIC_ENABLE = 7,
-
82  SL_SET_HOST_RX_AGGR = 8,
-
83  MAX_SETTINGS = 0xFF
-
84 }Sl_NetCfg_e;
-
85 
-
86 
-
87 typedef struct
-
88 {
-
89  _u32 ipV4;
-
90  _u32 ipV4Mask;
-
91  _u32 ipV4Gateway;
-
92  _u32 ipV4DnsServer;
- -
94 
-
95 
-
96 /*****************************************************************************/
-
97 /* Function prototypes */
-
98 /*****************************************************************************/
-
99 
-
184 #if _SL_INCLUDE_FUNC(sl_NetCfgSet)
-
185 _i32 sl_NetCfgSet(_u8 ConfigId ,_u8 ConfigOpt, _u8 ConfigLen, _u8 *pValues);
-
186 #endif
-
187 
-
188 
-
264 #if _SL_INCLUDE_FUNC(sl_NetCfgGet)
-
265 _i32 sl_NetCfgGet(_u8 ConfigId ,_u8 *pConfigOpt, _u8 *pConfigLen, _u8 *pValues);
-
266 #endif
-
267 
-
276 #ifdef __cplusplus
-
277 }
-
278 #endif /* __cplusplus */
-
279 
-
280 #endif /* __NETCFG_H__ */
-
281 
-
_i32 sl_NetCfgSet(_u8 ConfigId, _u8 ConfigOpt, _u8 ConfigLen, _u8 *pValues)
Internal function for setting network configurations.
-
_i32 sl_NetCfgGet(_u8 ConfigId, _u8 *pConfigOpt, _u8 *pConfigLen, _u8 *pValues)
Internal function for getting network configurations.
-
Definition: netcfg.h:87
-
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: netcfg.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
netcfg.h
+
+
+
1 /*
+
2  * netcfg.h - CC31xx/CC32xx Host Driver Implementation
+
3  *
+
4  * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
+
5  *
+
6  *
+
7  * Redistribution and use in source and binary forms, with or without
+
8  * modification, are permitted provided that the following conditions
+
9  * are met:
+
10  *
+
11  * Redistributions of source code must retain the above copyright
+
12  * notice, this list of conditions and the following disclaimer.
+
13  *
+
14  * Redistributions in binary form must reproduce the above copyright
+
15  * notice, this list of conditions and the following disclaimer in the
+
16  * documentation and/or other materials provided with the
+
17  * distribution.
+
18  *
+
19  * Neither the name of Texas Instruments Incorporated nor the names of
+
20  * its contributors may be used to endorse or promote products derived
+
21  * from this software without specific prior written permission.
+
22  *
+
23  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+
24  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+
25  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+
26  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+
27  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+
28  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+
29  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+
30  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+
31  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+
32  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+
33  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
34  *
+
35 */
+
36 
+
37 /*****************************************************************************/
+
38 /* Include files */
+
39 /*****************************************************************************/
+
40 #include "simplelink.h"
+
41 
+
42 
+
43 #ifndef __NETCFG_H__
+
44 #define __NETCFG_H__
+
45 
+
46 
+
47 #ifdef __cplusplus
+
48 extern "C" {
+
49 #endif
+
50 
+
51 
+
52 
+
61 /*****************************************************************************/
+
62 /* Macro declarations */
+
63 /*****************************************************************************/
+
64 
+
65 #define SL_MAC_ADDR_LEN (6)
+
66 #define SL_IPV4_VAL(add_3,add_2,add_1,add_0) ((((_u32)add_3 << 24) & 0xFF000000) | (((_u32)add_2 << 16) & 0xFF0000) | (((_u32)add_1 << 8) & 0xFF00) | ((_u32)add_0 & 0xFF) )
+
67 #define SL_IPV4_BYTE(val,index) ( (val >> (index*8)) & 0xFF )
+
68 
+
69 #define IPCONFIG_MODE_DISABLE_IPV4 (0)
+
70 #define IPCONFIG_MODE_ENABLE_IPV4 (1)
+
71 
+
72 /*****************************************************************************/
+
73 /* Structure/Enum declarations */
+
74 /*****************************************************************************/
+
75 typedef enum
+
76 {
+
77  SL_MAC_ADDRESS_SET = 1,
+
78  SL_MAC_ADDRESS_GET = 2,
+
79  SL_IPV4_STA_P2P_CL_GET_INFO = 3,
+
80  SL_IPV4_STA_P2P_CL_DHCP_ENABLE = 4,
+
81  SL_IPV4_STA_P2P_CL_STATIC_ENABLE = 5,
+
82  SL_IPV4_AP_P2P_GO_GET_INFO = 6,
+
83  SL_IPV4_AP_P2P_GO_STATIC_ENABLE = 7,
+
84  SL_SET_HOST_RX_AGGR = 8,
+
85  MAX_SETTINGS = 0xFF
+
86 }Sl_NetCfg_e;
+
87 
+
88 
+
89 typedef struct
+
90 {
+
91  _u32 ipV4;
+
92  _u32 ipV4Mask;
+
93  _u32 ipV4Gateway;
+
94  _u32 ipV4DnsServer;
+ +
96 
+
97 
+
98 /*****************************************************************************/
+
99 /* Function prototypes */
+
100 /*****************************************************************************/
+
101 
+
186 #if _SL_INCLUDE_FUNC(sl_NetCfgSet)
+
187 _i32 sl_NetCfgSet(const _u8 ConfigId,const _u8 ConfigOpt,const _u8 ConfigLen,const _u8 *pValues);
+
188 #endif
+
189 
+
190 
+
266 #if _SL_INCLUDE_FUNC(sl_NetCfgGet)
+
267 _i32 sl_NetCfgGet(const _u8 ConfigId ,_u8 *pConfigOpt, _u8 *pConfigLen, _u8 *pValues);
+
268 #endif
+
269 
+
278 #ifdef __cplusplus
+
279 }
+
280 #endif /* __cplusplus */
+
281 
+
282 #endif /* __NETCFG_H__ */
+
283 
+
+
+ + + + diff --git a/docs/simplelink_api/html/nonos_8h_source.html b/docs/simplelink_api/html/nonos_8h_source.html deleted file mode 100644 index 8c38fc7..0000000 --- a/docs/simplelink_api/html/nonos_8h_source.html +++ /dev/null @@ -1,285 +0,0 @@ - - - - -SimpleLink Host Driver: nonos.h Source File - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
-
-
nonos.h
-
-
-
00001 /******************************************************************************
-00002 *
-00003 *   Copyright (C) 2013 Texas Instruments Incorporated
-00004 *
-00005 *   All rights reserved. Property of Texas Instruments Incorporated.
-00006 *   Restricted rights to use, duplicate or disclose this code are
-00007 *   granted through contract.
-00008 *
-00009 *   The program may not be used without the written permission of
-00010 *   Texas Instruments Incorporated or against the terms and conditions
-00011 *   stipulated in the agreement under which this program has been supplied,
-00012 *   and under no circumstances can it be used with non-TI connectivity device.
-00013 *
-00014 ******************************************************************************/
-00015 
-00016 #ifndef __NONOS_H__
-00017 #define __NONOS_H__
-00018 
-00019 #ifdef  __cplusplus
-00020 extern "C" {
-00021 #endif
-00022 
-00023 
-00024 #ifndef SL_PLATFORM_MULTI_THREADED
-00025 
-00026 #define NONOS_WAIT_FOREVER                                                      0xFF
-00027 #define NONOS_NO_WAIT                                                           0x01
-00028 
-00029 
-00030 #define NONOS_RET_OK                            (0)
-00031 #define NONOS_RET_ERR                           (0xFF)
-00032 #define OSI_OK  NONOS_RET_OK
-00033 
-00034 
-00035 #define __NON_OS_SYNC_OBJ_CLEAR_VALUE                           0x11
-00036 #define __NON_OS_SYNC_OBJ_SIGNAL_VALUE                          0x22
-00037 #define __NON_OS_LOCK_OBJ_UNLOCK_VALUE                          0x33
-00038 #define __NON_OS_LOCK_OBJ_LOCK_VALUE                            0x44
-00039 
-00043 typedef char _SlNonOsRetVal_t;
-00044 
-00048 typedef unsigned char _SlNonOsTime_t;
-00049 
-00059 typedef unsigned char _SlNonOsSemObj_t;
-00060 
-00061 
-00062 #define _SlTime_t       _SlNonOsTime_t
-00063 
-00064 #define _SlSyncObj_t    _SlNonOsSemObj_t
-00065 
-00066 #define _SlLockObj_t    _SlNonOsSemObj_t
-00067 
-00068 #define SL_OS_WAIT_FOREVER     NONOS_WAIT_FOREVER
-00069 
-00070 #define SL_OS_RET_CODE_OK       NONOS_RET_OK       
-00071 
-00072 #define SL_OS_NO_WAIT           NONOS_NO_WAIT
-00073 
-00074 
-00075 
-00076 
-00077 
-00091 #define _SlNonOsSyncObjCreate(pSyncObj)                 _SlNonOsSemSet(pSyncObj,__NON_OS_SYNC_OBJ_CLEAR_VALUE)
-00092 
-00103 #define _SlNonOsSyncObjDelete(pSyncObj)                 _SlNonOsSemSet(pSyncObj,0)
-00104 
-00117 #define _SlNonOsSyncObjSignal(pSyncObj)                 _SlNonOsSemSet(pSyncObj,__NON_OS_SYNC_OBJ_SIGNAL_VALUE)
-00118 
-00134 #define _SlNonOsSyncObjWait(pSyncObj , Timeout) _SlNonOsSemGet(pSyncObj,__NON_OS_SYNC_OBJ_SIGNAL_VALUE,__NON_OS_SYNC_OBJ_CLEAR_VALUE,Timeout)
-00135 
-00146 #define _SlNonOsSyncObjClear(pSyncObj)                  _SlNonOsSemSet(pSyncObj,__NON_OS_SYNC_OBJ_CLEAR_VALUE)
-00147 
-00161 #define _SlNonOsLockObjCreate(pLockObj)                 _SlNonOsSemSet(pLockObj,__NON_OS_LOCK_OBJ_UNLOCK_VALUE)
-00162 
-00173 #define _SlNonOsLockObjDelete(pLockObj)                 _SlNonOsSemSet(pLockObj,0)
-00174 
-00194 #define _SlNonOsLockObjLock(pLockObj , Timeout) _SlNonOsSemGet(pLockObj,__NON_OS_LOCK_OBJ_UNLOCK_VALUE,__NON_OS_LOCK_OBJ_LOCK_VALUE,Timeout)
-00195 
-00206 #define _SlNonOsLockObjUnlock(pLockObj)                 _SlNonOsSemSet(pLockObj,__NON_OS_LOCK_OBJ_UNLOCK_VALUE)
-00207 
-00208 
-00226 _SlNonOsRetVal_t _SlNonOsSpawn(_SlSpawnEntryFunc_t pEntry , void* pValue , unsigned long flags);
-00227 
-00228 
-00239 _SlNonOsRetVal_t _SlNonOsMainLoopTask(void);
-00240 
-00241 extern _SlNonOsRetVal_t _SlNonOsSemGet(_SlNonOsSemObj_t* pSyncObj, _SlNonOsSemObj_t WaitValue, _SlNonOsSemObj_t SetValue, _SlNonOsTime_t Timeout);
-00242 extern _SlNonOsRetVal_t _SlNonOsSemSet(_SlNonOsSemObj_t* pSemObj , _SlNonOsSemObj_t Value);
-00243 extern _SlNonOsRetVal_t _SlNonOsSpawn(_SlSpawnEntryFunc_t pEntry , void* pValue , unsigned long flags);
-00244 
-00245 
-00246 /*****************************************************************************
-00247 
-00248     Overwrite SimpleLink driver OS adaptation functions
-00249 
-00250 
-00251  *****************************************************************************/
-00252 
-00253 #undef sl_SyncObjCreate
-00254 #define sl_SyncObjCreate(pSyncObj,pName)           _SlNonOsSemSet(pSyncObj,__NON_OS_SYNC_OBJ_CLEAR_VALUE)
-00255 
-00256 #undef sl_SyncObjDelete
-00257 #define sl_SyncObjDelete(pSyncObj)                  _SlNonOsSemSet(pSyncObj,0)
-00258 
-00259 #undef sl_SyncObjSignal
-00260 #define sl_SyncObjSignal(pSyncObj)                  _SlNonOsSemSet(pSyncObj,__NON_OS_SYNC_OBJ_SIGNAL_VALUE)
-00261 
-00262 #undef sl_SyncObjSignalFromIRQ
-00263 #define sl_SyncObjSignalFromIRQ(pSyncObj)           _SlNonOsSemSet(pSyncObj,__NON_OS_SYNC_OBJ_SIGNAL_VALUE)
-00264 
-00265 #undef sl_SyncObjWait
-00266 #define sl_SyncObjWait(pSyncObj,Timeout)            _SlNonOsSemGet(pSyncObj,__NON_OS_SYNC_OBJ_SIGNAL_VALUE,__NON_OS_SYNC_OBJ_CLEAR_VALUE,Timeout)
-00267 
-00268 #undef sl_LockObjCreate
-00269 #define sl_LockObjCreate(pLockObj,pName)            _SlNonOsSemSet(pLockObj,__NON_OS_LOCK_OBJ_UNLOCK_VALUE)
-00270 
-00271 #undef sl_LockObjDelete
-00272 #define sl_LockObjDelete(pLockObj)                  _SlNonOsSemSet(pLockObj,0)
-00273 
-00274 #undef sl_LockObjLock
-00275 #define sl_LockObjLock(pLockObj,Timeout)            _SlNonOsSemGet(pLockObj,__NON_OS_LOCK_OBJ_UNLOCK_VALUE,__NON_OS_LOCK_OBJ_LOCK_VALUE,Timeout)
-00276 
-00277 #undef sl_LockObjUnlock
-00278 #define sl_LockObjUnlock(pLockObj)                  _SlNonOsSemSet(pLockObj,__NON_OS_LOCK_OBJ_UNLOCK_VALUE)
-00279 
-00280 #undef sl_Spawn
-00281 #define sl_Spawn(pEntry,pValue,flags)               _SlNonOsSpawn(pEntry,pValue,flags)
-00282 
-00283 #undef _SlTaskEntry
-00284 #define _SlTaskEntry                                _SlNonOsMainLoopTask
-00285 
-00286 #endif /* !SL_PLATFORM_MULTI_THREADED */
-00287 
-00288 #ifdef  __cplusplus
-00289 }
-00290 #endif /* __cplusplus */
-00291 
-00292 #endif
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/obj_inclusion_8h_source.html b/docs/simplelink_api/html/obj_inclusion_8h_source.html deleted file mode 100644 index f240f73..0000000 --- a/docs/simplelink_api/html/obj_inclusion_8h_source.html +++ /dev/null @@ -1,450 +0,0 @@ - - - - -SimpleLink Host Driver: objInclusion.h Source File - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
-
-
objInclusion.h
-
-
-
00001 /******************************************************************************
-00002 *
-00003 *   Copyright (C) 2013 Texas Instruments Incorporated
-00004 *
-00005 *   All rights reserved. Property of Texas Instruments Incorporated.
-00006 *   Restricted rights to use, duplicate or disclose this code are
-00007 *   granted through contract.
-00008 *
-00009 *   The program may not be used without the written permission of
-00010 *   Texas Instruments Incorporated or against the terms and conditions
-00011 *   stipulated in the agreement under which this program has been supplied,
-00012 *   and under no circumstances can it be used with non-TI connectivity device.
-00013 *
-00014 ******************************************************************************/
-00015 #include <simplelink.h>
-00016 
-00017 #ifndef OBJINCLUSION_H_
-00018 #define OBJINCLUSION_H_
-00019 
-00020 #ifdef  __cplusplus
-00021 extern "C" {
-00022 #endif
-00023 
-00024 /******************************************************************************
-00025  
-00026  For future use
-00027         
-00028 *******************************************************************************/
-00029 
-00030 #define __inln          /* if inline functions requiered: #define __inln inline */
-00031 
-00032 #define SL_DEVICE       /* Device silo is currently always mandatory */
-00033 
-00034 
-00035 
-00036 /******************************************************************************
-00037 
-00038  Qualifiers for package customizations 
-00039         
-00040 *******************************************************************************/
-00041 
-00042 #if defined (SL_DEVICE)
-00043 #define __dev   1
-00044 #else
-00045 #define __dev   0
-00046 #endif
-00047 
-00048 #if defined (SL_DEVICE) && defined (SL_INC_EXT_API)
-00049 #define __dev__ext   1
-00050 #else
-00051 #define __dev__ext   0
-00052 #endif
-00053 
-00054 
-00055 #if (!defined (SL_PLATFORM_MULTI_THREADED)) || (!defined (SL_PLATFORM_EXTERNAL_SPAWN))
-00056 #define __int__spwn     1
-00057 #else
-00058 #define __int__spwn     0
-00059 #endif
-00060 
-00061 #if defined (SL_INC_NET_APP_PKG)
-00062 #define __nap    1
-00063 #else
-00064 #define __nap    0
-00065 #endif
-00066 
-00067 #if defined  (SL_INC_NET_APP_PKG) && defined (SL_INC_SOCK_CLIENT_SIDE_API)
-00068 #define __nap__clt  1
-00069 #else
-00070 #define __nap__clt  0
-00071 #endif
-00072 
-00073 #if defined  (SL_INC_NET_APP_PKG) && defined (SL_INC_EXT_API)
-00074 #define __nap__ext   1
-00075 #else
-00076 #define __nap__ext   0
-00077 #endif
-00078   
-00079 #if defined (SL_INC_NET_CFG_PKG)
-00080 #define __ncg        1
-00081 #else
-00082 #define __ncg        0
-00083 #endif
-00084 
-00085 #if defined (SL_INC_NET_CFG_PKG) && defined (SL_INC_EXT_API)
-00086 #define __ncg__ext        1
-00087 #else
-00088 #define __ncg__ext        0
-00089 #endif
-00090 
-00091 #if defined (SL_INC_NVMEM_PKG)
-00092 #define __nvm       1
-00093 #else
-00094 #define __nvm       0
-00095 #endif
-00096 
-00097 #if defined (SL_INC_SOCKET_PKG)
-00098 #define __sck        1
-00099 #else
-00100 #define __sck        0
-00101 #endif
-00102 
-00103 #if defined  (SL_INC_SOCKET_PKG) && defined (SL_INC_EXT_API)
-00104 #define __sck__ext    1
-00105 #else
-00106 #define __sck__ext    0
-00107 #endif
-00108 
-00109 #if defined  (SL_INC_SOCKET_PKG) && defined (SL_INC_SOCK_SERVER_SIDE_API)
-00110 #define __sck__srv     1
-00111 #else
-00112 #define __sck__srv     0
-00113 #endif
-00114 
-00115 #if defined  (SL_INC_SOCKET_PKG) && defined (SL_INC_SOCK_CLIENT_SIDE_API)
-00116 #define __sck__clt      1
-00117 #else
-00118 #define __sck__clt      0
-00119 #endif
-00120 
-00121 #if defined  (SL_INC_SOCKET_PKG) && defined (SL_INC_SOCK_RECV_API)
-00122 #define __sck__rcv     1
-00123 #else
-00124 #define __sck__rcv     0
-00125 #endif
-00126 
-00127 #if defined  (SL_INC_SOCKET_PKG) && defined (SL_INC_SOCK_SEND_API)
-00128 #define __sck__snd      1
-00129 #else
-00130 #define __sck__snd      0
-00131 #endif
-00132 
-00133 #if defined (SL_INC_WLAN_PKG)
-00134 #define __wln           1
-00135 #else
-00136 #define __wln           0
-00137 #endif
-00138 
-00139 #if defined  (SL_INC_WLAN_PKG) && defined (SL_INC_EXT_API)
-00140 #define __wln__ext      1
-00141 #else
-00142 #define __wln__ext      0
-00143 #endif
-00144 
-00145 /* The return 1 is the function need to be included in the output */
-00146 #define _SL_INCLUDE_FUNC(Name)          (_SL_INC_##Name)
-00147 
-00148 /* Driver */
-00149 #define _SL_INC_sl_NetAppStart          __nap
-00150 
-00151 #define _SL_INC_sl_NetAppStop           __nap
-00152 
-00153 #define _SL_INC_sl_NetAppDnsGetHostByName     __nap__clt
-00154 
-00155 
-00156 #define _SL_INC_sl_NetAppDnsGetHostByService                    __nap__clt
-00157 #define _SL_INC_sl_NetAppMDNSRegisterService            __nap__clt
-00158 #define _SL_INC_sl_NetAppMDNSUnRegisterService          __nap__clt
-00159 #define _SL_INC_sl_NetAppMDNSRegisterUnregisterService  __nap__clt
-00160 #define _SL_INC_sl_NetAppGetServiceList                 __nap__clt
-00161         
-00162 
-00163 #define _SL_INC_sl_DnsGetHostByAddr     __nap__ext
-00164 
-00165 #define _SL_INC_sl_NetAppPingStart      __nap
-00166 
-00167 #define _SL_INC_sl_NetAppPingReport      __nap
-00168 
-00169 /* FS */
-00170 #define _SL_INC_sl_FsOpen            __nvm
-00171 
-00172 #define _SL_INC_sl_FsClose           __nvm
-00173 
-00174 #define _SL_INC_sl_FsRead            __nvm
-00175 
-00176 #define _SL_INC_sl_FsWrite           __nvm
-00177 
-00178 #define _SL_INC_sl_FsGetInfo         __nvm
-00179 
-00180 #define _SL_INC_sl_FsDel             __nvm
-00181 
-00182 /* netcfg */
-00183 #define _SL_INC_sl_MacAdrrSet           __ncg
-00184 
-00185 #define _SL_INC_sl_MacAdrrGet           __ncg
-00186 
-00187 #define _SL_INC_sl_NetCfgGet          __ncg
-00188 
-00189 #define _SL_INC_sl_NetCfgSet          __ncg
-00190 
-00191 #define _SL_INC_sl_NetAppSet            __nap
-00192 
-00193 #define _SL_INC_sl_NetAppGet            __nap
-00194 
-00195 /* socket */
-00196 #define _SL_INC_sl_Socket               __sck
-00197 
-00198 #define _SL_INC_sl_Close                __sck__ext
-00199 
-00200 #define _SL_INC_sl_Accept               __sck__srv
-00201 
-00202 #define _SL_INC_sl_Bind                 __sck
-00203 
-00204 #define _SL_INC_sl_Listen               __sck__srv
-00205 
-00206 #define _SL_INC_sl_Connect              __sck__clt
-00207 
-00208 #define _SL_INC_sl_Select               __sck
-00209 
-00210 #define _SL_INC_sl_SetSockOpt           __sck
-00211 
-00212 #define _SL_INC_sl_GetSockOpt           __sck__ext
-00213 
-00214 #define _SL_INC_sl_Recv                 __sck__rcv
-00215 
-00216 #define _SL_INC_sl_RecvFrom             __sck__rcv
-00217 
-00218 #define _SL_INC_sl_Write                __sck__snd
-00219 
-00220 #define _SL_INC_sl_Send                 __sck__snd
-00221 
-00222 #define _SL_INC_sl_SendTo               __sck__snd
-00223 
-00224 #define _SL_INC_sl_Htonl                __sck
-00225 
-00226 #define _SL_INC_sl_Htons                __sck
-00227   
-00228 /* wlan */
-00229 #define _SL_INC_sl_WlanConnect          __wln__ext
-00230 
-00231 #define _SL_INC_sl_WlanDisconnect           __wln__ext
-00232 
-00233 #define _SL_INC_sl_WlanProfileAdd           __wln__ext
-00234 
-00235 #define _SL_INC_sl_WlanProfileGet           __wln__ext
-00236 
-00237 #define _SL_INC_sl_WlanProfileDel           __wln__ext
-00238 
-00239 #define _SL_INC_sl_WlanPolicySet            __wln__ext
-00240 
-00241 #define _SL_INC_sl_WlanPolicyGet            __wln__ext
-00242 
-00243 #define _SL_INC_sl_WlanGetNetworkList       __wln__ext
-00244 
-00245 #define _SL_INC_sl_WlanRxFilterAdd      __wln__ext
-00246 
-00247 #define _SL_INC_sl_WlanRxFilterSet   __wln__ext
-00248 
-00249 #define _SL_INC_sl_WlanRxFilterGet   __wln__ext
-00250 
-00251 #define _SL_INC_sl_SmartConfigStart     __wln
-00252 
-00253 #define _SL_INC_sl_SmartConfigOptSet    __wln__ext
-00254 
-00255 
-00256 #define _SL_INC_sl_WlanSmartConfigStart  __wln
-00257 
-00258 #define _SL_INC_sl_WlanSmartConfigStop   __wln
-00259 
-00260 #define _SL_INC_sl_WlanSetMode                   __wln
-00261 
-00262 #define _SL_INC_sl_WlanSet                       __wln
-00263 
-00264 #define _SL_INC_sl_WlanGet                       __wln
-00265 
-00266 #define _SL_INC_sl_SmartConfigOptSet    __wln__ext
-00267 
-00268 #define _SL_INC_sl_SmartConfigOptGet    __wln__ext
-00269 
-00270 #define  _SL_INC_sl_WlanRxStatStart      __wln__ext
-00271 
-00272 #define _SL_INC_sl_WlanRxStatStop       __wln__ext
-00273 
-00274 #define _SL_INC_sl_WlanRxStatGet        __wln__ext
-00275 
-00276 
-00277 /* device */
-00278 #define _SL_INC_sl_Task                 __int__spwn
-00279 
-00280 #define _SL_INC_sl_Start                __dev
-00281 
-00282 #define _SL_INC_sl_Stop                 __dev
-00283 
-00284 #define _SL_INC_sl_StatusGet            __dev
-00285 
-00286 #ifdef SL_IF_TYPE_UART  
-00287 #define _SL_INC_sl_UartSetMode                  __dev
-00288 #endif
-00289 
-00290 #define _SL_INC_sl_EventMaskGet         __dev__ext
-00291 
-00292 #define _SL_INC_sl_EventMaskSet         __dev__ext
-00293 
-00294 #define _SL_INC_sl_DevGet                           __dev__ext
-00295 
-00296 #define _SL_INC_sl_DevSet                           __dev__ext
-00297 
-00298 
-00299 #ifdef  __cplusplus
-00300 }
-00301 #endif /* __cplusplus */
-00302 
-00303 #endif /*OBJINCLUSION_H_  */
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/protocol_8h_source.html b/docs/simplelink_api/html/protocol_8h_source.html deleted file mode 100644 index 387b5cf..0000000 --- a/docs/simplelink_api/html/protocol_8h_source.html +++ /dev/null @@ -1,1291 +0,0 @@ - - - - -SimpleLink Host Driver: protocol.h Source File - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
-
-
protocol.h
-
-
-
00001 /******************************************************************************
-00002 *
-00003 *   Copyright (C) 2013 Texas Instruments Incorporated
-00004 *
-00005 *   All rights reserved. Property of Texas Instruments Incorporated.
-00006 *   Restricted rights to use, duplicate or disclose this code are
-00007 *   granted through contract.
-00008 *
-00009 *   The program may not be used without the written permission of
-00010 *   Texas Instruments Incorporated or against the terms and conditions
-00011 *   stipulated in the agreement under which this program has been supplied,
-00012 *   and under no circumstances can it be used with non-TI connectivity device.
-00013 *
-00014 ******************************************************************************/
-00015 
-00016 /*******************************************************************************\
-00017 *
-00018 *   FILE NAME:      protocol.h
-00019 *
-00020 *   DESCRIPTION:    Constant and data structure definitions and function
-00021 *                   prototypes for the SL protocol module, which implements
-00022 *                   processing of SimpleLink Commands.
-00023 *
-00024 *   AUTHOR:
-00025 *
-00026 \*******************************************************************************/
-00027 
-00028 #ifndef _SL_PROTOCOL_TYPES_H_
-00029 #define _SL_PROTOCOL_TYPES_H_
-00030 
-00031 /****************************************************************************
-00032 **
-00033 **  User I/F pools definitions
-00034 **
-00035 ****************************************************************************/
-00036 
-00037 /****************************************************************************
-00038 **
-00039 **  Definitions for SimpleLink Commands
-00040 **
-00041 ****************************************************************************/
-00042 
-00043 
-00044 /* pattern for LE 8/16/32 or BE*/
-00045 #define H2N_SYNC_PATTERN     {0xBBDDEEFF,0x4321,0x34,0x12}
-00046 #define H2N_CNYS_PATTERN     {0xBBDDEEFF,0x8765,0x78,0x56}
-00047 
-00048 #define H2N_DUMMY_PATTERN    (UINT32)0xFFFFFFFF
-00049 #define N2H_SYNC_PATTERN     (UINT32)0xABCDDCBA
-00050 #define SYNC_PATTERN_LEN     (UINT32)sizeof(UINT32)
-00051 #define UART_SET_MODE_MAGIC_CODE    (UINT32)0xAA55AA55
-00052 #define SPI_16BITS_BUG(pattern)     (UINT32)((UINT32)pattern & (UINT32)0xFFFF7FFF)
-00053 #define SPI_8BITS_BUG(pattern)      (UINT32)((UINT32)pattern & (UINT32)0xFFFFFF7F)
-00054 
-00055 
-00056 
-00057 typedef struct
-00058 {
-00059         UINT16 Opcode;
-00060         UINT16 Len;
-00061 }_SlGenericHeader_t;
-00062 
-00063 
-00064 typedef struct
-00065 {
-00066     UINT32  Long;
-00067     UINT16  Short;
-00068     UINT8  Byte1;
-00069     UINT8  Byte2;
-00070 }_SlSyncPattern_t;
-00071 
-00072 typedef _SlGenericHeader_t _SlCommandHeader_t;
-00073 
-00074 typedef struct
-00075 {
-00076     _SlGenericHeader_t  GenHeader;
-00077     UINT8               TxPoolCnt;
-00078     UINT8               DevStatus;
-00079     UINT8               SocketTXFailure;
-00080     UINT8               SocketNonBlocking;
-00081 }_SlResponseHeader_t;
-00082 
-00083 #define _SL_RESP_SPEC_HDR_SIZE (sizeof(_SlResponseHeader_t) - sizeof(_SlGenericHeader_t))
-00084 #define _SL_RESP_HDR_SIZE       sizeof(_SlResponseHeader_t)
-00085 #define _SL_CMD_HDR_SIZE        sizeof(_SlCommandHeader_t)
-00086 
-00087 #define _SL_RESP_ARGS_START(_pMsg) (((_SlResponseHeader_t *)(_pMsg)) + 1)
-00088 
-00089 /* Used only in NWP! */
-00090 typedef struct
-00091 {
-00092     _SlCommandHeader_t  sl_hdr;
-00093     UINT8   func_args_start;
-00094 } T_SCMD;
-00095 
-00096 
-00097 #define WLAN_CONN_STATUS_BIT 0x01
-00098 #define EVENTS_Q_STATUS_BIT  0x02
-00099 #define PENDING_RCV_CMD_BIT  0x04
-00100 #define FW_BUSY_PACKETS_BIT  0x08
-00101 
-00102 #define INIT_STA_OK   0x11111111
-00103 #define INIT_STA_ERR  0x22222222
-00104 #define INIT_AP_OK    0x33333333
-00105 #define INIT_AP_ERR   0x44444444
-00106 #define INIT_P2P_OK   0x55555555
-00107 #define INIT_P2P_ERR  0x66666666
-00108 
-00109 /****************************************************************************
-00110 **  OPCODES
-00111 ****************************************************************************/
-00112 #define SL_IPV4_IPV6_OFFSET                            ( 9 )
-00113 #define SL_OPCODE_IPV4                                                         ( 0x0 << SL_IPV4_IPV6_OFFSET )
-00114 #define SL_OPCODE_IPV6                                                         ( 0x1 << SL_IPV4_IPV6_OFFSET )
-00115 
-00116 #define SL_SYNC_ASYNC_OFFSET                           ( 10 )
-00117 #define SL_OPCODE_SYNC                                                         (0x1 << SL_SYNC_ASYNC_OFFSET )
-00118 #define SL_OPCODE_SILO_OFFSET                           ( 11 )
-00119 #define SL_OPCODE_SILO_MASK                             ( 0xF << SL_OPCODE_SILO_OFFSET )
-00120 #define SL_OPCODE_SILO_DEVICE                           ( 0x0 << SL_OPCODE_SILO_OFFSET )
-00121 #define SL_OPCODE_SILO_WLAN                             ( 0x1 << SL_OPCODE_SILO_OFFSET )
-00122 #define SL_OPCODE_SILO_SOCKET                           ( 0x2 << SL_OPCODE_SILO_OFFSET )
-00123 #define SL_OPCODE_SILO_NETAPP                           ( 0x3 << SL_OPCODE_SILO_OFFSET )
-00124 #define SL_OPCODE_SILO_NVMEM                            ( 0x4 << SL_OPCODE_SILO_OFFSET )
-00125 #define SL_OPCODE_SILO_NETCFG                           ( 0x5 << SL_OPCODE_SILO_OFFSET )
-00126 
-00127 #define SL_FAMILY_SHIFT                            (0x4)
-00128 #define SL_FLAGS_MASK                              (0xF)
-00129 
-00130 #define SL_OPCODE_DEVICE_INITCOMPLETE                                   0x0008
-00131 #define SL_OPCODE_DEVICE_STOP_COMMAND                                   0x8473
-00132 #define SL_OPCODE_DEVICE_STOP_RESPONSE                                  0x0473
-00133 #define SL_OPCODE_DEVICE_STOP_ASYNC_RESPONSE                            0x0073
-00134 #define SL_OPCODE_DEVICE_DEVICEASYNCDUMMY                               0x0063
-00135 
-00136 #define SL_OPCODE_DEVICE_VERSIONREADCOMMAND                                 0x8470
-00137 #define SL_OPCODE_DEVICE_VERSIONREADRESPONSE                            0x0470
-00138 #define SL_OPCODE_DEVICE_DEVICEASYNCFATALERROR                          0x0078
-00139 #define SL_OPCODE_WLAN_WLANCONNECTCOMMAND                               0x8C80
-00140 #define SL_OPCODE_WLAN_WLANCONNECTRESPONSE                              0x0C80
-00141 #define SL_OPCODE_WLAN_WLANASYNCCONNECTEDRESPONSE                       0x0880
-00142 #define SL_OPCODE_WLAN_P2P_DEV_FOUND                                    0x0830
-00143 #define SL_OPCODE_WLAN_CONNECTION_FAILED                                0x0831
-00144 #define SL_OPCODE_WLAN_P2P_NEG_REQ_RECEIVED                             0x0832
-00145 
-00146 #define SL_OPCODE_WLAN_WLANDISCONNECTCOMMAND                            0x8C81
-00147 #define SL_OPCODE_WLAN_WLANDISCONNECTRESPONSE                           0x0C81
-00148 #define SL_OPCODE_WLAN_WLANASYNCDISCONNECTEDRESPONSE                    0x0881
-00149 #define SL_OPCODE_WLAN_WLANCONNECTEAPCOMMAND                            0x8C82
-00150 #define SL_OPCODE_WLAN_WLANCONNECTEAPCRESPONSE                          0x0C82
-00151 #define SL_OPCODE_WLAN_PROFILEADDCOMMAND                                0x8C83
-00152 #define SL_OPCODE_WLAN_PROFILEADDRESPONSE                               0x0C83
-00153 #define SL_OPCODE_WLAN_PROFILEGETCOMMAND                                0x8C84
-00154 #define SL_OPCODE_WLAN_PROFILEGETRESPONSE                               0x0C84
-00155 #define SL_OPCODE_WLAN_PROFILEDELCOMMAND                                0x8C85
-00156 #define SL_OPCODE_WLAN_PROFILEDELRESPONSE                               0x0C85
-00157 #define SL_OPCODE_WLAN_POLICYSETCOMMAND                                 0x8C86
-00158 #define SL_OPCODE_WLAN_POLICYSETRESPONSE                                0x0C86
-00159 #define SL_OPCODE_WLAN_POLICYGETCOMMAND                                 0x8C87
-00160 #define SL_OPCODE_WLAN_POLICYGETRESPONSE                                0x0C87
-00161 #define SL_OPCODE_WLAN_FILTERADD                                        0x8C88
-00162 #define SL_OPCODE_WLAN_FILTERADDRESPONSE                                0x0C88
-00163 #define SL_OPCODE_WLAN_FILTERGET                                        0x8C89
-00164 #define SL_OPCODE_WLAN_FILTERGETRESPONSE                                0x0C89
-00165 #define SL_OPCODE_WLAN_FILTERDELETE                                     0x8C8A
-00166 #define SL_OPCODE_WLAN_FILTERDELETERESPOSNE                             0x0C8A
-00167 #define SL_OPCODE_WLAN_WLANGETSTATUSCOMMAND                             0x8C8F
-00168 #define SL_OPCODE_WLAN_WLANGETSTATUSRESPONSE                            0x0C8F
-00169 #define SL_OPCODE_WLAN_STARTTXCONTINUESCOMMAND                          0x8CAA
-00170 #define SL_OPCODE_WLAN_STARTTXCONTINUESRESPONSE                         0x0CAA
-00171 #define SL_OPCODE_WLAN_STOPTXCONTINUESCOMMAND                           0x8CAB
-00172 #define SL_OPCODE_WLAN_STOPTXCONTINUESRESPONSE                          0x0CAB
-00173 #define SL_OPCODE_WLAN_STARTRXSTATCOMMAND                               0x8CAC
-00174 #define SL_OPCODE_WLAN_STARTRXSTATRESPONSE                              0x0CAC
-00175 #define SL_OPCODE_WLAN_STOPRXSTATCOMMAND                                0x8CAD
-00176 #define SL_OPCODE_WLAN_STOPRXSTATRESPONSE                               0x0CAD
-00177 #define SL_OPCODE_WLAN_GETRXSTATCOMMAND                                 0x8CAF
-00178 #define SL_OPCODE_WLAN_GETRXSTATRESPONSE                                0x0CAF
-00179 #define SL_OPCODE_WLAN_POLICYSETCOMMANDNEW                              0x8CB0
-00180 #define SL_OPCODE_WLAN_POLICYSETRESPONSENEW                             0x0CB0
-00181 #define SL_OPCODE_WLAN_POLICYGETCOMMANDNEW                              0x8CB1
-00182 #define SL_OPCODE_WLAN_POLICYGETRESPONSENEW                             0x0CB1
-00183 
-00184 #define SL_OPCODE_WLAN_SMART_CONFIG_START_COMMAND                       0x8CB2
-00185 #define SL_OPCODE_WLAN_SMART_CONFIG_START_RESPONSE                      0x0CB2
-00186 #define SL_OPCODE_WLAN_SMART_CONFIG_START_ASYNC_RESPONSE                0x08B2
-00187 #define SL_OPCODE_WLAN_SMART_CONFIG_STOP_COMMAND                        0x8CB3
-00188 #define SL_OPCODE_WLAN_SMART_CONFIG_STOP_RESPONSE                       0x0CB3
-00189 #define SL_OPCODE_WLAN_SMART_CONFIG_STOP_ASYNC_RESPONSE                 0x08B3
-00190 #define SL_OPCODE_WLAN_SET_MODE                                         0x8CB4
-00191 #define SL_OPCODE_WLAN_SET_MODE_RESPONSE                                0x0CB4
-00192 #define SL_OPCODE_WLAN_CFG_SET                                          0x8CB5
-00193 #define SL_OPCODE_WLAN_CFG_SET_RESPONSE                                 0x0CB5
-00194 #define SL_OPCODE_WLAN_CFG_GET                                          0x8CB6
-00195 #define SL_OPCODE_WLAN_CFG_GET_RESPONSE                                 0x0CB6
-00196 #define SL_OPCODE_WLAN_STA_CONNECTED                                    0x082E
-00197 #define SL_OPCODE_WLAN_STA_DISCONNECTED                                 0x082F
-00198 #define SL_OPCODE_WLAN_EAP_PROFILEADDCOMMAND                            0x8C67
-00199 #define SL_OPCODE_WLAN_EAP_PROFILEADDCOMMAND_RESPONSE                   0x0C67 
-00200 
-00201 #define SL_OPCODE_SOCKET_SOCKET                                         0x9401
-00202 #define SL_OPCODE_SOCKET_SOCKETRESPONSE                                 0x1401
-00203 #define SL_OPCODE_SOCKET_CLOSE                                          0x9402
-00204 #define SL_OPCODE_SOCKET_CLOSERESPONSE                                  0x1402
-00205 #define SL_OPCODE_SOCKET_ACCEPT                                         0x9403
-00206 #define SL_OPCODE_SOCKET_ACCEPTRESPONSE                                 0x1403
-00207 #define SL_OPCODE_SOCKET_ACCEPTASYNCRESPONSE                            0x1003
-00208 #define SL_OPCODE_SOCKET_ACCEPTASYNCRESPONSE_V6                         0x1203
-00209 #define SL_OPCODE_SOCKET_BIND                                           0x9404
-00210 #define SL_OPCODE_SOCKET_BIND_V6                                        0x9604
-00211 #define SL_OPCODE_SOCKET_BINDRESPONSE                                   0x1404
-00212 #define SL_OPCODE_SOCKET_LISTEN                                         0x9405
-00213 #define SL_OPCODE_SOCKET_LISTENRESPONSE                                 0x1405
-00214 #define SL_OPCODE_SOCKET_CONNECT                                        0x9406
-00215 #define SL_OPCODE_SOCKET_CONNECT_V6                                     0x9606
-00216 #define SL_OPCODE_SOCKET_CONNECTRESPONSE                                0x1406
-00217 #define SL_OPCODE_SOCKET_CONNECTASYNCRESPONSE                           0x1006
-00218 #define SL_OPCODE_SOCKET_SELECT                                         0x9407
-00219 #define SL_OPCODE_SOCKET_SELECTRESPONSE                                 0x1407
-00220 #define SL_OPCODE_SOCKET_SELECTASYNCRESPONSE                            0x1007
-00221 #define SL_OPCODE_SOCKET_SETSOCKOPT                                     0x9408
-00222 #define SL_OPCODE_SOCKET_SETSOCKOPTRESPONSE                             0x1408
-00223 #define SL_OPCODE_SOCKET_GETSOCKOPT                                     0x9409
-00224 #define SL_OPCODE_SOCKET_GETSOCKOPTRESPONSE                             0x1409
-00225 #define SL_OPCODE_SOCKET_RECV                                           0x940A
-00226 #define SL_OPCODE_SOCKET_RECVASYNCRESPONSE                              0x100A
-00227 #define SL_OPCODE_SOCKET_RECVFROM                                       0x940B
-00228 #define SL_OPCODE_SOCKET_RECVFROMASYNCRESPONSE                          0x100B
-00229 #define SL_OPCODE_SOCKET_RECVFROMASYNCRESPONSE_V6                       0x120B
-00230 #define SL_OPCODE_SOCKET_SEND                                           0x940C
-00231 #define SL_OPCODE_SOCKET_SENDTO                                         0x940D
-00232 #define SL_OPCODE_SOCKET_SENDTO_V6                                      0x960D
-00233 #define SL_OPCODE_SOCKET_TXFAILEDASYNCRESPONSE                          0x100E
-00234 #define SL_OPCODE_SOCKET_SOCKETASYNCEVENT                               0x100F
-00235 #define SL_OPCODE_NETAPP_START_COMMAND                                  0x9C0A
-00236 #define SL_OPCODE_NETAPP_START_RESPONSE                                 0x1C0A
-00237 #define SL_OPCODE_NETAPP_NETAPPSTARTRESPONSE                            0x1C0A
-00238 #define SL_OPCODE_NETAPP_STOP_COMMAND                                   0x9C61
-00239 #define SL_OPCODE_NETAPP_STOP_RESPONSE                                  0x1C61
-00240 #define SL_OPCODE_NETAPP_NETAPPSET                                      0x9C0B
-00241 #define SL_OPCODE_NETAPP_NETAPPSETRESPONSE                              0x1C0B
-00242 #define SL_OPCODE_NETAPP_NETAPPGET                                      0x9C27
-00243 #define SL_OPCODE_NETAPP_NETAPPGETRESPONSE                              0x1C27
-00244 #define SL_OPCODE_NETAPP_DNSGETHOSTBYNAME                               0x9C20
-00245 #define SL_OPCODE_NETAPP_DNSGETHOSTBYNAMERESPONSE                       0x1C20
-00246 #define SL_OPCODE_NETAPP_DNSGETHOSTBYNAMEASYNCRESPONSE                  0x1820
-00247 #define SL_OPCODE_NETAPP_DNSGETHOSTBYNAMEASYNCRESPONSE_V6               0x1A20
-00248 #define SL_OPCODE_NETAPP_NETAPP_MDNS_LOOKUP_SERVICE                     0x9C71
-00249 #define SL_OPCODE_NETAPP_NETAPP_MDNS_LOOKUP_SERVICE_RESPONSE            0x1C72
-00250 #define SL_OPCODE_NETAPP_MDNSREGISTERSERVICE                            0x9C34
-00251 #define SL_OPCODE_NETAPP_MDNSREGISTERSERVICERESPONSE                    0x1C34
-00252 #define SL_OPCODE_NETAPP_MDNSGETHOSTBYSERVICE                           0x9C35
-00253 #define SL_OPCODE_NETAPP_MDNSGETHOSTBYSERVICERESPONSE                   0x1C35
-00254 #define SL_OPCODE_NETAPP_MDNSGETHOSTBYSERVICEASYNCRESPONSE              0x1835
-00255 #define SL_OPCODE_NETAPP_MDNSGETHOSTBYSERVICEASYNCRESPONSE_V6           0x1A35
-00256 #define SL_OPCODE_NETAPP_DNSGETHOSTBYADDR                               0x9C26
-00257 #define SL_OPCODE_NETAPP_DNSGETHOSTBYADDR_V6                            0x9E26
-00258 #define SL_OPCODE_NETAPP_DNSGETHOSTBYADDRRESPONSE                       0x1C26
-00259 #define SL_OPCODE_NETAPP_DNSGETHOSTBYADDRASYNCRESPONSE                  0x1826
-00260 #define SL_OPCODE_NETAPP_PINGSTART                                      0x9C21
-00261 #define SL_OPCODE_NETAPP_PINGSTART_V6                                   0x9E21
-00262 #define SL_OPCODE_NETAPP_PINGSTARTRESPONSE                              0x1C21
-00263 #define SL_OPCODE_NETAPP_PINGREPORTREQUEST                              0x9C22
-00264 #define SL_OPCODE_NETAPP_PINGREPORTREQUESTRESPONSE                      0x1822
-00265 #define SL_OPCODE_NETAPP_PINGSTOP                                       0x9C23
-00266 #define SL_OPCODE_NETAPP_PINGSTOPRESPONSE                               0x1C23
-00267 #define SL_OPCODE_NETAPP_ARPFLUSH                                       0x9C24
-00268 #define SL_OPCODE_NETAPP_ARPFLUSHRESPONSE                               0x1C24
-00269 #define SL_OPCODE_NETAPP_IPACQUIRED                                     0x1825
-00270 #define SL_OPCODE_NETAPP_IPACQUIRED_V6                                  0x1A25
-00271 #define SL_OPCODE_NETAPP_IPERFSTARTCOMMAND                              0x9C28
-00272 #define SL_OPCODE_NETAPP_IPERFSTARTRESPONSE                             0x1C28
-00273 #define SL_OPCODE_NETAPP_IPERFSTOPCOMMAND                               0x9C29
-00274 #define SL_OPCODE_NETAPP_IPERFSTOPRESPONSE                              0x1C29
-00275 #define SL_OPCODE_NETAPP_CTESTSTARTCOMMAND                              0x9C2A
-00276 #define SL_OPCODE_NETAPP_CTESTSTARTRESPONSE                             0x1C2A
-00277 #define SL_OPCODE_NETAPP_CTESTASYNCRESPONSE                             0x182A
-00278 #define SL_OPCODE_NETAPP_CTESTSTOPCOMMAND                               0x9C2B
-00279 #define SL_OPCODE_NETAPP_CTESTSTOPRESPONSE                              0x1C2B
-00280 #define SL_OPCODE_NETAPP_IP_LEASED                                      0x182C
-00281 #define SL_OPCODE_NETAPP_IP_RELEASED                                    0x182D
-00282 #define SL_OPCODE_NETAPP_HTTPGETTOKENVALUE                              0x182E
-00283 #define SL_OPCODE_NETAPP_HTTPSENDTOKENVALUE                             0x9C2F
-00284 #define SL_OPCODE_NETAPP_HTTPPOSTTOKENVALUE                             0x1830
-00285 #define SL_OPCODE_NVMEM_FILEOPEN                                        0xA43C
-00286 #define SL_OPCODE_NVMEM_FILEOPENRESPONSE                                0x243C
-00287 #define SL_OPCODE_NVMEM_FILECLOSE                                       0xA43D
-00288 #define SL_OPCODE_NVMEM_FILECLOSERESPONSE                               0x243D
-00289 #define SL_OPCODE_NVMEM_FILEREADCOMMAND                                 0xA440
-00290 #define SL_OPCODE_NVMEM_FILEREADRESPONSE                                0x2440
-00291 #define SL_OPCODE_NVMEM_FILEWRITECOMMAND                                0xA441
-00292 #define SL_OPCODE_NVMEM_FILEWRITERESPONSE                               0x2441
-00293 #define SL_OPCODE_NVMEM_FILEGETINFOCOMMAND                              0xA442
-00294 #define SL_OPCODE_NVMEM_FILEGETINFORESPONSE                             0x2442
-00295 #define SL_OPCODE_NVMEM_FILEDELCOMMAND                                  0xA443
-00296 #define SL_OPCODE_NVMEM_FILEDELRESPONSE                                 0x2443
-00297 #define SL_OPCODE_NVMEM_NVMEMFORMATCOMMAND                              0xA444
-00298 #define SL_OPCODE_NVMEM_NVMEMFORMATRESPONSE                             0x2444
-00299 
-00300 #define SL_OPCODE_DEVICE_SETDEBUGLEVELCOMMAND                           0x846A
-00301 #define SL_OPCODE_DEVICE_SETDEBUGLEVELRESPONSE                          0x046A
-00302 
-00303 #define SL_OPCODE_DEVICE_NETCFG_SET_COMMAND                             0x8432
-00304 #define SL_OPCODE_DEVICE_NETCFG_SET_RESPONSE                            0x0432
-00305 #define SL_OPCODE_DEVICE_NETCFG_GET_COMMAND                             0x8433
-00306 #define SL_OPCODE_DEVICE_NETCFG_GET_RESPONSE                            0x0433
-00307 /*  */
-00308 #define SL_OPCODE_DEVICE_SETUARTMODECOMMAND                             0x846B
-00309 #define SL_OPCODE_DEVICE_SETUARTMODERESPONSE                            0x046B
-00310 #define SL_OPCODE_DEVICE_SSISIZESETCOMMAND                                  0x846B
-00311 #define SL_OPCODE_DEVICE_SSISIZESETRESPONSE                                 0x046B
-00312 
-00313 /*  */
-00314 #define SL_OPCODE_DEVICE_EVENTMASKSET                                   0x8464
-00315 #define SL_OPCODE_DEVICE_EVENTMASKSETRESPONSE                           0x0464
-00316 #define SL_OPCODE_DEVICE_EVENTMASKGET                                   0x8465
-00317 #define SL_OPCODE_DEVICE_EVENTMASKGETRESPONSE                           0x0465
-00318 
-00319 #define SL_OPCODE_DEVICE_DEVICEGET                                      0x8466
-00320 #define SL_OPCODE_DEVICE_DEVICEGETRESPONSE                              0x0466
-00321 #define SL_OPCODE_DEVICE_DEVICESET                                                                              0x84B7
-00322 #define SL_OPCODE_DEVICE_DEVICESETRESPONSE                                                              0x04B7
-00323 
-00324 #define SL_OPCODE_WLAN_SCANRESULTSGETCOMMAND                            0x8C8C
-00325 #define SL_OPCODE_WLAN_SCANRESULTSGETRESPONSE                           0x0C8C
-00326 #define SL_OPCODE_WLAN_SMARTCONFIGOPTSET                                0x8C8D
-00327 #define SL_OPCODE_WLAN_SMARTCONFIGOPTSETRESPONSE                        0x0C8D
-00328 #define SL_OPCODE_WLAN_SMARTCONFIGOPTGET                                0x8C8E
-00329 #define SL_OPCODE_WLAN_SMARTCONFIGOPTGETRESPONSE                        0x0C8E
-00330 
-00331 #define SL_OPCODE_FREE_BSD_RECV_BUFFER                                  0xCCCB
-00332 #define SL_OPCODE_FREE_NON_BSD_READ_BUFFER                              0xCCCD
-00333 
-00334 
-00335 /* Rx Filters opcodes */
-00336 #define SL_OPCODE_WLAN_WLANRXFILTERADDCOMMAND                           0x8C6C
-00337 #define SL_OPCODE_WLAN_WLANRXFILTERADDRESPONSE                          0x0C6C
-00338 #define SL_OPCODE_WLAN_WLANRXFILTERSETCOMMAND                           0x8C6D
-00339 #define SL_OPCODE_WLAN_WLANRXFILTERSETRESPONSE                          0x0C6D
-00340 #define SL_OPCODE_WLAN_WLANRXFILTERGETSTATISTICSINFOCOMMAND             0x8C6E
-00341 #define SL_OPCODE_WLAN_WLANRXFILTERGETSTATISTICSINFORESPONSE            0x0C6E
-00342 #define SL_OPCODE_WLAN_WLANRXFILTERGETCOMMAND                           0x8C6F
-00343 #define SL_OPCODE_WLAN_WLANRXFILTERGETRESPONSE                          0x0C6F
-00344 #define SL_OPCODE_WLAN_WLANRXFILTERGETINFO                              0x8C70
-00345 #define SL_OPCODE_WLAN_WLANRXFILTERGETINFORESPONSE                      0x0C70
-00346 
-00347 
-00348 /******************************************************************************************/
-00349 /*   Device structs  */
-00350 /******************************************************************************************/
-00351 typedef UINT32 InitStatus_t;
-00352 
-00353 
-00354 typedef struct
-00355 {
-00356     INT32 Status;
-00357 }InitComplete_t;
-00358 
-00359 typedef struct
-00360 {
-00361   INT16 status;
-00362   UINT16 padding;
-00363 
-00364 }_BasicResponse_t;
-00365 
-00366 typedef struct
-00367 {
-00368   UINT16 Timeout;
-00369   UINT16 padding;
-00370 }_DevStopCommand_t;
-00371 
-00372 typedef struct
-00373 {
-00374   UINT32 group;
-00375   UINT32 mask;
-00376 }_DevMaskEventSetCommand_t;
-00377 
-00378 typedef _BasicResponse_t _DevMaskEventSetResponse_t;
-00379 
-00380 
-00381 typedef struct
-00382 {
-00383   UINT32 group;
-00384 }_DevMaskEventGetCommand_t;
-00385 
-00386 
-00387 typedef struct
-00388 {
-00389   UINT32 group;
-00390   UINT32 mask;
-00391 }_DevMaskEventGetResponse_t;
-00392 
-00393 
-00394 typedef struct
-00395 {
-00396   UINT32 group;
-00397 }_DevStatusGetCommand_t;
-00398 
-00399 
-00400 typedef struct
-00401 {
-00402   UINT32 group;
-00403   UINT32 status;
-00404 }_DevStatusGetResponse_t;
-00405 
-00406 typedef struct
-00407 {
-00408     UINT32  ChipId;
-00409     UINT32  FwVersion[4];
-00410     UINT8   PhyVersion[4];
-00411 }_Device_VersionReadResponsePart_t;
-00412 
-00413 typedef struct
-00414 {
-00415     _Device_VersionReadResponsePart_t part;
-00416     UINT32                            NwpVersion[4];
-00417     UINT16                            RomVersion;
-00418     UINT16                            Padding;
-00419 }_Device_VersionReadResponseFull_t;
-00420 
-00421 
-00422 typedef struct
-00423 {
-00424         UINT32 BaudRate;
-00425         UINT8  FlowControlEnable;
-00426 }_DevUartSetModeCommand_t;
-00427 
-00428 typedef _BasicResponse_t _DevUartSetModeResponse_t;
-00429 
-00430 /******************************************************/
-00431 
-00432 typedef struct
-00433 {
-00434     UINT8 SsiSizeInBytes;
-00435     UINT8 Padding[3];
-00436 }_StellarisSsiSizeSet_t;
-00437 
-00438 /*****************************************************************************************/
-00439 /*   WLAN structs */
-00440 /*****************************************************************************************/
-00441 #define MAXIMAL_PASSWORD_LENGTH                                 (64)
-00442 
-00443 typedef struct{
-00444         UINT8   SecType;
-00445         UINT8   SsidLen;
-00446     UINT8       Bssid[6];
-00447         UINT8   PasswordLen;
-00448 }_WlanConnectCommon_t;
-00449 
-00450 #define SSID_STRING(pCmd)       (char *)((_WlanConnectCommon_t *)(pCmd) + 1)
-00451 #define PASSWORD_STRING(pCmd)   (SSID_STRING(pCmd) + ((_WlanConnectCommon_t *)(pCmd))->SsidLen)
-00452 
-00453 typedef struct{
-00454         _WlanConnectCommon_t            Common;
-00455         UINT8                                                   UserLen;
-00456         UINT8                                                   AnonUserLen;
-00457     UINT8                                               CertIndex;
-00458     UINT32                                              EapBitmask;
-00459 }_WlanConnectEapCommand_t;
-00460 
-00461 #define EAP_SSID_STRING(pCmd)       (char *)((_WlanConnectEapCommand_t *)(pCmd) + 1)
-00462 #define EAP_PASSWORD_STRING(pCmd)   (EAP_SSID_STRING(pCmd) + ((_WlanConnectEapCommand_t *)(pCmd))->Common.SsidLen)
-00463 #define EAP_USER_STRING(pCmd)       (EAP_PASSWORD_STRING(pCmd) + ((_WlanConnectEapCommand_t *)(pCmd))->Common.PasswordLen)
-00464 #define EAP_ANON_USER_STRING(pCmd)  (EAP_USER_STRING(pCmd) + ((_WlanConnectEapCommand_t *)(pCmd))->UserLen)
-00465 
-00466 
-00467 typedef struct
-00468 {
-00469     UINT8       PolicyType;
-00470     UINT8       Padding;
-00471     UINT8       PolicyOption;
-00472     UINT8       PolicyOptionLen;
-00473 }_WlanPoliciySetGet_t;
-00474 
-00475 
-00476 typedef struct{
-00477         UINT32  minDwellTime;
-00478         UINT32  maxDwellTime;
-00479         UINT32  numProbeResponse;
-00480         UINT32  G_Channels_mask;
-00481         INT32   rssiThershold;
-00482         INT32   snrThershold;
-00483         INT32   defaultTXPower;
-00484         UINT16  intervalList[16];
-00485 }_WlanScanParamSetCommand_t;
-00486 
-00487 
-00488 typedef struct{
-00489         INT8    SecType;
-00490         UINT8   SsidLen;
-00491         UINT8   Priority;
-00492         UINT8   Bssid[6];
-00493     UINT8   PasswordLen;
-00494     UINT8   WepKeyId;
-00495 }_WlanAddGetProfile_t;
-00496 
-00497 
-00498 typedef struct{
-00499        _WlanAddGetProfile_t              Common;
-00500        UINT8                             UserLen;
-00501        UINT8                             AnonUserLen;
-00502        UINT8                             CertIndex;
-00503        UINT16                            padding;
-00504        UINT32                            EapBitmask;
-00505 }_WlanAddGetEapProfile_t;
-00506 
-00507 
-00508 
-00509 
-00510 #define PROFILE_SSID_STRING(pCmd)       ((char *)((_WlanAddGetProfile_t *)(pCmd) + 1))
-00511 #define PROFILE_PASSWORD_STRING(pCmd)   (PROFILE_SSID_STRING(pCmd) + ((_WlanAddGetProfile_t *)(pCmd))->SsidLen)
-00512 
-00513 #define EAP_PROFILE_SSID_STRING(pCmd)       (char *)((_WlanAddGetEapProfile_t *)(pCmd) + 1)
-00514 #define EAP_PROFILE_PASSWORD_STRING(pCmd)   (EAP_PROFILE_SSID_STRING(pCmd) + ((_WlanAddGetEapProfile_t *)(pCmd))->Common.SsidLen)
-00515 #define EAP_PROFILE_USER_STRING(pCmd)       (EAP_PROFILE_PASSWORD_STRING(pCmd) + ((_WlanAddGetEapProfile_t *)(pCmd))->Common.PasswordLen)
-00516 #define EAP_PROFILE_ANON_USER_STRING(pCmd)  (EAP_PROFILE_USER_STRING(pCmd) + ((_WlanAddGetEapProfile_t *)(pCmd))->UserLen)
-00517 
-00518 
-00519 
-00520 typedef struct
-00521 {
-00522         UINT8   index;
-00523         UINT8   padding[3];
-00524 }_WlanProfileDelGetCommand_t;
-00525 
-00526 typedef _BasicResponse_t _WlanGetNetworkListResponse_t;
-00527 
-00528 typedef struct
-00529 {
-00530         UINT8   index;
-00531         UINT8   count;
-00532         char    padding[2];
-00533 }_WlanGetNetworkListCommand_t;
-00534 
-00535 
-00536 
-00537 
-00538 typedef struct
-00539 {
-00540     UINT32                                              groupIdBitmask;
-00541     UINT8                           cipher;
-00542     UINT8                           publicKeyLen;
-00543     UINT8                           group1KeyLen;
-00544     UINT8                           group2KeyLen;
-00545 }_WlanSmartConfigStartCommand_t;
-00546 
-00547 #define SMART_CONFIG_START_PUBLIC_KEY_STRING(pCmd)       ((char *)((_WlanSmartConfigStartCommand_t *)(pCmd) + 1))
-00548 #define SMART_CONFIG_START_GROUP1_KEY_STRING(pCmd)       ((char *) (SMART_CONFIG_START_PUBLIC_KEY_STRING(pCmd) + ((_WlanSmartConfigStartCommand_t *)(pCmd))->publicKeyLen))
-00549 #define SMART_CONFIG_START_GROUP2_KEY_STRING(pCmd)       ((char *) (SMART_CONFIG_START_GROUP1_KEY_STRING(pCmd) + ((_WlanSmartConfigStartCommand_t *)(pCmd))->group1KeyLen))
-00550 
-00551 
-00552 
-00553 typedef struct
-00554 {
-00555         UINT8   mode;
-00556     UINT8   padding[3];
-00557 }_WlanSetMode_t;
-00558 
-00559 
-00560 
-00561 
-00562 typedef struct
-00563 {
-00564     UINT16  Status;
-00565     UINT16  ConfigId;
-00566     UINT16  ConfigOpt;
-00567     UINT16  ConfigLen;
-00568 }_WlanCfgSetGet_t;
-00569 
-00570 
-00571 /* ******************************************************************************/
-00572 /*     RX filters - Start  */
-00573 /* ******************************************************************************/
-00574 /*  -- 80 bytes */
-00575 typedef struct _WlanRxFilterAddCommand_t
-00576 {
-00577         /*  -- 1 byte */
-00578         SlrxFilterRuleType_t RuleType;
-00579         /*  -- 1 byte */
-00580         SlrxFilterFlags_t FilterFlags;
-00581         /*  --  1 byte */
-00582         SlrxFilterID_t FilterId;
-00583         /*  --  1 byte */
-00584         UINT8 Padding;
-00585         /*  -- 56 byte */
-00586         SlrxFilterRule_t Rule;
-00587         /*  --  12 byte ( 3 padding ) */
-00588         SlrxFilterTrigger_t Trigger;
-00589         /*  --  8 byte */
-00590         SlrxFilterAction_t Action;
-00591 }_WlanRxFilterAddCommand_t;
-00592 
-00593 
-00594 
-00595 /* -- 4 bytes */
-00596 typedef struct l_WlanRxFilterAddCommandReponse_t
-00597 {
-00598         /*  -- 1 byte */
-00599         SlrxFilterID_t FilterId;
-00600         /* -- 1 Byte */
-00601         UINT8          Status;
-00602         /*  -- 2 byte */
-00603         UINT8  Padding[2];
-00604 
-00605 }_WlanRxFilterAddCommandReponse_t;
-00606 
-00607 
-00608 
-00609 /*
-00610  * \struct _WlanRxFilterSetCommand_t
-00611  */
-00612 typedef struct _WlanRxFilterSetCommand_t
-00613 {
-00614         UINT16 InputBufferLength;
-00615         /* 1 byte */
-00616         SLrxFilterOperation_t RxFilterOperation;
-00617         unsigned char Padding[1];
-00618 }_WlanRxFilterSetCommand_t;
-00619 
-00623 typedef struct _WlanRxFilterSetCommandReponse_t
-00624 {
-00625         /* 1 byte */
-00626         UINT8  Status;
-00627         /* 3 bytes  */
-00628         unsigned char Padding[3];
-00629 
-00630 }_WlanRxFilterSetCommandReponse_t;
-00631 
-00635 typedef struct _WlanRxFilterGetCommand_t
-00636 {
-00637         UINT16 OutputBufferLength;
-00638         /* 1 byte  */
-00639         SLrxFilterOperation_t RxFilterOperation;
-00640         unsigned char Padding[1];
-00641 }_WlanRxFilterGetCommand_t;
-00642 
-00646 typedef struct _WlanRxFilterGetCommandReponse_t
-00647 {
-00648         /* 1 byte  */
-00649         UINT8  Status;
-00650         /* 1 bytes  */
-00651         unsigned char Padding;
-00652         /* 2 byte  */
-00653         UINT16 OutputBufferLength;
-00654 
-00655 }_WlanRxFilterGetCommandReponse_t;
-00656 
-00657 
-00658 
-00659 /* ******************************************************************************/
-00660 /*     RX filters -- End  */
-00661 /* ******************************************************************************/
-00662 
-00663 typedef struct
-00664 {
-00665     UINT16 status;
-00666     UINT8  WlanRole;     /* 0 = station, 2 = AP */
-00667     UINT8  Ipv6Enabled;
-00668     UINT8  Ipv6DhcpEnabled;
-00669 
-00670     UINT32 ipV6Global[4];
-00671     UINT32 ipV6Local[4];
-00672     UINT32 ipV6DnsServer[4];
-00673     UINT8  Ipv6DhcpState;
-00674 
-00675 }_NetappIpV6configRetArgs_t;
-00676 
-00677 
-00678 typedef struct
-00679 {
-00680     UINT8  ipV4[4];
-00681     UINT8  ipV4Mask[4];
-00682     UINT8  ipV4Gateway[4];
-00683     UINT8  ipV4DnsServer[4];
-00684         UINT8  ipV4Start[4];
-00685         UINT8  ipV4End[4];
-00686 }_NetCfgIpV4AP_Args_t;
-00687 
-00688 
-00689 
-00690 typedef struct
-00691 {
-00692   UINT16 status;
-00693   UINT8  MacAddr[6];
-00694 } _MAC_Address_SetGet_t;
-00695 
-00696 
-00697 typedef struct
-00698 {
-00699     UINT16  Status;
-00700     UINT16      ConfigId;
-00701         UINT16  ConfigOpt;
-00702     UINT16      ConfigLen;
-00703 }_NetCfgSetGet_t;
-00704 
-00705 typedef struct
-00706 {
-00707         UINT16  Status;
-00708         UINT16  DeviceSetId;
-00709         UINT16  Option;
-00710         UINT16  ConfigLen;
-00711 }_DeviceSetGet_t;
-00712 
-00713 
-00714 
-00715 
-00716 /******************************************************************************************/
-00717 /*   Socket structs  */
-00718 /******************************************************************************************/
-00719 
-00720 typedef struct
-00721 {
-00722   UINT8 Domain;
-00723   UINT8 Type;
-00724   UINT8 Protocol;
-00725   UINT8 Padding;
-00726 }_SocketCommand_t;
-00727 
-00728 
-00729 typedef struct
-00730 {
-00731   INT16 statusOrLen;
-00732   UINT8  sd;
-00733   UINT8  padding;
-00734 }_SocketResponse_t;
-00735 
-00736 typedef struct
-00737 {
-00738   UINT8 sd;
-00739   UINT8 family;
-00740   UINT8 padding1;
-00741   UINT8 padding2;
-00742 }_AcceptCommand_t;
-00743 
-00744 
-00745 typedef struct
-00746 {
-00747   INT16 statusOrLen;
-00748   UINT8 sd;
-00749   UINT8 family;
-00750   UINT16 port;
-00751   UINT16 paddingOrAddr;
-00752   UINT32 address;
-00753 }_SocketAddrAsyncIPv4Response_t;
-00754 
-00755 typedef struct
-00756 {
-00757   INT16 statusOrLen;
-00758   UINT8 sd;
-00759   UINT8 family;
-00760   UINT16 port;
-00761   UINT8 address[6];
-00762 }_SocketAddrAsyncIPv6EUI48Response_t;
-00763 typedef struct
-00764 {
-00765   INT16 statusOrLen;
-00766   UINT8 sd;
-00767   UINT8 family;
-00768   UINT16 port;
-00769   UINT16 paddingOrAddr;
-00770   UINT32 address[4];
-00771 }_SocketAddrAsyncIPv6Response_t;
-00772 
-00773 
-00774 typedef struct
-00775 {
-00776   INT16 lenOrPadding;
-00777   UINT8 sd;
-00778   UINT8 FamilyAndFlags;
-00779   UINT16 port;
-00780   UINT16 paddingOrAddr;
-00781   UINT32 address;
-00782 }_SocketAddrIPv4Command_t;
-00783 
-00784 typedef struct
-00785 {
-00786   INT16 lenOrPadding;
-00787   UINT8 sd;
-00788   UINT8 FamilyAndFlags;
-00789   UINT16 port;
-00790   UINT8 address[6];
-00791 }_SocketAddrIPv6EUI48Command_t;
-00792 typedef struct
-00793 {
-00794   INT16 lenOrPadding;
-00795   UINT8 sd;
-00796   UINT8 FamilyAndFlags;
-00797   UINT16 port;
-00798   UINT16 paddingOrAddr;
-00799   UINT32 address[4];
-00800 }_SocketAddrIPv6Command_t;
-00801 
-00802 typedef union {
-00803     _SocketAddrIPv4Command_t IpV4;
-00804     _SocketAddrIPv6EUI48Command_t IpV6EUI48;
-00805 #ifdef SL_SUPPORT_IPV6
-00806     _SocketAddrIPv6Command_t IpV6;
-00807 #endif
-00808 } _SocketAddrCommand_u;
-00809 
-00810 typedef union {
-00811     _SocketAddrAsyncIPv4Response_t IpV4;
-00812     _SocketAddrAsyncIPv6EUI48Response_t IpV6EUI48;
-00813 #ifdef SL_SUPPORT_IPV6
-00814     _SocketAddrAsyncIPv6Response_t IpV6;
-00815 #endif
-00816 } _SocketAddrResponse_u;
-00817 
-00818 typedef struct
-00819 {
-00820   UINT8 sd;
-00821   UINT8 backlog;
-00822   UINT8 padding1;
-00823   UINT8 padding2;
-00824 }_ListenCommand_t;
-00825 
-00826 typedef struct
-00827 {
-00828   UINT8 sd;
-00829   UINT8 padding0;
-00830   UINT8 padding1;
-00831   UINT8 padding2;
-00832 }_CloseCommand_t;
-00833 
-00834 
-00835 typedef struct
-00836 {
-00837   UINT8 nfds;
-00838   UINT8 readFdsCount;
-00839   UINT8 writeFdsCount;
-00840   UINT8 padding;
-00841   UINT16 readFds;
-00842   UINT16 writeFds;
-00843   UINT16 tv_usec;
-00844   UINT16 tv_sec;
-00845 }_SelectCommand_t;
-00846 
-00847 
-00848 typedef struct
-00849 {
-00850   UINT16 status;
-00851   UINT8 readFdsCount;
-00852   UINT8 writeFdsCount;
-00853   UINT16 readFds;
-00854   UINT16 writeFds;
-00855 }_SelectAsyncResponse_t;
-00856 
-00857 typedef struct
-00858 {
-00859   UINT8 sd;
-00860   UINT8 level;
-00861   UINT8 optionName;
-00862   UINT8 optionLen;
-00863 }_setSockOptCommand_t;
-00864 
-00865 typedef struct
-00866 {
-00867   UINT8 sd;
-00868   UINT8 level;
-00869   UINT8 optionName;
-00870   UINT8 optionLen;
-00871 }_getSockOptCommand_t;
-00872 
-00873 typedef struct
-00874 {
-00875   INT16 status;
-00876   UINT8 sd;
-00877   UINT8 optionLen;
-00878 }_getSockOptResponse_t;
-00879 
-00880 
-00881 typedef struct
-00882 {
-00883   UINT16 StatusOrLen;
-00884   UINT8  sd;
-00885   UINT8 FamilyAndFlags;
-00886 }_sendRecvCommand_t;
-00887 
-00888 /*****************************************************************************************
-00889 *   NETAPP structs
-00890 ******************************************************************************************/
-00891 
-00892 
-00893 typedef _BasicResponse_t _NetAppStartStopResponse_t;
-00894 
-00895 typedef struct
-00896 {
-00897     UINT32  appId;
-00898 }_NetAppStartStopCommand_t;
-00899 
-00900 typedef struct
-00901 {
-00902     UINT16  Status;
-00903     UINT16      AppId;
-00904     UINT16      ConfigOpt;
-00905     UINT16      ConfigLen;
-00906 }_NetAppSetGet_t;
-00907 typedef struct
-00908 {
-00909     UINT16  port_number;
-00910 } _NetAppHttpServerGetSet_port_num_t;
-00911 
-00912 typedef struct
-00913 {
-00914     UINT8  auth_enable;
-00915 }_NetAppHttpServerGetSet_auth_enable_t;
-00916 
-00917 typedef struct _sl_NetAppHttpServerGetToken_t
-00918 {
-00919         UINT8   token_name_len;
-00920         UINT8   padd1;
-00921         UINT16  padd2;
-00922 }sl_NetAppHttpServerGetToken_t;
-00923 
-00924 typedef struct _sl_NetAppHttpServerSendToken_t
-00925 {
-00926         UINT8   token_value_len;
-00927         UINT8   token_name_len;
-00928         UINT8   token_name[MAX_TOKEN_NAME_LEN];
-00929         UINT16  padd;
-00930 }sl_NetAppHttpServerSendToken_t;
-00931 
-00932 typedef struct _sl_NetAppHttpServerPostToken_t
-00933 {
-00934         UINT8 post_action_len;
-00935         UINT8 token_name_len;
-00936         UINT8 token_value_len;
-00937         UINT8 padding;
-00938 }sl_NetAppHttpServerPostToken_t;
-00939 
-00940 
-00941 typedef struct
-00942 {
-00943   UINT16 Len;
-00944   UINT8  family;
-00945   UINT8  padding;
-00946 }_GetHostByNameCommand_t;
-00947 
-00948 typedef struct
-00949 {
-00950   UINT16 status;
-00951   UINT16 padding;
-00952   UINT32 ip0;
-00953   UINT32 ip1;
-00954   UINT32 ip2;
-00955   UINT32 ip3;
-00956 }_GetHostByNameIPv6AsyncResponse_t;
-00957 
-00958 typedef struct
-00959 {
-00960   UINT16 status;
-00961   UINT8  padding1;
-00962   UINT8  padding2;
-00963   UINT32 ip0;
-00964 }_GetHostByNameIPv4AsyncResponse_t;
-00965 
-00966 
-00967 
-00968 
-00969 typedef enum
-00970 {
-00971     CTST_BSD_UDP_TX,
-00972     CTST_BSD_UDP_RX,
-00973     CTST_BSD_TCP_TX,
-00974     CTST_BSD_TCP_RX,
-00975     CTST_BSD_TCP_SERVER_BI_DIR,
-00976     CTST_BSD_TCP_CLIENT_BI_DIR,
-00977     CTST_BSD_UDP_BI_DIR,
-00978     CTST_BSD_RAW_TX,
-00979     CTST_BSD_RAW_RX,
-00980     CTST_BSD_RAW_BI_DIR,
-00981     CTST_BSD_SECURED_TCP_TX,
-00982     CTST_BSD_SECURED_TCP_RX,
-00983     CTST_BSD_SECURED_TCP_SERVER_BI_DIR,
-00984     CTST_BSD_SECURED_TCP_CLIENT_BI_DIR
-00985  }CommTest_e;
-00986 
-00987 typedef struct _sl_protocol_CtestStartCommand_t
-00988 {
-00989     UINT32 Test;
-00990     UINT16 DestPort;
-00991     UINT16 SrcPort;
-00992     UINT32 DestAddr[4];
-00993     UINT32 PayloadSize;
-00994     UINT32 timeout;
-00995     UINT32 csEnabled;
-00996     UINT32 secure;
-00997     UINT32 rawProtocol;
-00998     UINT8  reserved1[4];
-00999 }_CtestStartCommand_t;
-01000 
-01001 typedef struct
-01002 {
-01003   UINT8  test;
-01004   UINT8  socket;
-01005   INT16  status;
-01006   UINT32 startTime;
-01007   UINT32 endTime;
-01008   UINT16 txKbitsSec;
-01009   UINT16 rxKbitsSec;
-01010   UINT32 outOfOrderPackets;
-01011   UINT32 missedPackets;
-01012 }_CtestAsyncResponse_t;
-01013 
-01014 typedef struct
-01015 {
-01016     UINT32 pingIntervalTime;
-01017     UINT16 PingSize;
-01018     UINT16 pingRequestTimeout;
-01019     UINT32 totalNumberOfAttempts;
-01020     UINT32 flags;
-01021     UINT32 ip0;
-01022     UINT32 ip1OrPaadding;
-01023     UINT32 ip2OrPaadding;
-01024     UINT32 ip3OrPaadding;
-01025 }_PingStartCommand_t;
-01026 
-01027 typedef struct
-01028 {
-01029     UINT16 status;
-01030     UINT16 rttMin;
-01031     UINT16 rttMax;
-01032     UINT16 rttAvg;
-01033     UINT32 numSuccsessPings;
-01034     UINT32 numSendsPings;
-01035     UINT32 testTime;
-01036 }_PingReportResponse_t;
-01037 
-01038 
-01039 typedef struct
-01040 {
-01041     UINT32 ip;
-01042     UINT32 gateway;
-01043     UINT32 dns;
-01044 }_IpV4AcquiredAsync_t;
-01045 
-01046 
-01047 typedef enum
-01048 {
-01049   ACQUIRED_IPV6_LOCAL = 1,
-01050   ACQUIRED_IPV6_GLOBAL
-01051 }IpV6AcquiredType_e;
-01052 
-01053 
-01054 typedef struct
-01055 {
-01056     UINT32 type;
-01057     UINT32 ip[4];
-01058     UINT32 gateway[4];
-01059     UINT32 dns[4];
-01060 }_IpV6AcquiredAsync_t;
-01061 
-01062 
-01063 typedef union
-01064 {
-01065     _SocketCommand_t     EventMask;
-01066     _sendRecvCommand_t   DeviceInit;
-01067 }_device_commands_t;
-01068 
-01069 /*****************************************************************************************
-01070 *   FS structs
-01071 ******************************************************************************************/
-01072 
-01073 typedef struct
-01074 {
-01075     UINT32 FileHandle;
-01076     UINT32 Offset;
-01077     UINT16 Len;  
-01078     UINT16 Padding;  
-01079 }_FsReadCommand_t;
-01080 
-01081 typedef struct
-01082 {
-01083   UINT32 Mode;
-01084   UINT32 Token;
-01085 }_FsOpenCommand_t;
-01086 
-01087 typedef struct 
-01088 {
-01089   UINT32 FileHandle;
-01090   UINT32 Token;
-01091 }_FsOpenResponse_t;
-01092 
-01093 
-01094 typedef struct
-01095 {
-01096   UINT32 FileHandle;
-01097   UINT32 CertificFileNameLength;
-01098   UINT32 SignatureLen;
-01099 }_FsCloseCommand_t;
-01100 
-01101 
-01102 typedef _BasicResponse_t _FsReadResponse_t;
-01103 typedef _BasicResponse_t _FsDeleteResponse_t;
-01104 typedef _BasicResponse_t _FsCloseResponse_t;
-01105 
-01106 typedef struct
-01107 {
-01108     UINT16 Status;
-01109     UINT16 flags;
-01110     UINT32 FileLen;
-01111     UINT32 AllocatedLen;
-01112     UINT32 Token[4];
-01113 }_FsGetInfoResponse_t;
-01114 
-01115 typedef struct
-01116 {
-01117     UINT8 DeviceID;
-01118     UINT8 Padding[3];
-01119 }_FsFormatCommand_t;
-01120 
-01121 typedef _BasicResponse_t _FsFormatResponse_t;
-01122 
-01123 typedef struct
-01124 {
-01125     UINT32 Token;
-01126 }_FsDeleteCommand_t;
-01127 
-01128 typedef   _FsDeleteCommand_t  _FsGetInfoCommand_t;
-01129 
-01130 typedef struct
-01131 {
-01132     UINT32 FileHandle;
-01133     UINT32 Offset;
-01134     UINT16 Len;
-01135     UINT16 Padding;
-01136 }_FsWriteCommand_t;
-01137 
-01138 typedef _BasicResponse_t _FsWriteResponse_t;
-01139 
-01140 
-01141 
-01142 /*  Set Max Async Payload length depending on flavor (Tiny, Small, etc.)  */
-01143 #define SL_ASYNC_MAX_PAYLOAD_LEN        160  /* size must be aligned to 4  */
-01144 #define SL_ASYNC_MAX_MSG_LEN            (_SL_RESP_HDR_SIZE + SL_ASYNC_MAX_PAYLOAD_LEN)
-01145 
-01146 #define RECV_ARGS_SIZE                  (sizeof(_SocketResponse_t))
-01147 #define RECVFROM_IPV4_ARGS_SIZE         (sizeof(_SocketAddrAsyncIPv4Response_t))
-01148 #define RECVFROM_IPV6_ARGS_SIZE         (sizeof(_SocketAddrAsyncIPv6Response_t))
-01149 
-01150 #define SL_IPV4_ADDRESS_SIZE                    (sizeof(UINT32))
-01151 #define SL_IPV6_ADDRESS_SIZE                    (4 * sizeof(UINT32))
-01152 
-01153 #endif /*  _SL_PROTOCOL_TYPES_H_  */
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/resize.js b/docs/simplelink_api/html/resize.js index 304fcb6..125e302 100644 --- a/docs/simplelink_api/html/resize.js +++ b/docs/simplelink_api/html/resize.js @@ -1,97 +1,93 @@ -var cookie_namespace = 'doxygen'; -var sidenav,navtree,content,header; - -function readCookie(cookie) -{ - var myCookie = cookie_namespace+"_"+cookie+"="; - if (document.cookie) - { - var index = document.cookie.indexOf(myCookie); - if (index != -1) - { - var valStart = index + myCookie.length; - var valEnd = document.cookie.indexOf(";", valStart); - if (valEnd == -1) - { - valEnd = document.cookie.length; - } - var val = document.cookie.substring(valStart, valEnd); - return val; - } - } - return 0; -} - -function writeCookie(cookie, val, expiration) -{ - if (val==undefined) return; - if (expiration == null) - { - var date = new Date(); - date.setTime(date.getTime()+(10*365*24*60*60*1000)); // default expiration is one week - expiration = date.toGMTString(); - } - document.cookie = cookie_namespace + "_" + cookie + "=" + val + "; expires=" + expiration+"; path=/"; -} - -function resizeWidth() -{ - var windowWidth = $(window).width() + "px"; - var sidenavWidth = $(sidenav).outerWidth(); - content.css({marginLeft:parseInt(sidenavWidth)+"px"}); - writeCookie('width',sidenavWidth, null); -} - -function restoreWidth(navWidth) -{ - var windowWidth = $(window).width() + "px"; - content.css({marginLeft:parseInt(navWidth)+6+"px"}); - sidenav.css({width:navWidth + "px"}); -} - -function resizeHeight() -{ - var headerHeight = header.outerHeight(); - var footerHeight = footer.outerHeight(); - var windowHeight = $(window).height() - headerHeight - footerHeight; - content.css({height:windowHeight + "px"}); - navtree.css({height:windowHeight + "px"}); - sidenav.css({height:windowHeight + "px",top: headerHeight+"px"}); -} - -function initResizable() -{ - header = $("#top"); - sidenav = $("#side-nav"); - content = $("#doc-content"); - navtree = $("#nav-tree"); - footer = $("#nav-path"); - $(".side-nav-resizable").resizable({resize: function(e, ui) { resizeWidth(); } }); - $(window).resize(function() { resizeHeight(); }); - var width = readCookie('width'); - if (width) { restoreWidth(width); } else { resizeWidth(); } - resizeHeight(); - var url = location.href; - var i=url.indexOf("#"); - if (i>=0) window.location.hash=url.substr(i); - var _preventDefault = function(evt) { evt.preventDefault(); }; - $("#splitbar").bind("dragstart", _preventDefault).bind("selectstart", _preventDefault); - $(document).bind('touchmove',function(e){ - var device = navigator.userAgent.toLowerCase(); - var ios = device.match(/(iphone|ipod|ipad)/); - if (ios) { - try { - var target = e.target; - while (target) { - if ($(target).css('-webkit-overflow-scrolling')=='touch') return; - target = target.parentNode; - } - e.preventDefault(); - } catch(err) { - e.preventDefault(); - } - } - }); -} - - +var cookie_namespace = 'doxygen'; +var sidenav,navtree,content,header; + +function readCookie(cookie) +{ + var myCookie = cookie_namespace+"_"+cookie+"="; + if (document.cookie) + { + var index = document.cookie.indexOf(myCookie); + if (index != -1) + { + var valStart = index + myCookie.length; + var valEnd = document.cookie.indexOf(";", valStart); + if (valEnd == -1) + { + valEnd = document.cookie.length; + } + var val = document.cookie.substring(valStart, valEnd); + return val; + } + } + return 0; +} + +function writeCookie(cookie, val, expiration) +{ + if (val==undefined) return; + if (expiration == null) + { + var date = new Date(); + date.setTime(date.getTime()+(10*365*24*60*60*1000)); // default expiration is one week + expiration = date.toGMTString(); + } + document.cookie = cookie_namespace + "_" + cookie + "=" + val + "; expires=" + expiration+"; path=/"; +} + +function resizeWidth() +{ + var windowWidth = $(window).width() + "px"; + var sidenavWidth = $(sidenav).outerWidth(); + content.css({marginLeft:parseInt(sidenavWidth)+"px"}); + writeCookie('width',sidenavWidth, null); +} + +function restoreWidth(navWidth) +{ + var windowWidth = $(window).width() + "px"; + content.css({marginLeft:parseInt(navWidth)+6+"px"}); + sidenav.css({width:navWidth + "px"}); +} + +function resizeHeight() +{ + var headerHeight = header.outerHeight(); + var footerHeight = footer.outerHeight(); + var windowHeight = $(window).height() - headerHeight - footerHeight; + content.css({height:windowHeight + "px"}); + navtree.css({height:windowHeight + "px"}); + sidenav.css({height:windowHeight + "px",top: headerHeight+"px"}); +} + +function initResizable() +{ + header = $("#top"); + sidenav = $("#side-nav"); + content = $("#doc-content"); + navtree = $("#nav-tree"); + footer = $("#nav-path"); + $(".side-nav-resizable").resizable({resize: function(e, ui) { resizeWidth(); } }); + $(window).resize(function() { resizeHeight(); }); + var width = readCookie('width'); + if (width) { restoreWidth(width); } else { resizeWidth(); } + resizeHeight(); + var url = location.href; + var i=url.indexOf("#"); + if (i>=0) window.location.hash=url.substr(i); + var _preventDefault = function(evt) { evt.preventDefault(); }; + $("#splitbar").bind("dragstart", _preventDefault).bind("selectstart", _preventDefault); + $(document).bind('touchmove',function(e){ + try { + var target = e.target; + while (target) { + if ($(target).css('-webkit-overflow-scrolling')=='touch') return; + target = target.parentNode; + } + e.preventDefault(); + } catch(err) { + e.preventDefault(); + } + }); +} + + diff --git a/docs/simplelink_api/html/search/all_0.html b/docs/simplelink_api/html/search/all_0.html deleted file mode 100644 index 86e6c08..0000000 --- a/docs/simplelink_api/html/search/all_0.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/all_0.js b/docs/simplelink_api/html/search/all_0.js deleted file mode 100644 index 34a34bc..0000000 --- a/docs/simplelink_api/html/search/all_0.js +++ /dev/null @@ -1,16 +0,0 @@ -var searchData= -[ - ['_5fsldeviceeventdata_5fu',['_SlDeviceEventData_u',['../union___sl_device_event_data__u.html',1,'']]], - ['_5fslhttpserverdata_5ft',['_slHttpServerData_t',['../struct__sl_http_server_data__t.html',1,'']]], - ['_5fslhttpserverpostdata_5ft',['_slHttpServerPostData_t',['../struct__sl_http_server_post_data__t.html',1,'']]], - ['_5fslhttpserverstring_5ft',['_slHttpServerString_t',['../struct__sl_http_server_string__t.html',1,'']]], - ['_5fsllockobj_5ft',['_SlLockObj_t',['../group__configuration__os.html#ga8d2ec9002b5c79f7ff4078131bd2cf75',1,'user.h']]], - ['_5fslpartialversion',['_SlPartialVersion',['../struct___sl_partial_version.html',1,'']]], - ['_5fslsyncobj_5ft',['_SlSyncObj_t',['../group__configuration__os.html#gaf276f690a7bcfca16d38b279d1229472',1,'user.h']]], - ['_5fsltime_5ft',['_SlTime_t',['../group__configuration__os.html#ga2b59ba700928c882ee7e09cc2ca21ae0',1,'user.h']]], - ['_5fwlanrxfilteroperationcommandbuff_5ft',['_WlanRxFilterOperationCommandBuff_t',['../struct___wlan_rx_filter_operation_command_buff__t.html',1,'']]], - ['_5fwlanrxfilterprepreparedfilterscommandbuff_5ft',['_WlanRxFilterPrePreparedFiltersCommandBuff_t',['../struct___wlan_rx_filter_pre_prepared_filters_command_buff__t.html',1,'']]], - ['_5fwlanrxfilterprepreparedfilterscommandresponsebuff_5ft',['_WlanRxFilterPrePreparedFiltersCommandResponseBuff_t',['../struct___wlan_rx_filter_pre_prepared_filters_command_response_buff__t.html',1,'']]], - ['_5fwlanrxfilterretrieveenablestatuscommandresponsebuff_5ft',['_WlanRxFilterRetrieveEnableStatusCommandResponseBuff_t',['../struct___wlan_rx_filter_retrieve_enable_status_command_response_buff__t.html',1,'']]], - ['_5fwlanrxfilterupdateargscommandbuff_5ft',['_WlanRxFilterUpdateArgsCommandBuff_t',['../struct___wlan_rx_filter_update_args_command_buff__t.html',1,'']]] -]; diff --git a/docs/simplelink_api/html/search/all_1.html b/docs/simplelink_api/html/search/all_1.html deleted file mode 100644 index 122fcbb..0000000 --- a/docs/simplelink_api/html/search/all_1.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/all_1.js b/docs/simplelink_api/html/search/all_1.js deleted file mode 100644 index eb374fe..0000000 --- a/docs/simplelink_api/html/search/all_1.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['actionarg',['ActionArg',['../struct_slrx_filter_action__t.html#a1d5a5c67b72f38d0f547f4b41594361d',1,'SlrxFilterAction_t']]] -]; diff --git a/docs/simplelink_api/html/search/all_2.html b/docs/simplelink_api/html/search/all_2.html deleted file mode 100644 index 6850d19..0000000 --- a/docs/simplelink_api/html/search/all_2.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/all_2.js b/docs/simplelink_api/html/search/all_2.js deleted file mode 100644 index 422ce80..0000000 --- a/docs/simplelink_api/html/search/all_2.js +++ /dev/null @@ -1,9 +0,0 @@ -var searchData= -[ - ['configuration_20_2d_20device_20enable_2fdisable',['Configuration - Device Enable/Disable',['../group__configuration__enable__device.html',1,'']]], - ['configuration_20_2d_20event_20handlers',['Configuration - Event Handlers',['../group__configuration__events.html',1,'']]], - ['configuration_20_2d_20communication_20interface',['Configuration - Communication Interface',['../group__configuration__interface.html',1,'']]], - ['configuration_20_2d_20memory_20management',['Configuration - Memory Management',['../group__configuration__mem__mgm.html',1,'']]], - ['configuration_20_2d_20operating_20system',['Configuration - Operating System',['../group__configuration__os.html',1,'']]], - ['cc32xx_20simplelink_20host_20driver',['CC32XX SimpleLink Host Driver',['../index.html',1,'']]] -]; diff --git a/docs/simplelink_api/html/search/all_3.html b/docs/simplelink_api/html/search/all_3.html deleted file mode 100644 index 914288c..0000000 --- a/docs/simplelink_api/html/search/all_3.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/all_3.js b/docs/simplelink_api/html/search/all_3.js deleted file mode 100644 index 400b0c8..0000000 --- a/docs/simplelink_api/html/search/all_3.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['device',['Device',['../group__device.html',1,'']]] -]; diff --git a/docs/simplelink_api/html/search/all_4.html b/docs/simplelink_api/html/search/all_4.html deleted file mode 100644 index 47becb8..0000000 --- a/docs/simplelink_api/html/search/all_4.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/all_4.js b/docs/simplelink_api/html/search/all_4.js deleted file mode 100644 index 9886036..0000000 --- a/docs/simplelink_api/html/search/all_4.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['filesystem',['FileSystem',['../group___file_system.html',1,'']]] -]; diff --git a/docs/simplelink_api/html/search/all_5.html b/docs/simplelink_api/html/search/all_5.html deleted file mode 100644 index b11c1d1..0000000 --- a/docs/simplelink_api/html/search/all_5.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/all_5.js b/docs/simplelink_api/html/search/all_5.js deleted file mode 100644 index 9481f31..0000000 --- a/docs/simplelink_api/html/search/all_5.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['intrepresentation',['IntRepresentation',['../union_slrx_filter_flags__t.html#a0c18cf04f2432035440b4608ea66fb4d',1,'SlrxFilterFlags_t::IntRepresentation()'],['../union_slrx_filter_action_type__t.html#a0c18cf04f2432035440b4608ea66fb4d',1,'SlrxFilterActionType_t::IntRepresentation()']]] -]; diff --git a/docs/simplelink_api/html/search/all_5f.html b/docs/simplelink_api/html/search/all_5f.html index 067cf82..7d613ed 100644 --- a/docs/simplelink_api/html/search/all_5f.html +++ b/docs/simplelink_api/html/search/all_5f.html @@ -1,70 +1,26 @@ - - - - - - - -
-
Loading...
- - - - - - - - - - -
Searching...
-
No Matches
- -
- - + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/simplelink_api/html/search/all_5f.js b/docs/simplelink_api/html/search/all_5f.js new file mode 100644 index 0000000..6c74790 --- /dev/null +++ b/docs/simplelink_api/html/search/all_5f.js @@ -0,0 +1,13 @@ +var searchData= +[ + ['_5fsldeviceeventdata_5fu',['_SlDeviceEventData_u',['../union___sl_device_event_data__u.html',1,'']]], + ['_5fslhttpserverdata_5ft',['_slHttpServerData_t',['../struct__sl_http_server_data__t.html',1,'']]], + ['_5fslhttpserverpostdata_5ft',['_slHttpServerPostData_t',['../struct__sl_http_server_post_data__t.html',1,'']]], + ['_5fslhttpserverstring_5ft',['_slHttpServerString_t',['../struct__sl_http_server_string__t.html',1,'']]], + ['_5fslpartialversion',['_SlPartialVersion',['../struct___sl_partial_version.html',1,'']]], + ['_5fwlanrxfilteroperationcommandbuff_5ft',['_WlanRxFilterOperationCommandBuff_t',['../struct___wlan_rx_filter_operation_command_buff__t.html',1,'']]], + ['_5fwlanrxfilterprepreparedfilterscommandbuff_5ft',['_WlanRxFilterPrePreparedFiltersCommandBuff_t',['../struct___wlan_rx_filter_pre_prepared_filters_command_buff__t.html',1,'']]], + ['_5fwlanrxfilterprepreparedfilterscommandresponsebuff_5ft',['_WlanRxFilterPrePreparedFiltersCommandResponseBuff_t',['../struct___wlan_rx_filter_pre_prepared_filters_command_response_buff__t.html',1,'']]], + ['_5fwlanrxfilterretrieveenablestatuscommandresponsebuff_5ft',['_WlanRxFilterRetrieveEnableStatusCommandResponseBuff_t',['../struct___wlan_rx_filter_retrieve_enable_status_command_response_buff__t.html',1,'']]], + ['_5fwlanrxfilterupdateargscommandbuff_5ft',['_WlanRxFilterUpdateArgsCommandBuff_t',['../struct___wlan_rx_filter_update_args_command_buff__t.html',1,'']]] +]; diff --git a/docs/simplelink_api/html/search/all_6.html b/docs/simplelink_api/html/search/all_6.html deleted file mode 100644 index a57d74f..0000000 --- a/docs/simplelink_api/html/search/all_6.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/all_6.js b/docs/simplelink_api/html/search/all_6.js deleted file mode 100644 index b8276b5..0000000 --- a/docs/simplelink_api/html/search/all_6.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['loweroffset',['LowerOffset',['../struct_slrx_filter_payload_type__t.html#a9ac3d3bada3c45dcf2539a383edcfc9b',1,'SlrxFilterPayloadType_t']]] -]; diff --git a/docs/simplelink_api/html/search/all_61.html b/docs/simplelink_api/html/search/all_61.html index ac1adac..bcdc121 100644 --- a/docs/simplelink_api/html/search/all_61.html +++ b/docs/simplelink_api/html/search/all_61.html @@ -1,26 +1,26 @@ - - - - - - - -
-
Loading...
-
-
- ActionArg - SlrxFilterAction_t -
-
-
Searching...
-
No Matches
- -
- - + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/simplelink_api/html/search/all_61.js b/docs/simplelink_api/html/search/all_61.js new file mode 100644 index 0000000..1a1bea9 --- /dev/null +++ b/docs/simplelink_api/html/search/all_61.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['actionarg',['ActionArg',['../struct_slrx_filter_action__t.html#a1d5a5c67b72f38d0f547f4b41594361d',1,'SlrxFilterAction_t']]] +]; diff --git a/docs/simplelink_api/html/search/all_63.html b/docs/simplelink_api/html/search/all_63.html new file mode 100644 index 0000000..384df8b --- /dev/null +++ b/docs/simplelink_api/html/search/all_63.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/simplelink_api/html/search/all_63.js b/docs/simplelink_api/html/search/all_63.js new file mode 100644 index 0000000..daed978 --- /dev/null +++ b/docs/simplelink_api/html/search/all_63.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['configuration_20_2d_20capabilities_20set',['Configuration - Capabilities Set',['../group__configuration__capabilities.html',1,'']]], + ['configuration_20_2d_20device_20enable_2fdisable',['Configuration - Device Enable/Disable',['../group__configuration__enable__device.html',1,'']]], + ['configuration_20_2d_20event_20handlers',['Configuration - Event Handlers',['../group__configuration__events.html',1,'']]], + ['configuration_20_2d_20communication_20interface',['Configuration - Communication Interface',['../group__configuration__interface.html',1,'']]], + ['configuration_20_2d_20memory_20management',['Configuration - Memory Management',['../group__configuration__mem__mgm.html',1,'']]], + ['configuration_20_2d_20operating_20system',['Configuration - Operating System',['../group__configuration__os.html',1,'']]] +]; diff --git a/docs/simplelink_api/html/search/all_64.html b/docs/simplelink_api/html/search/all_64.html new file mode 100644 index 0000000..5eafcb3 --- /dev/null +++ b/docs/simplelink_api/html/search/all_64.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/simplelink_api/html/search/all_64.js b/docs/simplelink_api/html/search/all_64.js new file mode 100644 index 0000000..28c6863 --- /dev/null +++ b/docs/simplelink_api/html/search/all_64.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['device',['Device',['../group__device.html',1,'']]] +]; diff --git a/docs/simplelink_api/html/search/all_66.html b/docs/simplelink_api/html/search/all_66.html new file mode 100644 index 0000000..4bcff75 --- /dev/null +++ b/docs/simplelink_api/html/search/all_66.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/simplelink_api/html/search/all_66.js b/docs/simplelink_api/html/search/all_66.js new file mode 100644 index 0000000..03cb047 --- /dev/null +++ b/docs/simplelink_api/html/search/all_66.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['filesystem',['FileSystem',['../group___file_system.html',1,'']]] +]; diff --git a/docs/simplelink_api/html/search/all_69.html b/docs/simplelink_api/html/search/all_69.html index fd30b24..6bbbce7 100644 --- a/docs/simplelink_api/html/search/all_69.html +++ b/docs/simplelink_api/html/search/all_69.html @@ -1,29 +1,26 @@ - - - - - - - -
-
Loading...
- -
Searching...
-
No Matches
- -
- - + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/simplelink_api/html/search/all_69.js b/docs/simplelink_api/html/search/all_69.js new file mode 100644 index 0000000..297f22e --- /dev/null +++ b/docs/simplelink_api/html/search/all_69.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['intrepresentation',['IntRepresentation',['../union_slrx_filter_flags__t.html#a0c18cf04f2432035440b4608ea66fb4d',1,'SlrxFilterFlags_t::IntRepresentation()'],['../union_slrx_filter_action_type__t.html#a0c18cf04f2432035440b4608ea66fb4d',1,'SlrxFilterActionType_t::IntRepresentation()']]] +]; diff --git a/docs/simplelink_api/html/search/all_6c.html b/docs/simplelink_api/html/search/all_6c.html index 62a6907..8e11db7 100644 --- a/docs/simplelink_api/html/search/all_6c.html +++ b/docs/simplelink_api/html/search/all_6c.html @@ -1,26 +1,26 @@ - - - - - - - -
-
Loading...
-
-
- LowerOffset - SlrxFilterPayloadType_t -
-
-
Searching...
-
No Matches
- -
- - + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/simplelink_api/html/search/all_6c.js b/docs/simplelink_api/html/search/all_6c.js new file mode 100644 index 0000000..6ba7933 --- /dev/null +++ b/docs/simplelink_api/html/search/all_6c.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['loweroffset',['LowerOffset',['../struct_slrx_filter_payload_type__t.html#a9ac3d3bada3c45dcf2539a383edcfc9b',1,'SlrxFilterPayloadType_t']]] +]; diff --git a/docs/simplelink_api/html/search/all_6e.html b/docs/simplelink_api/html/search/all_6e.html index 610552f..7bf4972 100644 --- a/docs/simplelink_api/html/search/all_6e.html +++ b/docs/simplelink_api/html/search/all_6e.html @@ -1,30 +1,26 @@ - - - - - - - -
-
Loading...
- - -
Searching...
-
No Matches
- -
- - + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/simplelink_api/html/search/all_6e.js b/docs/simplelink_api/html/search/all_6e.js new file mode 100644 index 0000000..c545524 --- /dev/null +++ b/docs/simplelink_api/html/search/all_6e.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['netapp',['Netapp',['../group__netapp.html',1,'']]], + ['netcfg',['Netcfg',['../group__netcfg.html',1,'']]] +]; diff --git a/docs/simplelink_api/html/search/all_7.html b/docs/simplelink_api/html/search/all_7.html deleted file mode 100644 index ecca251..0000000 --- a/docs/simplelink_api/html/search/all_7.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/all_7.js b/docs/simplelink_api/html/search/all_7.js deleted file mode 100644 index 421bad1..0000000 --- a/docs/simplelink_api/html/search/all_7.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['netapp',['Netapp',['../group__netapp.html',1,'']]], - ['netcfg',['Netcfg',['../group__netcfg.html',1,'']]] -]; diff --git a/docs/simplelink_api/html/search/all_70.html b/docs/simplelink_api/html/search/all_70.html index 1aeeb96..0c90bb8 100644 --- a/docs/simplelink_api/html/search/all_70.html +++ b/docs/simplelink_api/html/search/all_70.html @@ -1,26 +1,26 @@ - - - - - - - -
-
Loading...
-
-
- ParentFilterID - SlrxFilterTrigger_t -
-
-
Searching...
-
No Matches
- -
- - + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/simplelink_api/html/search/all_70.js b/docs/simplelink_api/html/search/all_70.js new file mode 100644 index 0000000..621f790 --- /dev/null +++ b/docs/simplelink_api/html/search/all_70.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['parentfilterid',['ParentFilterID',['../struct_slrx_filter_trigger__t.html#a58947c0d33b44b6adf9e52be48442da0',1,'SlrxFilterTrigger_t']]] +]; diff --git a/docs/simplelink_api/html/search/all_72.html b/docs/simplelink_api/html/search/all_72.html index 5314613..ac7bcfb 100644 --- a/docs/simplelink_api/html/search/all_72.html +++ b/docs/simplelink_api/html/search/all_72.html @@ -1,98 +1,26 @@ - - - - - - - -
-
Loading...
-
-
- RegxPattern - SlrxFilterPayloadType_t -
-
-
-
- RuleCompareFunc - SlrxFilterHeaderType_t -
-
-
-
- RuleHeaderArgs - SlrxFilterRuleHeaderArgsAndMask_t -
-
-
-
- RuleHeaderArgsAndMask - SlrxFilterHeaderType_t -
-
-
-
- RuleHeaderArgsMask - SlrxFilterRuleHeaderArgsAndMask_t -
-
-
-
- RuleHeaderfield - SlrxFilterHeaderType_t -
-
-
-
- RulePadding - SlrxFilterHeaderType_t -
-
-
-
- RxFilterDB16BytesRuleArgs - SlrxFilterHeaderArg_t -
-
-
-
- RxFilterDB18BytesAsciiRuleArgs - SlrxFilterHeaderArg_t -
-
-
-
- RxFilterDB1BytesRuleArgs - SlrxFilterHeaderArg_t -
-
-
-
- RxFilterDB4BytesRuleArgs - SlrxFilterHeaderArg_t -
-
-
-
- RxFilterDB5BytesRuleAsciiArgs - SlrxFilterHeaderArg_t -
-
-
-
- RxFilterDB6BytesRuleArgs - SlrxFilterHeaderArg_t -
-
-
Searching...
-
No Matches
- -
- - + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/simplelink_api/html/search/all_72.js b/docs/simplelink_api/html/search/all_72.js new file mode 100644 index 0000000..8bef4ef --- /dev/null +++ b/docs/simplelink_api/html/search/all_72.js @@ -0,0 +1,16 @@ +var searchData= +[ + ['regxpattern',['RegxPattern',['../struct_slrx_filter_payload_type__t.html#a87972b443af7974c2e52bea59b8aed29',1,'SlrxFilterPayloadType_t']]], + ['rulecomparefunc',['RuleCompareFunc',['../struct_slrx_filter_header_type__t.html#aa92cfd1d32af09ab6c845ced96c4110f',1,'SlrxFilterHeaderType_t']]], + ['ruleheaderargs',['RuleHeaderArgs',['../struct_slrx_filter_rule_header_args_and_mask__t.html#abb9bde3180785cbeed7c73b5253c10ab',1,'SlrxFilterRuleHeaderArgsAndMask_t']]], + ['ruleheaderargsandmask',['RuleHeaderArgsAndMask',['../struct_slrx_filter_header_type__t.html#afb384f375f43a8cb7e349ffaf70c26e6',1,'SlrxFilterHeaderType_t']]], + ['ruleheaderargsmask',['RuleHeaderArgsMask',['../struct_slrx_filter_rule_header_args_and_mask__t.html#a56eb016bde23aa213a1b2ffdab58f45b',1,'SlrxFilterRuleHeaderArgsAndMask_t']]], + ['ruleheaderfield',['RuleHeaderfield',['../struct_slrx_filter_header_type__t.html#ac40cef42995351984232b29151bc0b6c',1,'SlrxFilterHeaderType_t']]], + ['rulepadding',['RulePadding',['../struct_slrx_filter_header_type__t.html#aab0c11c64eed544d5fb67de89249c6fa',1,'SlrxFilterHeaderType_t']]], + ['rxfilterdb16bytesruleargs',['RxFilterDB16BytesRuleArgs',['../union_slrx_filter_header_arg__t.html#a26d90366d80d756f1eb2d14eb64b5dc6',1,'SlrxFilterHeaderArg_t']]], + ['rxfilterdb18bytesasciiruleargs',['RxFilterDB18BytesAsciiRuleArgs',['../union_slrx_filter_header_arg__t.html#aeec8bc31c1d80630b72ea2e25a18a596',1,'SlrxFilterHeaderArg_t']]], + ['rxfilterdb1bytesruleargs',['RxFilterDB1BytesRuleArgs',['../union_slrx_filter_header_arg__t.html#ada685946d2c6c39fdbbc51b9e93abb84',1,'SlrxFilterHeaderArg_t']]], + ['rxfilterdb4bytesruleargs',['RxFilterDB4BytesRuleArgs',['../union_slrx_filter_header_arg__t.html#a1e508430e5a6792cac172b6c998c6567',1,'SlrxFilterHeaderArg_t']]], + ['rxfilterdb5bytesruleasciiargs',['RxFilterDB5BytesRuleAsciiArgs',['../union_slrx_filter_header_arg__t.html#a58bc18e2b2e4ba9d28c8427996e5c743',1,'SlrxFilterHeaderArg_t']]], + ['rxfilterdb6bytesruleargs',['RxFilterDB6BytesRuleArgs',['../union_slrx_filter_header_arg__t.html#a41fabfb5e5eef845d59da375897130f5',1,'SlrxFilterHeaderArg_t']]] +]; diff --git a/docs/simplelink_api/html/search/all_73.html b/docs/simplelink_api/html/search/all_73.html index ea3c3e1..a59a9c4 100644 --- a/docs/simplelink_api/html/search/all_73.html +++ b/docs/simplelink_api/html/search/all_73.html @@ -1,360 +1,26 @@ - - - - - - - -
-
Loading...
- - - - - -
- -
- - -
-
- SlFdSet_t -
-
- - - - - - - -
- -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -
- - -
- -
- -
- -
- - - - - - -
- -
-
- -
- -
- -
- - - -
Searching...
-
No Matches
- -
- - + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/simplelink_api/html/search/all_73.js b/docs/simplelink_api/html/search/all_73.js new file mode 100644 index 0000000..c80c089 --- /dev/null +++ b/docs/simplelink_api/html/search/all_73.js @@ -0,0 +1,167 @@ +var searchData= +[ + ['simplelink_20driver',['SimpleLink Driver',['../index.html',1,'']]], + ['sl_5faccept',['sl_Accept',['../group__socket.html#ga72085bf8fae027f8fe31a0eb99a6808b',1,'socket.h']]], + ['sl_5fbind',['sl_Bind',['../group__socket.html#gadcb0c4792127dceb1feb3e9b87ab2094',1,'socket.h']]], + ['sl_5fclose',['sl_Close',['../group__socket.html#gacc7971a6e41592c8ef90936b25495a8b',1,'socket.h']]], + ['sl_5fconnect',['sl_Connect',['../group__socket.html#gad8b9db85493e84b19994840f4cff0ca0',1,'socket.h']]], + ['sl_5fdevget',['sl_DevGet',['../group__device.html#ga474ffecf51d679b27f7b449dc7b2e554',1,'device.h']]], + ['sl_5fdevicedisable',['sl_DeviceDisable',['../group__configuration__enable__device.html#gacca1eb461c75328c51f1f31c68211f2f',1,'user.h']]], + ['sl_5fdeviceenable',['sl_DeviceEnable',['../group__configuration__enable__device.html#ga8bbed8fdfdf8935ac0dd9a05b04d30ca',1,'user.h']]], + ['sl_5fdeviceenablepreamble',['sl_DeviceEnablePreamble',['../group__configuration__enable__device.html#ga60ed6944dbba2084aab55225a3bfee57',1,'user.h']]], + ['sl_5fdevicereport',['sl_DeviceReport',['../structsl___device_report.html',1,'']]], + ['sl_5fdevicereportabort',['sl_DeviceReportAbort',['../structsl___device_report_abort.html',1,'']]], + ['sl_5fdevset',['sl_DevSet',['../group__device.html#ga6a8648f29287968fcb8a9efcdd91becd',1,'device.h']]], + ['sl_5feventmaskget',['sl_EventMaskGet',['../group__device.html#ga6e2bf948f1cce2bc5aae771892739fb2',1,'device.h']]], + ['sl_5feventmaskset',['sl_EventMaskSet',['../group__device.html#ga57d6ea9dfcc0fb18f956fd2cae8f5f19',1,'device.h']]], + ['sl_5ffd_5fclr',['SL_FD_CLR',['../group__socket.html#gaa8aefbd7da7312044d0c47cb256e5029',1,'socket.h']]], + ['sl_5ffd_5fisset',['SL_FD_ISSET',['../group__socket.html#ga9c87fa7e319677c3d2f88180a21fee2c',1,'socket.h']]], + ['sl_5ffd_5fset',['SL_FD_SET',['../group__socket.html#ga0d9e401652361c24235f157e65e35365',1,'socket.h']]], + ['sl_5ffd_5fzero',['SL_FD_ZERO',['../group__socket.html#gac58eca56e2cf9bf58f8f3ef8790f7740',1,'socket.h']]], + ['sl_5ffsclose',['sl_FsClose',['../group___file_system.html#ga12caded07ff4c66e5b6e73a36009072d',1,'fs.h']]], + ['sl_5ffsdel',['sl_FsDel',['../group___file_system.html#gaa3b9c7b7c0e2be74332d136b94f7940d',1,'fs.h']]], + ['sl_5ffsgetinfo',['sl_FsGetInfo',['../group___file_system.html#ga6df7dfcefa195a2bc5ef81dbbcaab5ed',1,'fs.h']]], + ['sl_5ffsopen',['sl_FsOpen',['../group___file_system.html#ga1318606b831a75593f57fb234370dc78',1,'fs.h']]], + ['sl_5ffsread',['sl_FsRead',['../group___file_system.html#ga745742b9829a05e2a502efa054f4900c',1,'fs.h']]], + ['sl_5ffswrite',['sl_FsWrite',['../group___file_system.html#ga23d68a0f564436b6ef08325b1a159e85',1,'fs.h']]], + ['sl_5fgetsockopt',['sl_GetSockOpt',['../group__socket.html#ga77d6029b0c39df5541b0b0d6484591b4',1,'socket.h']]], + ['sl_5fhtonl',['sl_Htonl',['../group__socket.html#ga712c2a31c2844b54c33ede3a9a148d61',1,'socket.h']]], + ['sl_5fhtons',['sl_Htons',['../group__socket.html#gadfb6f98e5c75a46050780e8afbae13bd',1,'socket.h']]], + ['sl_5fhttpservercallback',['sl_HttpServerCallback',['../group__configuration__events.html#gacef3a52784e64d85ac16e3184276e8e7',1,'sl_HttpServerCallback(): user.h'],['../group___user_events.html#gacfd6910f913239edf6eda7889877e8de',1,'sl_HttpServerCallback(SlHttpServerEvent_t *pSlHttpServerEvent, SlHttpServerResponse_t *pSlHttpServerResponse): simplelink.h']]], + ['sl_5fifclose',['sl_IfClose',['../group__configuration__interface.html#ga93d829306f92470614ca2fe71e7fbaa2',1,'user.h']]], + ['sl_5fifmaskinthdlr',['sl_IfMaskIntHdlr',['../group__configuration__interface.html#ga134a6c4658baae78724989e8a36d7be0',1,'user.h']]], + ['sl_5fifopen',['sl_IfOpen',['../group__configuration__interface.html#ga206e7c86da4e31989d54dbd8531ce505',1,'user.h']]], + ['sl_5fifread',['sl_IfRead',['../group__configuration__interface.html#ga0d4d3db7b5ee6efcaf940de38f32d190',1,'user.h']]], + ['sl_5fifreginthdlr',['sl_IfRegIntHdlr',['../group__configuration__interface.html#ga0e17e205005322be3b619eeeeec9f069',1,'user.h']]], + ['sl_5fifunmaskinthdlr',['sl_IfUnMaskIntHdlr',['../group__configuration__interface.html#gab3b2a3ae727a4e932ee45ea17fe4f701',1,'user.h']]], + ['sl_5fifwrite',['sl_IfWrite',['../group__configuration__interface.html#gaaca4940235fc8e01cdad18a0908fda34',1,'user.h']]], + ['sl_5finc_5farg_5fcheck',['SL_INC_ARG_CHECK',['../group__configuration__capabilities.html#gaa42d6fa27f3569e91678da37cefdd8bc',1,'user.h']]], + ['sl_5finc_5fext_5fapi',['SL_INC_EXT_API',['../group__configuration__capabilities.html#ga4be99245edba2bfb842d8df4d09eb999',1,'user.h']]], + ['sl_5finc_5fnet_5fapp_5fpkg',['SL_INC_NET_APP_PKG',['../group__configuration__capabilities.html#ga7cbf8400d435a30ab34d4a2214400114',1,'user.h']]], + ['sl_5finc_5fnet_5fcfg_5fpkg',['SL_INC_NET_CFG_PKG',['../group__configuration__capabilities.html#gacf5fb67b728e2a462af65cdf255bcf9a',1,'user.h']]], + ['sl_5finc_5fnvmem_5fpkg',['SL_INC_NVMEM_PKG',['../group__configuration__capabilities.html#ga9188550c03f37f238eb9f30a1cbd0df0',1,'user.h']]], + ['sl_5finc_5fsock_5fclient_5fside_5fapi',['SL_INC_SOCK_CLIENT_SIDE_API',['../group__configuration__capabilities.html#ga5c7e38b29356ef0962f718e0330c9856',1,'user.h']]], + ['sl_5finc_5fsock_5frecv_5fapi',['SL_INC_SOCK_RECV_API',['../group__configuration__capabilities.html#gaac3f7bc7062d8af4877ad9945e0b3d18',1,'user.h']]], + ['sl_5finc_5fsock_5fsend_5fapi',['SL_INC_SOCK_SEND_API',['../group__configuration__capabilities.html#gaa73df10f6f9d30adb4ab338d340ad947',1,'user.h']]], + ['sl_5finc_5fsock_5fserver_5fside_5fapi',['SL_INC_SOCK_SERVER_SIDE_API',['../group__configuration__capabilities.html#gaf01455b50bce19c25ca37eef89b77557',1,'user.h']]], + ['sl_5finc_5fsocket_5fpkg',['SL_INC_SOCKET_PKG',['../group__configuration__capabilities.html#gabc6eb775d34a6bfdb403870731bcb2d2',1,'user.h']]], + ['sl_5finc_5fstd_5fbsd_5fapi_5fnaming',['SL_INC_STD_BSD_API_NAMING',['../group__configuration__capabilities.html#gac1149288c21844487d5355043cc29192',1,'user.h']]], + ['sl_5finc_5fwlan_5fpkg',['SL_INC_WLAN_PKG',['../group__configuration__capabilities.html#gad726661ffffa2ba5ec2a07004ca7424c',1,'user.h']]], + ['sl_5flisten',['sl_Listen',['../group__socket.html#ga7d864d86f8dd7296774072db021a69e7',1,'socket.h']]], + ['sl_5fnetappdnsgethostbyname',['sl_NetAppDnsGetHostByName',['../group__netapp.html#ga29b52a83173826c523890dee46cc252a',1,'netapp.h']]], + ['sl_5fnetappdnsgethostbyservice',['sl_NetAppDnsGetHostByService',['../group__netapp.html#ga3c18e929acd30de42a36afe2d85bbe05',1,'netapp.h']]], + ['sl_5fnetappevthdlr',['sl_NetAppEvtHdlr',['../group__configuration__events.html#ga3c0891823e25cd59435c60d20b5d4ca2',1,'sl_NetAppEvtHdlr(): user.h'],['../group___user_events.html#gaa6d77040cbaaa41f5ddaf4f70d9d652c',1,'sl_NetAppEvtHdlr(SlNetAppEvent_t *pSlNetApp): simplelink.h']]], + ['sl_5fnetappget',['sl_NetAppGet',['../group__netapp.html#gaa7539fd75708676a4ed8bbfaeaebc791',1,'netapp.h']]], + ['sl_5fnetappgetservicelist',['sl_NetAppGetServiceList',['../group__netapp.html#ga6e77cdf4e8540180bf4358c48a08e0fe',1,'netapp.h']]], + ['sl_5fnetappmdnsregisterservice',['sl_NetAppMDNSRegisterService',['../group__netapp.html#gae222ee3db8c89e9e3ecf8b2738961b33',1,'netapp.h']]], + ['sl_5fnetappmdnsunregisterservice',['sl_NetAppMDNSUnRegisterService',['../group__netapp.html#ga5fb699d928b704c4237d4f0921a89ab9',1,'netapp.h']]], + ['sl_5fnetapppingstart',['sl_NetAppPingStart',['../group__netapp.html#ga4adc32529c7c7c84273728cf16393dad',1,'netapp.h']]], + ['sl_5fnetappset',['sl_NetAppSet',['../group__netapp.html#ga2afa652378453fe2f3c1010915673576',1,'netapp.h']]], + ['sl_5fnetappstart',['sl_NetAppStart',['../group__netapp.html#gaecf228612e6baacf183d3f6eea64b120',1,'netapp.h']]], + ['sl_5fnetappstop',['sl_NetAppStop',['../group__netapp.html#gad174e319fb745e2d871fe1b08b567131',1,'netapp.h']]], + ['sl_5fnetcfgget',['sl_NetCfgGet',['../group__netcfg.html#ga86e2fc6c2fca5d8537529b612fb7ebe4',1,'netcfg.h']]], + ['sl_5fnetcfgset',['sl_NetCfgSet',['../group__netcfg.html#ga059a56d0d883e74c65eea199ed8513bb',1,'netcfg.h']]], + ['sl_5fplatform_5fexternal_5fspawn',['SL_PLATFORM_EXTERNAL_SPAWN',['../group__configuration__os.html#gab5eaa3977a30d7850822d02d59177134',1,'user.h']]], + ['sl_5fprotocol_5finfoelement_5ft',['sl_protocol_InfoElement_t',['../structsl__protocol___info_element__t.html',1,'']]], + ['sl_5fprotocol_5fwlansetinfoelement_5ft',['sl_protocol_WlanSetInfoElement_t',['../structsl__protocol___wlan_set_info_element__t.html',1,'']]], + ['sl_5frecv',['sl_Recv',['../group__socket.html#gace86078cc514a5efa01f2b757e3bb8bf',1,'socket.h']]], + ['sl_5frecvfrom',['sl_RecvFrom',['../group__socket.html#gaf370fe1b17863024b28e081af02f6cf3',1,'socket.h']]], + ['sl_5fselect',['sl_Select',['../group__socket.html#ga97747fea9f469feeb7272b76e4fe9a0e',1,'socket.h']]], + ['sl_5fsend',['sl_Send',['../group__socket.html#gaf3234446a6f3c770d5a3d56300f487f6',1,'socket.h']]], + ['sl_5fsendto',['sl_SendTo',['../group__socket.html#ga783a041dad81818b4b8d15e4d7a852fa',1,'socket.h']]], + ['sl_5fsetsockopt',['sl_SetSockOpt',['../group__socket.html#ga6363ea2098e629c1a6e2bf80e731fb79',1,'socket.h']]], + ['sl_5fsocket',['sl_Socket',['../group__socket.html#gaa775fcb6d09bf35b9dac3e5eb8e8c997',1,'socket.h']]], + ['sl_5fsockevthdlr',['sl_SockEvtHdlr',['../group__configuration__events.html#gadb456a8a930b59fe6a49a94480173f4e',1,'sl_SockEvtHdlr(): user.h'],['../group___user_events.html#ga456ce303ecb46525a9a4bf281e82100f',1,'sl_SockEvtHdlr(SlSockEvent_t *pSlSockEvent): simplelink.h']]], + ['sl_5fstart',['sl_Start',['../group__device.html#ga5869df658d2c9fe3c2baa50503a1a8dd',1,'device.h']]], + ['sl_5fstop',['sl_Stop',['../group__device.html#ga1e30957d5b7720918fb206d44f373613',1,'device.h']]], + ['sl_5ftask',['sl_Task',['../group__device.html#ga0425868dc13ee98bff664127d9d37ee4',1,'device.h']]], + ['sl_5fwlanconnect',['sl_WlanConnect',['../group__wlan.html#ga15d4779e6097f67111c69eaaff56a261',1,'wlan.h']]], + ['sl_5fwlandisconnect',['sl_WlanDisconnect',['../group__wlan.html#ga8d3140cea09851de2c580c89f222f808',1,'wlan.h']]], + ['sl_5fwlanevthdlr',['sl_WlanEvtHdlr',['../group__configuration__events.html#ga562ae3aa3677752a7860927c6723a47c',1,'sl_WlanEvtHdlr(): user.h'],['../group___user_events.html#ga43d18f96a28035b76652c652f8e9b351',1,'sl_WlanEvtHdlr(SlWlanEvent_t *pSlWlanEvent): simplelink.h']]], + ['sl_5fwlanget',['sl_WlanGet',['../group__wlan.html#gae085496a64690e1d90de834ec571a409',1,'wlan.h']]], + ['sl_5fwlangetnetworklist',['sl_WlanGetNetworkList',['../group__wlan.html#ga620559124e4421c6887ec67ff50bbbbc',1,'wlan.h']]], + ['sl_5fwlannetworkentry_5ft',['Sl_WlanNetworkEntry_t',['../struct_sl___wlan_network_entry__t.html',1,'']]], + ['sl_5fwlanpolicyget',['sl_WlanPolicyGet',['../group__wlan.html#gab3fe766dab62ecd42836529be4c0b2e1',1,'wlan.h']]], + ['sl_5fwlanpolicyset',['sl_WlanPolicySet',['../group__wlan.html#gaa0491d6453e037c857bd10e3be87df3d',1,'wlan.h']]], + ['sl_5fwlanprofileadd',['sl_WlanProfileAdd',['../group__wlan.html#ga27081ec6f3047e97b8b024ae751c955b',1,'wlan.h']]], + ['sl_5fwlanprofiledel',['sl_WlanProfileDel',['../group__wlan.html#gac4bc2e3a0c2152b49a1614b08ee36204',1,'wlan.h']]], + ['sl_5fwlanprofileget',['sl_WlanProfileGet',['../group__wlan.html#ga5195b07e98404f074e0294276fc64858',1,'wlan.h']]], + ['sl_5fwlanrxfilteradd',['sl_WlanRxFilterAdd',['../group__wlan.html#ga0f61489aecc77c79f5350a8c6bab3ab5',1,'wlan_rx_filters.h']]], + ['sl_5fwlanrxfilterget',['sl_WlanRxFilterGet',['../group__wlan.html#gab5ffd26ae9abe6ea5bc61b99a0ced94f',1,'wlan_rx_filters.h']]], + ['sl_5fwlanrxfilterset',['sl_WlanRxFilterSet',['../group__wlan.html#gac30d8b0d601562d2f8a8468da18bad11',1,'wlan_rx_filters.h']]], + ['sl_5fwlanrxstatget',['sl_WlanRxStatGet',['../group__wlan.html#gae42178af250ac0d4356459f666831ad1',1,'wlan.h']]], + ['sl_5fwlanrxstatstart',['sl_WlanRxStatStart',['../group__wlan.html#ga40fdb95f2590b43c91a60377349aad4c',1,'wlan.h']]], + ['sl_5fwlanrxstatstop',['sl_WlanRxStatStop',['../group__wlan.html#ga69b1778b120c0b2db7f2fd2884dde5d8',1,'wlan.h']]], + ['sl_5fwlanset',['sl_WlanSet',['../group__wlan.html#gab8ba00f95398b5dccd80550ab3fc17e5',1,'wlan.h']]], + ['sl_5fwlansetmode',['sl_WlanSetMode',['../group__wlan.html#ga14a7b9540cb77fd6f25d867dc4b86216',1,'wlan.h']]], + ['sl_5fwlansmartconfigstart',['sl_WlanSmartConfigStart',['../group__wlan.html#ga2ac29ca184173a50d76a36f259a4435d',1,'wlan.h']]], + ['sl_5fwlansmartconfigstop',['sl_WlanSmartConfigStop',['../group__wlan.html#gac95a8b72fab78924ea6b52e3799c7de6',1,'wlan.h']]], + ['sldatetime_5ft',['SlDateTime_t',['../struct_sl_date_time__t.html',1,'']]], + ['sldeviceevent_5ft',['SlDeviceEvent_t',['../struct_sl_device_event__t.html',1,'']]], + ['slfdset_5ft',['SlFdSet_t',['../struct_sl_fd_set__t.html',1,'']]], + ['slfsfileinfo_5ft',['SlFsFileInfo_t',['../struct_sl_fs_file_info__t.html',1,'']]], + ['slgetrxstatresponse_5ft',['SlGetRxStatResponse_t',['../struct_sl_get_rx_stat_response__t.html',1,'']]], + ['slgetsecparamsext_5ft',['SlGetSecParamsExt_t',['../struct_sl_get_sec_params_ext__t.html',1,'']]], + ['slhttpserverevent_5ft',['SlHttpServerEvent_t',['../struct_sl_http_server_event__t.html',1,'']]], + ['slhttpservereventdata_5fu',['SlHttpServerEventData_u',['../union_sl_http_server_event_data__u.html',1,'']]], + ['slhttpserverresponse_5ft',['SlHttpServerResponse_t',['../struct_sl_http_server_response__t.html',1,'']]], + ['slhttpserverresponsedata_5fu',['SlHttpServerResponsedata_u',['../union_sl_http_server_responsedata__u.html',1,'']]], + ['slin6addr_5ft',['SlIn6Addr_t',['../struct_sl_in6_addr__t.html',1,'']]], + ['slinaddr_5ft',['SlInAddr_t',['../struct_sl_in_addr__t.html',1,'']]], + ['slipleasedasync_5ft',['SlIpLeasedAsync_t',['../struct_sl_ip_leased_async__t.html',1,'']]], + ['slipreleasedasync_5ft',['SlIpReleasedAsync_t',['../struct_sl_ip_released_async__t.html',1,'']]], + ['slipv4acquiredasync_5ft',['SlIpV4AcquiredAsync_t',['../struct_sl_ip_v4_acquired_async__t.html',1,'']]], + ['slipv6acquiredasync_5ft',['SlIpV6AcquiredAsync_t',['../struct_sl_ip_v6_acquired_async__t.html',1,'']]], + ['slnetappdhcpserverbasicopt_5ft',['SlNetAppDhcpServerBasicOpt_t',['../struct_sl_net_app_dhcp_server_basic_opt__t.html',1,'']]], + ['slnetappevent_5ft',['SlNetAppEvent_t',['../struct_sl_net_app_event__t.html',1,'']]], + ['slnetappeventdata_5fu',['SlNetAppEventData_u',['../union_sl_net_app_event_data__u.html',1,'']]], + ['slnetappgetfullserviceipv4list_5ft',['SlNetAppGetFullServiceIpv4List_t',['../struct_sl_net_app_get_full_service_ipv4_list__t.html',1,'']]], + ['slnetappgetfullservicewithtextipv4list_5ft',['SlNetAppGetFullServiceWithTextIpv4List_t',['../struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html',1,'']]], + ['slnetappgetshortserviceipv4list_5ft',['SlNetAppGetShortServiceIpv4List_t',['../struct_sl_net_app_get_short_service_ipv4_list__t.html',1,'']]], + ['slnetappserviceadvertisetimingparameters_5ft',['SlNetAppServiceAdvertiseTimingParameters_t',['../struct_sl_net_app_service_advertise_timing_parameters__t.html',1,'']]], + ['slnetcfgipv4args_5ft',['SlNetCfgIpV4Args_t',['../struct_sl_net_cfg_ip_v4_args__t.html',1,'']]], + ['slpeerinfoasyncresponse_5ft',['slPeerInfoAsyncResponse_t',['../structsl_peer_info_async_response__t.html',1,'']]], + ['slpingreport_5ft',['SlPingReport_t',['../struct_sl_ping_report__t.html',1,'']]], + ['slpingstartcommand_5ft',['SlPingStartCommand_t',['../struct_sl_ping_start_command__t.html',1,'']]], + ['slrxfilteraction_5ft',['SlrxFilterAction_t',['../struct_slrx_filter_action__t.html',1,'']]], + ['slrxfilteractiontype_5ft',['SlrxFilterActionType_t',['../union_slrx_filter_action_type__t.html',1,'']]], + ['slrxfiltercombinationtype_5ft',['SlrxFilterCombinationType_t',['../struct_slrx_filter_combination_type__t.html',1,'']]], + ['slrxfilterflags_5ft',['SlrxFilterFlags_t',['../union_slrx_filter_flags__t.html',1,'']]], + ['slrxfilterheaderarg_5ft',['SlrxFilterHeaderArg_t',['../union_slrx_filter_header_arg__t.html',1,'']]], + ['slrxfilterheadertype_5ft',['SlrxFilterHeaderType_t',['../struct_slrx_filter_header_type__t.html',1,'']]], + ['slrxfilterpayloadtype_5ft',['SlrxFilterPayloadType_t',['../struct_slrx_filter_payload_type__t.html',1,'']]], + ['slrxfilterregxpattern_5ft',['SlrxFilterRegxPattern_t',['../struct_slrx_filter_regx_pattern__t.html',1,'']]], + ['slrxfilterrule_5ft',['SlrxFilterRule_t',['../union_slrx_filter_rule__t.html',1,'']]], + ['slrxfilterruleheaderargsandmask_5ft',['SlrxFilterRuleHeaderArgsAndMask_t',['../struct_slrx_filter_rule_header_args_and_mask__t.html',1,'']]], + ['slrxfiltertrigger_5ft',['SlrxFilterTrigger_t',['../struct_slrx_filter_trigger__t.html',1,'']]], + ['slrxfiltertriggerconnectionstates_5ft',['SlrxFilterTriggerConnectionStates_t',['../union_slrx_filter_trigger_connection_states__t.html',1,'']]], + ['slrxfiltertriggerroles_5ft',['SlrxFilterTriggerRoles_t',['../union_slrx_filter_trigger_roles__t.html',1,'']]], + ['slsecparams_5ft',['SlSecParams_t',['../struct_sl_sec_params__t.html',1,'']]], + ['slsecparamsext_5ft',['SlSecParamsExt_t',['../struct_sl_sec_params_ext__t.html',1,'']]], + ['slsmartconfigstartasyncresponse_5ft',['slSmartConfigStartAsyncResponse_t',['../structsl_smart_config_start_async_response__t.html',1,'']]], + ['slsmartconfigstopasyncresponse_5ft',['slSmartConfigStopAsyncResponse_t',['../structsl_smart_config_stop_async_response__t.html',1,'']]], + ['slsockaddr_5ft',['SlSockAddr_t',['../struct_sl_sock_addr__t.html',1,'']]], + ['slsockaddrin6_5ft',['SlSockAddrIn6_t',['../struct_sl_sock_addr_in6__t.html',1,'']]], + ['slsockaddrin_5ft',['SlSockAddrIn_t',['../struct_sl_sock_addr_in__t.html',1,'']]], + ['slsocketasyncevent_5ft',['SlSocketAsyncEvent_t',['../struct_sl_socket_async_event__t.html',1,'']]], + ['slsockevent_5ft',['SlSockEvent_t',['../struct_sl_sock_event__t.html',1,'']]], + ['slsockeventdata_5fu',['SlSockEventData_u',['../union_sl_sock_event_data__u.html',1,'']]], + ['slsockipmreq',['SlSockIpMreq',['../struct_sl_sock_ip_mreq.html',1,'']]], + ['slsockkeepalive_5ft',['SlSockKeepalive_t',['../struct_sl_sock_keepalive__t.html',1,'']]], + ['slsocknonblocking_5ft',['SlSockNonblocking_t',['../struct_sl_sock_nonblocking__t.html',1,'']]], + ['slsockreuseaddr_5ft',['SlSockReuseaddr_t',['../struct_sl_sock_reuseaddr__t.html',1,'']]], + ['slsocksecuremask',['SlSockSecureMask',['../struct_sl_sock_secure_mask.html',1,'']]], + ['slsocksecuremethod',['SlSockSecureMethod',['../struct_sl_sock_secure_method.html',1,'']]], + ['slsocktxfaileventdata_5ft',['SlSockTxFailEventData_t',['../struct_sl_sock_tx_fail_event_data__t.html',1,'']]], + ['slsockwinsize_5ft',['SlSockWinsize_t',['../struct_sl_sock_winsize__t.html',1,'']]], + ['sltimeval_5ft',['SlTimeval_t',['../struct_sl_timeval__t.html',1,'']]], + ['sltransceiverrxoverhead_5ft',['SlTransceiverRxOverHead_t',['../struct_sl_transceiver_rx_over_head__t.html',1,'']]], + ['slversionfull',['SlVersionFull',['../struct_sl_version_full.html',1,'']]], + ['slwlanconnectasyncresponse_5ft',['slWlanConnectAsyncResponse_t',['../structsl_wlan_connect_async_response__t.html',1,'']]], + ['slwlanconnfailureasyncresponse_5ft',['slWlanConnFailureAsyncResponse_t',['../structsl_wlan_conn_failure_async_response__t.html',1,'']]], + ['slwlanevent_5ft',['SlWlanEvent_t',['../struct_sl_wlan_event__t.html',1,'']]], + ['slwlaneventdata_5fu',['SlWlanEventData_u',['../union_sl_wlan_event_data__u.html',1,'']]], + ['slwlanscanparamcommand_5ft',['slWlanScanParamCommand_t',['../structsl_wlan_scan_param_command__t.html',1,'']]], + ['sock_5fsecurefiles',['sock_secureFiles',['../structsock__secure_files.html',1,'']]], + ['socket',['Socket',['../group__socket.html',1,'']]] +]; diff --git a/docs/simplelink_api/html/search/all_74.html b/docs/simplelink_api/html/search/all_74.html index f5354c8..0276d31 100644 --- a/docs/simplelink_api/html/search/all_74.html +++ b/docs/simplelink_api/html/search/all_74.html @@ -1,26 +1,26 @@ - - - - - - - -
-
Loading...
-
-
- TriggerCompareFunction - SlrxFilterTrigger_t -
-
-
Searching...
-
No Matches
- -
- - + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/simplelink_api/html/search/all_74.js b/docs/simplelink_api/html/search/all_74.js new file mode 100644 index 0000000..0fab3f4 --- /dev/null +++ b/docs/simplelink_api/html/search/all_74.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['triggercomparefunction',['TriggerCompareFunction',['../struct_slrx_filter_trigger__t.html#a66f6c39245f5a4123398f30372080bfc',1,'SlrxFilterTrigger_t']]] +]; diff --git a/docs/simplelink_api/html/search/all_75.html b/docs/simplelink_api/html/search/all_75.html index c2c8b46..b6d0ea4 100644 --- a/docs/simplelink_api/html/search/all_75.html +++ b/docs/simplelink_api/html/search/all_75.html @@ -1,26 +1,26 @@ - - - - - - - -
-
Loading...
-
-
- UpperOffset - SlrxFilterPayloadType_t -
-
-
Searching...
-
No Matches
- -
- - + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/simplelink_api/html/search/all_75.js b/docs/simplelink_api/html/search/all_75.js new file mode 100644 index 0000000..6bd3428 --- /dev/null +++ b/docs/simplelink_api/html/search/all_75.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['upperoffset',['UpperOffset',['../struct_slrx_filter_payload_type__t.html#afde99c9d09bcb152ed68b329a9c31778',1,'SlrxFilterPayloadType_t']]], + ['userevents',['UserEvents',['../group___user_events.html',1,'']]] +]; diff --git a/docs/simplelink_api/html/search/all_77.html b/docs/simplelink_api/html/search/all_77.html new file mode 100644 index 0000000..51d5cb9 --- /dev/null +++ b/docs/simplelink_api/html/search/all_77.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/simplelink_api/html/search/all_77.js b/docs/simplelink_api/html/search/all_77.js new file mode 100644 index 0000000..9e9c494 --- /dev/null +++ b/docs/simplelink_api/html/search/all_77.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['wlan',['Wlan',['../group__wlan.html',1,'']]] +]; diff --git a/docs/simplelink_api/html/search/all_8.html b/docs/simplelink_api/html/search/all_8.html deleted file mode 100644 index f8f8560..0000000 --- a/docs/simplelink_api/html/search/all_8.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/all_8.js b/docs/simplelink_api/html/search/all_8.js deleted file mode 100644 index 6619a27..0000000 --- a/docs/simplelink_api/html/search/all_8.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['parentfilterid',['ParentFilterID',['../struct_slrx_filter_trigger__t.html#a58947c0d33b44b6adf9e52be48442da0',1,'SlrxFilterTrigger_t']]] -]; diff --git a/docs/simplelink_api/html/search/all_9.html b/docs/simplelink_api/html/search/all_9.html deleted file mode 100644 index cb525ab..0000000 --- a/docs/simplelink_api/html/search/all_9.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/all_9.js b/docs/simplelink_api/html/search/all_9.js deleted file mode 100644 index 21508d4..0000000 --- a/docs/simplelink_api/html/search/all_9.js +++ /dev/null @@ -1,16 +0,0 @@ -var searchData= -[ - ['regxpattern',['RegxPattern',['../struct_slrx_filter_payload_type__t.html#a87972b443af7974c2e52bea59b8aed29',1,'SlrxFilterPayloadType_t']]], - ['rulecomparefunc',['RuleCompareFunc',['../struct_slrx_filter_header_type__t.html#aa92cfd1d32af09ab6c845ced96c4110f',1,'SlrxFilterHeaderType_t']]], - ['ruleheaderargs',['RuleHeaderArgs',['../struct_slrx_filter_rule_header_args_and_mask__t.html#abb9bde3180785cbeed7c73b5253c10ab',1,'SlrxFilterRuleHeaderArgsAndMask_t']]], - ['ruleheaderargsandmask',['RuleHeaderArgsAndMask',['../struct_slrx_filter_header_type__t.html#afb384f375f43a8cb7e349ffaf70c26e6',1,'SlrxFilterHeaderType_t']]], - ['ruleheaderargsmask',['RuleHeaderArgsMask',['../struct_slrx_filter_rule_header_args_and_mask__t.html#a56eb016bde23aa213a1b2ffdab58f45b',1,'SlrxFilterRuleHeaderArgsAndMask_t']]], - ['ruleheaderfield',['RuleHeaderfield',['../struct_slrx_filter_header_type__t.html#ac40cef42995351984232b29151bc0b6c',1,'SlrxFilterHeaderType_t']]], - ['rulepadding',['RulePadding',['../struct_slrx_filter_header_type__t.html#aab0c11c64eed544d5fb67de89249c6fa',1,'SlrxFilterHeaderType_t']]], - ['rxfilterdb16bytesruleargs',['RxFilterDB16BytesRuleArgs',['../union_slrx_filter_header_arg__t.html#a26d90366d80d756f1eb2d14eb64b5dc6',1,'SlrxFilterHeaderArg_t']]], - ['rxfilterdb18bytesasciiruleargs',['RxFilterDB18BytesAsciiRuleArgs',['../union_slrx_filter_header_arg__t.html#aeec8bc31c1d80630b72ea2e25a18a596',1,'SlrxFilterHeaderArg_t']]], - ['rxfilterdb1bytesruleargs',['RxFilterDB1BytesRuleArgs',['../union_slrx_filter_header_arg__t.html#ada685946d2c6c39fdbbc51b9e93abb84',1,'SlrxFilterHeaderArg_t']]], - ['rxfilterdb4bytesruleargs',['RxFilterDB4BytesRuleArgs',['../union_slrx_filter_header_arg__t.html#a1e508430e5a6792cac172b6c998c6567',1,'SlrxFilterHeaderArg_t']]], - ['rxfilterdb5bytesruleasciiargs',['RxFilterDB5BytesRuleAsciiArgs',['../union_slrx_filter_header_arg__t.html#a58bc18e2b2e4ba9d28c8427996e5c743',1,'SlrxFilterHeaderArg_t']]], - ['rxfilterdb6bytesruleargs',['RxFilterDB6BytesRuleArgs',['../union_slrx_filter_header_arg__t.html#a41fabfb5e5eef845d59da375897130f5',1,'SlrxFilterHeaderArg_t']]] -]; diff --git a/docs/simplelink_api/html/search/all_a.html b/docs/simplelink_api/html/search/all_a.html deleted file mode 100644 index 393a236..0000000 --- a/docs/simplelink_api/html/search/all_a.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/all_a.js b/docs/simplelink_api/html/search/all_a.js deleted file mode 100644 index 087d7a7..0000000 --- a/docs/simplelink_api/html/search/all_a.js +++ /dev/null @@ -1,162 +0,0 @@ -var searchData= -[ - ['sl_5faccept',['sl_Accept',['../group__socket.html#ga72085bf8fae027f8fe31a0eb99a6808b',1,'socket.h']]], - ['sl_5fbind',['sl_Bind',['../group__socket.html#gadcb0c4792127dceb1feb3e9b87ab2094',1,'socket.h']]], - ['sl_5fclose',['sl_Close',['../group__socket.html#gacc7971a6e41592c8ef90936b25495a8b',1,'socket.h']]], - ['sl_5fconnect',['sl_Connect',['../group__socket.html#gad8b9db85493e84b19994840f4cff0ca0',1,'socket.h']]], - ['sl_5fdevget',['sl_DevGet',['../group__device.html#ga99e4952cbe9d52fe22698e6e7a59b891',1,'device.h']]], - ['sl_5fdevicedisable',['sl_DeviceDisable',['../group__configuration__enable__device.html#gacca1eb461c75328c51f1f31c68211f2f',1,'user.h']]], - ['sl_5fdeviceenable',['sl_DeviceEnable',['../group__configuration__enable__device.html#ga8bbed8fdfdf8935ac0dd9a05b04d30ca',1,'user.h']]], - ['sl_5fdevicereport',['sl_DeviceReport',['../structsl___device_report.html',1,'']]], - ['sl_5fdevset',['sl_DevSet',['../group__device.html#gad9f4a882aaa3da4631deed04b789d801',1,'device.h']]], - ['sl_5feventmaskget',['sl_EventMaskGet',['../group__device.html#gaa6b773e7c7bc76a72aa4c01aa65e250a',1,'device.h']]], - ['sl_5feventmaskset',['sl_EventMaskSet',['../group__device.html#ga7806b05e2f17b11b8d054f92f7f2c868',1,'device.h']]], - ['sl_5ffd_5fclr',['SL_FD_CLR',['../group__socket.html#gaa8aefbd7da7312044d0c47cb256e5029',1,'socket.h']]], - ['sl_5ffd_5fisset',['SL_FD_ISSET',['../group__socket.html#ga9c87fa7e319677c3d2f88180a21fee2c',1,'socket.h']]], - ['sl_5ffd_5fset',['SL_FD_SET',['../group__socket.html#ga0d9e401652361c24235f157e65e35365',1,'socket.h']]], - ['sl_5ffd_5fzero',['SL_FD_ZERO',['../group__socket.html#gac58eca56e2cf9bf58f8f3ef8790f7740',1,'socket.h']]], - ['sl_5ffsclose',['sl_FsClose',['../group___file_system.html#gadcea87bf2342174220435d564b894a42',1,'fs.h']]], - ['sl_5ffsdel',['sl_FsDel',['../group___file_system.html#ga08228317c6090bb2ce1eca508acb1f35',1,'fs.h']]], - ['sl_5ffsgetinfo',['sl_FsGetInfo',['../group___file_system.html#gae3ebf3e8ef6f34ff9e3fe97e5370aa1c',1,'fs.h']]], - ['sl_5ffsopen',['sl_FsOpen',['../group___file_system.html#ga6a9aaae1813255fa13c7d6bc26c2904c',1,'fs.h']]], - ['sl_5ffsread',['sl_FsRead',['../group___file_system.html#ga62835b890b9f9992c3db60119a627dbc',1,'fs.h']]], - ['sl_5ffswrite',['sl_FsWrite',['../group___file_system.html#ga32f5957d3f53ea68d1c2c80e2e2b6787',1,'fs.h']]], - ['sl_5fgetsockopt',['sl_GetSockOpt',['../group__socket.html#ga77d6029b0c39df5541b0b0d6484591b4',1,'socket.h']]], - ['sl_5fhtonl',['sl_Htonl',['../group__socket.html#ga712c2a31c2844b54c33ede3a9a148d61',1,'socket.h']]], - ['sl_5fhtons',['sl_Htons',['../group__socket.html#gadfb6f98e5c75a46050780e8afbae13bd',1,'socket.h']]], - ['sl_5fhttpservercallback',['sl_HttpServerCallback',['../group__configuration__events.html#gacef3a52784e64d85ac16e3184276e8e7',1,'sl_HttpServerCallback(): user.h'],['../group___user_events.html#gacfd6910f913239edf6eda7889877e8de',1,'sl_HttpServerCallback(SlHttpServerEvent_t *pSlHttpServerEvent, SlHttpServerResponse_t *pSlHttpServerResponse): SimpleLink.h']]], - ['sl_5fifclose',['sl_IfClose',['../group__configuration__interface.html#ga93d829306f92470614ca2fe71e7fbaa2',1,'user.h']]], - ['sl_5fifmaskinthdlr',['sl_IfMaskIntHdlr',['../group__configuration__interface.html#ga134a6c4658baae78724989e8a36d7be0',1,'user.h']]], - ['sl_5fifopen',['sl_IfOpen',['../group__configuration__interface.html#ga206e7c86da4e31989d54dbd8531ce505',1,'user.h']]], - ['sl_5fifread',['sl_IfRead',['../group__configuration__interface.html#ga0d4d3db7b5ee6efcaf940de38f32d190',1,'user.h']]], - ['sl_5fifreginthdlr',['sl_IfRegIntHdlr',['../group__configuration__interface.html#ga0e17e205005322be3b619eeeeec9f069',1,'user.h']]], - ['sl_5fifunmaskinthdlr',['sl_IfUnMaskIntHdlr',['../group__configuration__interface.html#gab3b2a3ae727a4e932ee45ea17fe4f701',1,'user.h']]], - ['sl_5fifwrite',['sl_IfWrite',['../group__configuration__interface.html#gaaca4940235fc8e01cdad18a0908fda34',1,'user.h']]], - ['sl_5flisten',['sl_Listen',['../group__socket.html#ga7d864d86f8dd7296774072db021a69e7',1,'socket.h']]], - ['sl_5flockobjcreate',['sl_LockObjCreate',['../group__configuration__os.html#gac1d0a12a5afd13d8b7809911c645fd5c',1,'user.h']]], - ['sl_5flockobjdelete',['sl_LockObjDelete',['../group__configuration__os.html#ga6ac346506983bdee1f92bf25be6242d8',1,'user.h']]], - ['sl_5flockobjlock',['sl_LockObjLock',['../group__configuration__os.html#ga53c6c1fb7069626627b59ed2ac526f37',1,'user.h']]], - ['sl_5flockobjunlock',['sl_LockObjUnlock',['../group__configuration__os.html#gae4e01547906364515ec4ed1efd07020c',1,'user.h']]], - ['sl_5fnetappdnsgethostbyname',['sl_NetAppDnsGetHostByName',['../group__netapp.html#ga0cb97cebe1700f226a106dcaf380d621',1,'netapp.h']]], - ['sl_5fnetappdnsgethostbyservice',['sl_NetAppDnsGetHostByService',['../group__netapp.html#ga9f81d4dcdc49acbcb4f7114e23b36863',1,'netapp.h']]], - ['sl_5fnetappevthdlr',['sl_NetAppEvtHdlr',['../group__configuration__events.html#ga3c0891823e25cd59435c60d20b5d4ca2',1,'sl_NetAppEvtHdlr(): user.h'],['../group___user_events.html#gaa6d77040cbaaa41f5ddaf4f70d9d652c',1,'sl_NetAppEvtHdlr(SlNetAppEvent_t *pSlNetApp): SimpleLink.h']]], - ['sl_5fnetappget',['sl_NetAppGet',['../group__netapp.html#gaa56ce9e64400819d6040daf0a99a00e1',1,'netapp.h']]], - ['sl_5fnetappgetservicelist',['sl_NetAppGetServiceList',['../group__netapp.html#ga16fb7d6f45b455c16396a8e7c67766ea',1,'netapp.h']]], - ['sl_5fnetappmdnsregisterservice',['sl_NetAppMDNSRegisterService',['../group__netapp.html#gaed2c05189b54f6c61d143a551191abc8',1,'netapp.h']]], - ['sl_5fnetappmdnsunregisterservice',['sl_NetAppMDNSUnRegisterService',['../group__netapp.html#gac7fa8da673496ba7a6a25ef54ba4da27',1,'netapp.h']]], - ['sl_5fnetapppingstart',['sl_NetAppPingStart',['../group__netapp.html#ga8df56e6702e8f8a56dce8eb679ace02e',1,'netapp.h']]], - ['sl_5fnetappset',['sl_NetAppSet',['../group__netapp.html#ga123121018f78e1417742903d033dc6ef',1,'netapp.h']]], - ['sl_5fnetappstart',['sl_NetAppStart',['../group__netapp.html#ga026042b00c2ac7f4272d009d883c9335',1,'netapp.h']]], - ['sl_5fnetappstop',['sl_NetAppStop',['../group__netapp.html#ga4ca13631c7c531b661200fe6b7fe7b49',1,'netapp.h']]], - ['sl_5fnetcfgget',['sl_NetCfgGet',['../group__netcfg.html#gaae48efdddc313517b86d25d819f10b24',1,'netcfg.h']]], - ['sl_5fnetcfgset',['sl_NetCfgSet',['../group__netcfg.html#gab199703b982451676f7c5bdb344ec4ef',1,'netcfg.h']]], - ['sl_5fos_5fno_5fwait',['SL_OS_NO_WAIT',['../group__configuration__os.html#gab3addb759397657f08d76f9a8d911df3',1,'user.h']]], - ['sl_5fos_5fret_5fcode_5fok',['SL_OS_RET_CODE_OK',['../group__configuration__os.html#gab7a5fd0efc65395fb4a08a373d5b2249',1,'user.h']]], - ['sl_5fos_5fwait_5fforever',['SL_OS_WAIT_FOREVER',['../group__configuration__os.html#ga46fef31825e3d93f0cbf87ef0f0e8bdc',1,'user.h']]], - ['sl_5fplatform_5fexternal_5fspawn',['SL_PLATFORM_EXTERNAL_SPAWN',['../group__configuration__os.html#gab5eaa3977a30d7850822d02d59177134',1,'user.h']]], - ['sl_5fprotocol_5finfoelement_5ft',['sl_protocol_InfoElement_t',['../structsl__protocol___info_element__t.html',1,'']]], - ['sl_5fprotocol_5fwlansetinfoelement_5ft',['sl_protocol_WlanSetInfoElement_t',['../structsl__protocol___wlan_set_info_element__t.html',1,'']]], - ['sl_5frecv',['sl_Recv',['../group__socket.html#gace86078cc514a5efa01f2b757e3bb8bf',1,'socket.h']]], - ['sl_5frecvfrom',['sl_RecvFrom',['../group__socket.html#gaf370fe1b17863024b28e081af02f6cf3',1,'socket.h']]], - ['sl_5fselect',['sl_Select',['../group__socket.html#ga97747fea9f469feeb7272b76e4fe9a0e',1,'socket.h']]], - ['sl_5fsend',['sl_Send',['../group__socket.html#gaf3234446a6f3c770d5a3d56300f487f6',1,'socket.h']]], - ['sl_5fsendto',['sl_SendTo',['../group__socket.html#ga783a041dad81818b4b8d15e4d7a852fa',1,'socket.h']]], - ['sl_5fsetsockopt',['sl_SetSockOpt',['../group__socket.html#ga6363ea2098e629c1a6e2bf80e731fb79',1,'socket.h']]], - ['sl_5fsocket',['sl_Socket',['../group__socket.html#gaa775fcb6d09bf35b9dac3e5eb8e8c997',1,'socket.h']]], - ['sl_5fsockevthdlr',['sl_SockEvtHdlr',['../group__configuration__events.html#gadb456a8a930b59fe6a49a94480173f4e',1,'sl_SockEvtHdlr(): user.h'],['../group___user_events.html#ga456ce303ecb46525a9a4bf281e82100f',1,'sl_SockEvtHdlr(SlSockEvent_t *pSlSockEvent): SimpleLink.h']]], - ['sl_5fstart',['sl_Start',['../group__device.html#ga5869df658d2c9fe3c2baa50503a1a8dd',1,'device.h']]], - ['sl_5fstop',['sl_Stop',['../group__device.html#ga7baa360e5cda2cff9b52c0d9b69a6c86',1,'device.h']]], - ['sl_5fsyncobjcreate',['sl_SyncObjCreate',['../group__configuration__os.html#ga8c0d4537932fc4d16fdb74b47c87f25c',1,'user.h']]], - ['sl_5fsyncobjdelete',['sl_SyncObjDelete',['../group__configuration__os.html#ga7c3a3039c187e241dc672012283a1dbd',1,'user.h']]], - ['sl_5fsyncobjsignal',['sl_SyncObjSignal',['../group__configuration__os.html#gafd412ee7243ea29192ab6156e5dae006',1,'user.h']]], - ['sl_5fsyncobjsignalfromirq',['sl_SyncObjSignalFromIRQ',['../group__configuration__os.html#ga8a675ba872a3baab12ba0061d0438497',1,'user.h']]], - ['sl_5fsyncobjwait',['sl_SyncObjWait',['../group__configuration__os.html#gad6449455165bec5c40eb0a1b399e285a',1,'user.h']]], - ['sl_5fwlanconnect',['sl_WlanConnect',['../group__wlan.html#ga77385f1875fa8dc16087dc51a135b303',1,'wlan.h']]], - ['sl_5fwlandisconnect',['sl_WlanDisconnect',['../group__wlan.html#ga8d3140cea09851de2c580c89f222f808',1,'wlan.h']]], - ['sl_5fwlanevthdlr',['sl_WlanEvtHdlr',['../group__configuration__events.html#ga562ae3aa3677752a7860927c6723a47c',1,'sl_WlanEvtHdlr(): user.h'],['../group___user_events.html#ga43d18f96a28035b76652c652f8e9b351',1,'sl_WlanEvtHdlr(SlWlanEvent_t *pSlWlanEvent): SimpleLink.h']]], - ['sl_5fwlanget',['sl_WlanGet',['../group__wlan.html#gac400e2c9d09b15c953ed2766b33295d5',1,'wlan.h']]], - ['sl_5fwlangetnetworklist',['sl_WlanGetNetworkList',['../group__wlan.html#ga2896a54ee7672e6cd1ee37b1f2fe25b4',1,'wlan.h']]], - ['sl_5fwlannetworkentry_5ft',['Sl_WlanNetworkEntry_t',['../struct_sl___wlan_network_entry__t.html',1,'']]], - ['sl_5fwlanpolicyget',['sl_WlanPolicyGet',['../group__wlan.html#ga1b9a54dd2e2bf803aa35db1fda145660',1,'wlan.h']]], - ['sl_5fwlanpolicyset',['sl_WlanPolicySet',['../group__wlan.html#gae6e655c4c90b29ab2fccbfe620ec6a50',1,'wlan.h']]], - ['sl_5fwlanprofileadd',['sl_WlanProfileAdd',['../group__wlan.html#ga3314697c8034ce4d12809cc16e717c58',1,'wlan.h']]], - ['sl_5fwlanprofiledel',['sl_WlanProfileDel',['../group__wlan.html#ga26b54ee4d92ffbc83381e50cfb23f6d7',1,'wlan.h']]], - ['sl_5fwlanprofileget',['sl_WlanProfileGet',['../group__wlan.html#gabdb0111c7ac6315038a05a65f92dd5e1',1,'wlan.h']]], - ['sl_5fwlanrxfilteradd',['sl_WlanRxFilterAdd',['../group__wlan.html#ga0f61489aecc77c79f5350a8c6bab3ab5',1,'wlan_rx_filters.h']]], - ['sl_5fwlanrxfilterget',['sl_WlanRxFilterGet',['../group__wlan.html#gab5ffd26ae9abe6ea5bc61b99a0ced94f',1,'wlan_rx_filters.h']]], - ['sl_5fwlanrxfilterset',['sl_WlanRxFilterSet',['../group__wlan.html#gac30d8b0d601562d2f8a8468da18bad11',1,'wlan_rx_filters.h']]], - ['sl_5fwlanrxstatget',['sl_WlanRxStatGet',['../group__wlan.html#ga91085b684cf378ae5a1ab0884b448c7d',1,'wlan.h']]], - ['sl_5fwlanrxstatstart',['sl_WlanRxStatStart',['../group__wlan.html#ga40fdb95f2590b43c91a60377349aad4c',1,'wlan.h']]], - ['sl_5fwlanrxstatstop',['sl_WlanRxStatStop',['../group__wlan.html#ga69b1778b120c0b2db7f2fd2884dde5d8',1,'wlan.h']]], - ['sl_5fwlanset',['sl_WlanSet',['../group__wlan.html#ga1a64252fcd41167613bed9c63db18fd4',1,'wlan.h']]], - ['sl_5fwlansetmode',['sl_WlanSetMode',['../group__wlan.html#ga14a7b9540cb77fd6f25d867dc4b86216',1,'wlan.h']]], - ['sl_5fwlansmartconfigstart',['sl_WlanSmartConfigStart',['../group__wlan.html#ga2ac29ca184173a50d76a36f259a4435d',1,'wlan.h']]], - ['sl_5fwlansmartconfigstop',['sl_WlanSmartConfigStop',['../group__wlan.html#gac95a8b72fab78924ea6b52e3799c7de6',1,'wlan.h']]], - ['sldatetime_5ft',['SlDateTime_t',['../struct_sl_date_time__t.html',1,'']]], - ['sldeviceevent_5ft',['SlDeviceEvent_t',['../struct_sl_device_event__t.html',1,'']]], - ['slfdset_5ft',['SlFdSet_t',['../struct_sl_fd_set__t.html',1,'']]], - ['slfsfileinfo_5ft',['SlFsFileInfo_t',['../struct_sl_fs_file_info__t.html',1,'']]], - ['slgetrxstatresponse_5ft',['SlGetRxStatResponse_t',['../struct_sl_get_rx_stat_response__t.html',1,'']]], - ['slgetsecparamsext_5ft',['SlGetSecParamsExt_t',['../struct_sl_get_sec_params_ext__t.html',1,'']]], - ['slhttpserverevent_5ft',['SlHttpServerEvent_t',['../struct_sl_http_server_event__t.html',1,'']]], - ['slhttpservereventdata_5fu',['SlHttpServerEventData_u',['../union_sl_http_server_event_data__u.html',1,'']]], - ['slhttpserverresponse_5ft',['SlHttpServerResponse_t',['../struct_sl_http_server_response__t.html',1,'']]], - ['slhttpserverresponsedata_5fu',['SlHttpServerResponsedata_u',['../union_sl_http_server_responsedata__u.html',1,'']]], - ['slin6addr_5ft',['SlIn6Addr_t',['../struct_sl_in6_addr__t.html',1,'']]], - ['slinaddr_5ft',['SlInAddr_t',['../struct_sl_in_addr__t.html',1,'']]], - ['slipleasedasync_5ft',['SlIpLeasedAsync_t',['../struct_sl_ip_leased_async__t.html',1,'']]], - ['slipreleasedasync_5ft',['SlIpReleasedAsync_t',['../struct_sl_ip_released_async__t.html',1,'']]], - ['slipv4acquiredasync_5ft',['SlIpV4AcquiredAsync_t',['../struct_sl_ip_v4_acquired_async__t.html',1,'']]], - ['slipv6acquiredasync_5ft',['SlIpV6AcquiredAsync_t',['../struct_sl_ip_v6_acquired_async__t.html',1,'']]], - ['slnetappdhcpserverbasicopt_5ft',['SlNetAppDhcpServerBasicOpt_t',['../struct_sl_net_app_dhcp_server_basic_opt__t.html',1,'']]], - ['slnetappevent_5ft',['SlNetAppEvent_t',['../struct_sl_net_app_event__t.html',1,'']]], - ['slnetappeventdata_5fu',['SlNetAppEventData_u',['../union_sl_net_app_event_data__u.html',1,'']]], - ['slnetappgetfullserviceipv4list_5ft',['SlNetAppGetFullServiceIpv4List_t',['../struct_sl_net_app_get_full_service_ipv4_list__t.html',1,'']]], - ['slnetappgetfullservicewithtextipv4list_5ft',['SlNetAppGetFullServiceWithTextIpv4List_t',['../struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html',1,'']]], - ['slnetappgetshortserviceipv4list_5ft',['SlNetAppGetShortServiceIpv4List_t',['../struct_sl_net_app_get_short_service_ipv4_list__t.html',1,'']]], - ['slnetappserviceadvertisetimingparameters_5ft',['SlNetAppServiceAdvertiseTimingParameters_t',['../struct_sl_net_app_service_advertise_timing_parameters__t.html',1,'']]], - ['slnetcfgipv4args_5ft',['SlNetCfgIpV4Args_t',['../struct_sl_net_cfg_ip_v4_args__t.html',1,'']]], - ['slpeerinfoasyncresponse_5ft',['slPeerInfoAsyncResponse_t',['../structsl_peer_info_async_response__t.html',1,'']]], - ['slpingreport_5ft',['SlPingReport_t',['../struct_sl_ping_report__t.html',1,'']]], - ['slpingstartcommand_5ft',['SlPingStartCommand_t',['../struct_sl_ping_start_command__t.html',1,'']]], - ['slrxfilteraction_5ft',['SlrxFilterAction_t',['../struct_slrx_filter_action__t.html',1,'']]], - ['slrxfilteractiontype_5ft',['SlrxFilterActionType_t',['../union_slrx_filter_action_type__t.html',1,'']]], - ['slrxfiltercombinationtype_5ft',['SlrxFilterCombinationType_t',['../struct_slrx_filter_combination_type__t.html',1,'']]], - ['slrxfilterflags_5ft',['SlrxFilterFlags_t',['../union_slrx_filter_flags__t.html',1,'']]], - ['slrxfilterheaderarg_5ft',['SlrxFilterHeaderArg_t',['../union_slrx_filter_header_arg__t.html',1,'']]], - ['slrxfilterheadertype_5ft',['SlrxFilterHeaderType_t',['../struct_slrx_filter_header_type__t.html',1,'']]], - ['slrxfilterpayloadtype_5ft',['SlrxFilterPayloadType_t',['../struct_slrx_filter_payload_type__t.html',1,'']]], - ['slrxfilterregxpattern_5ft',['SlrxFilterRegxPattern_t',['../struct_slrx_filter_regx_pattern__t.html',1,'']]], - ['slrxfilterrule_5ft',['SlrxFilterRule_t',['../union_slrx_filter_rule__t.html',1,'']]], - ['slrxfilterruleheaderargsandmask_5ft',['SlrxFilterRuleHeaderArgsAndMask_t',['../struct_slrx_filter_rule_header_args_and_mask__t.html',1,'']]], - ['slrxfiltertrigger_5ft',['SlrxFilterTrigger_t',['../struct_slrx_filter_trigger__t.html',1,'']]], - ['slrxfiltertriggerconnectionstates_5ft',['SlrxFilterTriggerConnectionStates_t',['../union_slrx_filter_trigger_connection_states__t.html',1,'']]], - ['slrxfiltertriggerroles_5ft',['SlrxFilterTriggerRoles_t',['../union_slrx_filter_trigger_roles__t.html',1,'']]], - ['slsecparams_5ft',['SlSecParams_t',['../struct_sl_sec_params__t.html',1,'']]], - ['slsecparamsext_5ft',['SlSecParamsExt_t',['../struct_sl_sec_params_ext__t.html',1,'']]], - ['slsmartconfigstartasyncresponse_5ft',['slSmartConfigStartAsyncResponse_t',['../structsl_smart_config_start_async_response__t.html',1,'']]], - ['slsmartconfigstopasyncresponse_5ft',['slSmartConfigStopAsyncResponse_t',['../structsl_smart_config_stop_async_response__t.html',1,'']]], - ['slsockaddr_5ft',['SlSockAddr_t',['../struct_sl_sock_addr__t.html',1,'']]], - ['slsockaddrin6_5ft',['SlSockAddrIn6_t',['../struct_sl_sock_addr_in6__t.html',1,'']]], - ['slsockaddrin_5ft',['SlSockAddrIn_t',['../struct_sl_sock_addr_in__t.html',1,'']]], - ['slsocketasyncevent_5ft',['SlSocketAsyncEvent_t',['../struct_sl_socket_async_event__t.html',1,'']]], - ['slsockevent_5ft',['SlSockEvent_t',['../struct_sl_sock_event__t.html',1,'']]], - ['slsockeventdata_5ft',['SlSockEventData_t',['../struct_sl_sock_event_data__t.html',1,'']]], - ['slsockipmreq',['SlSockIpMreq',['../struct_sl_sock_ip_mreq.html',1,'']]], - ['slsockkeepalive_5ft',['SlSockKeepalive_t',['../struct_sl_sock_keepalive__t.html',1,'']]], - ['slsocknonblocking_5ft',['SlSockNonblocking_t',['../struct_sl_sock_nonblocking__t.html',1,'']]], - ['slsockreuseaddr_5ft',['SlSockReuseaddr_t',['../struct_sl_sock_reuseaddr__t.html',1,'']]], - ['slsocksecuremask',['SlSockSecureMask',['../struct_sl_sock_secure_mask.html',1,'']]], - ['slsocksecuremethod',['SlSockSecureMethod',['../struct_sl_sock_secure_method.html',1,'']]], - ['slsockwinsize_5ft',['SlSockWinsize_t',['../struct_sl_sock_winsize__t.html',1,'']]], - ['sltimeval_5ft',['SlTimeval_t',['../struct_sl_timeval__t.html',1,'']]], - ['sltransceiverrxoverhead_5ft',['SlTransceiverRxOverHead_t',['../struct_sl_transceiver_rx_over_head__t.html',1,'']]], - ['slversionfull',['SlVersionFull',['../struct_sl_version_full.html',1,'']]], - ['slwlanconnectasyncresponse_5ft',['slWlanConnectAsyncResponse_t',['../structsl_wlan_connect_async_response__t.html',1,'']]], - ['slwlanconnfailureasyncresponse_5ft',['slWlanConnFailureAsyncResponse_t',['../structsl_wlan_conn_failure_async_response__t.html',1,'']]], - ['slwlanevent_5ft',['SlWlanEvent_t',['../struct_sl_wlan_event__t.html',1,'']]], - ['slwlaneventdata_5fu',['SlWlanEventData_u',['../union_sl_wlan_event_data__u.html',1,'']]], - ['slwlanscanparamcommand_5ft',['slWlanScanParamCommand_t',['../structsl_wlan_scan_param_command__t.html',1,'']]], - ['sock_5fsecurefiles',['sock_secureFiles',['../structsock__secure_files.html',1,'']]], - ['socket',['Socket',['../group__socket.html',1,'']]] -]; diff --git a/docs/simplelink_api/html/search/all_b.html b/docs/simplelink_api/html/search/all_b.html deleted file mode 100644 index 6d33464..0000000 --- a/docs/simplelink_api/html/search/all_b.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/all_b.js b/docs/simplelink_api/html/search/all_b.js deleted file mode 100644 index 451e3f3..0000000 --- a/docs/simplelink_api/html/search/all_b.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['triggercomparefunction',['TriggerCompareFunction',['../struct_slrx_filter_trigger__t.html#a66f6c39245f5a4123398f30372080bfc',1,'SlrxFilterTrigger_t']]] -]; diff --git a/docs/simplelink_api/html/search/all_c.html b/docs/simplelink_api/html/search/all_c.html deleted file mode 100644 index cbf7d06..0000000 --- a/docs/simplelink_api/html/search/all_c.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/all_c.js b/docs/simplelink_api/html/search/all_c.js deleted file mode 100644 index 2aab089..0000000 --- a/docs/simplelink_api/html/search/all_c.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['upperoffset',['UpperOffset',['../struct_slrx_filter_payload_type__t.html#afde99c9d09bcb152ed68b329a9c31778',1,'SlrxFilterPayloadType_t']]], - ['userevents',['UserEvents',['../group___user_events.html',1,'']]] -]; diff --git a/docs/simplelink_api/html/search/all_d.html b/docs/simplelink_api/html/search/all_d.html deleted file mode 100644 index 67a6960..0000000 --- a/docs/simplelink_api/html/search/all_d.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/all_d.js b/docs/simplelink_api/html/search/all_d.js deleted file mode 100644 index 2d20c4e..0000000 --- a/docs/simplelink_api/html/search/all_d.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['wlan',['Wlan',['../group__wlan.html',1,'']]] -]; diff --git a/docs/simplelink_api/html/search/all_e.html b/docs/simplelink_api/html/search/all_e.html deleted file mode 100644 index 92ab0e3..0000000 --- a/docs/simplelink_api/html/search/all_e.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/all_e.js b/docs/simplelink_api/html/search/all_e.js deleted file mode 100644 index 2d20c4e..0000000 --- a/docs/simplelink_api/html/search/all_e.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['wlan',['Wlan',['../group__wlan.html',1,'']]] -]; diff --git a/docs/simplelink_api/html/search/classes_0.html b/docs/simplelink_api/html/search/classes_0.html deleted file mode 100644 index d2e0c9a..0000000 --- a/docs/simplelink_api/html/search/classes_0.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/classes_0.js b/docs/simplelink_api/html/search/classes_0.js deleted file mode 100644 index c52a05d..0000000 --- a/docs/simplelink_api/html/search/classes_0.js +++ /dev/null @@ -1,13 +0,0 @@ -var searchData= -[ - ['_5fsldeviceeventdata_5fu',['_SlDeviceEventData_u',['../union___sl_device_event_data__u.html',1,'']]], - ['_5fslhttpserverdata_5ft',['_slHttpServerData_t',['../struct__sl_http_server_data__t.html',1,'']]], - ['_5fslhttpserverpostdata_5ft',['_slHttpServerPostData_t',['../struct__sl_http_server_post_data__t.html',1,'']]], - ['_5fslhttpserverstring_5ft',['_slHttpServerString_t',['../struct__sl_http_server_string__t.html',1,'']]], - ['_5fslpartialversion',['_SlPartialVersion',['../struct___sl_partial_version.html',1,'']]], - ['_5fwlanrxfilteroperationcommandbuff_5ft',['_WlanRxFilterOperationCommandBuff_t',['../struct___wlan_rx_filter_operation_command_buff__t.html',1,'']]], - ['_5fwlanrxfilterprepreparedfilterscommandbuff_5ft',['_WlanRxFilterPrePreparedFiltersCommandBuff_t',['../struct___wlan_rx_filter_pre_prepared_filters_command_buff__t.html',1,'']]], - ['_5fwlanrxfilterprepreparedfilterscommandresponsebuff_5ft',['_WlanRxFilterPrePreparedFiltersCommandResponseBuff_t',['../struct___wlan_rx_filter_pre_prepared_filters_command_response_buff__t.html',1,'']]], - ['_5fwlanrxfilterretrieveenablestatuscommandresponsebuff_5ft',['_WlanRxFilterRetrieveEnableStatusCommandResponseBuff_t',['../struct___wlan_rx_filter_retrieve_enable_status_command_response_buff__t.html',1,'']]], - ['_5fwlanrxfilterupdateargscommandbuff_5ft',['_WlanRxFilterUpdateArgsCommandBuff_t',['../struct___wlan_rx_filter_update_args_command_buff__t.html',1,'']]] -]; diff --git a/docs/simplelink_api/html/search/classes_1.html b/docs/simplelink_api/html/search/classes_1.html deleted file mode 100644 index b04aca3..0000000 --- a/docs/simplelink_api/html/search/classes_1.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/classes_1.js b/docs/simplelink_api/html/search/classes_1.js deleted file mode 100644 index 24c7259..0000000 --- a/docs/simplelink_api/html/search/classes_1.js +++ /dev/null @@ -1,73 +0,0 @@ -var searchData= -[ - ['sl_5fdevicereport',['sl_DeviceReport',['../structsl___device_report.html',1,'']]], - ['sl_5fprotocol_5finfoelement_5ft',['sl_protocol_InfoElement_t',['../structsl__protocol___info_element__t.html',1,'']]], - ['sl_5fprotocol_5fwlansetinfoelement_5ft',['sl_protocol_WlanSetInfoElement_t',['../structsl__protocol___wlan_set_info_element__t.html',1,'']]], - ['sl_5fwlannetworkentry_5ft',['Sl_WlanNetworkEntry_t',['../struct_sl___wlan_network_entry__t.html',1,'']]], - ['sldatetime_5ft',['SlDateTime_t',['../struct_sl_date_time__t.html',1,'']]], - ['sldeviceevent_5ft',['SlDeviceEvent_t',['../struct_sl_device_event__t.html',1,'']]], - ['slfdset_5ft',['SlFdSet_t',['../struct_sl_fd_set__t.html',1,'']]], - ['slfsfileinfo_5ft',['SlFsFileInfo_t',['../struct_sl_fs_file_info__t.html',1,'']]], - ['slgetrxstatresponse_5ft',['SlGetRxStatResponse_t',['../struct_sl_get_rx_stat_response__t.html',1,'']]], - ['slgetsecparamsext_5ft',['SlGetSecParamsExt_t',['../struct_sl_get_sec_params_ext__t.html',1,'']]], - ['slhttpserverevent_5ft',['SlHttpServerEvent_t',['../struct_sl_http_server_event__t.html',1,'']]], - ['slhttpservereventdata_5fu',['SlHttpServerEventData_u',['../union_sl_http_server_event_data__u.html',1,'']]], - ['slhttpserverresponse_5ft',['SlHttpServerResponse_t',['../struct_sl_http_server_response__t.html',1,'']]], - ['slhttpserverresponsedata_5fu',['SlHttpServerResponsedata_u',['../union_sl_http_server_responsedata__u.html',1,'']]], - ['slin6addr_5ft',['SlIn6Addr_t',['../struct_sl_in6_addr__t.html',1,'']]], - ['slinaddr_5ft',['SlInAddr_t',['../struct_sl_in_addr__t.html',1,'']]], - ['slipleasedasync_5ft',['SlIpLeasedAsync_t',['../struct_sl_ip_leased_async__t.html',1,'']]], - ['slipreleasedasync_5ft',['SlIpReleasedAsync_t',['../struct_sl_ip_released_async__t.html',1,'']]], - ['slipv4acquiredasync_5ft',['SlIpV4AcquiredAsync_t',['../struct_sl_ip_v4_acquired_async__t.html',1,'']]], - ['slipv6acquiredasync_5ft',['SlIpV6AcquiredAsync_t',['../struct_sl_ip_v6_acquired_async__t.html',1,'']]], - ['slnetappdhcpserverbasicopt_5ft',['SlNetAppDhcpServerBasicOpt_t',['../struct_sl_net_app_dhcp_server_basic_opt__t.html',1,'']]], - ['slnetappevent_5ft',['SlNetAppEvent_t',['../struct_sl_net_app_event__t.html',1,'']]], - ['slnetappeventdata_5fu',['SlNetAppEventData_u',['../union_sl_net_app_event_data__u.html',1,'']]], - ['slnetappgetfullserviceipv4list_5ft',['SlNetAppGetFullServiceIpv4List_t',['../struct_sl_net_app_get_full_service_ipv4_list__t.html',1,'']]], - ['slnetappgetfullservicewithtextipv4list_5ft',['SlNetAppGetFullServiceWithTextIpv4List_t',['../struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html',1,'']]], - ['slnetappgetshortserviceipv4list_5ft',['SlNetAppGetShortServiceIpv4List_t',['../struct_sl_net_app_get_short_service_ipv4_list__t.html',1,'']]], - ['slnetappserviceadvertisetimingparameters_5ft',['SlNetAppServiceAdvertiseTimingParameters_t',['../struct_sl_net_app_service_advertise_timing_parameters__t.html',1,'']]], - ['slnetcfgipv4args_5ft',['SlNetCfgIpV4Args_t',['../struct_sl_net_cfg_ip_v4_args__t.html',1,'']]], - ['slpeerinfoasyncresponse_5ft',['slPeerInfoAsyncResponse_t',['../structsl_peer_info_async_response__t.html',1,'']]], - ['slpingreport_5ft',['SlPingReport_t',['../struct_sl_ping_report__t.html',1,'']]], - ['slpingstartcommand_5ft',['SlPingStartCommand_t',['../struct_sl_ping_start_command__t.html',1,'']]], - ['slrxfilteraction_5ft',['SlrxFilterAction_t',['../struct_slrx_filter_action__t.html',1,'']]], - ['slrxfilteractiontype_5ft',['SlrxFilterActionType_t',['../union_slrx_filter_action_type__t.html',1,'']]], - ['slrxfiltercombinationtype_5ft',['SlrxFilterCombinationType_t',['../struct_slrx_filter_combination_type__t.html',1,'']]], - ['slrxfilterflags_5ft',['SlrxFilterFlags_t',['../union_slrx_filter_flags__t.html',1,'']]], - ['slrxfilterheaderarg_5ft',['SlrxFilterHeaderArg_t',['../union_slrx_filter_header_arg__t.html',1,'']]], - ['slrxfilterheadertype_5ft',['SlrxFilterHeaderType_t',['../struct_slrx_filter_header_type__t.html',1,'']]], - ['slrxfilterpayloadtype_5ft',['SlrxFilterPayloadType_t',['../struct_slrx_filter_payload_type__t.html',1,'']]], - ['slrxfilterregxpattern_5ft',['SlrxFilterRegxPattern_t',['../struct_slrx_filter_regx_pattern__t.html',1,'']]], - ['slrxfilterrule_5ft',['SlrxFilterRule_t',['../union_slrx_filter_rule__t.html',1,'']]], - ['slrxfilterruleheaderargsandmask_5ft',['SlrxFilterRuleHeaderArgsAndMask_t',['../struct_slrx_filter_rule_header_args_and_mask__t.html',1,'']]], - ['slrxfiltertrigger_5ft',['SlrxFilterTrigger_t',['../struct_slrx_filter_trigger__t.html',1,'']]], - ['slrxfiltertriggerconnectionstates_5ft',['SlrxFilterTriggerConnectionStates_t',['../union_slrx_filter_trigger_connection_states__t.html',1,'']]], - ['slrxfiltertriggerroles_5ft',['SlrxFilterTriggerRoles_t',['../union_slrx_filter_trigger_roles__t.html',1,'']]], - ['slsecparams_5ft',['SlSecParams_t',['../struct_sl_sec_params__t.html',1,'']]], - ['slsecparamsext_5ft',['SlSecParamsExt_t',['../struct_sl_sec_params_ext__t.html',1,'']]], - ['slsmartconfigstartasyncresponse_5ft',['slSmartConfigStartAsyncResponse_t',['../structsl_smart_config_start_async_response__t.html',1,'']]], - ['slsmartconfigstopasyncresponse_5ft',['slSmartConfigStopAsyncResponse_t',['../structsl_smart_config_stop_async_response__t.html',1,'']]], - ['slsockaddr_5ft',['SlSockAddr_t',['../struct_sl_sock_addr__t.html',1,'']]], - ['slsockaddrin6_5ft',['SlSockAddrIn6_t',['../struct_sl_sock_addr_in6__t.html',1,'']]], - ['slsockaddrin_5ft',['SlSockAddrIn_t',['../struct_sl_sock_addr_in__t.html',1,'']]], - ['slsocketasyncevent_5ft',['SlSocketAsyncEvent_t',['../struct_sl_socket_async_event__t.html',1,'']]], - ['slsockevent_5ft',['SlSockEvent_t',['../struct_sl_sock_event__t.html',1,'']]], - ['slsockeventdata_5ft',['SlSockEventData_t',['../struct_sl_sock_event_data__t.html',1,'']]], - ['slsockipmreq',['SlSockIpMreq',['../struct_sl_sock_ip_mreq.html',1,'']]], - ['slsockkeepalive_5ft',['SlSockKeepalive_t',['../struct_sl_sock_keepalive__t.html',1,'']]], - ['slsocknonblocking_5ft',['SlSockNonblocking_t',['../struct_sl_sock_nonblocking__t.html',1,'']]], - ['slsockreuseaddr_5ft',['SlSockReuseaddr_t',['../struct_sl_sock_reuseaddr__t.html',1,'']]], - ['slsocksecuremask',['SlSockSecureMask',['../struct_sl_sock_secure_mask.html',1,'']]], - ['slsocksecuremethod',['SlSockSecureMethod',['../struct_sl_sock_secure_method.html',1,'']]], - ['slsockwinsize_5ft',['SlSockWinsize_t',['../struct_sl_sock_winsize__t.html',1,'']]], - ['sltimeval_5ft',['SlTimeval_t',['../struct_sl_timeval__t.html',1,'']]], - ['sltransceiverrxoverhead_5ft',['SlTransceiverRxOverHead_t',['../struct_sl_transceiver_rx_over_head__t.html',1,'']]], - ['slversionfull',['SlVersionFull',['../struct_sl_version_full.html',1,'']]], - ['slwlanconnectasyncresponse_5ft',['slWlanConnectAsyncResponse_t',['../structsl_wlan_connect_async_response__t.html',1,'']]], - ['slwlanconnfailureasyncresponse_5ft',['slWlanConnFailureAsyncResponse_t',['../structsl_wlan_conn_failure_async_response__t.html',1,'']]], - ['slwlanevent_5ft',['SlWlanEvent_t',['../struct_sl_wlan_event__t.html',1,'']]], - ['slwlaneventdata_5fu',['SlWlanEventData_u',['../union_sl_wlan_event_data__u.html',1,'']]], - ['slwlanscanparamcommand_5ft',['slWlanScanParamCommand_t',['../structsl_wlan_scan_param_command__t.html',1,'']]], - ['sock_5fsecurefiles',['sock_secureFiles',['../structsock__secure_files.html',1,'']]] -]; diff --git a/docs/simplelink_api/html/search/classes_5f.html b/docs/simplelink_api/html/search/classes_5f.html index 067cf82..ddb67cf 100644 --- a/docs/simplelink_api/html/search/classes_5f.html +++ b/docs/simplelink_api/html/search/classes_5f.html @@ -1,70 +1,26 @@ - - - - - - - -
-
Loading...
- - - - - - - - - - -
Searching...
-
No Matches
- -
- - + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/simplelink_api/html/search/classes_5f.js b/docs/simplelink_api/html/search/classes_5f.js new file mode 100644 index 0000000..6c74790 --- /dev/null +++ b/docs/simplelink_api/html/search/classes_5f.js @@ -0,0 +1,13 @@ +var searchData= +[ + ['_5fsldeviceeventdata_5fu',['_SlDeviceEventData_u',['../union___sl_device_event_data__u.html',1,'']]], + ['_5fslhttpserverdata_5ft',['_slHttpServerData_t',['../struct__sl_http_server_data__t.html',1,'']]], + ['_5fslhttpserverpostdata_5ft',['_slHttpServerPostData_t',['../struct__sl_http_server_post_data__t.html',1,'']]], + ['_5fslhttpserverstring_5ft',['_slHttpServerString_t',['../struct__sl_http_server_string__t.html',1,'']]], + ['_5fslpartialversion',['_SlPartialVersion',['../struct___sl_partial_version.html',1,'']]], + ['_5fwlanrxfilteroperationcommandbuff_5ft',['_WlanRxFilterOperationCommandBuff_t',['../struct___wlan_rx_filter_operation_command_buff__t.html',1,'']]], + ['_5fwlanrxfilterprepreparedfilterscommandbuff_5ft',['_WlanRxFilterPrePreparedFiltersCommandBuff_t',['../struct___wlan_rx_filter_pre_prepared_filters_command_buff__t.html',1,'']]], + ['_5fwlanrxfilterprepreparedfilterscommandresponsebuff_5ft',['_WlanRxFilterPrePreparedFiltersCommandResponseBuff_t',['../struct___wlan_rx_filter_pre_prepared_filters_command_response_buff__t.html',1,'']]], + ['_5fwlanrxfilterretrieveenablestatuscommandresponsebuff_5ft',['_WlanRxFilterRetrieveEnableStatusCommandResponseBuff_t',['../struct___wlan_rx_filter_retrieve_enable_status_command_response_buff__t.html',1,'']]], + ['_5fwlanrxfilterupdateargscommandbuff_5ft',['_WlanRxFilterUpdateArgsCommandBuff_t',['../struct___wlan_rx_filter_update_args_command_buff__t.html',1,'']]] +]; diff --git a/docs/simplelink_api/html/search/classes_61.html b/docs/simplelink_api/html/search/classes_61.html deleted file mode 100644 index 992c992..0000000 --- a/docs/simplelink_api/html/search/classes_61.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - -
-
Loading...
-
- -
-
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/classes_69.html b/docs/simplelink_api/html/search/classes_69.html deleted file mode 100644 index 1c401ac..0000000 --- a/docs/simplelink_api/html/search/classes_69.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - -
-
Loading...
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/classes_6c.html b/docs/simplelink_api/html/search/classes_6c.html deleted file mode 100644 index 0411acf..0000000 --- a/docs/simplelink_api/html/search/classes_6c.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - -
-
Loading...
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/classes_6e.html b/docs/simplelink_api/html/search/classes_6e.html deleted file mode 100644 index 610552f..0000000 --- a/docs/simplelink_api/html/search/classes_6e.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - -
-
Loading...
- - -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/classes_73.html b/docs/simplelink_api/html/search/classes_73.html index ea3c3e1..8f203e3 100644 --- a/docs/simplelink_api/html/search/classes_73.html +++ b/docs/simplelink_api/html/search/classes_73.html @@ -1,360 +1,26 @@ - - - - - - - -
-
Loading...
- - - - - -
- -
- - -
-
- SlFdSet_t -
-
- - - - - - - -
- -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -
- - -
- -
- -
- -
- - - - - - -
- -
-
- -
- -
- -
- - - -
Searching...
-
No Matches
- -
- - + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/simplelink_api/html/search/classes_73.js b/docs/simplelink_api/html/search/classes_73.js new file mode 100644 index 0000000..30a0c2d --- /dev/null +++ b/docs/simplelink_api/html/search/classes_73.js @@ -0,0 +1,75 @@ +var searchData= +[ + ['sl_5fdevicereport',['sl_DeviceReport',['../structsl___device_report.html',1,'']]], + ['sl_5fdevicereportabort',['sl_DeviceReportAbort',['../structsl___device_report_abort.html',1,'']]], + ['sl_5fprotocol_5finfoelement_5ft',['sl_protocol_InfoElement_t',['../structsl__protocol___info_element__t.html',1,'']]], + ['sl_5fprotocol_5fwlansetinfoelement_5ft',['sl_protocol_WlanSetInfoElement_t',['../structsl__protocol___wlan_set_info_element__t.html',1,'']]], + ['sl_5fwlannetworkentry_5ft',['Sl_WlanNetworkEntry_t',['../struct_sl___wlan_network_entry__t.html',1,'']]], + ['sldatetime_5ft',['SlDateTime_t',['../struct_sl_date_time__t.html',1,'']]], + ['sldeviceevent_5ft',['SlDeviceEvent_t',['../struct_sl_device_event__t.html',1,'']]], + ['slfdset_5ft',['SlFdSet_t',['../struct_sl_fd_set__t.html',1,'']]], + ['slfsfileinfo_5ft',['SlFsFileInfo_t',['../struct_sl_fs_file_info__t.html',1,'']]], + ['slgetrxstatresponse_5ft',['SlGetRxStatResponse_t',['../struct_sl_get_rx_stat_response__t.html',1,'']]], + ['slgetsecparamsext_5ft',['SlGetSecParamsExt_t',['../struct_sl_get_sec_params_ext__t.html',1,'']]], + ['slhttpserverevent_5ft',['SlHttpServerEvent_t',['../struct_sl_http_server_event__t.html',1,'']]], + ['slhttpservereventdata_5fu',['SlHttpServerEventData_u',['../union_sl_http_server_event_data__u.html',1,'']]], + ['slhttpserverresponse_5ft',['SlHttpServerResponse_t',['../struct_sl_http_server_response__t.html',1,'']]], + ['slhttpserverresponsedata_5fu',['SlHttpServerResponsedata_u',['../union_sl_http_server_responsedata__u.html',1,'']]], + ['slin6addr_5ft',['SlIn6Addr_t',['../struct_sl_in6_addr__t.html',1,'']]], + ['slinaddr_5ft',['SlInAddr_t',['../struct_sl_in_addr__t.html',1,'']]], + ['slipleasedasync_5ft',['SlIpLeasedAsync_t',['../struct_sl_ip_leased_async__t.html',1,'']]], + ['slipreleasedasync_5ft',['SlIpReleasedAsync_t',['../struct_sl_ip_released_async__t.html',1,'']]], + ['slipv4acquiredasync_5ft',['SlIpV4AcquiredAsync_t',['../struct_sl_ip_v4_acquired_async__t.html',1,'']]], + ['slipv6acquiredasync_5ft',['SlIpV6AcquiredAsync_t',['../struct_sl_ip_v6_acquired_async__t.html',1,'']]], + ['slnetappdhcpserverbasicopt_5ft',['SlNetAppDhcpServerBasicOpt_t',['../struct_sl_net_app_dhcp_server_basic_opt__t.html',1,'']]], + ['slnetappevent_5ft',['SlNetAppEvent_t',['../struct_sl_net_app_event__t.html',1,'']]], + ['slnetappeventdata_5fu',['SlNetAppEventData_u',['../union_sl_net_app_event_data__u.html',1,'']]], + ['slnetappgetfullserviceipv4list_5ft',['SlNetAppGetFullServiceIpv4List_t',['../struct_sl_net_app_get_full_service_ipv4_list__t.html',1,'']]], + ['slnetappgetfullservicewithtextipv4list_5ft',['SlNetAppGetFullServiceWithTextIpv4List_t',['../struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html',1,'']]], + ['slnetappgetshortserviceipv4list_5ft',['SlNetAppGetShortServiceIpv4List_t',['../struct_sl_net_app_get_short_service_ipv4_list__t.html',1,'']]], + ['slnetappserviceadvertisetimingparameters_5ft',['SlNetAppServiceAdvertiseTimingParameters_t',['../struct_sl_net_app_service_advertise_timing_parameters__t.html',1,'']]], + ['slnetcfgipv4args_5ft',['SlNetCfgIpV4Args_t',['../struct_sl_net_cfg_ip_v4_args__t.html',1,'']]], + ['slpeerinfoasyncresponse_5ft',['slPeerInfoAsyncResponse_t',['../structsl_peer_info_async_response__t.html',1,'']]], + ['slpingreport_5ft',['SlPingReport_t',['../struct_sl_ping_report__t.html',1,'']]], + ['slpingstartcommand_5ft',['SlPingStartCommand_t',['../struct_sl_ping_start_command__t.html',1,'']]], + ['slrxfilteraction_5ft',['SlrxFilterAction_t',['../struct_slrx_filter_action__t.html',1,'']]], + ['slrxfilteractiontype_5ft',['SlrxFilterActionType_t',['../union_slrx_filter_action_type__t.html',1,'']]], + ['slrxfiltercombinationtype_5ft',['SlrxFilterCombinationType_t',['../struct_slrx_filter_combination_type__t.html',1,'']]], + ['slrxfilterflags_5ft',['SlrxFilterFlags_t',['../union_slrx_filter_flags__t.html',1,'']]], + ['slrxfilterheaderarg_5ft',['SlrxFilterHeaderArg_t',['../union_slrx_filter_header_arg__t.html',1,'']]], + ['slrxfilterheadertype_5ft',['SlrxFilterHeaderType_t',['../struct_slrx_filter_header_type__t.html',1,'']]], + ['slrxfilterpayloadtype_5ft',['SlrxFilterPayloadType_t',['../struct_slrx_filter_payload_type__t.html',1,'']]], + ['slrxfilterregxpattern_5ft',['SlrxFilterRegxPattern_t',['../struct_slrx_filter_regx_pattern__t.html',1,'']]], + ['slrxfilterrule_5ft',['SlrxFilterRule_t',['../union_slrx_filter_rule__t.html',1,'']]], + ['slrxfilterruleheaderargsandmask_5ft',['SlrxFilterRuleHeaderArgsAndMask_t',['../struct_slrx_filter_rule_header_args_and_mask__t.html',1,'']]], + ['slrxfiltertrigger_5ft',['SlrxFilterTrigger_t',['../struct_slrx_filter_trigger__t.html',1,'']]], + ['slrxfiltertriggerconnectionstates_5ft',['SlrxFilterTriggerConnectionStates_t',['../union_slrx_filter_trigger_connection_states__t.html',1,'']]], + ['slrxfiltertriggerroles_5ft',['SlrxFilterTriggerRoles_t',['../union_slrx_filter_trigger_roles__t.html',1,'']]], + ['slsecparams_5ft',['SlSecParams_t',['../struct_sl_sec_params__t.html',1,'']]], + ['slsecparamsext_5ft',['SlSecParamsExt_t',['../struct_sl_sec_params_ext__t.html',1,'']]], + ['slsmartconfigstartasyncresponse_5ft',['slSmartConfigStartAsyncResponse_t',['../structsl_smart_config_start_async_response__t.html',1,'']]], + ['slsmartconfigstopasyncresponse_5ft',['slSmartConfigStopAsyncResponse_t',['../structsl_smart_config_stop_async_response__t.html',1,'']]], + ['slsockaddr_5ft',['SlSockAddr_t',['../struct_sl_sock_addr__t.html',1,'']]], + ['slsockaddrin6_5ft',['SlSockAddrIn6_t',['../struct_sl_sock_addr_in6__t.html',1,'']]], + ['slsockaddrin_5ft',['SlSockAddrIn_t',['../struct_sl_sock_addr_in__t.html',1,'']]], + ['slsocketasyncevent_5ft',['SlSocketAsyncEvent_t',['../struct_sl_socket_async_event__t.html',1,'']]], + ['slsockevent_5ft',['SlSockEvent_t',['../struct_sl_sock_event__t.html',1,'']]], + ['slsockeventdata_5fu',['SlSockEventData_u',['../union_sl_sock_event_data__u.html',1,'']]], + ['slsockipmreq',['SlSockIpMreq',['../struct_sl_sock_ip_mreq.html',1,'']]], + ['slsockkeepalive_5ft',['SlSockKeepalive_t',['../struct_sl_sock_keepalive__t.html',1,'']]], + ['slsocknonblocking_5ft',['SlSockNonblocking_t',['../struct_sl_sock_nonblocking__t.html',1,'']]], + ['slsockreuseaddr_5ft',['SlSockReuseaddr_t',['../struct_sl_sock_reuseaddr__t.html',1,'']]], + ['slsocksecuremask',['SlSockSecureMask',['../struct_sl_sock_secure_mask.html',1,'']]], + ['slsocksecuremethod',['SlSockSecureMethod',['../struct_sl_sock_secure_method.html',1,'']]], + ['slsocktxfaileventdata_5ft',['SlSockTxFailEventData_t',['../struct_sl_sock_tx_fail_event_data__t.html',1,'']]], + ['slsockwinsize_5ft',['SlSockWinsize_t',['../struct_sl_sock_winsize__t.html',1,'']]], + ['sltimeval_5ft',['SlTimeval_t',['../struct_sl_timeval__t.html',1,'']]], + ['sltransceiverrxoverhead_5ft',['SlTransceiverRxOverHead_t',['../struct_sl_transceiver_rx_over_head__t.html',1,'']]], + ['slversionfull',['SlVersionFull',['../struct_sl_version_full.html',1,'']]], + ['slwlanconnectasyncresponse_5ft',['slWlanConnectAsyncResponse_t',['../structsl_wlan_connect_async_response__t.html',1,'']]], + ['slwlanconnfailureasyncresponse_5ft',['slWlanConnFailureAsyncResponse_t',['../structsl_wlan_conn_failure_async_response__t.html',1,'']]], + ['slwlanevent_5ft',['SlWlanEvent_t',['../struct_sl_wlan_event__t.html',1,'']]], + ['slwlaneventdata_5fu',['SlWlanEventData_u',['../union_sl_wlan_event_data__u.html',1,'']]], + ['slwlanscanparamcommand_5ft',['slWlanScanParamCommand_t',['../structsl_wlan_scan_param_command__t.html',1,'']]], + ['sock_5fsecurefiles',['sock_secureFiles',['../structsock__secure_files.html',1,'']]] +]; diff --git a/docs/simplelink_api/html/search/classes_74.html b/docs/simplelink_api/html/search/classes_74.html deleted file mode 100644 index e9be037..0000000 --- a/docs/simplelink_api/html/search/classes_74.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- T_SCMD -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/functions_0.html b/docs/simplelink_api/html/search/functions_0.html deleted file mode 100644 index a3f28dc..0000000 --- a/docs/simplelink_api/html/search/functions_0.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/functions_0.js b/docs/simplelink_api/html/search/functions_0.js deleted file mode 100644 index 6b0f29a..0000000 --- a/docs/simplelink_api/html/search/functions_0.js +++ /dev/null @@ -1,69 +0,0 @@ -var searchData= -[ - ['sl_5faccept',['sl_Accept',['../group__socket.html#ga72085bf8fae027f8fe31a0eb99a6808b',1,'socket.h']]], - ['sl_5fbind',['sl_Bind',['../group__socket.html#gadcb0c4792127dceb1feb3e9b87ab2094',1,'socket.h']]], - ['sl_5fclose',['sl_Close',['../group__socket.html#gacc7971a6e41592c8ef90936b25495a8b',1,'socket.h']]], - ['sl_5fconnect',['sl_Connect',['../group__socket.html#gad8b9db85493e84b19994840f4cff0ca0',1,'socket.h']]], - ['sl_5fdevget',['sl_DevGet',['../group__device.html#ga99e4952cbe9d52fe22698e6e7a59b891',1,'device.h']]], - ['sl_5fdevset',['sl_DevSet',['../group__device.html#gad9f4a882aaa3da4631deed04b789d801',1,'device.h']]], - ['sl_5feventmaskget',['sl_EventMaskGet',['../group__device.html#gaa6b773e7c7bc76a72aa4c01aa65e250a',1,'device.h']]], - ['sl_5feventmaskset',['sl_EventMaskSet',['../group__device.html#ga7806b05e2f17b11b8d054f92f7f2c868',1,'device.h']]], - ['sl_5ffd_5fclr',['SL_FD_CLR',['../group__socket.html#gaa8aefbd7da7312044d0c47cb256e5029',1,'socket.h']]], - ['sl_5ffd_5fisset',['SL_FD_ISSET',['../group__socket.html#ga9c87fa7e319677c3d2f88180a21fee2c',1,'socket.h']]], - ['sl_5ffd_5fset',['SL_FD_SET',['../group__socket.html#ga0d9e401652361c24235f157e65e35365',1,'socket.h']]], - ['sl_5ffd_5fzero',['SL_FD_ZERO',['../group__socket.html#gac58eca56e2cf9bf58f8f3ef8790f7740',1,'socket.h']]], - ['sl_5ffsclose',['sl_FsClose',['../group___file_system.html#gadcea87bf2342174220435d564b894a42',1,'fs.h']]], - ['sl_5ffsdel',['sl_FsDel',['../group___file_system.html#ga08228317c6090bb2ce1eca508acb1f35',1,'fs.h']]], - ['sl_5ffsgetinfo',['sl_FsGetInfo',['../group___file_system.html#gae3ebf3e8ef6f34ff9e3fe97e5370aa1c',1,'fs.h']]], - ['sl_5ffsopen',['sl_FsOpen',['../group___file_system.html#ga6a9aaae1813255fa13c7d6bc26c2904c',1,'fs.h']]], - ['sl_5ffsread',['sl_FsRead',['../group___file_system.html#ga62835b890b9f9992c3db60119a627dbc',1,'fs.h']]], - ['sl_5ffswrite',['sl_FsWrite',['../group___file_system.html#ga32f5957d3f53ea68d1c2c80e2e2b6787',1,'fs.h']]], - ['sl_5fgetsockopt',['sl_GetSockOpt',['../group__socket.html#ga77d6029b0c39df5541b0b0d6484591b4',1,'socket.h']]], - ['sl_5fhtonl',['sl_Htonl',['../group__socket.html#ga712c2a31c2844b54c33ede3a9a148d61',1,'socket.h']]], - ['sl_5fhtons',['sl_Htons',['../group__socket.html#gadfb6f98e5c75a46050780e8afbae13bd',1,'socket.h']]], - ['sl_5fhttpservercallback',['sl_HttpServerCallback',['../group___user_events.html#gacfd6910f913239edf6eda7889877e8de',1,'SimpleLink.h']]], - ['sl_5flisten',['sl_Listen',['../group__socket.html#ga7d864d86f8dd7296774072db021a69e7',1,'socket.h']]], - ['sl_5fnetappdnsgethostbyname',['sl_NetAppDnsGetHostByName',['../group__netapp.html#ga0cb97cebe1700f226a106dcaf380d621',1,'netapp.h']]], - ['sl_5fnetappdnsgethostbyservice',['sl_NetAppDnsGetHostByService',['../group__netapp.html#ga9f81d4dcdc49acbcb4f7114e23b36863',1,'netapp.h']]], - ['sl_5fnetappevthdlr',['sl_NetAppEvtHdlr',['../group___user_events.html#gaa6d77040cbaaa41f5ddaf4f70d9d652c',1,'SimpleLink.h']]], - ['sl_5fnetappget',['sl_NetAppGet',['../group__netapp.html#gaa56ce9e64400819d6040daf0a99a00e1',1,'netapp.h']]], - ['sl_5fnetappgetservicelist',['sl_NetAppGetServiceList',['../group__netapp.html#ga16fb7d6f45b455c16396a8e7c67766ea',1,'netapp.h']]], - ['sl_5fnetappmdnsregisterservice',['sl_NetAppMDNSRegisterService',['../group__netapp.html#gaed2c05189b54f6c61d143a551191abc8',1,'netapp.h']]], - ['sl_5fnetappmdnsunregisterservice',['sl_NetAppMDNSUnRegisterService',['../group__netapp.html#gac7fa8da673496ba7a6a25ef54ba4da27',1,'netapp.h']]], - ['sl_5fnetapppingstart',['sl_NetAppPingStart',['../group__netapp.html#ga8df56e6702e8f8a56dce8eb679ace02e',1,'netapp.h']]], - ['sl_5fnetappset',['sl_NetAppSet',['../group__netapp.html#ga123121018f78e1417742903d033dc6ef',1,'netapp.h']]], - ['sl_5fnetappstart',['sl_NetAppStart',['../group__netapp.html#ga026042b00c2ac7f4272d009d883c9335',1,'netapp.h']]], - ['sl_5fnetappstop',['sl_NetAppStop',['../group__netapp.html#ga4ca13631c7c531b661200fe6b7fe7b49',1,'netapp.h']]], - ['sl_5fnetcfgget',['sl_NetCfgGet',['../group__netcfg.html#gaae48efdddc313517b86d25d819f10b24',1,'netcfg.h']]], - ['sl_5fnetcfgset',['sl_NetCfgSet',['../group__netcfg.html#gab199703b982451676f7c5bdb344ec4ef',1,'netcfg.h']]], - ['sl_5frecv',['sl_Recv',['../group__socket.html#gace86078cc514a5efa01f2b757e3bb8bf',1,'socket.h']]], - ['sl_5frecvfrom',['sl_RecvFrom',['../group__socket.html#gaf370fe1b17863024b28e081af02f6cf3',1,'socket.h']]], - ['sl_5fselect',['sl_Select',['../group__socket.html#ga97747fea9f469feeb7272b76e4fe9a0e',1,'socket.h']]], - ['sl_5fsend',['sl_Send',['../group__socket.html#gaf3234446a6f3c770d5a3d56300f487f6',1,'socket.h']]], - ['sl_5fsendto',['sl_SendTo',['../group__socket.html#ga783a041dad81818b4b8d15e4d7a852fa',1,'socket.h']]], - ['sl_5fsetsockopt',['sl_SetSockOpt',['../group__socket.html#ga6363ea2098e629c1a6e2bf80e731fb79',1,'socket.h']]], - ['sl_5fsocket',['sl_Socket',['../group__socket.html#gaa775fcb6d09bf35b9dac3e5eb8e8c997',1,'socket.h']]], - ['sl_5fsockevthdlr',['sl_SockEvtHdlr',['../group___user_events.html#ga456ce303ecb46525a9a4bf281e82100f',1,'SimpleLink.h']]], - ['sl_5fstart',['sl_Start',['../group__device.html#ga5869df658d2c9fe3c2baa50503a1a8dd',1,'device.h']]], - ['sl_5fstop',['sl_Stop',['../group__device.html#ga7baa360e5cda2cff9b52c0d9b69a6c86',1,'device.h']]], - ['sl_5fwlanconnect',['sl_WlanConnect',['../group__wlan.html#ga77385f1875fa8dc16087dc51a135b303',1,'wlan.h']]], - ['sl_5fwlandisconnect',['sl_WlanDisconnect',['../group__wlan.html#ga8d3140cea09851de2c580c89f222f808',1,'wlan.h']]], - ['sl_5fwlanevthdlr',['sl_WlanEvtHdlr',['../group___user_events.html#ga43d18f96a28035b76652c652f8e9b351',1,'SimpleLink.h']]], - ['sl_5fwlanget',['sl_WlanGet',['../group__wlan.html#gac400e2c9d09b15c953ed2766b33295d5',1,'wlan.h']]], - ['sl_5fwlangetnetworklist',['sl_WlanGetNetworkList',['../group__wlan.html#ga2896a54ee7672e6cd1ee37b1f2fe25b4',1,'wlan.h']]], - ['sl_5fwlanpolicyget',['sl_WlanPolicyGet',['../group__wlan.html#ga1b9a54dd2e2bf803aa35db1fda145660',1,'wlan.h']]], - ['sl_5fwlanpolicyset',['sl_WlanPolicySet',['../group__wlan.html#gae6e655c4c90b29ab2fccbfe620ec6a50',1,'wlan.h']]], - ['sl_5fwlanprofileadd',['sl_WlanProfileAdd',['../group__wlan.html#ga3314697c8034ce4d12809cc16e717c58',1,'wlan.h']]], - ['sl_5fwlanprofiledel',['sl_WlanProfileDel',['../group__wlan.html#ga26b54ee4d92ffbc83381e50cfb23f6d7',1,'wlan.h']]], - ['sl_5fwlanprofileget',['sl_WlanProfileGet',['../group__wlan.html#gabdb0111c7ac6315038a05a65f92dd5e1',1,'wlan.h']]], - ['sl_5fwlanrxfilteradd',['sl_WlanRxFilterAdd',['../group__wlan.html#ga0f61489aecc77c79f5350a8c6bab3ab5',1,'wlan_rx_filters.h']]], - ['sl_5fwlanrxfilterget',['sl_WlanRxFilterGet',['../group__wlan.html#gab5ffd26ae9abe6ea5bc61b99a0ced94f',1,'wlan_rx_filters.h']]], - ['sl_5fwlanrxfilterset',['sl_WlanRxFilterSet',['../group__wlan.html#gac30d8b0d601562d2f8a8468da18bad11',1,'wlan_rx_filters.h']]], - ['sl_5fwlanrxstatget',['sl_WlanRxStatGet',['../group__wlan.html#ga91085b684cf378ae5a1ab0884b448c7d',1,'wlan.h']]], - ['sl_5fwlanrxstatstart',['sl_WlanRxStatStart',['../group__wlan.html#ga40fdb95f2590b43c91a60377349aad4c',1,'wlan.h']]], - ['sl_5fwlanrxstatstop',['sl_WlanRxStatStop',['../group__wlan.html#ga69b1778b120c0b2db7f2fd2884dde5d8',1,'wlan.h']]], - ['sl_5fwlanset',['sl_WlanSet',['../group__wlan.html#ga1a64252fcd41167613bed9c63db18fd4',1,'wlan.h']]], - ['sl_5fwlansetmode',['sl_WlanSetMode',['../group__wlan.html#ga14a7b9540cb77fd6f25d867dc4b86216',1,'wlan.h']]], - ['sl_5fwlansmartconfigstart',['sl_WlanSmartConfigStart',['../group__wlan.html#ga2ac29ca184173a50d76a36f259a4435d',1,'wlan.h']]], - ['sl_5fwlansmartconfigstop',['sl_WlanSmartConfigStop',['../group__wlan.html#gac95a8b72fab78924ea6b52e3799c7de6',1,'wlan.h']]] -]; diff --git a/docs/simplelink_api/html/search/functions_73.html b/docs/simplelink_api/html/search/functions_73.html new file mode 100644 index 0000000..5730ed9 --- /dev/null +++ b/docs/simplelink_api/html/search/functions_73.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/simplelink_api/html/search/functions_73.js b/docs/simplelink_api/html/search/functions_73.js new file mode 100644 index 0000000..1845c9a --- /dev/null +++ b/docs/simplelink_api/html/search/functions_73.js @@ -0,0 +1,70 @@ +var searchData= +[ + ['sl_5faccept',['sl_Accept',['../group__socket.html#ga72085bf8fae027f8fe31a0eb99a6808b',1,'socket.h']]], + ['sl_5fbind',['sl_Bind',['../group__socket.html#gadcb0c4792127dceb1feb3e9b87ab2094',1,'socket.h']]], + ['sl_5fclose',['sl_Close',['../group__socket.html#gacc7971a6e41592c8ef90936b25495a8b',1,'socket.h']]], + ['sl_5fconnect',['sl_Connect',['../group__socket.html#gad8b9db85493e84b19994840f4cff0ca0',1,'socket.h']]], + ['sl_5fdevget',['sl_DevGet',['../group__device.html#ga474ffecf51d679b27f7b449dc7b2e554',1,'device.h']]], + ['sl_5fdevset',['sl_DevSet',['../group__device.html#ga6a8648f29287968fcb8a9efcdd91becd',1,'device.h']]], + ['sl_5feventmaskget',['sl_EventMaskGet',['../group__device.html#ga6e2bf948f1cce2bc5aae771892739fb2',1,'device.h']]], + ['sl_5feventmaskset',['sl_EventMaskSet',['../group__device.html#ga57d6ea9dfcc0fb18f956fd2cae8f5f19',1,'device.h']]], + ['sl_5ffd_5fclr',['SL_FD_CLR',['../group__socket.html#gaa8aefbd7da7312044d0c47cb256e5029',1,'socket.h']]], + ['sl_5ffd_5fisset',['SL_FD_ISSET',['../group__socket.html#ga9c87fa7e319677c3d2f88180a21fee2c',1,'socket.h']]], + ['sl_5ffd_5fset',['SL_FD_SET',['../group__socket.html#ga0d9e401652361c24235f157e65e35365',1,'socket.h']]], + ['sl_5ffd_5fzero',['SL_FD_ZERO',['../group__socket.html#gac58eca56e2cf9bf58f8f3ef8790f7740',1,'socket.h']]], + ['sl_5ffsclose',['sl_FsClose',['../group___file_system.html#ga12caded07ff4c66e5b6e73a36009072d',1,'fs.h']]], + ['sl_5ffsdel',['sl_FsDel',['../group___file_system.html#gaa3b9c7b7c0e2be74332d136b94f7940d',1,'fs.h']]], + ['sl_5ffsgetinfo',['sl_FsGetInfo',['../group___file_system.html#ga6df7dfcefa195a2bc5ef81dbbcaab5ed',1,'fs.h']]], + ['sl_5ffsopen',['sl_FsOpen',['../group___file_system.html#ga1318606b831a75593f57fb234370dc78',1,'fs.h']]], + ['sl_5ffsread',['sl_FsRead',['../group___file_system.html#ga745742b9829a05e2a502efa054f4900c',1,'fs.h']]], + ['sl_5ffswrite',['sl_FsWrite',['../group___file_system.html#ga23d68a0f564436b6ef08325b1a159e85',1,'fs.h']]], + ['sl_5fgetsockopt',['sl_GetSockOpt',['../group__socket.html#ga77d6029b0c39df5541b0b0d6484591b4',1,'socket.h']]], + ['sl_5fhtonl',['sl_Htonl',['../group__socket.html#ga712c2a31c2844b54c33ede3a9a148d61',1,'socket.h']]], + ['sl_5fhtons',['sl_Htons',['../group__socket.html#gadfb6f98e5c75a46050780e8afbae13bd',1,'socket.h']]], + ['sl_5fhttpservercallback',['sl_HttpServerCallback',['../group___user_events.html#gacfd6910f913239edf6eda7889877e8de',1,'simplelink.h']]], + ['sl_5flisten',['sl_Listen',['../group__socket.html#ga7d864d86f8dd7296774072db021a69e7',1,'socket.h']]], + ['sl_5fnetappdnsgethostbyname',['sl_NetAppDnsGetHostByName',['../group__netapp.html#ga29b52a83173826c523890dee46cc252a',1,'netapp.h']]], + ['sl_5fnetappdnsgethostbyservice',['sl_NetAppDnsGetHostByService',['../group__netapp.html#ga3c18e929acd30de42a36afe2d85bbe05',1,'netapp.h']]], + ['sl_5fnetappevthdlr',['sl_NetAppEvtHdlr',['../group___user_events.html#gaa6d77040cbaaa41f5ddaf4f70d9d652c',1,'simplelink.h']]], + ['sl_5fnetappget',['sl_NetAppGet',['../group__netapp.html#gaa7539fd75708676a4ed8bbfaeaebc791',1,'netapp.h']]], + ['sl_5fnetappgetservicelist',['sl_NetAppGetServiceList',['../group__netapp.html#ga6e77cdf4e8540180bf4358c48a08e0fe',1,'netapp.h']]], + ['sl_5fnetappmdnsregisterservice',['sl_NetAppMDNSRegisterService',['../group__netapp.html#gae222ee3db8c89e9e3ecf8b2738961b33',1,'netapp.h']]], + ['sl_5fnetappmdnsunregisterservice',['sl_NetAppMDNSUnRegisterService',['../group__netapp.html#ga5fb699d928b704c4237d4f0921a89ab9',1,'netapp.h']]], + ['sl_5fnetapppingstart',['sl_NetAppPingStart',['../group__netapp.html#ga4adc32529c7c7c84273728cf16393dad',1,'netapp.h']]], + ['sl_5fnetappset',['sl_NetAppSet',['../group__netapp.html#ga2afa652378453fe2f3c1010915673576',1,'netapp.h']]], + ['sl_5fnetappstart',['sl_NetAppStart',['../group__netapp.html#gaecf228612e6baacf183d3f6eea64b120',1,'netapp.h']]], + ['sl_5fnetappstop',['sl_NetAppStop',['../group__netapp.html#gad174e319fb745e2d871fe1b08b567131',1,'netapp.h']]], + ['sl_5fnetcfgget',['sl_NetCfgGet',['../group__netcfg.html#ga86e2fc6c2fca5d8537529b612fb7ebe4',1,'netcfg.h']]], + ['sl_5fnetcfgset',['sl_NetCfgSet',['../group__netcfg.html#ga059a56d0d883e74c65eea199ed8513bb',1,'netcfg.h']]], + ['sl_5frecv',['sl_Recv',['../group__socket.html#gace86078cc514a5efa01f2b757e3bb8bf',1,'socket.h']]], + ['sl_5frecvfrom',['sl_RecvFrom',['../group__socket.html#gaf370fe1b17863024b28e081af02f6cf3',1,'socket.h']]], + ['sl_5fselect',['sl_Select',['../group__socket.html#ga97747fea9f469feeb7272b76e4fe9a0e',1,'socket.h']]], + ['sl_5fsend',['sl_Send',['../group__socket.html#gaf3234446a6f3c770d5a3d56300f487f6',1,'socket.h']]], + ['sl_5fsendto',['sl_SendTo',['../group__socket.html#ga783a041dad81818b4b8d15e4d7a852fa',1,'socket.h']]], + ['sl_5fsetsockopt',['sl_SetSockOpt',['../group__socket.html#ga6363ea2098e629c1a6e2bf80e731fb79',1,'socket.h']]], + ['sl_5fsocket',['sl_Socket',['../group__socket.html#gaa775fcb6d09bf35b9dac3e5eb8e8c997',1,'socket.h']]], + ['sl_5fsockevthdlr',['sl_SockEvtHdlr',['../group___user_events.html#ga456ce303ecb46525a9a4bf281e82100f',1,'simplelink.h']]], + ['sl_5fstart',['sl_Start',['../group__device.html#ga5869df658d2c9fe3c2baa50503a1a8dd',1,'device.h']]], + ['sl_5fstop',['sl_Stop',['../group__device.html#ga1e30957d5b7720918fb206d44f373613',1,'device.h']]], + ['sl_5ftask',['sl_Task',['../group__device.html#ga0425868dc13ee98bff664127d9d37ee4',1,'device.h']]], + ['sl_5fwlanconnect',['sl_WlanConnect',['../group__wlan.html#ga15d4779e6097f67111c69eaaff56a261',1,'wlan.h']]], + ['sl_5fwlandisconnect',['sl_WlanDisconnect',['../group__wlan.html#ga8d3140cea09851de2c580c89f222f808',1,'wlan.h']]], + ['sl_5fwlanevthdlr',['sl_WlanEvtHdlr',['../group___user_events.html#ga43d18f96a28035b76652c652f8e9b351',1,'simplelink.h']]], + ['sl_5fwlanget',['sl_WlanGet',['../group__wlan.html#gae085496a64690e1d90de834ec571a409',1,'wlan.h']]], + ['sl_5fwlangetnetworklist',['sl_WlanGetNetworkList',['../group__wlan.html#ga620559124e4421c6887ec67ff50bbbbc',1,'wlan.h']]], + ['sl_5fwlanpolicyget',['sl_WlanPolicyGet',['../group__wlan.html#gab3fe766dab62ecd42836529be4c0b2e1',1,'wlan.h']]], + ['sl_5fwlanpolicyset',['sl_WlanPolicySet',['../group__wlan.html#gaa0491d6453e037c857bd10e3be87df3d',1,'wlan.h']]], + ['sl_5fwlanprofileadd',['sl_WlanProfileAdd',['../group__wlan.html#ga27081ec6f3047e97b8b024ae751c955b',1,'wlan.h']]], + ['sl_5fwlanprofiledel',['sl_WlanProfileDel',['../group__wlan.html#gac4bc2e3a0c2152b49a1614b08ee36204',1,'wlan.h']]], + ['sl_5fwlanprofileget',['sl_WlanProfileGet',['../group__wlan.html#ga5195b07e98404f074e0294276fc64858',1,'wlan.h']]], + ['sl_5fwlanrxfilteradd',['sl_WlanRxFilterAdd',['../group__wlan.html#ga0f61489aecc77c79f5350a8c6bab3ab5',1,'wlan_rx_filters.h']]], + ['sl_5fwlanrxfilterget',['sl_WlanRxFilterGet',['../group__wlan.html#gab5ffd26ae9abe6ea5bc61b99a0ced94f',1,'wlan_rx_filters.h']]], + ['sl_5fwlanrxfilterset',['sl_WlanRxFilterSet',['../group__wlan.html#gac30d8b0d601562d2f8a8468da18bad11',1,'wlan_rx_filters.h']]], + ['sl_5fwlanrxstatget',['sl_WlanRxStatGet',['../group__wlan.html#gae42178af250ac0d4356459f666831ad1',1,'wlan.h']]], + ['sl_5fwlanrxstatstart',['sl_WlanRxStatStart',['../group__wlan.html#ga40fdb95f2590b43c91a60377349aad4c',1,'wlan.h']]], + ['sl_5fwlanrxstatstop',['sl_WlanRxStatStop',['../group__wlan.html#ga69b1778b120c0b2db7f2fd2884dde5d8',1,'wlan.h']]], + ['sl_5fwlanset',['sl_WlanSet',['../group__wlan.html#gab8ba00f95398b5dccd80550ab3fc17e5',1,'wlan.h']]], + ['sl_5fwlansetmode',['sl_WlanSetMode',['../group__wlan.html#ga14a7b9540cb77fd6f25d867dc4b86216',1,'wlan.h']]], + ['sl_5fwlansmartconfigstart',['sl_WlanSmartConfigStart',['../group__wlan.html#ga2ac29ca184173a50d76a36f259a4435d',1,'wlan.h']]], + ['sl_5fwlansmartconfigstop',['sl_WlanSmartConfigStop',['../group__wlan.html#gac95a8b72fab78924ea6b52e3799c7de6',1,'wlan.h']]] +]; diff --git a/docs/simplelink_api/html/search/groups_0.html b/docs/simplelink_api/html/search/groups_0.html deleted file mode 100644 index ad8fbe9..0000000 --- a/docs/simplelink_api/html/search/groups_0.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/groups_0.js b/docs/simplelink_api/html/search/groups_0.js deleted file mode 100644 index a900bf6..0000000 --- a/docs/simplelink_api/html/search/groups_0.js +++ /dev/null @@ -1,8 +0,0 @@ -var searchData= -[ - ['configuration_20_2d_20device_20enable_2fdisable',['Configuration - Device Enable/Disable',['../group__configuration__enable__device.html',1,'']]], - ['configuration_20_2d_20event_20handlers',['Configuration - Event Handlers',['../group__configuration__events.html',1,'']]], - ['configuration_20_2d_20communication_20interface',['Configuration - Communication Interface',['../group__configuration__interface.html',1,'']]], - ['configuration_20_2d_20memory_20management',['Configuration - Memory Management',['../group__configuration__mem__mgm.html',1,'']]], - ['configuration_20_2d_20operating_20system',['Configuration - Operating System',['../group__configuration__os.html',1,'']]] -]; diff --git a/docs/simplelink_api/html/search/groups_1.html b/docs/simplelink_api/html/search/groups_1.html deleted file mode 100644 index 4e2bb17..0000000 --- a/docs/simplelink_api/html/search/groups_1.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/groups_1.js b/docs/simplelink_api/html/search/groups_1.js deleted file mode 100644 index 400b0c8..0000000 --- a/docs/simplelink_api/html/search/groups_1.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['device',['Device',['../group__device.html',1,'']]] -]; diff --git a/docs/simplelink_api/html/search/groups_2.html b/docs/simplelink_api/html/search/groups_2.html deleted file mode 100644 index ad86db7..0000000 --- a/docs/simplelink_api/html/search/groups_2.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/groups_2.js b/docs/simplelink_api/html/search/groups_2.js deleted file mode 100644 index 9886036..0000000 --- a/docs/simplelink_api/html/search/groups_2.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['filesystem',['FileSystem',['../group___file_system.html',1,'']]] -]; diff --git a/docs/simplelink_api/html/search/groups_3.html b/docs/simplelink_api/html/search/groups_3.html deleted file mode 100644 index aad566d..0000000 --- a/docs/simplelink_api/html/search/groups_3.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/groups_3.js b/docs/simplelink_api/html/search/groups_3.js deleted file mode 100644 index 421bad1..0000000 --- a/docs/simplelink_api/html/search/groups_3.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['netapp',['Netapp',['../group__netapp.html',1,'']]], - ['netcfg',['Netcfg',['../group__netcfg.html',1,'']]] -]; diff --git a/docs/simplelink_api/html/search/groups_4.html b/docs/simplelink_api/html/search/groups_4.html deleted file mode 100644 index 95e3f0b..0000000 --- a/docs/simplelink_api/html/search/groups_4.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/groups_4.js b/docs/simplelink_api/html/search/groups_4.js deleted file mode 100644 index ce36a79..0000000 --- a/docs/simplelink_api/html/search/groups_4.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['socket',['Socket',['../group__socket.html',1,'']]] -]; diff --git a/docs/simplelink_api/html/search/groups_5.html b/docs/simplelink_api/html/search/groups_5.html deleted file mode 100644 index a6c33a0..0000000 --- a/docs/simplelink_api/html/search/groups_5.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/groups_5.js b/docs/simplelink_api/html/search/groups_5.js deleted file mode 100644 index 8dc3ba5..0000000 --- a/docs/simplelink_api/html/search/groups_5.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['userevents',['UserEvents',['../group___user_events.html',1,'']]] -]; diff --git a/docs/simplelink_api/html/search/groups_6.html b/docs/simplelink_api/html/search/groups_6.html deleted file mode 100644 index 2bc6335..0000000 --- a/docs/simplelink_api/html/search/groups_6.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/groups_6.js b/docs/simplelink_api/html/search/groups_6.js deleted file mode 100644 index 2d20c4e..0000000 --- a/docs/simplelink_api/html/search/groups_6.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['wlan',['Wlan',['../group__wlan.html',1,'']]] -]; diff --git a/docs/simplelink_api/html/search/groups_63.html b/docs/simplelink_api/html/search/groups_63.html new file mode 100644 index 0000000..530175c --- /dev/null +++ b/docs/simplelink_api/html/search/groups_63.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/simplelink_api/html/search/groups_63.js b/docs/simplelink_api/html/search/groups_63.js new file mode 100644 index 0000000..daed978 --- /dev/null +++ b/docs/simplelink_api/html/search/groups_63.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['configuration_20_2d_20capabilities_20set',['Configuration - Capabilities Set',['../group__configuration__capabilities.html',1,'']]], + ['configuration_20_2d_20device_20enable_2fdisable',['Configuration - Device Enable/Disable',['../group__configuration__enable__device.html',1,'']]], + ['configuration_20_2d_20event_20handlers',['Configuration - Event Handlers',['../group__configuration__events.html',1,'']]], + ['configuration_20_2d_20communication_20interface',['Configuration - Communication Interface',['../group__configuration__interface.html',1,'']]], + ['configuration_20_2d_20memory_20management',['Configuration - Memory Management',['../group__configuration__mem__mgm.html',1,'']]], + ['configuration_20_2d_20operating_20system',['Configuration - Operating System',['../group__configuration__os.html',1,'']]] +]; diff --git a/docs/simplelink_api/html/search/groups_64.html b/docs/simplelink_api/html/search/groups_64.html new file mode 100644 index 0000000..ca271b3 --- /dev/null +++ b/docs/simplelink_api/html/search/groups_64.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/simplelink_api/html/search/groups_64.js b/docs/simplelink_api/html/search/groups_64.js new file mode 100644 index 0000000..28c6863 --- /dev/null +++ b/docs/simplelink_api/html/search/groups_64.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['device',['Device',['../group__device.html',1,'']]] +]; diff --git a/docs/simplelink_api/html/search/groups_66.html b/docs/simplelink_api/html/search/groups_66.html new file mode 100644 index 0000000..7f3c8c3 --- /dev/null +++ b/docs/simplelink_api/html/search/groups_66.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/simplelink_api/html/search/groups_66.js b/docs/simplelink_api/html/search/groups_66.js new file mode 100644 index 0000000..03cb047 --- /dev/null +++ b/docs/simplelink_api/html/search/groups_66.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['filesystem',['FileSystem',['../group___file_system.html',1,'']]] +]; diff --git a/docs/simplelink_api/html/search/groups_6e.html b/docs/simplelink_api/html/search/groups_6e.html new file mode 100644 index 0000000..6e205f4 --- /dev/null +++ b/docs/simplelink_api/html/search/groups_6e.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/simplelink_api/html/search/groups_6e.js b/docs/simplelink_api/html/search/groups_6e.js new file mode 100644 index 0000000..c545524 --- /dev/null +++ b/docs/simplelink_api/html/search/groups_6e.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['netapp',['Netapp',['../group__netapp.html',1,'']]], + ['netcfg',['Netcfg',['../group__netcfg.html',1,'']]] +]; diff --git a/docs/simplelink_api/html/search/groups_73.html b/docs/simplelink_api/html/search/groups_73.html new file mode 100644 index 0000000..688c263 --- /dev/null +++ b/docs/simplelink_api/html/search/groups_73.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/simplelink_api/html/search/groups_73.js b/docs/simplelink_api/html/search/groups_73.js new file mode 100644 index 0000000..d0bb9c3 --- /dev/null +++ b/docs/simplelink_api/html/search/groups_73.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['socket',['Socket',['../group__socket.html',1,'']]] +]; diff --git a/docs/simplelink_api/html/search/groups_75.html b/docs/simplelink_api/html/search/groups_75.html new file mode 100644 index 0000000..91542eb --- /dev/null +++ b/docs/simplelink_api/html/search/groups_75.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/simplelink_api/html/search/groups_75.js b/docs/simplelink_api/html/search/groups_75.js new file mode 100644 index 0000000..f3ca50e --- /dev/null +++ b/docs/simplelink_api/html/search/groups_75.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['userevents',['UserEvents',['../group___user_events.html',1,'']]] +]; diff --git a/docs/simplelink_api/html/search/groups_77.html b/docs/simplelink_api/html/search/groups_77.html new file mode 100644 index 0000000..42f4ebf --- /dev/null +++ b/docs/simplelink_api/html/search/groups_77.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/simplelink_api/html/search/groups_77.js b/docs/simplelink_api/html/search/groups_77.js new file mode 100644 index 0000000..9e9c494 --- /dev/null +++ b/docs/simplelink_api/html/search/groups_77.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['wlan',['Wlan',['../group__wlan.html',1,'']]] +]; diff --git a/docs/simplelink_api/html/search/nomatches.html b/docs/simplelink_api/html/search/nomatches.html index b1ded27..529a265 100644 --- a/docs/simplelink_api/html/search/nomatches.html +++ b/docs/simplelink_api/html/search/nomatches.html @@ -1,12 +1,12 @@ - - - - - - - -
-
No Matches
-
- - + + + + + + + +
+
No Matches
+
+ + diff --git a/docs/simplelink_api/html/search/pages_0.html b/docs/simplelink_api/html/search/pages_0.html deleted file mode 100644 index 8ce1299..0000000 --- a/docs/simplelink_api/html/search/pages_0.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/pages_0.js b/docs/simplelink_api/html/search/pages_0.js deleted file mode 100644 index 769bf83..0000000 --- a/docs/simplelink_api/html/search/pages_0.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['cc32xx_20simplelink_20host_20driver',['CC32XX SimpleLink Host Driver',['../index.html',1,'']]] -]; diff --git a/docs/simplelink_api/html/search/pages_73.html b/docs/simplelink_api/html/search/pages_73.html new file mode 100644 index 0000000..f6b9d5d --- /dev/null +++ b/docs/simplelink_api/html/search/pages_73.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/simplelink_api/html/search/pages_73.js b/docs/simplelink_api/html/search/pages_73.js new file mode 100644 index 0000000..2dd771c --- /dev/null +++ b/docs/simplelink_api/html/search/pages_73.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['simplelink_20driver',['SimpleLink Driver',['../index.html',1,'']]] +]; diff --git a/docs/simplelink_api/html/search/search.css b/docs/simplelink_api/html/search/search.css index 4d7612f..cccf76c 100644 --- a/docs/simplelink_api/html/search/search.css +++ b/docs/simplelink_api/html/search/search.css @@ -1,271 +1,271 @@ -/*---------------- Search Box */ - -#FSearchBox { - float: left; -} - -#MSearchBox { - white-space : nowrap; - position: absolute; - float: none; - display: inline; - margin-top: 8px; - right: 0px; - width: 170px; - z-index: 102; - background-color: white; -} - -#MSearchBox .left -{ - display:block; - position:absolute; - left:10px; - width:20px; - height:19px; - background:url('search_l.png') no-repeat; - background-position:right; -} - -#MSearchSelect { - display:block; - position:absolute; - width:20px; - height:19px; -} - -.left #MSearchSelect { - left:4px; -} - -.right #MSearchSelect { - right:5px; -} - -#MSearchField { - display:block; - position:absolute; - height:19px; - background:url('search_m.png') repeat-x; - border:none; - width:111px; - margin-left:20px; - padding-left:4px; - color: #909090; - outline: none; - font: 9pt Arial, Verdana, sans-serif; -} - -#FSearchBox #MSearchField { - margin-left:15px; -} - -#MSearchBox .right { - display:block; - position:absolute; - right:10px; - top:0px; - width:20px; - height:19px; - background:url('search_r.png') no-repeat; - background-position:left; -} - -#MSearchClose { - display: none; - position: absolute; - top: 4px; - background : none; - border: none; - margin: 0px 4px 0px 0px; - padding: 0px 0px; - outline: none; -} - -.left #MSearchClose { - left: 6px; -} - -.right #MSearchClose { - right: 2px; -} - -.MSearchBoxActive #MSearchField { - color: #000000; -} - -/*---------------- Search filter selection */ - -#MSearchSelectWindow { - display: none; - position: absolute; - left: 0; top: 0; - border: 1px solid #90A5CE; - background-color: #F9FAFC; - z-index: 1; - padding-top: 4px; - padding-bottom: 4px; - -moz-border-radius: 4px; - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); -} - -.SelectItem { - font: 8pt Arial, Verdana, sans-serif; - padding-left: 2px; - padding-right: 12px; - border: 0px; -} - -span.SelectionMark { - margin-right: 4px; - font-family: monospace; - outline-style: none; - text-decoration: none; -} - -a.SelectItem { - display: block; - outline-style: none; - color: #000000; - text-decoration: none; - padding-left: 6px; - padding-right: 12px; -} - -a.SelectItem:focus, -a.SelectItem:active { - color: #000000; - outline-style: none; - text-decoration: none; -} - -a.SelectItem:hover { - color: #FFFFFF; - background-color: #3D578C; - outline-style: none; - text-decoration: none; - cursor: pointer; - display: block; -} - -/*---------------- Search results window */ - -iframe#MSearchResults { - width: 60ex; - height: 15em; -} - -#MSearchResultsWindow { - display: none; - position: absolute; - left: 0; top: 0; - border: 1px solid #000; - background-color: #EEF1F7; -} - -/* ----------------------------------- */ - - -#SRIndex { - clear:both; - padding-bottom: 15px; -} - -.SREntry { - font-size: 10pt; - padding-left: 1ex; -} - -.SRPage .SREntry { - font-size: 8pt; - padding: 1px 5px; -} - -body.SRPage { - margin: 5px 2px; -} - -.SRChildren { - padding-left: 3ex; padding-bottom: .5em -} - -.SRPage .SRChildren { - display: none; -} - -.SRSymbol { - font-weight: bold; - color: #425E97; - font-family: Arial, Verdana, sans-serif; - text-decoration: none; - outline: none; -} - -a.SRScope { - display: block; - color: #425E97; - font-family: Arial, Verdana, sans-serif; - text-decoration: none; - outline: none; -} - -a.SRSymbol:focus, a.SRSymbol:active, -a.SRScope:focus, a.SRScope:active { - text-decoration: underline; -} - -span.SRScope { - padding-left: 4px; -} - -.SRPage .SRStatus { - padding: 2px 5px; - font-size: 8pt; - font-style: italic; -} - -.SRResult { - display: none; -} - -DIV.searchresults { - margin-left: 10px; - margin-right: 10px; -} - -/*---------------- External search page results */ - -.searchresult { - background-color: #F0F3F8; -} - -.pages b { - color: white; - padding: 5px 5px 3px 5px; - background-image: url("../tab_a.png"); - background-repeat: repeat-x; - text-shadow: 0 1px 1px #000000; -} - -.pages { - line-height: 17px; - margin-left: 4px; - text-decoration: none; -} - -.hl { - font-weight: bold; -} - -#searchresults { - margin-bottom: 20px; -} - -.searchpages { - margin-top: 10px; -} - +/*---------------- Search Box */ + +#FSearchBox { + float: left; +} + +#MSearchBox { + white-space : nowrap; + position: absolute; + float: none; + display: inline; + margin-top: 8px; + right: 0px; + width: 170px; + z-index: 102; + background-color: white; +} + +#MSearchBox .left +{ + display:block; + position:absolute; + left:10px; + width:20px; + height:19px; + background:url('search_l.png') no-repeat; + background-position:right; +} + +#MSearchSelect { + display:block; + position:absolute; + width:20px; + height:19px; +} + +.left #MSearchSelect { + left:4px; +} + +.right #MSearchSelect { + right:5px; +} + +#MSearchField { + display:block; + position:absolute; + height:19px; + background:url('search_m.png') repeat-x; + border:none; + width:111px; + margin-left:20px; + padding-left:4px; + color: #909090; + outline: none; + font: 9pt Arial, Verdana, sans-serif; +} + +#FSearchBox #MSearchField { + margin-left:15px; +} + +#MSearchBox .right { + display:block; + position:absolute; + right:10px; + top:0px; + width:20px; + height:19px; + background:url('search_r.png') no-repeat; + background-position:left; +} + +#MSearchClose { + display: none; + position: absolute; + top: 4px; + background : none; + border: none; + margin: 0px 4px 0px 0px; + padding: 0px 0px; + outline: none; +} + +.left #MSearchClose { + left: 6px; +} + +.right #MSearchClose { + right: 2px; +} + +.MSearchBoxActive #MSearchField { + color: #000000; +} + +/*---------------- Search filter selection */ + +#MSearchSelectWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #90A5CE; + background-color: #F9FAFC; + z-index: 1; + padding-top: 4px; + padding-bottom: 4px; + -moz-border-radius: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +.SelectItem { + font: 8pt Arial, Verdana, sans-serif; + padding-left: 2px; + padding-right: 12px; + border: 0px; +} + +span.SelectionMark { + margin-right: 4px; + font-family: monospace; + outline-style: none; + text-decoration: none; +} + +a.SelectItem { + display: block; + outline-style: none; + color: #000000; + text-decoration: none; + padding-left: 6px; + padding-right: 12px; +} + +a.SelectItem:focus, +a.SelectItem:active { + color: #000000; + outline-style: none; + text-decoration: none; +} + +a.SelectItem:hover { + color: #FFFFFF; + background-color: #3D578C; + outline-style: none; + text-decoration: none; + cursor: pointer; + display: block; +} + +/*---------------- Search results window */ + +iframe#MSearchResults { + width: 60ex; + height: 15em; +} + +#MSearchResultsWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #000; + background-color: #EEF1F7; +} + +/* ----------------------------------- */ + + +#SRIndex { + clear:both; + padding-bottom: 15px; +} + +.SREntry { + font-size: 10pt; + padding-left: 1ex; +} + +.SRPage .SREntry { + font-size: 8pt; + padding: 1px 5px; +} + +body.SRPage { + margin: 5px 2px; +} + +.SRChildren { + padding-left: 3ex; padding-bottom: .5em +} + +.SRPage .SRChildren { + display: none; +} + +.SRSymbol { + font-weight: bold; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRScope { + display: block; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRSymbol:focus, a.SRSymbol:active, +a.SRScope:focus, a.SRScope:active { + text-decoration: underline; +} + +span.SRScope { + padding-left: 4px; +} + +.SRPage .SRStatus { + padding: 2px 5px; + font-size: 8pt; + font-style: italic; +} + +.SRResult { + display: none; +} + +DIV.searchresults { + margin-left: 10px; + margin-right: 10px; +} + +/*---------------- External search page results */ + +.searchresult { + background-color: #F0F3F8; +} + +.pages b { + color: white; + padding: 5px 5px 3px 5px; + background-image: url("../tab_a.png"); + background-repeat: repeat-x; + text-shadow: 0 1px 1px #000000; +} + +.pages { + line-height: 17px; + margin-left: 4px; + text-decoration: none; +} + +.hl { + font-weight: bold; +} + +#searchresults { + margin-bottom: 20px; +} + +.searchpages { + margin-top: 10px; +} + diff --git a/docs/simplelink_api/html/search/search.js b/docs/simplelink_api/html/search/search.js index 7b30c7b..fe43be1 100644 --- a/docs/simplelink_api/html/search/search.js +++ b/docs/simplelink_api/html/search/search.js @@ -1,805 +1,805 @@ -// Search script generated by doxygen -// Copyright (C) 2009 by Dimitri van Heesch. - -// The code in this file is loosly based on main.js, part of Natural Docs, -// which is Copyright (C) 2003-2008 Greg Valure -// Natural Docs is licensed under the GPL. - -var indexSectionsWithContent = -{ - 0: "_acdfilnprstuw", - 1: "_s", - 2: "s", - 3: "ailprtu", - 4: "_", - 5: "cdfnsuw", - 6: "c" -}; - -var indexSectionNames = -{ - 0: "all", - 1: "classes", - 2: "functions", - 3: "variables", - 4: "typedefs", - 5: "groups", - 6: "pages" -}; - -function convertToId(search) -{ - var result = ''; - for (i=0;i do a search - { - this.Search(); - } - } - - this.OnSearchSelectKey = function(evt) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==40 && this.searchIndex0) // Up - { - this.searchIndex--; - this.OnSelectItem(this.searchIndex); - } - else if (e.keyCode==13 || e.keyCode==27) - { - this.OnSelectItem(this.searchIndex); - this.CloseSelectionWindow(); - this.DOMSearchField().focus(); - } - return false; - } - - // --------- Actions - - // Closes the results window. - this.CloseResultsWindow = function() - { - this.DOMPopupSearchResultsWindow().style.display = 'none'; - this.DOMSearchClose().style.display = 'none'; - this.Activate(false); - } - - this.CloseSelectionWindow = function() - { - this.DOMSearchSelectWindow().style.display = 'none'; - } - - // Performs a search. - this.Search = function() - { - this.keyTimeout = 0; - - // strip leading whitespace - var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); - - var code = searchValue.toLowerCase().charCodeAt(0); - var idxChar = searchValue.substr(0, 1).toLowerCase(); - if ( 0xD800 <= code && code <= 0xDBFF && searchValue > 1) // surrogate pair - { - idxChar = searchValue.substr(0, 2); - } - - var resultsPage; - var resultsPageWithSearch; - var hasResultsPage; - - var idx = indexSectionsWithContent[this.searchIndex].indexOf(idxChar); - if (idx!=-1) - { - var hexCode=idx.toString(16); - resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + '.html'; - resultsPageWithSearch = resultsPage+'?'+escape(searchValue); - hasResultsPage = true; - } - else // nothing available for this search term - { - resultsPage = this.resultsPath + '/nomatches.html'; - resultsPageWithSearch = resultsPage; - hasResultsPage = false; - } - - window.frames.MSearchResults.location = resultsPageWithSearch; - var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); - - if (domPopupSearchResultsWindow.style.display!='block') - { - var domSearchBox = this.DOMSearchBox(); - this.DOMSearchClose().style.display = 'inline'; - if (this.insideFrame) - { - var domPopupSearchResults = this.DOMPopupSearchResults(); - domPopupSearchResultsWindow.style.position = 'relative'; - domPopupSearchResultsWindow.style.display = 'block'; - var width = document.body.clientWidth - 8; // the -8 is for IE :-( - domPopupSearchResultsWindow.style.width = width + 'px'; - domPopupSearchResults.style.width = width + 'px'; - } - else - { - var domPopupSearchResults = this.DOMPopupSearchResults(); - var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; - var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; - domPopupSearchResultsWindow.style.display = 'block'; - left -= domPopupSearchResults.offsetWidth; - domPopupSearchResultsWindow.style.top = top + 'px'; - domPopupSearchResultsWindow.style.left = left + 'px'; - } - } - - this.lastSearchValue = searchValue; - this.lastResultsPage = resultsPage; - } - - // -------- Activation Functions - - // Activates or deactivates the search panel, resetting things to - // their default values if necessary. - this.Activate = function(isActive) - { - if (isActive || // open it - this.DOMPopupSearchResultsWindow().style.display == 'block' - ) - { - this.DOMSearchBox().className = 'MSearchBoxActive'; - - var searchField = this.DOMSearchField(); - - if (searchField.value == this.searchLabel) // clear "Search" term upon entry - { - searchField.value = ''; - this.searchActive = true; - } - } - else if (!isActive) // directly remove the panel - { - this.DOMSearchBox().className = 'MSearchBoxInactive'; - this.DOMSearchField().value = this.searchLabel; - this.searchActive = false; - this.lastSearchValue = '' - this.lastResultsPage = ''; - } - } -} - -// ----------------------------------------------------------------------- - -// The class that handles everything on the search results page. -function SearchResults(name) -{ - // The number of matches from the last run of . - this.lastMatchCount = 0; - this.lastKey = 0; - this.repeatOn = false; - - // Toggles the visibility of the passed element ID. - this.FindChildElement = function(id) - { - var parentElement = document.getElementById(id); - var element = parentElement.firstChild; - - while (element && element!=parentElement) - { - if (element.nodeName == 'DIV' && element.className == 'SRChildren') - { - return element; - } - - if (element.nodeName == 'DIV' && element.hasChildNodes()) - { - element = element.firstChild; - } - else if (element.nextSibling) - { - element = element.nextSibling; - } - else - { - do - { - element = element.parentNode; - } - while (element && element!=parentElement && !element.nextSibling); - - if (element && element!=parentElement) - { - element = element.nextSibling; - } - } - } - } - - this.Toggle = function(id) - { - var element = this.FindChildElement(id); - if (element) - { - if (element.style.display == 'block') - { - element.style.display = 'none'; - } - else - { - element.style.display = 'block'; - } - } - } - - // Searches for the passed string. If there is no parameter, - // it takes it from the URL query. - // - // Always returns true, since other documents may try to call it - // and that may or may not be possible. - this.Search = function(search) - { - if (!search) // get search word from URL - { - search = window.location.search; - search = search.substring(1); // Remove the leading '?' - search = unescape(search); - } - - search = search.replace(/^ +/, ""); // strip leading spaces - search = search.replace(/ +$/, ""); // strip trailing spaces - search = search.toLowerCase(); - search = convertToId(search); - - var resultRows = document.getElementsByTagName("div"); - var matches = 0; - - var i = 0; - while (i < resultRows.length) - { - var row = resultRows.item(i); - if (row.className == "SRResult") - { - var rowMatchName = row.id.toLowerCase(); - rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' - - if (search.length<=rowMatchName.length && - rowMatchName.substr(0, search.length)==search) - { - row.style.display = 'block'; - matches++; - } - else - { - row.style.display = 'none'; - } - } - i++; - } - document.getElementById("Searching").style.display='none'; - if (matches == 0) // no results - { - document.getElementById("NoMatches").style.display='block'; - } - else // at least one result - { - document.getElementById("NoMatches").style.display='none'; - } - this.lastMatchCount = matches; - return true; - } - - // return the first item with index index or higher that is visible - this.NavNext = function(index) - { - var focusItem; - while (1) - { - var focusName = 'Item'+index; - focusItem = document.getElementById(focusName); - if (focusItem && focusItem.parentNode.parentNode.style.display=='block') - { - break; - } - else if (!focusItem) // last element - { - break; - } - focusItem=null; - index++; - } - return focusItem; - } - - this.NavPrev = function(index) - { - var focusItem; - while (1) - { - var focusName = 'Item'+index; - focusItem = document.getElementById(focusName); - if (focusItem && focusItem.parentNode.parentNode.style.display=='block') - { - break; - } - else if (!focusItem) // last element - { - break; - } - focusItem=null; - index--; - } - return focusItem; - } - - this.ProcessKeys = function(e) - { - if (e.type == "keydown") - { - this.repeatOn = false; - this.lastKey = e.keyCode; - } - else if (e.type == "keypress") - { - if (!this.repeatOn) - { - if (this.lastKey) this.repeatOn = true; - return false; // ignore first keypress after keydown - } - } - else if (e.type == "keyup") - { - this.lastKey = 0; - this.repeatOn = false; - } - return this.lastKey!=0; - } - - this.Nav = function(evt,itemIndex) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==13) return true; - if (!this.ProcessKeys(e)) return false; - - if (this.lastKey==38) // Up - { - var newIndex = itemIndex-1; - var focusItem = this.NavPrev(newIndex); - if (focusItem) - { - var child = this.FindChildElement(focusItem.parentNode.parentNode.id); - if (child && child.style.display == 'block') // children visible - { - var n=0; - var tmpElem; - while (1) // search for last child - { - tmpElem = document.getElementById('Item'+newIndex+'_c'+n); - if (tmpElem) - { - focusItem = tmpElem; - } - else // found it! - { - break; - } - n++; - } - } - } - if (focusItem) - { - focusItem.focus(); - } - else // return focus to search field - { - parent.document.getElementById("MSearchField").focus(); - } - } - else if (this.lastKey==40) // Down - { - var newIndex = itemIndex+1; - var focusItem; - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem && elem.style.display == 'block') // children visible - { - focusItem = document.getElementById('Item'+itemIndex+'_c0'); - } - if (!focusItem) focusItem = this.NavNext(newIndex); - if (focusItem) focusItem.focus(); - } - else if (this.lastKey==39) // Right - { - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem) elem.style.display = 'block'; - } - else if (this.lastKey==37) // Left - { - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem) elem.style.display = 'none'; - } - else if (this.lastKey==27) // Escape - { - parent.searchBox.CloseResultsWindow(); - parent.document.getElementById("MSearchField").focus(); - } - else if (this.lastKey==13) // Enter - { - return true; - } - return false; - } - - this.NavChild = function(evt,itemIndex,childIndex) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==13) return true; - if (!this.ProcessKeys(e)) return false; - - if (this.lastKey==38) // Up - { - if (childIndex>0) - { - var newIndex = childIndex-1; - document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); - } - else // already at first child, jump to parent - { - document.getElementById('Item'+itemIndex).focus(); - } - } - else if (this.lastKey==40) // Down - { - var newIndex = childIndex+1; - var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); - if (!elem) // last child, jump to parent next parent - { - elem = this.NavNext(itemIndex+1); - } - if (elem) - { - elem.focus(); - } - } - else if (this.lastKey==27) // Escape - { - parent.searchBox.CloseResultsWindow(); - parent.document.getElementById("MSearchField").focus(); - } - else if (this.lastKey==13) // Enter - { - return true; - } - return false; - } -} - -function setKeyActions(elem,action) -{ - elem.setAttribute('onkeydown',action); - elem.setAttribute('onkeypress',action); - elem.setAttribute('onkeyup',action); -} - -function setClassAttr(elem,attr) -{ - elem.setAttribute('class',attr); - elem.setAttribute('className',attr); -} - -function createResults() -{ - var results = document.getElementById("SRResults"); - for (var e=0; e do a search + { + this.Search(); + } + } + + this.OnSearchSelectKey = function(evt) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==40 && this.searchIndex0) // Up + { + this.searchIndex--; + this.OnSelectItem(this.searchIndex); + } + else if (e.keyCode==13 || e.keyCode==27) + { + this.OnSelectItem(this.searchIndex); + this.CloseSelectionWindow(); + this.DOMSearchField().focus(); + } + return false; + } + + // --------- Actions + + // Closes the results window. + this.CloseResultsWindow = function() + { + this.DOMPopupSearchResultsWindow().style.display = 'none'; + this.DOMSearchClose().style.display = 'none'; + this.Activate(false); + } + + this.CloseSelectionWindow = function() + { + this.DOMSearchSelectWindow().style.display = 'none'; + } + + // Performs a search. + this.Search = function() + { + this.keyTimeout = 0; + + // strip leading whitespace + var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); + + var code = searchValue.toLowerCase().charCodeAt(0); + var hexCode; + if (code<16) + { + hexCode="0"+code.toString(16); + } + else + { + hexCode=code.toString(16); + } + + var resultsPage; + var resultsPageWithSearch; + var hasResultsPage; + + if (indexSectionsWithContent[this.searchIndex].charAt(code) == '1') + { + resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + '.html'; + resultsPageWithSearch = resultsPage+'?'+escape(searchValue); + hasResultsPage = true; + } + else // nothing available for this search term + { + resultsPage = this.resultsPath + '/nomatches.html'; + resultsPageWithSearch = resultsPage; + hasResultsPage = false; + } + + window.frames.MSearchResults.location = resultsPageWithSearch; + var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); + + if (domPopupSearchResultsWindow.style.display!='block') + { + var domSearchBox = this.DOMSearchBox(); + this.DOMSearchClose().style.display = 'inline'; + if (this.insideFrame) + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + domPopupSearchResultsWindow.style.position = 'relative'; + domPopupSearchResultsWindow.style.display = 'block'; + var width = document.body.clientWidth - 8; // the -8 is for IE :-( + domPopupSearchResultsWindow.style.width = width + 'px'; + domPopupSearchResults.style.width = width + 'px'; + } + else + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; + var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; + domPopupSearchResultsWindow.style.display = 'block'; + left -= domPopupSearchResults.offsetWidth; + domPopupSearchResultsWindow.style.top = top + 'px'; + domPopupSearchResultsWindow.style.left = left + 'px'; + } + } + + this.lastSearchValue = searchValue; + this.lastResultsPage = resultsPage; + } + + // -------- Activation Functions + + // Activates or deactivates the search panel, resetting things to + // their default values if necessary. + this.Activate = function(isActive) + { + if (isActive || // open it + this.DOMPopupSearchResultsWindow().style.display == 'block' + ) + { + this.DOMSearchBox().className = 'MSearchBoxActive'; + + var searchField = this.DOMSearchField(); + + if (searchField.value == this.searchLabel) // clear "Search" term upon entry + { + searchField.value = ''; + this.searchActive = true; + } + } + else if (!isActive) // directly remove the panel + { + this.DOMSearchBox().className = 'MSearchBoxInactive'; + this.DOMSearchField().value = this.searchLabel; + this.searchActive = false; + this.lastSearchValue = '' + this.lastResultsPage = ''; + } + } +} + +// ----------------------------------------------------------------------- + +// The class that handles everything on the search results page. +function SearchResults(name) +{ + // The number of matches from the last run of . + this.lastMatchCount = 0; + this.lastKey = 0; + this.repeatOn = false; + + // Toggles the visibility of the passed element ID. + this.FindChildElement = function(id) + { + var parentElement = document.getElementById(id); + var element = parentElement.firstChild; + + while (element && element!=parentElement) + { + if (element.nodeName == 'DIV' && element.className == 'SRChildren') + { + return element; + } + + if (element.nodeName == 'DIV' && element.hasChildNodes()) + { + element = element.firstChild; + } + else if (element.nextSibling) + { + element = element.nextSibling; + } + else + { + do + { + element = element.parentNode; + } + while (element && element!=parentElement && !element.nextSibling); + + if (element && element!=parentElement) + { + element = element.nextSibling; + } + } + } + } + + this.Toggle = function(id) + { + var element = this.FindChildElement(id); + if (element) + { + if (element.style.display == 'block') + { + element.style.display = 'none'; + } + else + { + element.style.display = 'block'; + } + } + } + + // Searches for the passed string. If there is no parameter, + // it takes it from the URL query. + // + // Always returns true, since other documents may try to call it + // and that may or may not be possible. + this.Search = function(search) + { + if (!search) // get search word from URL + { + search = window.location.search; + search = search.substring(1); // Remove the leading '?' + search = unescape(search); + } + + search = search.replace(/^ +/, ""); // strip leading spaces + search = search.replace(/ +$/, ""); // strip trailing spaces + search = search.toLowerCase(); + search = convertToId(search); + + var resultRows = document.getElementsByTagName("div"); + var matches = 0; + + var i = 0; + while (i < resultRows.length) + { + var row = resultRows.item(i); + if (row.className == "SRResult") + { + var rowMatchName = row.id.toLowerCase(); + rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' + + if (search.length<=rowMatchName.length && + rowMatchName.substr(0, search.length)==search) + { + row.style.display = 'block'; + matches++; + } + else + { + row.style.display = 'none'; + } + } + i++; + } + document.getElementById("Searching").style.display='none'; + if (matches == 0) // no results + { + document.getElementById("NoMatches").style.display='block'; + } + else // at least one result + { + document.getElementById("NoMatches").style.display='none'; + } + this.lastMatchCount = matches; + return true; + } + + // return the first item with index index or higher that is visible + this.NavNext = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index++; + } + return focusItem; + } + + this.NavPrev = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index--; + } + return focusItem; + } + + this.ProcessKeys = function(e) + { + if (e.type == "keydown") + { + this.repeatOn = false; + this.lastKey = e.keyCode; + } + else if (e.type == "keypress") + { + if (!this.repeatOn) + { + if (this.lastKey) this.repeatOn = true; + return false; // ignore first keypress after keydown + } + } + else if (e.type == "keyup") + { + this.lastKey = 0; + this.repeatOn = false; + } + return this.lastKey!=0; + } + + this.Nav = function(evt,itemIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + var newIndex = itemIndex-1; + var focusItem = this.NavPrev(newIndex); + if (focusItem) + { + var child = this.FindChildElement(focusItem.parentNode.parentNode.id); + if (child && child.style.display == 'block') // children visible + { + var n=0; + var tmpElem; + while (1) // search for last child + { + tmpElem = document.getElementById('Item'+newIndex+'_c'+n); + if (tmpElem) + { + focusItem = tmpElem; + } + else // found it! + { + break; + } + n++; + } + } + } + if (focusItem) + { + focusItem.focus(); + } + else // return focus to search field + { + parent.document.getElementById("MSearchField").focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = itemIndex+1; + var focusItem; + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem && elem.style.display == 'block') // children visible + { + focusItem = document.getElementById('Item'+itemIndex+'_c0'); + } + if (!focusItem) focusItem = this.NavNext(newIndex); + if (focusItem) focusItem.focus(); + } + else if (this.lastKey==39) // Right + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'block'; + } + else if (this.lastKey==37) // Left + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'none'; + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } + + this.NavChild = function(evt,itemIndex,childIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + if (childIndex>0) + { + var newIndex = childIndex-1; + document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); + } + else // already at first child, jump to parent + { + document.getElementById('Item'+itemIndex).focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = childIndex+1; + var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); + if (!elem) // last child, jump to parent next parent + { + elem = this.NavNext(itemIndex+1); + } + if (elem) + { + elem.focus(); + } + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } +} + +function setKeyActions(elem,action) +{ + elem.setAttribute('onkeydown',action); + elem.setAttribute('onkeypress',action); + elem.setAttribute('onkeyup',action); +} + +function setClassAttr(elem,attr) +{ + elem.setAttribute('class',attr); + elem.setAttribute('className',attr); +} + +function createResults() +{ + var results = document.getElementById("SRResults"); + for (var e=0; e - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/typedefs_0.js b/docs/simplelink_api/html/search/typedefs_0.js deleted file mode 100644 index 152eb38..0000000 --- a/docs/simplelink_api/html/search/typedefs_0.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['_5fsllockobj_5ft',['_SlLockObj_t',['../group__configuration__os.html#ga8d2ec9002b5c79f7ff4078131bd2cf75',1,'user.h']]], - ['_5fslsyncobj_5ft',['_SlSyncObj_t',['../group__configuration__os.html#gaf276f690a7bcfca16d38b279d1229472',1,'user.h']]] -]; diff --git a/docs/simplelink_api/html/search/variables_0.html b/docs/simplelink_api/html/search/variables_0.html deleted file mode 100644 index 16be28c..0000000 --- a/docs/simplelink_api/html/search/variables_0.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/variables_0.js b/docs/simplelink_api/html/search/variables_0.js deleted file mode 100644 index eb374fe..0000000 --- a/docs/simplelink_api/html/search/variables_0.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['actionarg',['ActionArg',['../struct_slrx_filter_action__t.html#a1d5a5c67b72f38d0f547f4b41594361d',1,'SlrxFilterAction_t']]] -]; diff --git a/docs/simplelink_api/html/search/variables_1.html b/docs/simplelink_api/html/search/variables_1.html deleted file mode 100644 index 1e306bd..0000000 --- a/docs/simplelink_api/html/search/variables_1.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/variables_1.js b/docs/simplelink_api/html/search/variables_1.js deleted file mode 100644 index 9481f31..0000000 --- a/docs/simplelink_api/html/search/variables_1.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['intrepresentation',['IntRepresentation',['../union_slrx_filter_flags__t.html#a0c18cf04f2432035440b4608ea66fb4d',1,'SlrxFilterFlags_t::IntRepresentation()'],['../union_slrx_filter_action_type__t.html#a0c18cf04f2432035440b4608ea66fb4d',1,'SlrxFilterActionType_t::IntRepresentation()']]] -]; diff --git a/docs/simplelink_api/html/search/variables_2.html b/docs/simplelink_api/html/search/variables_2.html deleted file mode 100644 index 938e165..0000000 --- a/docs/simplelink_api/html/search/variables_2.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/variables_2.js b/docs/simplelink_api/html/search/variables_2.js deleted file mode 100644 index b8276b5..0000000 --- a/docs/simplelink_api/html/search/variables_2.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['loweroffset',['LowerOffset',['../struct_slrx_filter_payload_type__t.html#a9ac3d3bada3c45dcf2539a383edcfc9b',1,'SlrxFilterPayloadType_t']]] -]; diff --git a/docs/simplelink_api/html/search/variables_3.html b/docs/simplelink_api/html/search/variables_3.html deleted file mode 100644 index 7ca5d9b..0000000 --- a/docs/simplelink_api/html/search/variables_3.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/variables_3.js b/docs/simplelink_api/html/search/variables_3.js deleted file mode 100644 index 6619a27..0000000 --- a/docs/simplelink_api/html/search/variables_3.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['parentfilterid',['ParentFilterID',['../struct_slrx_filter_trigger__t.html#a58947c0d33b44b6adf9e52be48442da0',1,'SlrxFilterTrigger_t']]] -]; diff --git a/docs/simplelink_api/html/search/variables_4.html b/docs/simplelink_api/html/search/variables_4.html deleted file mode 100644 index 002145f..0000000 --- a/docs/simplelink_api/html/search/variables_4.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/variables_4.js b/docs/simplelink_api/html/search/variables_4.js deleted file mode 100644 index 21508d4..0000000 --- a/docs/simplelink_api/html/search/variables_4.js +++ /dev/null @@ -1,16 +0,0 @@ -var searchData= -[ - ['regxpattern',['RegxPattern',['../struct_slrx_filter_payload_type__t.html#a87972b443af7974c2e52bea59b8aed29',1,'SlrxFilterPayloadType_t']]], - ['rulecomparefunc',['RuleCompareFunc',['../struct_slrx_filter_header_type__t.html#aa92cfd1d32af09ab6c845ced96c4110f',1,'SlrxFilterHeaderType_t']]], - ['ruleheaderargs',['RuleHeaderArgs',['../struct_slrx_filter_rule_header_args_and_mask__t.html#abb9bde3180785cbeed7c73b5253c10ab',1,'SlrxFilterRuleHeaderArgsAndMask_t']]], - ['ruleheaderargsandmask',['RuleHeaderArgsAndMask',['../struct_slrx_filter_header_type__t.html#afb384f375f43a8cb7e349ffaf70c26e6',1,'SlrxFilterHeaderType_t']]], - ['ruleheaderargsmask',['RuleHeaderArgsMask',['../struct_slrx_filter_rule_header_args_and_mask__t.html#a56eb016bde23aa213a1b2ffdab58f45b',1,'SlrxFilterRuleHeaderArgsAndMask_t']]], - ['ruleheaderfield',['RuleHeaderfield',['../struct_slrx_filter_header_type__t.html#ac40cef42995351984232b29151bc0b6c',1,'SlrxFilterHeaderType_t']]], - ['rulepadding',['RulePadding',['../struct_slrx_filter_header_type__t.html#aab0c11c64eed544d5fb67de89249c6fa',1,'SlrxFilterHeaderType_t']]], - ['rxfilterdb16bytesruleargs',['RxFilterDB16BytesRuleArgs',['../union_slrx_filter_header_arg__t.html#a26d90366d80d756f1eb2d14eb64b5dc6',1,'SlrxFilterHeaderArg_t']]], - ['rxfilterdb18bytesasciiruleargs',['RxFilterDB18BytesAsciiRuleArgs',['../union_slrx_filter_header_arg__t.html#aeec8bc31c1d80630b72ea2e25a18a596',1,'SlrxFilterHeaderArg_t']]], - ['rxfilterdb1bytesruleargs',['RxFilterDB1BytesRuleArgs',['../union_slrx_filter_header_arg__t.html#ada685946d2c6c39fdbbc51b9e93abb84',1,'SlrxFilterHeaderArg_t']]], - ['rxfilterdb4bytesruleargs',['RxFilterDB4BytesRuleArgs',['../union_slrx_filter_header_arg__t.html#a1e508430e5a6792cac172b6c998c6567',1,'SlrxFilterHeaderArg_t']]], - ['rxfilterdb5bytesruleasciiargs',['RxFilterDB5BytesRuleAsciiArgs',['../union_slrx_filter_header_arg__t.html#a58bc18e2b2e4ba9d28c8427996e5c743',1,'SlrxFilterHeaderArg_t']]], - ['rxfilterdb6bytesruleargs',['RxFilterDB6BytesRuleArgs',['../union_slrx_filter_header_arg__t.html#a41fabfb5e5eef845d59da375897130f5',1,'SlrxFilterHeaderArg_t']]] -]; diff --git a/docs/simplelink_api/html/search/variables_5.html b/docs/simplelink_api/html/search/variables_5.html deleted file mode 100644 index c7c2549..0000000 --- a/docs/simplelink_api/html/search/variables_5.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/variables_5.js b/docs/simplelink_api/html/search/variables_5.js deleted file mode 100644 index 451e3f3..0000000 --- a/docs/simplelink_api/html/search/variables_5.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['triggercomparefunction',['TriggerCompareFunction',['../struct_slrx_filter_trigger__t.html#a66f6c39245f5a4123398f30372080bfc',1,'SlrxFilterTrigger_t']]] -]; diff --git a/docs/simplelink_api/html/search/variables_6.html b/docs/simplelink_api/html/search/variables_6.html deleted file mode 100644 index 70eccea..0000000 --- a/docs/simplelink_api/html/search/variables_6.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/simplelink_api/html/search/variables_6.js b/docs/simplelink_api/html/search/variables_6.js deleted file mode 100644 index 297b374..0000000 --- a/docs/simplelink_api/html/search/variables_6.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['upperoffset',['UpperOffset',['../struct_slrx_filter_payload_type__t.html#afde99c9d09bcb152ed68b329a9c31778',1,'SlrxFilterPayloadType_t']]] -]; diff --git a/docs/simplelink_api/html/search/variables_61.html b/docs/simplelink_api/html/search/variables_61.html index ac1adac..a405fa9 100644 --- a/docs/simplelink_api/html/search/variables_61.html +++ b/docs/simplelink_api/html/search/variables_61.html @@ -1,26 +1,26 @@ - - - - - - - -
-
Loading...
-
-
- ActionArg - SlrxFilterAction_t -
-
-
Searching...
-
No Matches
- -
- - + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/simplelink_api/html/search/variables_61.js b/docs/simplelink_api/html/search/variables_61.js new file mode 100644 index 0000000..1a1bea9 --- /dev/null +++ b/docs/simplelink_api/html/search/variables_61.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['actionarg',['ActionArg',['../struct_slrx_filter_action__t.html#a1d5a5c67b72f38d0f547f4b41594361d',1,'SlrxFilterAction_t']]] +]; diff --git a/docs/simplelink_api/html/search/variables_69.html b/docs/simplelink_api/html/search/variables_69.html index fd30b24..12e5a63 100644 --- a/docs/simplelink_api/html/search/variables_69.html +++ b/docs/simplelink_api/html/search/variables_69.html @@ -1,29 +1,26 @@ - - - - - - - -
-
Loading...
- -
Searching...
-
No Matches
- -
- - + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/simplelink_api/html/search/variables_69.js b/docs/simplelink_api/html/search/variables_69.js new file mode 100644 index 0000000..297f22e --- /dev/null +++ b/docs/simplelink_api/html/search/variables_69.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['intrepresentation',['IntRepresentation',['../union_slrx_filter_flags__t.html#a0c18cf04f2432035440b4608ea66fb4d',1,'SlrxFilterFlags_t::IntRepresentation()'],['../union_slrx_filter_action_type__t.html#a0c18cf04f2432035440b4608ea66fb4d',1,'SlrxFilterActionType_t::IntRepresentation()']]] +]; diff --git a/docs/simplelink_api/html/search/variables_6c.html b/docs/simplelink_api/html/search/variables_6c.html index 62a6907..2a3c308 100644 --- a/docs/simplelink_api/html/search/variables_6c.html +++ b/docs/simplelink_api/html/search/variables_6c.html @@ -1,26 +1,26 @@ - - - - - - - -
-
Loading...
-
-
- LowerOffset - SlrxFilterPayloadType_t -
-
-
Searching...
-
No Matches
- -
- - + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/simplelink_api/html/search/variables_6c.js b/docs/simplelink_api/html/search/variables_6c.js new file mode 100644 index 0000000..6ba7933 --- /dev/null +++ b/docs/simplelink_api/html/search/variables_6c.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['loweroffset',['LowerOffset',['../struct_slrx_filter_payload_type__t.html#a9ac3d3bada3c45dcf2539a383edcfc9b',1,'SlrxFilterPayloadType_t']]] +]; diff --git a/docs/simplelink_api/html/search/variables_70.html b/docs/simplelink_api/html/search/variables_70.html index 1aeeb96..6e9dd14 100644 --- a/docs/simplelink_api/html/search/variables_70.html +++ b/docs/simplelink_api/html/search/variables_70.html @@ -1,26 +1,26 @@ - - - - - - - -
-
Loading...
-
-
- ParentFilterID - SlrxFilterTrigger_t -
-
-
Searching...
-
No Matches
- -
- - + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/simplelink_api/html/search/variables_70.js b/docs/simplelink_api/html/search/variables_70.js new file mode 100644 index 0000000..621f790 --- /dev/null +++ b/docs/simplelink_api/html/search/variables_70.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['parentfilterid',['ParentFilterID',['../struct_slrx_filter_trigger__t.html#a58947c0d33b44b6adf9e52be48442da0',1,'SlrxFilterTrigger_t']]] +]; diff --git a/docs/simplelink_api/html/search/variables_72.html b/docs/simplelink_api/html/search/variables_72.html index 5314613..1823a5e 100644 --- a/docs/simplelink_api/html/search/variables_72.html +++ b/docs/simplelink_api/html/search/variables_72.html @@ -1,98 +1,26 @@ - - - - - - - -
-
Loading...
-
-
- RegxPattern - SlrxFilterPayloadType_t -
-
-
-
- RuleCompareFunc - SlrxFilterHeaderType_t -
-
-
-
- RuleHeaderArgs - SlrxFilterRuleHeaderArgsAndMask_t -
-
-
-
- RuleHeaderArgsAndMask - SlrxFilterHeaderType_t -
-
-
-
- RuleHeaderArgsMask - SlrxFilterRuleHeaderArgsAndMask_t -
-
-
-
- RuleHeaderfield - SlrxFilterHeaderType_t -
-
-
-
- RulePadding - SlrxFilterHeaderType_t -
-
-
-
- RxFilterDB16BytesRuleArgs - SlrxFilterHeaderArg_t -
-
-
-
- RxFilterDB18BytesAsciiRuleArgs - SlrxFilterHeaderArg_t -
-
-
-
- RxFilterDB1BytesRuleArgs - SlrxFilterHeaderArg_t -
-
-
-
- RxFilterDB4BytesRuleArgs - SlrxFilterHeaderArg_t -
-
-
-
- RxFilterDB5BytesRuleAsciiArgs - SlrxFilterHeaderArg_t -
-
-
-
- RxFilterDB6BytesRuleArgs - SlrxFilterHeaderArg_t -
-
-
Searching...
-
No Matches
- -
- - + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/simplelink_api/html/search/variables_72.js b/docs/simplelink_api/html/search/variables_72.js new file mode 100644 index 0000000..8bef4ef --- /dev/null +++ b/docs/simplelink_api/html/search/variables_72.js @@ -0,0 +1,16 @@ +var searchData= +[ + ['regxpattern',['RegxPattern',['../struct_slrx_filter_payload_type__t.html#a87972b443af7974c2e52bea59b8aed29',1,'SlrxFilterPayloadType_t']]], + ['rulecomparefunc',['RuleCompareFunc',['../struct_slrx_filter_header_type__t.html#aa92cfd1d32af09ab6c845ced96c4110f',1,'SlrxFilterHeaderType_t']]], + ['ruleheaderargs',['RuleHeaderArgs',['../struct_slrx_filter_rule_header_args_and_mask__t.html#abb9bde3180785cbeed7c73b5253c10ab',1,'SlrxFilterRuleHeaderArgsAndMask_t']]], + ['ruleheaderargsandmask',['RuleHeaderArgsAndMask',['../struct_slrx_filter_header_type__t.html#afb384f375f43a8cb7e349ffaf70c26e6',1,'SlrxFilterHeaderType_t']]], + ['ruleheaderargsmask',['RuleHeaderArgsMask',['../struct_slrx_filter_rule_header_args_and_mask__t.html#a56eb016bde23aa213a1b2ffdab58f45b',1,'SlrxFilterRuleHeaderArgsAndMask_t']]], + ['ruleheaderfield',['RuleHeaderfield',['../struct_slrx_filter_header_type__t.html#ac40cef42995351984232b29151bc0b6c',1,'SlrxFilterHeaderType_t']]], + ['rulepadding',['RulePadding',['../struct_slrx_filter_header_type__t.html#aab0c11c64eed544d5fb67de89249c6fa',1,'SlrxFilterHeaderType_t']]], + ['rxfilterdb16bytesruleargs',['RxFilterDB16BytesRuleArgs',['../union_slrx_filter_header_arg__t.html#a26d90366d80d756f1eb2d14eb64b5dc6',1,'SlrxFilterHeaderArg_t']]], + ['rxfilterdb18bytesasciiruleargs',['RxFilterDB18BytesAsciiRuleArgs',['../union_slrx_filter_header_arg__t.html#aeec8bc31c1d80630b72ea2e25a18a596',1,'SlrxFilterHeaderArg_t']]], + ['rxfilterdb1bytesruleargs',['RxFilterDB1BytesRuleArgs',['../union_slrx_filter_header_arg__t.html#ada685946d2c6c39fdbbc51b9e93abb84',1,'SlrxFilterHeaderArg_t']]], + ['rxfilterdb4bytesruleargs',['RxFilterDB4BytesRuleArgs',['../union_slrx_filter_header_arg__t.html#a1e508430e5a6792cac172b6c998c6567',1,'SlrxFilterHeaderArg_t']]], + ['rxfilterdb5bytesruleasciiargs',['RxFilterDB5BytesRuleAsciiArgs',['../union_slrx_filter_header_arg__t.html#a58bc18e2b2e4ba9d28c8427996e5c743',1,'SlrxFilterHeaderArg_t']]], + ['rxfilterdb6bytesruleargs',['RxFilterDB6BytesRuleArgs',['../union_slrx_filter_header_arg__t.html#a41fabfb5e5eef845d59da375897130f5',1,'SlrxFilterHeaderArg_t']]] +]; diff --git a/docs/simplelink_api/html/search/variables_74.html b/docs/simplelink_api/html/search/variables_74.html index f5354c8..b7f1829 100644 --- a/docs/simplelink_api/html/search/variables_74.html +++ b/docs/simplelink_api/html/search/variables_74.html @@ -1,26 +1,26 @@ - - - - - - - -
-
Loading...
-
-
- TriggerCompareFunction - SlrxFilterTrigger_t -
-
-
Searching...
-
No Matches
- -
- - + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/simplelink_api/html/search/variables_74.js b/docs/simplelink_api/html/search/variables_74.js new file mode 100644 index 0000000..0fab3f4 --- /dev/null +++ b/docs/simplelink_api/html/search/variables_74.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['triggercomparefunction',['TriggerCompareFunction',['../struct_slrx_filter_trigger__t.html#a66f6c39245f5a4123398f30372080bfc',1,'SlrxFilterTrigger_t']]] +]; diff --git a/docs/simplelink_api/html/search/variables_75.html b/docs/simplelink_api/html/search/variables_75.html index c2c8b46..0ee7297 100644 --- a/docs/simplelink_api/html/search/variables_75.html +++ b/docs/simplelink_api/html/search/variables_75.html @@ -1,26 +1,26 @@ - - - - - - - -
-
Loading...
-
-
- UpperOffset - SlrxFilterPayloadType_t -
-
-
Searching...
-
No Matches
- -
- - + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/simplelink_api/html/search/variables_75.js b/docs/simplelink_api/html/search/variables_75.js new file mode 100644 index 0000000..b803442 --- /dev/null +++ b/docs/simplelink_api/html/search/variables_75.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['upperoffset',['UpperOffset',['../struct_slrx_filter_payload_type__t.html#afde99c9d09bcb152ed68b329a9c31778',1,'SlrxFilterPayloadType_t']]] +]; diff --git a/docs/simplelink_api/html/simplelink_8h_source.html b/docs/simplelink_api/html/simplelink_8h_source.html new file mode 100644 index 0000000..db737c4 --- /dev/null +++ b/docs/simplelink_api/html/simplelink_8h_source.html @@ -0,0 +1,687 @@ + + + + + + +CC32XX SimpleLink Host Driver: simplelink.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
simplelink.h
+
+
+
1 /*
+
2  * simplelink.h - CC31xx/CC32xx Host Driver Implementation
+
3  *
+
4  * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
+
5  *
+
6  *
+
7  * Redistribution and use in source and binary forms, with or without
+
8  * modification, are permitted provided that the following conditions
+
9  * are met:
+
10  *
+
11  * Redistributions of source code must retain the above copyright
+
12  * notice, this list of conditions and the following disclaimer.
+
13  *
+
14  * Redistributions in binary form must reproduce the above copyright
+
15  * notice, this list of conditions and the following disclaimer in the
+
16  * documentation and/or other materials provided with the
+
17  * distribution.
+
18  *
+
19  * Neither the name of Texas Instruments Incorporated nor the names of
+
20  * its contributors may be used to endorse or promote products derived
+
21  * from this software without specific prior written permission.
+
22  *
+
23  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+
24  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+
25  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+
26  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+
27  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+
28  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+
29  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+
30  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+
31  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+
32  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+
33  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
34  *
+
35 */
+
36 
+
37 
+
190 #ifndef __SIMPLELINK_H__
+
191 #define __SIMPLELINK_H__
+
192 
+
193 #include "../user.h"
+
194 
+
195 #ifdef __cplusplus
+
196 extern "C"
+
197 {
+
198 #endif
+
199 
+
200 
+
224 /*****************************************************************************/
+
225 /* Macro declarations for Host Driver version */
+
226 /*****************************************************************************/
+
227 #define SL_DRIVER_VERSION "1.0.0.10"
+
228 #define SL_MAJOR_VERSION_NUM 1L
+
229 #define SL_MINOR_VERSION_NUM 0L
+
230 #define SL_VERSION_NUM 0L
+
231 #define SL_SUB_VERSION_NUM 10L
+
232 
+
233 
+
234 /*****************************************************************************/
+
235 /* Macro declarations for predefined configurations */
+
236 /*****************************************************************************/
+
237 
+
238 #ifdef SL_TINY
+
239 
+
240 #undef SL_INC_ARG_CHECK
+
241 #undef SL_INC_EXT_API
+
242 #undef SL_INC_SOCK_SERVER_SIDE_API
+
243 #undef SL_INC_WLAN_PKG
+
244 #undef SL_INC_NET_CFG_PKG
+
245 #undef SL_INC_FS_PKG
+
246 #undef SL_INC_SET_UART_MODE
+
247 #undef SL_INC_NVMEM_PKG
+
248 #define SL_INC_STD_BSD_API_NAMING
+
249 #define SL_INC_SOCK_CLIENT_SIDE_API
+
250 #define SL_INC_SOCK_RECV_API
+
251 #define SL_INC_SOCK_SEND_API
+
252 #define SL_INC_SOCKET_PKG
+
253 #define SL_INC_NET_APP_PKG
+
254 
+
255 #endif
+
256 
+
257 #ifdef SL_SMALL
+
258 #undef SL_INC_EXT_API
+
259 #undef SL_INC_NET_APP_PKG
+
260 #undef SL_INC_NET_CFG_PKG
+
261 #undef SL_INC_FS_PKG
+
262 #define SL_INC_ARG_CHECK
+
263 #define SL_INC_WLAN_PKG
+
264 #define SL_INC_SOCKET_PKG
+
265 #define SL_INC_SOCK_CLIENT_SIDE_API
+
266 #define SL_INC_SOCK_SERVER_SIDE_API
+
267 #define SL_INC_SOCK_RECV_API
+
268 #define SL_INC_SOCK_SEND_API
+
269 #define SL_INC_SET_UART_MODE
+
270 #endif
+
271 
+
272 #ifdef SL_FULL
+
273 #define SL_INC_EXT_API
+
274 #define SL_INC_NET_APP_PKG
+
275 #define SL_INC_NET_CFG_PKG
+
276 #define SL_INC_FS_PKG
+
277 #define SL_INC_ARG_CHECK
+
278 #define SL_INC_WLAN_PKG
+
279 #define SL_INC_SOCKET_PKG
+
280 #define SL_INC_SOCK_CLIENT_SIDE_API
+
281 #define SL_INC_SOCK_SERVER_SIDE_API
+
282 #define SL_INC_SOCK_RECV_API
+
283 #define SL_INC_SOCK_SEND_API
+
284 #define SL_INC_SET_UART_MODE
+
285 #endif
+
286 
+
287 #define SL_RET_CODE_OK (0)
+
288 #define SL_RET_CODE_INVALID_INPUT (-2)
+
289 #define SL_RET_CODE_SELF_ERROR (-3)
+
290 #define SL_RET_CODE_NWP_IF_ERROR (-4)
+
291 #define SL_RET_CODE_MALLOC_ERROR (-5)
+
292 
+
293 #define sl_Memcpy memcpy
+
294 #define sl_Memset memset
+
295 
+
296 #define sl_SyncObjClear(pObj) sl_SyncObjWait(pObj,SL_OS_NO_WAIT)
+
297 
+
298 #ifndef SL_TINY_EXT
+
299 #define SL_MAX_SOCKETS (8)
+
300 #else
+
301 #define SL_MAX_SOCKETS (2)
+
302 #endif
+
303 
+
304 
+
305 
+
306 
+
307 /*****************************************************************************/
+
308 /* Types definitions */
+
309 /*****************************************************************************/
+
310 
+
311 #ifndef NULL
+
312 #define NULL (0)
+
313 #endif
+
314 
+
315 #ifndef FALSE
+
316 #define FALSE (0)
+
317 #endif
+
318 
+
319 #ifndef TRUE
+
320 #define TRUE (!FALSE)
+
321 #endif
+
322 
+
323 #ifndef OK
+
324 #define OK (0)
+
325 #endif
+
326 
+
327 #ifndef _SL_USER_TYPES
+
328  typedef unsigned char _u8;
+
329  typedef signed char _i8;
+
330 
+
331  typedef unsigned short _u16;
+
332  typedef signed short _i16;
+
333 
+
334  typedef unsigned long _u32;
+
335  typedef signed long _i32;
+
336  #define _volatile volatile
+
337  #define _const const
+
338 #endif
+
339 
+
340 typedef _u16 _SlOpcode_t;
+
341 typedef _u8 _SlArgSize_t;
+
342 typedef _i16 _SlDataSize_t;
+
343 typedef _i16 _SlReturnVal_t;
+
344 
+
345 #ifdef __cplusplus
+
346 }
+
347 #endif /* __cplusplus */
+
348 
+
349 
+
350 
+
351 /*
+
352  * This event status used to block or continue the event propagation
+
353  * through all the registered external libs/user application
+
354  *
+
355  */
+
356 
+
357  typedef enum {
+
358  EVENT_PROPAGATION_BLOCK = 0,
+
359  EVENT_PROPAGATION_CONTINUE
+
360 
+
361  } _SlEventPropogationStatus_e;
+
362 
+
363 
+
364 
+
365 
+
366 
+
367 
+
368 /*****************************************************************************/
+
369 /* Include files */
+
370 /*****************************************************************************/
+
371 
+
372 
+
373 /*
+
374  objInclusion.h and user.h must be included before all api header files
+
375  objInclusion.h must be the last arrangement just before including the API header files
+
376  since it based on the other configurations to decide which object should be included
+
377 */
+
378 #include "../source/objInclusion.h"
+
379 #include "trace.h"
+
380 #include "fs.h"
+
381 #include "socket.h"
+
382 #include "netapp.h"
+
383 #include "wlan.h"
+
384 #include "device.h"
+
385 #include "netcfg.h"
+
386 #include "wlan_rx_filters.h"
+
387 
+
388 
+
389  /* The general events dispatcher which is
+
390  * initialized to the user handler */
+
391 #ifdef sl_GeneralEvtHdlr
+
392 #define _SlDrvHandleGeneralEvents sl_GeneralEvtHdlr
+
393 #endif
+
394 
+
395  /* The wlan events dispatcher which is
+
396  * initialized to the user handler */
+
397 #ifdef sl_WlanEvtHdlr
+
398 #define _SlDrvHandleWlanEvents sl_WlanEvtHdlr
+
399 #endif
+
400 
+
401  /* The NetApp events dispatcher which is
+
402  * initialized to the user handler */
+
403 #ifdef sl_NetAppEvtHdlr
+
404 #define _SlDrvHandleNetAppEvents sl_NetAppEvtHdlr
+
405 #endif
+
406 
+
407  /* The http server events dispatcher which is
+
408  * initialized to the user handler if exists */
+
409 #ifdef sl_HttpServerCallback
+
410 #define _SlDrvHandleHttpServerEvents sl_HttpServerCallback
+
411 #endif
+
412 
+
413  /* The socket events dispatcher which is
+
414  * initialized to the user handler */
+
415 #ifdef sl_SockEvtHdlr
+
416 #define _SlDrvHandleSockEvents sl_SockEvtHdlr
+
417 #endif
+
418 
+
419 
+
420 
+
421 #define __CONCAT(x,y) x ## y
+
422 #define __CONCAT2(x,y) __CONCAT(x,y)
+
423 
+
424 
+
425 /*
+
426  * The section below handles the external lib event registration
+
427  * according to the desired events it specified in its API header file.
+
428  * The external lib should be first installed by the user (see user.h)
+
429  */
+
430 #ifdef SL_EXT_LIB_1
+
431 
+
432  /* General Event Registration */
+
433  #if __CONCAT2(SL_EXT_LIB_1, _NOTIFY_GENERAL_EVENT)
+
434  extern _SlEventPropogationStatus_e __CONCAT2(SL_EXT_LIB_1, _GeneralEventHdl) (SlDeviceEvent_t *);
+
435  #define SlExtLib1GeneralEventHandler __CONCAT2(SL_EXT_LIB_1, _GeneralEventHdl)
+
436 
+
437  #undef EXT_LIB_REGISTERED_GENERAL_EVENTS
+
438  #define EXT_LIB_REGISTERED_GENERAL_EVENTS
+
439  #endif
+
440 
+
441  /* Wlan Event Registration */
+
442  #if __CONCAT2(SL_EXT_LIB_1, _NOTIFY_WLAN_EVENT)
+
443  extern _SlEventPropogationStatus_e __CONCAT2(SL_EXT_LIB_1, _WlanEventHdl) (SlWlanEvent_t *);
+
444  #define SlExtLib1WlanEventHandler __CONCAT2(SL_EXT_LIB_1, _WlanEventHdl)
+
445 
+
446  #undef EXT_LIB_REGISTERED_WLAN_EVENTS
+
447  #define EXT_LIB_REGISTERED_WLAN_EVENTS
+
448  #endif
+
449 
+
450  /* NetApp Event Registration */
+
451  #if __CONCAT2(SL_EXT_LIB_1, _NOTIFY_NETAPP_EVENT)
+
452  extern _SlEventPropogationStatus_e __CONCAT2(SL_EXT_LIB_1, _NetAppEventHdl) (SlNetAppEvent_t *);
+
453  #define SlExtLib1NetAppEventHandler __CONCAT2(SL_EXT_LIB_1, _NetAppEventHdl)
+
454 
+
455  #undef EXT_LIB_REGISTERED_NETAPP_EVENTS
+
456  #define EXT_LIB_REGISTERED_NETAPP_EVENTS
+
457  #endif
+
458 
+
459  /* Http Server Event Registration */
+
460  #if __CONCAT2(SL_EXT_LIB_1, _NOTIFY_HTTP_SERVER_EVENT)
+
461  extern _SlEventPropogationStatus_e __CONCAT2(SL_EXT_LIB_1, _HttpServerEventHdl) (SlHttpServerEvent_t* , SlHttpServerResponse_t*);
+
462  #define SlExtLib1HttpServerEventHandler __CONCAT2(SL_EXT_LIB_1, _HttpServerEventHdl)
+
463 
+
464  #undef EXT_LIB_REGISTERED_HTTP_SERVER_EVENTS
+
465  #define EXT_LIB_REGISTERED_HTTP_SERVER_EVENTS
+
466  #endif
+
467 
+
468  /* Socket Event Registration */
+
469  #if __CONCAT2(SL_EXT_LIB_1, _NOTIFY_SOCK_EVENT)
+
470  extern _SlEventPropogationStatus_e __CONCAT2(SL_EXT_LIB_1, _SockEventHdl) (SlSockEvent_t *);
+
471  #define SlExtLib1SockEventHandler __CONCAT2(SL_EXT_LIB_1, _SockEventHdl)
+
472 
+
473  #undef EXT_LIB_REGISTERED_SOCK_EVENTS
+
474  #define EXT_LIB_REGISTERED_SOCK_EVENTS
+
475  #endif
+
476 
+
477 #endif
+
478 
+
479 
+
480 #ifdef SL_EXT_LIB_2
+
481 
+
482  /* General Event Registration */
+
483  #if __CONCAT2(SL_EXT_LIB_2, _NOTIFY_GENERAL_EVENT)
+
484  extern _SlEventPropogationStatus_e __CONCAT2(SL_EXT_LIB_2, _GeneralEventHdl) (SlDeviceEvent_t *);
+
485  #define SlExtLib2GeneralEventHandler __CONCAT2(SL_EXT_LIB_2, _GeneralEventHdl)
+
486 
+
487  #undef EXT_LIB_REGISTERED_GENERAL_EVENTS
+
488  #define EXT_LIB_REGISTERED_GENERAL_EVENTS
+
489  #endif
+
490 
+
491  /* Wlan Event Registration */
+
492  #if __CONCAT2(SL_EXT_LIB_2, _NOTIFY_WLAN_EVENT)
+
493  extern _SlEventPropogationStatus_e __CONCAT2(SL_EXT_LIB_2, _WlanEventHdl) (SlWlanEvent_t *);
+
494  #define SlExtLib2WlanEventHandler __CONCAT2(SL_EXT_LIB_2, _WlanEventHdl)
+
495 
+
496  #undef EXT_LIB_REGISTERED_WLAN_EVENTS
+
497  #define EXT_LIB_REGISTERED_WLAN_EVENTS
+
498  #endif
+
499 
+
500  /* NetApp Event Registration */
+
501  #if __CONCAT2(SL_EXT_LIB_2, _NOTIFY_NETAPP_EVENT)
+
502  extern _SlEventPropogationStatus_e __CONCAT2(SL_EXT_LIB_2, _NetAppEventHdl) (SlNetAppEvent_t *);
+
503  #define SlExtLib2NetAppEventHandler __CONCAT2(SL_EXT_LIB_2, _NetAppEventHdl)
+
504 
+
505  #undef EXT_LIB_REGISTERED_NETAPP_EVENTS
+
506  #define EXT_LIB_REGISTERED_NETAPP_EVENTS
+
507  #endif
+
508 
+
509  /* Http Server Event Registration */
+
510  #if __CONCAT2(SL_EXT_LIB_2, _NOTIFY_HTTP_SERVER_EVENT)
+
511  extern _SlEventPropogationStatus_e __CONCAT2(SL_EXT_LIB_2, _HttpServerEventHdl) (SlHttpServerEvent_t* , SlHttpServerResponse_t*);
+
512  #define SlExtLib2HttpServerEventHandler __CONCAT2(SL_EXT_LIB_2, _HttpServerEventHdl)
+
513 
+
514  #undef EXT_LIB_REGISTERED_HTTP_SERVER_EVENTS
+
515  #define EXT_LIB_REGISTERED_HTTP_SERVER_EVENTS
+
516  #endif
+
517 
+
518  /* Socket Event Registration */
+
519  #if __CONCAT2(SL_EXT_LIB_2, _NOTIFY_SOCK_EVENT)
+
520  extern _SlEventPropogationStatus_e __CONCAT2(SL_EXT_LIB_2, _SockEventHdl) (SlSockEvent_t *);
+
521  #define SlExtLib2SockEventHandler __CONCAT2(SL_EXT_LIB_2, _SockEventHdl)
+
522 
+
523  #undef EXT_LIB_REGISTERED_SOCK_EVENTS
+
524  #define EXT_LIB_REGISTERED_SOCK_EVENTS
+
525  #endif
+
526 
+
527 #endif
+
528 
+
529 
+
530 #ifdef SL_EXT_LIB_3
+
531 
+
532  /* General Event Registration */
+
533  #if __CONCAT2(SL_EXT_LIB_3, _NOTIFY_GENERAL_EVENT)
+
534  extern _SlEventPropogationStatus_e __CONCAT2(SL_EXT_LIB_3, _GeneralEventHdl) (SlDeviceEvent_t *);
+
535  #define SlExtLib3GeneralEventHandler __CONCAT2(SL_EXT_LIB_3, _GeneralEventHdl)
+
536 
+
537  #undef EXT_LIB_REGISTERED_GENERAL_EVENTS
+
538  #define EXT_LIB_REGISTERED_GENERAL_EVENTS
+
539  #endif
+
540 
+
541  /* Wlan Event Registration */
+
542  #if __CONCAT2(SL_EXT_LIB_3, _NOTIFY_WLAN_EVENT)
+
543  extern _SlEventPropogationStatus_e __CONCAT2(SL_EXT_LIB_3, _WlanEventHdl) (SlWlanEvent_t *);
+
544  #define SlExtLib3WlanEventHandler __CONCAT2(SL_EXT_LIB_3, _WlanEventHdl)
+
545 
+
546  #undef EXT_LIB_REGISTERED_WLAN_EVENTS
+
547  #define EXT_LIB_REGISTERED_WLAN_EVENTS
+
548  #endif
+
549 
+
550  /* NetApp Event Registration */
+
551  #if __CONCAT2(SL_EXT_LIB_3, _NOTIFY_NETAPP_EVENT)
+
552  extern _SlEventPropogationStatus_e __CONCAT2(SL_EXT_LIB_3, _NetAppEventHdl) (SlNetAppEvent_t *);
+
553  #define SlExtLib3NetAppEventHandler __CONCAT2(SL_EXT_LIB_3, _NetAppEventHdl)
+
554 
+
555  #undef EXT_LIB_REGISTERED_NETAPP_EVENTS
+
556  #define EXT_LIB_REGISTERED_NETAPP_EVENTS
+
557  #endif
+
558 
+
559  /* Http Server Event Registration */
+
560  #if __CONCAT2(SL_EXT_LIB_3, _NOTIFY_HTTP_SERVER_EVENT)
+
561  extern _SlEventPropogationStatus_e __CONCAT2(SL_EXT_LIB_3, _HttpServerEventHdl) (SlHttpServerEvent_t* , SlHttpServerResponse_t*);
+
562  #define SlExtLib3HttpServerEventHandler __CONCAT2(SL_EXT_LIB_3, _HttpServerEventHdl)
+
563 
+
564  #undef EXT_LIB_REGISTERED_HTTP_SERVER_EVENTS
+
565  #define EXT_LIB_REGISTERED_HTTP_SERVER_EVENTS
+
566  #endif
+
567 
+
568  /* Socket Event Registration */
+
569  #if __CONCAT2(SL_EXT_LIB_3, _NOTIFY_SOCK_EVENT)
+
570  extern _SlEventPropogationStatus_e __CONCAT2(SL_EXT_LIB_3, _SockEventHdl) (SlSockEvent_t *);
+
571  #define SlExtLib3SockEventHandler __CONCAT2(SL_EXT_LIB_3, _SockEventHdl)
+
572 
+
573  #undef EXT_LIB_REGISTERED_SOCK_EVENTS
+
574  #define EXT_LIB_REGISTERED_SOCK_EVENTS
+
575  #endif
+
576 
+
577 #endif
+
578 
+
579 
+
580 #ifdef SL_EXT_LIB_4
+
581 
+
582  /* General Event Registration */
+
583  #if __CONCAT2(SL_EXT_LIB_4, _NOTIFY_GENERAL_EVENT)
+
584  extern _SlEventPropogationStatus_e __CONCAT2(SL_EXT_LIB_4, _GeneralEventHdl) (SlDeviceEvent_t *);
+
585  #define SlExtLib4GeneralEventHandler __CONCAT2(SL_EXT_LIB_4, _GeneralEventHdl)
+
586 
+
587  #undef EXT_LIB_REGISTERED_GENERAL_EVENTS
+
588  #define EXT_LIB_REGISTERED_GENERAL_EVENTS
+
589  #endif
+
590 
+
591  /* Wlan Event Registration */
+
592  #if __CONCAT2(SL_EXT_LIB_4, _NOTIFY_WLAN_EVENT)
+
593  extern _SlEventPropogationStatus_e __CONCAT2(SL_EXT_LIB_4, _WlanEventHdl) (SlWlanEvent_t *);
+
594  #define SlExtLib4WlanEventHandler __CONCAT2(SL_EXT_LIB_4, _WlanEventHdl)
+
595 
+
596  #undef EXT_LIB_REGISTERED_WLAN_EVENTS
+
597  #define EXT_LIB_REGISTERED_WLAN_EVENTS
+
598  #endif
+
599 
+
600  /* NetApp Event Registration */
+
601  #if __CONCAT2(SL_EXT_LIB_4, _NOTIFY_NETAPP_EVENT)
+
602  extern _SlEventPropogationStatus_e __CONCAT2(SL_EXT_LIB_4, _NetAppEventHdl) (SlNetAppEvent_t *);
+
603  #define SlExtLib4NetAppEventHandler __CONCAT2(SL_EXT_LIB_4, _NetAppEventHdl)
+
604 
+
605  #undef EXT_LIB_REGISTERED_NETAPP_EVENTS
+
606  #define EXT_LIB_REGISTERED_NETAPP_EVENTS
+
607  #endif
+
608 
+
609  /* Http Server Event Registration */
+
610  #if __CONCAT2(SL_EXT_LIB_4, _NOTIFY_HTTP_SERVER_EVENT)
+
611  extern _SlEventPropogationStatus_e __CONCAT2(SL_EXT_LIB_4, _HttpServerEventHdl) (SlHttpServerEvent_t* , SlHttpServerResponse_t*);
+
612  #define SlExtLib4HttpServerEventHandler __CONCAT2(SL_EXT_LIB_4, _HttpServerEventHdl)
+
613 
+
614  #undef EXT_LIB_REGISTERED_HTTP_SERVER_EVENTS
+
615  #define EXT_LIB_REGISTERED_HTTP_SERVER_EVENTS
+
616  #endif
+
617 
+
618  /* Socket Event Registration */
+
619  #if __CONCAT2(SL_EXT_LIB_4, _NOTIFY_SOCK_EVENT)
+
620  extern _SlEventPropogationStatus_e __CONCAT2(SL_EXT_LIB_4, _SockEventHdl) (SlSockEvent_t *);
+
621  #define SlExtLib4SockEventHandler __CONCAT2(SL_EXT_LIB_4, _SockEventHdl)
+
622 
+
623  #undef EXT_LIB_REGISTERED_SOCK_EVENTS
+
624  #define EXT_LIB_REGISTERED_SOCK_EVENTS
+
625  #endif
+
626 
+
627 #endif
+
628 
+
629 
+
630 #ifdef SL_EXT_LIB_5
+
631 
+
632  /* General Event Registration */
+
633  #if __CONCAT2(SL_EXT_LIB_5, _NOTIFY_GENERAL_EVENT)
+
634  extern _SlEventPropogationStatus_e __CONCAT2(SL_EXT_LIB_5, _GeneralEventHdl) (SlDeviceEvent_t *);
+
635  #define SlExtLib5GeneralEventHandler __CONCAT2(SL_EXT_LIB_5, _GeneralEventHdl)
+
636 
+
637  #undef EXT_LIB_REGISTERED_GENERAL_EVENTS
+
638  #define EXT_LIB_REGISTERED_GENERAL_EVENTS
+
639  #endif
+
640 
+
641  /* Wlan Event Registration */
+
642  #if __CONCAT2(SL_EXT_LIB_5, _NOTIFY_WLAN_EVENT)
+
643  extern _SlEventPropogationStatus_e __CONCAT2(SL_EXT_LIB_5, _WlanEventHdl) (SlWlanEvent_t *);
+
644  #define SlExtLib5WlanEventHandler __CONCAT2(SL_EXT_LIB_5, _WlanEventHdl)
+
645 
+
646  #undef EXT_LIB_REGISTERED_WLAN_EVENTS
+
647  #define EXT_LIB_REGISTERED_WLAN_EVENTS
+
648  #endif
+
649 
+
650  /* NetApp Event Registration */
+
651  #if __CONCAT2(SL_EXT_LIB_5, _NOTIFY_NETAPP_EVENT)
+
652  extern _SlEventPropogationStatus_e __CONCAT2(SL_EXT_LIB_5, _NetAppEventHdl) (SlNetAppEvent_t *);
+
653  #define SlExtLib5NetAppEventHandler __CONCAT2(SL_EXT_LIB_5, _NetAppEventHdl)
+
654 
+
655  #undef EXT_LIB_REGISTERED_NETAPP_EVENTS
+
656  #define EXT_LIB_REGISTERED_NETAPP_EVENTS
+
657  #endif
+
658 
+
659  /* Http Server Event Registration */
+
660  #if __CONCAT2(SL_EXT_LIB_5, _NOTIFY_HTTP_SERVER_EVENT)
+
661  extern _SlEventPropogationStatus_e __CONCAT2(SL_EXT_LIB_5, _HttpServerEventHdl) (SlHttpServerEvent_t* , SlHttpServerResponse_t*);
+
662  #define SlExtLib5HttpServerEventHandler __CONCAT2(SL_EXT_LIB_5, _HttpServerEventHdl)
+
663 
+
664  #undef EXT_LIB_REGISTERED_HTTP_SERVER_EVENTS
+
665  #define EXT_LIB_REGISTERED_HTTP_SERVER_EVENTS
+
666  #endif
+
667 
+
668  /* Socket Event Registration */
+
669  #if __CONCAT2(SL_EXT_LIB_5, _NOTIFY_SOCK_EVENT)
+
670  extern _SlEventPropogationStatus_e __CONCAT2(SL_EXT_LIB_5, _SockEventHdl) (SlSockEvent_t *);
+
671  #define SlExtLib5SockEventHandler __CONCAT2(SL_EXT_LIB_5, _SockEventHdl)
+
672 
+
673  #undef EXT_LIB_REGISTERED_SOCK_EVENTS
+
674  #define EXT_LIB_REGISTERED_SOCK_EVENTS
+
675  #endif
+
676 
+
677 #endif
+
678 
+
679 
+
680 
+
681 #if defined(EXT_LIB_REGISTERED_GENERAL_EVENTS)
+
682 extern void _SlDrvHandleGeneralEvents(SlDeviceEvent_t *slGeneralEvent);
+
683 #endif
+
684 
+
685 #if defined(EXT_LIB_REGISTERED_WLAN_EVENTS)
+
686 extern void _SlDrvHandleWlanEvents(SlWlanEvent_t *slWlanEvent);
+
687 #endif
+
688 
+
689 #if defined (EXT_LIB_REGISTERED_NETAPP_EVENTS)
+
690 extern void _SlDrvHandleNetAppEvents(SlNetAppEvent_t *slNetAppEvent);
+
691 #endif
+
692 
+
693 #if defined(EXT_LIB_REGISTERED_HTTP_SERVER_EVENTS)
+
694 extern void _SlDrvHandleHttpServerEvents(SlHttpServerEvent_t *slHttpServerEvent, SlHttpServerResponse_t *slHttpServerResponse);
+
695 #endif
+
696 
+
697 
+
698 #if defined(EXT_LIB_REGISTERED_SOCK_EVENTS)
+
699 extern void _SlDrvHandleSockEvents(SlSockEvent_t *slSockEvent);
+
700 #endif
+
701 
+
702 
+
703 typedef void (*_SlSpawnEntryFunc_t)(void* pValue);
+
704 
+
705 #ifdef SL_PLATFORM_MULTI_THREADED
+
706  #include "../source/spawn.h"
+
707 #else
+
708  #include "../source/nonos.h"
+
709 #endif
+
710 
+
711 
+
712 
+
713 /* Async functions description*/
+
714 
+
748 #if (defined(sl_GeneralEvtHdlr))
+
749 extern void sl_GeneralEvtHdlr(SlDeviceEvent_t *pSlDeviceEvent);
+
750 #endif
+
751 
+
752 
+
826 #if (defined(sl_WlanEvtHdlr))
+
827 extern void sl_WlanEvtHdlr(SlWlanEvent_t* pSlWlanEvent);
+
828 #endif
+
829 
+
830 
+
857 #if (defined(sl_NetAppEvtHdlr))
+
858 extern void sl_NetAppEvtHdlr(SlNetAppEvent_t* pSlNetApp);
+
859 #endif
+
860 
+
879 #if (defined(sl_SockEvtHdlr))
+
880 extern void sl_SockEvtHdlr(SlSockEvent_t* pSlSockEvent);
+
881 #endif
+
882 
+
911 #if (defined(sl_HttpServerCallback))
+
912 extern void sl_HttpServerCallback(SlHttpServerEvent_t *pSlHttpServerEvent, SlHttpServerResponse_t *pSlHttpServerResponse);
+
913 #endif
+
914 
+
921 #ifdef __cplusplus
+
922 }
+
923 #endif /* __cplusplus */
+
924 
+
925 #endif /* __SIMPLELINK_H__ */
+
926 
+
+
+ + + + diff --git a/docs/simplelink_api/html/socket_8h_source.html b/docs/simplelink_api/html/socket_8h_source.html index ccce189..d6af7ff 100644 --- a/docs/simplelink_api/html/socket_8h_source.html +++ b/docs/simplelink_api/html/socket_8h_source.html @@ -1,828 +1,858 @@ - - - - - - -CC32XX SimpleLink Host Driver: socket.h Source File - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
-
-
socket.h
-
-
-
1 /*
-
2  * socket.h - CC31xx/CC32xx Host Driver Implementation
-
3  *
-
4  * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
-
5  *
-
6  *
-
7  * Redistribution and use in source and binary forms, with or without
-
8  * modification, are permitted provided that the following conditions
-
9  * are met:
-
10  *
-
11  * Redistributions of source code must retain the above copyright
-
12  * notice, this list of conditions and the following disclaimer.
-
13  *
-
14  * Redistributions in binary form must reproduce the above copyright
-
15  * notice, this list of conditions and the following disclaimer in the
-
16  * documentation and/or other materials provided with the
-
17  * distribution.
-
18  *
-
19  * Neither the name of Texas Instruments Incorporated nor the names of
-
20  * its contributors may be used to endorse or promote products derived
-
21  * from this software without specific prior written permission.
-
22  *
-
23  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-
24  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-
25  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-
26  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-
27  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-
28  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-
29  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-
30  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-
31  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-
32  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-
33  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
34  *
-
35 */
-
36 
-
37 #ifndef __SL_SOCKET_H__
-
38 #define __SL_SOCKET_H__
-
39 
-
40 /*****************************************************************************/
-
41 /* Include files */
-
42 /*****************************************************************************/
-
43 #include "simplelink.h"
-
44 
-
45 
-
46 #ifdef __cplusplus
-
47 extern "C" {
-
48 #endif
-
49 
-
57 /*****************************************************************************/
-
58 /* Macro declarations */
-
59 /*****************************************************************************/
-
60 
-
61 #define SL_FD_SETSIZE SL_MAX_SOCKETS /* Number of sockets to select on - same is max sockets! */
-
62 #define BSD_SOCKET_ID_MASK (0x0F) /* Index using the LBS 4 bits for socket id 0-7 */
-
63 /* Define some BSD protocol constants. */
-
64 #define SL_SOCK_STREAM (1) /* TCP Socket */
-
65 #define SL_SOCK_DGRAM (2) /* UDP Socket */
-
66 #define SL_SOCK_RAW (3) /* Raw socket */
-
67 #define SL_IPPROTO_TCP (6) /* TCP Raw Socket */
-
68 #define SL_IPPROTO_UDP (17) /* UDP Raw Socket */
-
69 #define SL_IPPROTO_RAW (255) /* Raw Socket */
-
70 #define SL_SEC_SOCKET (100) /* Secured Socket Layer (SSL,TLS) */
-
71 
-
72 /* Address families. */
-
73 #define SL_AF_INET (2) /* IPv4 socket (UDP, TCP, etc) */
-
74 #define SL_AF_INET6 (3) /* IPv6 socket (UDP, TCP, etc) */
-
75 #define SL_AF_INET6_EUI_48 (9)
-
76 #define SL_AF_RF (6) /* data include RF parameter, All layer by user (Wifi could be disconnected) */
-
77 #define SL_AF_PACKET (17)
-
78 /* Protocol families, same as address families. */
-
79 #define SL_PF_INET AF_INET
-
80 #define SL_PF_INET6 AF_INET6
-
81 #define SL_INADDR_ANY (0) /* bind any address */
-
82 
-
83 /* error codes */
-
84 #define SL_SOC_ERROR (-1) /* Failure. */
-
85 #define SL_SOC_OK ( 0) /* Success. */
-
86 #define SL_INEXE (-8) /* socket command in execution */
-
87 #define SL_EBADF (-9) /* Bad file number */
-
88 #define SL_ENSOCK (-10) /* The system limit on the total number of open socket, has been reached */
-
89 #define SL_EAGAIN (-11) /* Try again */
-
90 #define SL_EWOULDBLOCK SL_EAGAIN
-
91 #define SL_ENOMEM (-12) /* Out of memory */
-
92 #define SL_EACCES (-13) /* Permission denied */
-
93 #define SL_EFAULT (-14) /* Bad address */
-
94 #define SL_ECLOSE (-15) /* close socket operation failed to transmit all queued packets */
-
95 #define SL_EALREADY_ENABLED (-21) /* Transceiver - Transceiver already ON. there could be only one */
-
96 #define SL_EINVAL (-22) /* Invalid argument */
-
97 #define SL_EAUTO_CONNECT_OR_CONNECTING (-69) /* Transceiver - During connection, connected or auto mode started */
-
98 #define SL_CONNECTION_PENDING (-72) /* Transceiver - Device is connected, disconnect first to open transceiver */
-
99 #define SL_EUNSUPPORTED_ROLE (-86) /* Transceiver - Trying to start when WLAN role is AP or P2P GO */
-
100 #define SL_EDESTADDRREQ (-89) /* Destination address required */
-
101 #define SL_EPROTOTYPE (-91) /* Protocol wrong type for socket */
-
102 #define SL_ENOPROTOOPT (-92) /* Protocol not available */
-
103 #define SL_EPROTONOSUPPORT (-93) /* Protocol not supported */
-
104 #define SL_ESOCKTNOSUPPORT (-94) /* Socket type not supported */
-
105 #define SL_EOPNOTSUPP (-95) /* Operation not supported on transport endpoint */
-
106 #define SL_EAFNOSUPPORT (-97) /* Address family not supported by protocol */
-
107 #define SL_EADDRINUSE (-98) /* Address already in use */
-
108 #define SL_EADDRNOTAVAIL (-99) /* Cannot assign requested address */
-
109 #define SL_ENETUNREACH (-101) /* Network is unreachable */
-
110 #define SL_ENOBUFS (-105) /* No buffer space available */
-
111 #define SL_EOBUFF SL_ENOBUFS
-
112 #define SL_EISCONN (-106) /* Transport endpoint is already connected */
-
113 #define SL_ENOTCONN (-107) /* Transport endpoint is not connected */
-
114 #define SL_ETIMEDOUT (-110) /* Connection timed out */
-
115 #define SL_ECONNREFUSED (-111) /* Connection refused */
-
116 #define SL_EALREADY (-114) /* Non blocking connect in progress, try again */
-
117 
-
118 #define SL_ESEC_RSA_WRONG_TYPE_E (-130) /* RSA wrong block type for RSA function */
-
119 #define SL_ESEC_RSA_BUFFER_E (-131) /* RSA buffer error, output too small or */
-
120 #define SL_ESEC_BUFFER_E (-132) /* output buffer too small or input too large */
-
121 #define SL_ESEC_ALGO_ID_E (-133) /* setting algo id error */
-
122 #define SL_ESEC_PUBLIC_KEY_E (-134) /* setting public key error */
-
123 #define SL_ESEC_DATE_E (-135) /* setting date validity error */
-
124 #define SL_ESEC_SUBJECT_E (-136) /* setting subject name error */
-
125 #define SL_ESEC_ISSUER_E (-137) /* setting issuer name error */
-
126 #define SL_ESEC_CA_TRUE_E (-138) /* setting CA basic constraint true error */
-
127 #define SL_ESEC_EXTENSIONS_E (-139) /* setting extensions error */
-
128 #define SL_ESEC_ASN_PARSE_E (-140) /* ASN parsing error, invalid input */
-
129 #define SL_ESEC_ASN_VERSION_E (-141) /* ASN version error, invalid number */
-
130 #define SL_ESEC_ASN_GETINT_E (-142) /* ASN get big _i16 error, invalid data */
-
131 #define SL_ESEC_ASN_RSA_KEY_E (-143) /* ASN key init error, invalid input */
-
132 #define SL_ESEC_ASN_OBJECT_ID_E (-144) /* ASN object id error, invalid id */
-
133 #define SL_ESEC_ASN_TAG_NULL_E (-145) /* ASN tag error, not null */
-
134 #define SL_ESEC_ASN_EXPECT_0_E (-146) /* ASN expect error, not zero */
-
135 #define SL_ESEC_ASN_BITSTR_E (-147) /* ASN bit string error, wrong id */
-
136 #define SL_ESEC_ASN_UNKNOWN_OID_E (-148) /* ASN oid error, unknown sum id */
-
137 #define SL_ESEC_ASN_DATE_SZ_E (-149) /* ASN date error, bad size */
-
138 #define SL_ESEC_ASN_BEFORE_DATE_E (-150) /* ASN date error, current date before */
-
139 #define SL_ESEC_ASN_AFTER_DATE_E (-151) /* ASN date error, current date after */
-
140 #define SL_ESEC_ASN_SIG_OID_E (-152) /* ASN signature error, mismatched oid */
-
141 #define SL_ESEC_ASN_TIME_E (-153) /* ASN time error, unknown time type */
-
142 #define SL_ESEC_ASN_INPUT_E (-154) /* ASN input error, not enough data */
-
143 #define SL_ESEC_ASN_SIG_CONFIRM_E (-155) /* ASN sig error, confirm failure */
-
144 #define SL_ESEC_ASN_SIG_HASH_E (-156) /* ASN sig error, unsupported hash type */
-
145 #define SL_ESEC_ASN_SIG_KEY_E (-157) /* ASN sig error, unsupported key type */
-
146 #define SL_ESEC_ASN_DH_KEY_E (-158) /* ASN key init error, invalid input */
-
147 #define SL_ESEC_ASN_NTRU_KEY_E (-159) /* ASN ntru key decode error, invalid input */
-
148 #define SL_ESEC_ECC_BAD_ARG_E (-170) /* ECC input argument of wrong type */
-
149 #define SL_ESEC_ASN_ECC_KEY_E (-171) /* ASN ECC bad input */
-
150 #define SL_ESEC_ECC_CURVE_OID_E (-172) /* Unsupported ECC OID curve type */
-
151 #define SL_ESEC_BAD_FUNC_ARG (-173) /* Bad function argument provided */
-
152 #define SL_ESEC_NOT_COMPILED_IN (-174) /* Feature not compiled in */
-
153 #define SL_ESEC_UNICODE_SIZE_E (-175) /* Unicode password too big */
-
154 #define SL_ESEC_NO_PASSWORD (-176) /* no password provided by user */
-
155 #define SL_ESEC_ALT_NAME_E (-177) /* alt name size problem, too big */
-
156 #define SL_ESEC_AES_GCM_AUTH_E (-180) /* AES-GCM Authentication check failure */
-
157 #define SL_ESEC_AES_CCM_AUTH_E (-181) /* AES-CCM Authentication check failure */
-
158 /* ssl tls security start with -300 offset */
-
159 #define SL_ESEC_CLOSE_NOTIFY (-300) /* ssl/tls alerts */
-
160 #define SL_ESEC_UNEXPECTED_MESSAGE (-310) /* ssl/tls alerts */
-
161 #define SL_ESEC_BAD_RECORD_MAC (-320) /* ssl/tls alerts */
-
162 #define SL_ESEC_DECRYPTION_FAILED (-321) /* ssl/tls alerts */
-
163 #define SL_ESEC_RECORD_OVERFLOW (-322) /* ssl/tls alerts */
-
164 #define SL_ESEC_DECOMPRESSION_FAILURE (-330) /* ssl/tls alerts */
-
165 #define SL_ESEC_HANDSHAKE_FAILURE (-340) /* ssl/tls alerts */
-
166 #define SL_ESEC_NO_CERTIFICATE (-341) /* ssl/tls alerts */
-
167 #define SL_ESEC_BAD_CERTIFICATE (-342) /* ssl/tls alerts */
-
168 #define SL_ESEC_UNSUPPORTED_CERTIFICATE (-343) /* ssl/tls alerts */
-
169 #define SL_ESEC_CERTIFICATE_REVOKED (-344) /* ssl/tls alerts */
-
170 #define SL_ESEC_CERTIFICATE_EXPIRED (-345) /* ssl/tls alerts */
-
171 #define SL_ESEC_CERTIFICATE_UNKNOWN (-346) /* ssl/tls alerts */
-
172 #define SL_ESEC_ILLEGAL_PARAMETER (-347) /* ssl/tls alerts */
-
173 #define SL_ESEC_UNKNOWN_CA (-348) /* ssl/tls alerts */
-
174 #define SL_ESEC_ACCESS_DENIED (-349) /* ssl/tls alerts */
-
175 #define SL_ESEC_DECODE_ERROR (-350) /* ssl/tls alerts */
-
176 #define SL_ESEC_DECRYPT_ERROR (-351) /* ssl/tls alerts */
-
177 #define SL_ESEC_EXPORT_RESTRICTION (-360) /* ssl/tls alerts */
-
178 #define SL_ESEC_PROTOCOL_VERSION (-370) /* ssl/tls alerts */
-
179 #define SL_ESEC_INSUFFICIENT_SECURITY (-371) /* ssl/tls alerts */
-
180 #define SL_ESEC_INTERNAL_ERROR (-380) /* ssl/tls alerts */
-
181 #define SL_ESEC_USER_CANCELLED (-390) /* ssl/tls alerts */
-
182 #define SL_ESEC_NO_RENEGOTIATION (-400) /* ssl/tls alerts */
-
183 #define SL_ESEC_UNSUPPORTED_EXTENSION (-410) /* ssl/tls alerts */
-
184 #define SL_ESEC_CERTIFICATE_UNOBTAINABLE (-411) /* ssl/tls alerts */
-
185 #define SL_ESEC_UNRECOGNIZED_NAME (-412) /* ssl/tls alerts */
-
186 #define SL_ESEC_BAD_CERTIFICATE_STATUS_RESPONSE (-413) /* ssl/tls alerts */
-
187 #define SL_ESEC_BAD_CERTIFICATE_HASH_VALUE (-414) /* ssl/tls alerts */
-
188 /* propierty secure */
-
189 #define SL_ESECGENERAL (-450) /* error secure level general error */
-
190 #define SL_ESECDECRYPT (-451) /* error secure level, decrypt recv packet fail */
-
191 #define SL_ESECCLOSED (-452) /* secure layrer is closed by other size , tcp is still connected */
-
192 #define SL_ESECSNOVERIFY (-453) /* Connected without server verification */
-
193 #define SL_ESECNOCAFILE (-454) /* error secure level CA file not found*/
-
194 #define SL_ESECMEMORY (-455) /* error secure level No memory space available */
-
195 #define SL_ESECBADCAFILE (-456) /* error secure level bad CA file */
-
196 #define SL_ESECBADCERTFILE (-457) /* error secure level bad Certificate file */
-
197 #define SL_ESECBADPRIVATEFILE (-458) /* error secure level bad private file */
-
198 #define SL_ESECBADDHFILE (-459) /* error secure level bad DH file */
-
199 #define SL_ESECT00MANYSSLOPENED (-460) /* MAX SSL Sockets are opened */
-
200 #define SL_ESECDATEERROR (-461) /* connected with certificate date verification error */
-
201 #define SL_ESECHANDSHAKETIMEDOUT (-462) /* connection timed out due to handshake time */
-
202 
-
203 /* end error codes */
-
204 
-
205 /* Max payload size by protocol */
-
206 #define SL_SOCKET_PAYLOAD_TYPE_MASK (0xF0) /*4 bits type, 4 bits sockets id */
-
207 #define SL_SOCKET_PAYLOAD_TYPE_UDP_IPV4 (0x00) /* 1472 bytes */
-
208 #define SL_SOCKET_PAYLOAD_TYPE_TCP_IPV4 (0x10) /* 1460 bytes */
-
209 #define SL_SOCKET_PAYLOAD_TYPE_UDP_IPV6 (0x20) /* 1452 bytes */
-
210 #define SL_SOCKET_PAYLOAD_TYPE_TCP_IPV6 (0x30) /* 1440 bytes */
-
211 #define SL_SOCKET_PAYLOAD_TYPE_UDP_IPV4_SECURE (0x40) /* */
-
212 #define SL_SOCKET_PAYLOAD_TYPE_TCP_IPV4_SECURE (0x50) /* */
-
213 #define SL_SOCKET_PAYLOAD_TYPE_UDP_IPV6_SECURE (0x60) /* */
-
214 #define SL_SOCKET_PAYLOAD_TYPE_TCP_IPV6_SECURE (0x70) /* */
-
215 #define SL_SOCKET_PAYLOAD_TYPE_RAW_TRANCEIVER (0x80) /* 1536 bytes */
-
216 #define SL_SOCKET_PAYLOAD_TYPE_RAW_PACKET (0x90) /* 1536 bytes */
-
217 #define SL_SOCKET_PAYLOAD_TYPE_RAW_IP4 (0xa0)
-
218 #define SL_SOCKET_PAYLOAD_TYPE_RAW_IP6 (SL_SOCKET_PAYLOAD_TYPE_RAW_IP4 )
-
219 
-
220 
-
221 
-
222 #define SL_SOL_SOCKET (1) /* Define the socket option category. */
-
223 #define SL_IPPROTO_IP (2) /* Define the IP option category. */
-
224 #define SL_SOL_PHY_OPT (3) /* Define the PHY option category. */
-
225 
-
226 #define SL_SO_RCVBUF (8) /* Setting TCP receive buffer size */
-
227 #define SL_SO_KEEPALIVE (9) /* Connections are kept alive with periodic messages */
-
228 #define SL_SO_RCVTIMEO (20) /* Enable receive timeout */
-
229 #define SL_SO_NONBLOCKING (24) /* Enable . disable nonblocking mode */
-
230 #define SL_SO_SECMETHOD (25) /* security metohd */
-
231 #define SL_SO_SECURE_MASK (26) /* security mask */
-
232 #define SL_SO_SECURE_FILES (27) /* security files */
-
233 #define SL_SO_CHANGE_CHANNEL (28) /* This option is available only when transceiver started */
-
234 #define SL_SO_SECURE_FILES_PRIVATE_KEY_FILE_NAME (30) /* This option used to configue secure file */
-
235 #define SL_SO_SECURE_FILES_CERTIFICATE_FILE_NAME (31) /* This option used to configue secure file */
-
236 #define SL_SO_SECURE_FILES_CA_FILE_NAME (32) /* This option used to configue secure file */
-
237 #define SL_SO_SECURE_FILES_DH_KEY_FILE_NAME (33) /* This option used to configue secure file */
-
238 
-
239 #define SL_IP_MULTICAST_IF (60) /* Specify outgoing multicast interface */
-
240 #define SL_IP_MULTICAST_TTL (61) /* Specify the TTL value to use for outgoing multicast packet. */
-
241 #define SL_IP_ADD_MEMBERSHIP (65) /* Join IPv4 multicast membership */
-
242 #define SL_IP_DROP_MEMBERSHIP (66) /* Leave IPv4 multicast membership */
-
243 #define SL_IP_HDRINCL (67) /* Raw socket IPv4 header included. */
-
244 #define SL_IP_RAW_RX_NO_HEADER (68) /* Proprietary socket option that does not includeIPv4/IPv6 header (and extension headers) on received raw sockets*/
-
245 #define SL_IP_RAW_IPV6_HDRINCL (69) /* Transmitted buffer over IPv6 socket contains IPv6 header. */
-
246 
-
247 #define SL_SO_PHY_RATE (100) /* WLAN Transmit rate */
-
248 #define SL_SO_PHY_TX_POWER (101) /* TX Power level */
-
249 #define SL_SO_PHY_NUM_FRAMES_TO_TX (102) /* Number of frames to transmit */
-
250 #define SL_SO_PHY_PREAMBLE (103) /* Preamble for transmission */
-
251 
-
252 #define SL_SO_SEC_METHOD_SSLV3 (0) /* security metohd SSL v3*/
-
253 #define SL_SO_SEC_METHOD_TLSV1 (1) /* security metohd TLS v1*/
-
254 #define SL_SO_SEC_METHOD_TLSV1_1 (2) /* security metohd TLS v1_1*/
-
255 #define SL_SO_SEC_METHOD_TLSV1_2 (3) /* security metohd TLS v1_2*/
-
256 #define SL_SO_SEC_METHOD_SSLv3_TLSV1_2 (4) /* use highest possible version from SSLv3 - TLS 1.2*/
-
257 #define SL_SO_SEC_METHOD_DLSV1 (5) /* security metohd DTL v1 */
-
258 
-
259 #define SL_SEC_MASK_SSL_RSA_WITH_RC4_128_SHA (1 << 0)
-
260 #define SL_SEC_MASK_SSL_RSA_WITH_RC4_128_MD5 (1 << 1)
-
261 #define SL_SEC_MASK_TLS_RSA_WITH_AES_256_CBC_SHA (1 << 2)
-
262 #define SL_SEC_MASK_TLS_DHE_RSA_WITH_AES_256_CBC_SHA (1 << 3)
-
263 #define SL_SEC_MASK_TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA (1 << 4)
-
264 #define SL_SEC_MASK_TLS_ECDHE_RSA_WITH_RC4_128_SHA (1 << 5)
-
265 #define SL_SEC_MASK_SECURE_DEFAULT ((SEC_MASK_TLS_ECDHE_RSA_WITH_RC4_128_SHA << 1) - 1)
-
266 
-
267 #define SL_MSG_DONTWAIT (0x00000008) /* Nonblocking IO */
-
268 
-
269 /* AP DHCP Server - IP Release reason code */
-
270 #define SL_IP_LEASE_PEER_RELEASE (0)
-
271 #define SL_IP_LEASE_PEER_DECLINE (1)
-
272 #define SL_IP_LEASE_EXPIRED (2)
-
273 
-
274 /* possible types when receiving SL_SOCKET_ASYNC_EVENT*/
-
275 #define SSL_ACCEPT (1) /* accept failed due to ssl issue ( tcp pass) */
-
276 #define RX_FRAGMENTATION_TOO_BIG (2) /* connection less mode, rx packet fragmentation > 16K, packet is being released */
-
277 #define OTHER_SIDE_CLOSE_SSL_DATA_NOT_ENCRYPTED (3) /* remote side down from secure to unsecure */
-
278 
-
279 
-
280 
-
281 #ifdef SL_INC_STD_BSD_API_NAMING
-
282 
-
283 #define FD_SETSIZE SL_FD_SETSIZE
-
284 
-
285 #define SOCK_STREAM SL_SOCK_STREAM
-
286 #define SOCK_DGRAM SL_SOCK_DGRAM
-
287 #define SOCK_RAW SL_SOCK_RAW
-
288 #define IPPROTO_TCP SL_IPPROTO_TCP
-
289 #define IPPROTO_UDP SL_IPPROTO_UDP
-
290 #define IPPROTO_RAW SL_IPPROTO_RAW
-
291 
-
292 #define AF_INET SL_AF_INET
-
293 #define AF_INET6 SL_AF_INET6
-
294 #define AF_INET6_EUI_48 SL_AF_INET6_EUI_48
-
295 #define AF_RF SL_AF_RF
-
296 #define AF_PACKET SL_AF_PACKET
-
297 
-
298 #define PF_INET SL_PF_INET
-
299 #define PF_INET6 SL_PF_INET6
-
300 
-
301 #define INADDR_ANY SL_INADDR_ANY
-
302 #define ERROR SL_SOC_ERROR
-
303 #define INEXE SL_INEXE
-
304 #define EBADF SL_EBADF
-
305 #define ENSOCK SL_ENSOCK
-
306 #define EAGAIN SL_EAGAIN
-
307 #define EWOULDBLOCK SL_EWOULDBLOCK
-
308 #define ENOMEM SL_ENOMEM
-
309 #define EACCES SL_EACCES
-
310 #define EFAULT SL_EFAULT
-
311 #define EINVAL SL_EINVAL
-
312 #define EDESTADDRREQ SL_EDESTADDRREQ
-
313 #define EPROTOTYPE SL_EPROTOTYPE
-
314 #define ENOPROTOOPT SL_ENOPROTOOPT
-
315 #define EPROTONOSUPPORT SL_EPROTONOSUPPORT
-
316 #define ESOCKTNOSUPPORT SL_ESOCKTNOSUPPORT
-
317 #define EOPNOTSUPP SL_EOPNOTSUPP
-
318 #define EAFNOSUPPORT SL_EAFNOSUPPORT
-
319 #define EADDRINUSE SL_EADDRINUSE
-
320 #define EADDRNOTAVAIL SL_EADDRNOTAVAIL
-
321 #define ENETUNREACH SL_ENETUNREACH
-
322 #define ENOBUFS SL_ENOBUFS
-
323 #define EOBUFF SL_EOBUFF
-
324 #define EISCONN SL_EISCONN
-
325 #define ENOTCONN SL_ENOTCONN
-
326 #define ETIMEDOUT SL_ETIMEDOUT
-
327 #define ECONNREFUSED SL_ECONNREFUSED
-
328 
-
329 #define SOL_SOCKET SL_SOL_SOCKET
-
330 #define IPPROTO_IP SL_IPPROTO_IP
-
331 #define SO_KEEPALIVE SL_SO_KEEPALIVE
-
332 
-
333 #define SO_RCVTIMEO SL_SO_RCVTIMEO
-
334 #define SO_NONBLOCKING SL_SO_NONBLOCKING
-
335 
-
336 #define IP_MULTICAST_IF SL_IP_MULTICAST_IF
-
337 #define IP_MULTICAST_TTL SL_IP_MULTICAST_TTL
-
338 #define IP_ADD_MEMBERSHIP SL_IP_ADD_MEMBERSHIP
-
339 #define IP_DROP_MEMBERSHIP SL_IP_DROP_MEMBERSHIP
-
340 
-
341 #define socklen_t SlSocklen_t
-
342 #define timeval SlTimeval_t
-
343 #define sockaddr SlSockAddr_t
-
344 #define in6_addr SlIn6Addr_t
-
345 #define sockaddr_in6 SlSockAddrIn6_t
-
346 #define in_addr SlInAddr_t
-
347 #define sockaddr_in SlSockAddrIn_t
-
348 
-
349 #define MSG_DONTWAIT SL_MSG_DONTWAIT
-
350 
-
351 #define FD_SET SL_FD_SET
-
352 #define FD_CLR SL_FD_CLR
-
353 #define FD_ISSET SL_FD_ISSET
-
354 #define FD_ZERO SL_FD_ZERO
-
355 #define fd_set SlFdSet_t
-
356 
-
357 #define socket sl_Socket
-
358 #define close sl_Close
-
359 #define accept sl_Accept
-
360 #define bind sl_Bind
-
361 #define listen sl_Listen
-
362 #define connect sl_Connect
-
363 #define select sl_Select
-
364 #define setsockopt sl_SetSockOpt
-
365 #define getsockopt sl_GetSockOpt
-
366 #define recv sl_Recv
-
367 #define recvfrom sl_RecvFrom
-
368 #define write sl_Write
-
369 #define send sl_Send
-
370 #define sendto sl_SendTo
-
371 #define gethostbyname sl_NetAppDnsGetHostByName
-
372 #define htonl sl_Htonl
-
373 #define ntohl sl_Ntohl
-
374 #define htons sl_Htons
-
375 #define ntohs sl_Ntohs
-
376 #endif
-
377 
-
378 /*****************************************************************************/
-
379 /* Structure/Enum declarations */
-
380 /*****************************************************************************/
-
381 
-
382 /* Internet address */
-
383 typedef struct SlInAddr_t
-
384 {
-
385 #ifndef s_addr
-
386  _u32 s_addr; /* Internet address 32 bits */
-
387 #else
-
388  union S_un {
-
389  struct { _u8 s_b1,s_b2,s_b3,s_b4; } S_un_b;
-
390  struct { _u8 s_w1,s_w2; } S_un_w;
-
391  _u32 S_addr;
-
392  } S_un;
-
393 #endif
-
394 }SlInAddr_t;
-
395 
-
396 
-
397 /* sockopt */
-
398 typedef struct
-
399 {
-
400  _u32 KeepaliveEnabled; /* 0 = disabled;1 = enabled; default = 1*/
- -
402 
-
403 typedef struct
-
404 {
-
405  _u32 ReuseaddrEnabled; /* 0 = disabled; 1 = enabled; default = 1*/
- -
407 
-
408 typedef struct
-
409 {
-
410  _u32 Winsize; /* receive window size for tcp sockets */
- -
412 
-
413 typedef struct
-
414 {
-
415  _u32 NonblockingEnabled;/* 0 = disabled;1 = enabled;default = 1*/
- -
417 
-
418 typedef struct
-
419 {
-
420  _u8 sd;
-
421  _u8 type;
-
422  _u16 val;
- -
424 
-
425 typedef struct
-
426 {
-
427  _i16 status;
-
428  _u16 sd;
-
429  SlSocketAsyncEvent_t socketAsyncEvent;
- -
431 
-
432 
-
433 typedef struct
-
434 {
-
435  _u32 Event;
-
436  SlSockEventData_t EventData;
-
437 } SlSockEvent_t;
-
438 
-
439 
-
440 typedef struct
-
441 {
-
442  _u32 secureMask;
- -
444 
-
445 typedef struct
-
446 {
-
447  _u8 secureMethod;
- -
449 
-
450 typedef enum
-
451 {
-
452  SL_BSD_SECURED_PRIVATE_KEY_IDX = 0,
-
453  SL_BSD_SECURED_CERTIFICATE_IDX,
-
454  SL_BSD_SECURED_CA_IDX,
-
455  SL_BSD_SECURED_DH_IDX
-
456 }slBsd_secureSocketFilesIndex_e;
-
457 
-
458 typedef struct
-
459 {
-
460  SlInAddr_t imr_multiaddr; /* The IPv4 multicast address to join */
-
461  SlInAddr_t imr_interface; /* The interface to use for this group */
-
462 } SlSockIpMreq;
-
463 
-
464 
-
465 /* sockopt */
-
466 typedef _u32 SlTime_t;
-
467 typedef _u32 SlSuseconds_t;
-
468 
-
469 typedef struct SlTimeval_t
-
470 {
-
471  SlTime_t tv_sec; /* Seconds */
-
472  SlSuseconds_t tv_usec; /* Microseconds */
-
473 }SlTimeval_t;
-
474 
-
475 typedef _u16 SlSocklen_t;
-
476 
-
477 /* IpV4 socket address */
-
478 typedef struct SlSockAddr_t
-
479 {
-
480  _u16 sa_family; /* Address family (e.g. , AF_INET) */
-
481  _u8 sa_data[14]; /* Protocol- specific address information*/
-
482 }SlSockAddr_t;
-
483 
-
484 
-
485 /* IpV6 or Ipv6 EUI64 */
-
486 typedef struct SlIn6Addr_t
-
487 {
-
488  union
-
489  {
-
490  _u8 _S6_u8[16];
-
491  _u32 _S6_u32[4];
-
492  } _S6_un;
-
493 }SlIn6Addr_t;
-
494 
-
495 typedef struct SlSockAddrIn6_t
-
496 {
-
497  _u16 sin6_family; /* AF_INET6 || AF_INET6_EUI_48*/
-
498  _u16 sin6_port; /* Transport layer port. */
-
499  _u32 sin6_flowinfo; /* IPv6 flow information. */
-
500  SlIn6Addr_t sin6_addr; /* IPv6 address. */
-
501  _u32 sin6_scope_id; /* set of interfaces for a scope. */
- -
503 
-
504 /* Socket address, Internet style. */
-
505 
-
506 typedef struct SlSockAddrIn_t
-
507 {
-
508  _u16 sin_family; /* Internet Protocol (AF_INET). */
-
509  _u16 sin_port; /* Address port (16 bits). */
-
510  SlInAddr_t sin_addr; /* Internet address (32 bits). */
-
511  _i8 sin_zero[8]; /* Not used. */
- -
513 
-
514 typedef struct
-
515 {
-
516  _u32 ip;
-
517  _u32 gateway;
-
518  _u32 dns;
- -
520 
-
521 typedef struct
-
522 {
-
523  _u32 type;
-
524  _u32 ip[4];
-
525  _u32 gateway[4];
-
526  _u32 dns[4];
- -
528 
-
529 typedef struct
-
530 {
-
531  _u32 ip_address;
-
532  _u32 lease_time;
-
533  _u8 mac[6];
-
534  _u16 padding;
- -
536 
-
537 typedef struct
-
538 {
-
539  _u32 ip_address;
-
540  _u8 mac[6];
-
541  _u16 reason;
- -
543 
-
544 
-
545 typedef union
-
546 {
-
547  SlIpV4AcquiredAsync_t ipAcquiredV4; /*SL_NETAPP_IPV4_IPACQUIRED_EVENT*/
-
548  SlIpV6AcquiredAsync_t ipAcquiredV6; /*SL_NETAPP_IPV6_IPACQUIRED_EVENT*/
-
549  _u32 sd; /*SL_SOCKET_TX_FAILED_EVENT*/
-
550  SlIpLeasedAsync_t ipLeased; /* SL_NETAPP_IP_LEASED_EVENT */
-
551  SlIpReleasedAsync_t ipReleased; /* SL_NETAPP_IP_RELEASED_EVENT */
- -
553 
-
554 typedef struct
-
555 {
-
556  _u32 Event;
-
557  SlNetAppEventData_u EventData;
- -
559 
-
560 
-
561 typedef struct sock_secureFiles
-
562 {
-
563  _u8 secureFiles[4];
- -
565 
-
566 
-
567 typedef struct SlFdSet_t /* The select socket array manager */
-
568 {
-
569  _u32 fd_array[(SL_FD_SETSIZE + 31)/32]; /* Bit map of SOCKET Descriptors */
-
570 } SlFdSet_t;
-
571 
-
572 typedef struct
-
573 {
-
574  _u8 rate; /* Recevied Rate */
-
575  _u8 channel; /* The received channel*/
-
576  _i8 rssi; /* The computed RSSI value in db of current frame */
-
577  _u8 padding; /* pad to align to 32 bits */
-
578  _u32 timestamp; /* Timestamp in microseconds, */
- -
580 
-
581 
-
582 
-
583 /*****************************************************************************/
-
584 /* Function prototypes */
-
585 /*****************************************************************************/
-
586 
-
638 #if _SL_INCLUDE_FUNC(sl_Socket)
-
639 _i16 sl_Socket(_i16 Domain, _i16 Type, _i16 Protocol);
-
640 #endif
-
641 
-
657 #if _SL_INCLUDE_FUNC(sl_Close)
-
658 _i16 sl_Close(_i16 sd);
-
659 #endif
-
660 
-
711 #if _SL_INCLUDE_FUNC(sl_Accept)
-
712 _i16 sl_Accept(_i16 sd, SlSockAddr_t *addr, SlSocklen_t *addrlen);
-
713 #endif
-
714 
-
741 #if _SL_INCLUDE_FUNC(sl_Bind)
-
742 _i16 sl_Bind(_i16 sd, const SlSockAddr_t *addr, _i16 addrlen);
-
743 #endif
-
744 
-
765 #if _SL_INCLUDE_FUNC(sl_Listen)
-
766 _i16 sl_Listen(_i16 sd, _i16 backlog);
-
767 #endif
-
768 
-
807 #if _SL_INCLUDE_FUNC(sl_Connect)
-
808 _i16 sl_Connect(_i16 sd, const SlSockAddr_t *addr, _i16 addrlen);
-
809 #endif
-
810 
-
859 #if _SL_INCLUDE_FUNC(sl_Select)
-
860 _i16 sl_Select(_i16 nfds, SlFdSet_t *readsds, SlFdSet_t *writesds, SlFdSet_t *exceptsds, struct SlTimeval_t *timeout);
-
861 
-
862 
-
868 void SL_FD_SET(_i16 fd, SlFdSet_t *fdset);
-
869 
-
875 void SL_FD_CLR(_i16 fd, SlFdSet_t *fdset);
-
876 
-
877 
-
886 _i16 SL_FD_ISSET(_i16 fd, SlFdSet_t *fdset);
-
887 
-
893 void SL_FD_ZERO(SlFdSet_t *fdset);
-
894 
-
895 
-
896 
-
897 #endif
-
898 
-
1169 #if _SL_INCLUDE_FUNC(sl_SetSockOpt)
-
1170 _i16 sl_SetSockOpt(_i16 sd, _i16 level, _i16 optname, const void *optval, SlSocklen_t optlen);
-
1171 #endif
-
1172 
-
1213 #if _SL_INCLUDE_FUNC(sl_GetSockOpt)
-
1214 _i16 sl_GetSockOpt(_i16 sd, _i16 level, _i16 optname, void *optval, SlSocklen_t *optlen);
-
1215 #endif
-
1216 
-
1279 #if _SL_INCLUDE_FUNC(sl_Recv)
-
1280 _i16 sl_Recv(_i16 sd, void *buf, _i16 Len, _i16 flags);
-
1281 #endif
-
1282 
-
1338 #if _SL_INCLUDE_FUNC(sl_RecvFrom)
-
1339 _i16 sl_RecvFrom(_i16 sd, void *buf, _i16 Len, _i16 flags, SlSockAddr_t *from, SlSocklen_t *fromlen);
-
1340 #endif
-
1341 
-
1388 #if _SL_INCLUDE_FUNC(sl_Send )
-
1389 _i16 sl_Send(_i16 sd, const void *buf, _i16 Len, _i16 flags);
-
1390 #endif
-
1391 
-
1442 #if _SL_INCLUDE_FUNC(sl_SendTo)
-
1443 _i16 sl_SendTo(_i16 sd, const void *buf, _i16 Len, _i16 flags, const SlSockAddr_t *to, SlSocklen_t tolen);
-
1444 #endif
-
1445 
-
1459 #if _SL_INCLUDE_FUNC(sl_Htonl )
-
1460 _u32 sl_Htonl( _u32 val );
-
1461 
-
1462 #define sl_Ntohl sl_Htonl /* Reorder the bytes of a 16-bit unsigned value from network order to processor orde. */
-
1463 #endif
-
1464 
-
1478 #if _SL_INCLUDE_FUNC(sl_Htons )
-
1479 _u16 sl_Htons( _u16 val );
-
1480 
-
1481 #define sl_Ntohs sl_Htons /* Reorder the bytes of a 16-bit unsigned value from network order to processor orde. */
-
1482 #endif
-
1483 
-
1492 #ifdef __cplusplus
-
1493 }
-
1494 #endif /* __cplusplus */
-
1495 
-
1496 #endif /* __SOCKET_H__ */
-
1497 
-
1498 
-
_i16 sl_Connect(_i16 sd, const SlSockAddr_t *addr, _i16 addrlen)
Initiate a connection on a socket.
-
Definition: socket.h:572
-
_i16 sl_GetSockOpt(_i16 sd, _i16 level, _i16 optname, void *optval, SlSocklen_t *optlen)
Get socket options.
-
void SL_FD_ZERO(SlFdSet_t *fdset)
Select's SlFdSet_t ZERO function.
-
Definition: socket.h:567
-
_i16 sl_RecvFrom(_i16 sd, void *buf, _i16 Len, _i16 flags, SlSockAddr_t *from, SlSocklen_t *fromlen)
read data from socket
-
Definition: socket.h:403
-
void SL_FD_SET(_i16 fd, SlFdSet_t *fdset)
Select's SlFdSet_t SET function.
-
Definition: socket.h:408
-
_i16 sl_Recv(_i16 sd, void *buf, _i16 Len, _i16 flags)
read data from TCP socket
-
void SL_FD_CLR(_i16 fd, SlFdSet_t *fdset)
Select's SlFdSet_t CLR function.
-
Definition: socket.h:469
-
Definition: socket.h:433
-
Definition: socket.h:537
-
_i16 sl_Accept(_i16 sd, SlSockAddr_t *addr, SlSocklen_t *addrlen)
Accept a connection on a socket.
-
Definition: socket.h:413
-
Definition: socket.h:418
-
_i16 sl_Socket(_i16 Domain, _i16 Type, _i16 Protocol)
create an endpoint for communication
-
_u32 sl_Htonl(_u32 val)
Reorder the bytes of a 32-bit unsigned value.
-
_i16 sl_Send(_i16 sd, const void *buf, _i16 Len, _i16 flags)
write data to TCP socket
-
_i16 sl_Listen(_i16 sd, _i16 backlog)
listen for connections on a socket
-
Definition: socket.h:445
-
Definition: socket.h:425
-
Definition: socket.h:514
-
Definition: socket.h:554
-
Definition: socket.h:440
-
Definition: socket.h:398
-
Definition: socket.h:545
-
_i16 sl_SetSockOpt(_i16 sd, _i16 level, _i16 optname, const void *optval, SlSocklen_t optlen)
set socket options
-
Definition: socket.h:529
-
Definition: socket.h:478
-
_i16 sl_SendTo(_i16 sd, const void *buf, _i16 Len, _i16 flags, const SlSockAddr_t *to, SlSocklen_t tolen)
write data to socket
-
_i16 sl_Select(_i16 nfds, SlFdSet_t *readsds, SlFdSet_t *writesds, SlFdSet_t *exceptsds, struct SlTimeval_t *timeout)
Monitor socket activity.
-
Definition: socket.h:458
-
Definition: socket.h:486
-
_i16 sl_Bind(_i16 sd, const SlSockAddr_t *addr, _i16 addrlen)
assign a name to a socket
-
_i16 SL_FD_ISSET(_i16 fd, SlFdSet_t *fdset)
Select's SlFdSet_t ISSET function.
-
Definition: socket.h:495
-
_u16 sl_Htons(_u16 val)
Reorder the bytes of a 16-bit unsigned value.
-
_i16 sl_Close(_i16 sd)
gracefully close socket
-
Definition: socket.h:383
-
Definition: socket.h:561
-
Definition: socket.h:521
-
Definition: socket.h:506
-
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: socket.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
socket.h
+
+
+
1 /*
+
2  * socket.h - CC31xx/CC32xx Host Driver Implementation
+
3  *
+
4  * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
+
5  *
+
6  *
+
7  * Redistribution and use in source and binary forms, with or without
+
8  * modification, are permitted provided that the following conditions
+
9  * are met:
+
10  *
+
11  * Redistributions of source code must retain the above copyright
+
12  * notice, this list of conditions and the following disclaimer.
+
13  *
+
14  * Redistributions in binary form must reproduce the above copyright
+
15  * notice, this list of conditions and the following disclaimer in the
+
16  * documentation and/or other materials provided with the
+
17  * distribution.
+
18  *
+
19  * Neither the name of Texas Instruments Incorporated nor the names of
+
20  * its contributors may be used to endorse or promote products derived
+
21  * from this software without specific prior written permission.
+
22  *
+
23  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+
24  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+
25  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+
26  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+
27  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+
28  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+
29  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+
30  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+
31  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+
32  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+
33  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
34  *
+
35 */
+
36 
+
37 /*****************************************************************************/
+
38 /* Include files */
+
39 /*****************************************************************************/
+
40 #include "simplelink.h"
+
41 
+
42 #ifndef __SL_SOCKET_H__
+
43 #define __SL_SOCKET_H__
+
44 
+
45 
+
46 
+
47 
+
48 #ifdef __cplusplus
+
49 extern "C" {
+
50 #endif
+
51 
+
59 /*****************************************************************************/
+
60 /* Macro declarations */
+
61 /*****************************************************************************/
+
62 
+
63 #define SL_FD_SETSIZE SL_MAX_SOCKETS /* Number of sockets to select on - same is max sockets! */
+
64 #define BSD_SOCKET_ID_MASK (0x0F) /* Index using the LBS 4 bits for socket id 0-7 */
+
65 /* Define some BSD protocol constants. */
+
66 #define SL_SOCK_STREAM (1) /* TCP Socket */
+
67 #define SL_SOCK_DGRAM (2) /* UDP Socket */
+
68 #define SL_SOCK_RAW (3) /* Raw socket */
+
69 #define SL_IPPROTO_TCP (6) /* TCP Raw Socket */
+
70 #define SL_IPPROTO_UDP (17) /* UDP Raw Socket */
+
71 #define SL_IPPROTO_RAW (255) /* Raw Socket */
+
72 #define SL_SEC_SOCKET (100) /* Secured Socket Layer (SSL,TLS) */
+
73 
+
74 /* Address families. */
+
75 #define SL_AF_INET (2) /* IPv4 socket (UDP, TCP, etc) */
+
76 #define SL_AF_INET6 (3) /* IPv6 socket (UDP, TCP, etc) */
+
77 #define SL_AF_INET6_EUI_48 (9)
+
78 #define SL_AF_RF (6) /* data include RF parameter, All layer by user (Wifi could be disconnected) */
+
79 #define SL_AF_PACKET (17)
+
80 /* Protocol families, same as address families. */
+
81 #define SL_PF_INET AF_INET
+
82 #define SL_PF_INET6 AF_INET6
+
83 #define SL_INADDR_ANY (0) /* bind any address */
+
84 
+
85 /* error codes */
+
86 #define SL_SOC_ERROR (-1) /* Failure. */
+
87 #define SL_SOC_OK ( 0) /* Success. */
+
88 #define SL_INEXE (-8) /* socket command in execution */
+
89 #define SL_EBADF (-9) /* Bad file number */
+
90 #define SL_ENSOCK (-10) /* The system limit on the total number of open socket, has been reached */
+
91 #define SL_EAGAIN (-11) /* Try again */
+
92 #define SL_EWOULDBLOCK SL_EAGAIN
+
93 #define SL_ENOMEM (-12) /* Out of memory */
+
94 #define SL_EACCES (-13) /* Permission denied */
+
95 #define SL_EFAULT (-14) /* Bad address */
+
96 #define SL_ECLOSE (-15) /* close socket operation failed to transmit all queued packets */
+
97 #define SL_EALREADY_ENABLED (-21) /* Transceiver - Transceiver already ON. there could be only one */
+
98 #define SL_EINVAL (-22) /* Invalid argument */
+
99 #define SL_EAUTO_CONNECT_OR_CONNECTING (-69) /* Transceiver - During connection, connected or auto mode started */
+
100 #define SL_CONNECTION_PENDING (-72) /* Transceiver - Device is connected, disconnect first to open transceiver */
+
101 #define SL_EUNSUPPORTED_ROLE (-86) /* Transceiver - Trying to start when WLAN role is AP or P2P GO */
+
102 #define SL_EDESTADDRREQ (-89) /* Destination address required */
+
103 #define SL_EPROTOTYPE (-91) /* Protocol wrong type for socket */
+
104 #define SL_ENOPROTOOPT (-92) /* Protocol not available */
+
105 #define SL_EPROTONOSUPPORT (-93) /* Protocol not supported */
+
106 #define SL_ESOCKTNOSUPPORT (-94) /* Socket type not supported */
+
107 #define SL_EOPNOTSUPP (-95) /* Operation not supported on transport endpoint */
+
108 #define SL_EAFNOSUPPORT (-97) /* Address family not supported by protocol */
+
109 #define SL_EADDRINUSE (-98) /* Address already in use */
+
110 #define SL_EADDRNOTAVAIL (-99) /* Cannot assign requested address */
+
111 #define SL_ENETUNREACH (-101) /* Network is unreachable */
+
112 #define SL_ENOBUFS (-105) /* No buffer space available */
+
113 #define SL_EOBUFF SL_ENOBUFS
+
114 #define SL_EISCONN (-106) /* Transport endpoint is already connected */
+
115 #define SL_ENOTCONN (-107) /* Transport endpoint is not connected */
+
116 #define SL_ETIMEDOUT (-110) /* Connection timed out */
+
117 #define SL_ECONNREFUSED (-111) /* Connection refused */
+
118 #define SL_EALREADY (-114) /* Non blocking connect in progress, try again */
+
119 
+
120 #define SL_ESEC_RSA_WRONG_TYPE_E (-130) /* RSA wrong block type for RSA function */
+
121 #define SL_ESEC_RSA_BUFFER_E (-131) /* RSA buffer error, output too small or */
+
122 #define SL_ESEC_BUFFER_E (-132) /* output buffer too small or input too large */
+
123 #define SL_ESEC_ALGO_ID_E (-133) /* setting algo id error */
+
124 #define SL_ESEC_PUBLIC_KEY_E (-134) /* setting public key error */
+
125 #define SL_ESEC_DATE_E (-135) /* setting date validity error */
+
126 #define SL_ESEC_SUBJECT_E (-136) /* setting subject name error */
+
127 #define SL_ESEC_ISSUER_E (-137) /* setting issuer name error */
+
128 #define SL_ESEC_CA_TRUE_E (-138) /* setting CA basic constraint true error */
+
129 #define SL_ESEC_EXTENSIONS_E (-139) /* setting extensions error */
+
130 #define SL_ESEC_ASN_PARSE_E (-140) /* ASN parsing error, invalid input */
+
131 #define SL_ESEC_ASN_VERSION_E (-141) /* ASN version error, invalid number */
+
132 #define SL_ESEC_ASN_GETINT_E (-142) /* ASN get big _i16 error, invalid data */
+
133 #define SL_ESEC_ASN_RSA_KEY_E (-143) /* ASN key init error, invalid input */
+
134 #define SL_ESEC_ASN_OBJECT_ID_E (-144) /* ASN object id error, invalid id */
+
135 #define SL_ESEC_ASN_TAG_NULL_E (-145) /* ASN tag error, not null */
+
136 #define SL_ESEC_ASN_EXPECT_0_E (-146) /* ASN expect error, not zero */
+
137 #define SL_ESEC_ASN_BITSTR_E (-147) /* ASN bit string error, wrong id */
+
138 #define SL_ESEC_ASN_UNKNOWN_OID_E (-148) /* ASN oid error, unknown sum id */
+
139 #define SL_ESEC_ASN_DATE_SZ_E (-149) /* ASN date error, bad size */
+
140 #define SL_ESEC_ASN_BEFORE_DATE_E (-150) /* ASN date error, current date before */
+
141 #define SL_ESEC_ASN_AFTER_DATE_E (-151) /* ASN date error, current date after */
+
142 #define SL_ESEC_ASN_SIG_OID_E (-152) /* ASN signature error, mismatched oid */
+
143 #define SL_ESEC_ASN_TIME_E (-153) /* ASN time error, unknown time type */
+
144 #define SL_ESEC_ASN_INPUT_E (-154) /* ASN input error, not enough data */
+
145 #define SL_ESEC_ASN_SIG_CONFIRM_E (-155) /* ASN sig error, confirm failure */
+
146 #define SL_ESEC_ASN_SIG_HASH_E (-156) /* ASN sig error, unsupported hash type */
+
147 #define SL_ESEC_ASN_SIG_KEY_E (-157) /* ASN sig error, unsupported key type */
+
148 #define SL_ESEC_ASN_DH_KEY_E (-158) /* ASN key init error, invalid input */
+
149 #define SL_ESEC_ASN_NTRU_KEY_E (-159) /* ASN ntru key decode error, invalid input */
+
150 #define SL_ESEC_ECC_BAD_ARG_E (-170) /* ECC input argument of wrong type */
+
151 #define SL_ESEC_ASN_ECC_KEY_E (-171) /* ASN ECC bad input */
+
152 #define SL_ESEC_ECC_CURVE_OID_E (-172) /* Unsupported ECC OID curve type */
+
153 #define SL_ESEC_BAD_FUNC_ARG (-173) /* Bad function argument provided */
+
154 #define SL_ESEC_NOT_COMPILED_IN (-174) /* Feature not compiled in */
+
155 #define SL_ESEC_UNICODE_SIZE_E (-175) /* Unicode password too big */
+
156 #define SL_ESEC_NO_PASSWORD (-176) /* no password provided by user */
+
157 #define SL_ESEC_ALT_NAME_E (-177) /* alt name size problem, too big */
+
158 #define SL_ESEC_AES_GCM_AUTH_E (-180) /* AES-GCM Authentication check failure */
+
159 #define SL_ESEC_AES_CCM_AUTH_E (-181) /* AES-CCM Authentication check failure */
+
160 #define SL_SOCKET_ERROR_E (-208) /* Error state on socket */
+
161 
+
162 #define SL_ESEC_MEMORY_ERROR (-203) /* out of memory */
+
163 #define SL_ESEC_VERIFY_FINISHED_ERROR (-204) /* verify problem on finished */
+
164 #define SL_ESEC_VERIFY_MAC_ERROR (-205) /* verify mac problem */
+
165 #define SL_ESEC_UNKNOWN_HANDSHAKE_TYPE (-207) /* weird handshake type */
+
166 #define SL_ESEC_SOCKET_ERROR_E (-208) /* error state on socket */
+
167 #define SL_ESEC_SOCKET_NODATA (-209) /* expected data, not there */
+
168 #define SL_ESEC_INCOMPLETE_DATA (-210) /* don't have enough data to complete task */
+
169 #define SL_ESEC_UNKNOWN_RECORD_TYPE (-211) /* unknown type in record hdr */
+
170 #define SL_ESEC_FATAL_ERROR (-213) /* recvd alert fatal error */
+
171 #define SL_ESEC_ENCRYPT_ERROR (-214) /* error during encryption */
+
172 #define SL_ESEC_NO_PEER_KEY (-216) /* need peer's key */
+
173 #define SL_ESEC_NO_PRIVATE_KEY (-217) /* need the private key */
+
174 #define SL_ESEC_RSA_PRIVATE_ERROR (-218) /* error during rsa priv op */
+
175 #define SL_ESEC_NO_DH_PARAMS (-219) /* server missing DH params */
+
176 #define SL_ESEC_BUILD_MSG_ERROR (-220) /* build message failure */
+
177 #define SL_ESEC_BAD_HELLO (-221) /* client hello malformed */
+
178 #define SL_ESEC_DOMAIN_NAME_MISMATCH (-222) /* peer subject name mismatch */
+
179 #define SL_ESEC_WANT_READ (-223) /* want read, call again */
+
180 #define SL_ESEC_NOT_READY_ERROR (-224) /* handshake layer not ready */
+
181 #define SL_ESEC_PMS_VERSION_ERROR (-225) /* pre m secret version error */
+
182 #define SL_ESEC_VERSION_ERROR (-226) /* record layer version error */
+
183 #define SL_ESEC_WANT_WRITE (-227) /* want write, call again */
+
184 #define SL_ESEC_BUFFER_ERROR (-228) /* malformed buffer input */
+
185 #define SL_ESEC_VERIFY_CERT_ERROR (-229) /* verify cert error */
+
186 #define SL_ESEC_VERIFY_SIGN_ERROR (-230) /* verify sign error */
+
187 
+
188 #define SL_ESEC_LENGTH_ERROR (-241) /* record layer length error */
+
189 #define SL_ESEC_PEER_KEY_ERROR (-242) /* can't decode peer key */
+
190 #define SL_ESEC_ZERO_RETURN (-243) /* peer sent close notify */
+
191 #define SL_ESEC_SIDE_ERROR (-244) /* wrong client/server type */
+
192 #define SL_ESEC_NO_PEER_CERT (-245) /* peer didn't send key */
+
193 #define SL_ESEC_ECC_CURVETYPE_ERROR (-250) /* Bad ECC Curve Type */
+
194 #define SL_ESEC_ECC_CURVE_ERROR (-251) /* Bad ECC Curve */
+
195 #define SL_ESEC_ECC_PEERKEY_ERROR (-252) /* Bad Peer ECC Key */
+
196 #define SL_ESEC_ECC_MAKEKEY_ERROR (-253) /* Bad Make ECC Key */
+
197 #define SL_ESEC_ECC_EXPORT_ERROR (-254) /* Bad ECC Export Key */
+
198 #define SL_ESEC_ECC_SHARED_ERROR (-255) /* Bad ECC Shared Secret */
+
199 #define SL_ESEC_NOT_CA_ERROR (-257) /* Not a CA cert error */
+
200 #define SL_ESEC_BAD_PATH_ERROR (-258) /* Bad path for opendir */
+
201 #define SL_ESEC_BAD_CERT_MANAGER_ERROR (-259) /* Bad Cert Manager */
+
202 #define SL_ESEC_MAX_CHAIN_ERROR (-268) /* max chain depth exceeded */
+
203 #define SL_ESEC_SUITES_ERROR (-271) /* suites pointer error */
+
204 #define SL_ESEC_SSL_NO_PEM_HEADER (-272) /* no PEM header found */
+
205 #define SL_ESEC_OUT_OF_ORDER_E (-273) /* out of order message */
+
206 #define SL_ESEC_SANITY_CIPHER_E (-275) /* sanity check on cipher error */
+
207 #define SL_ESEC_GEN_COOKIE_E (-277) /* Generate Cookie Error */
+
208 #define SL_ESEC_NO_PEER_VERIFY (-278) /* Need peer cert verify Error */
+
209 #define SL_ESEC_UNKNOWN_SNI_HOST_NAME_E (-281) /* Unrecognized host name Error */
+
210 /* begin negotiation parameter errors */
+
211 #define SL_ESEC_UNSUPPORTED_SUITE (-290) /* unsupported cipher suite */
+
212 #define SL_ESEC_MATCH_SUITE_ERROR (-291 ) /* can't match cipher suite */
+
213 
+
214 /* ssl tls security start with -300 offset */
+
215 #define SL_ESEC_CLOSE_NOTIFY (-300) /* ssl/tls alerts */
+
216 #define SL_ESEC_UNEXPECTED_MESSAGE (-310) /* ssl/tls alerts */
+
217 #define SL_ESEC_BAD_RECORD_MAC (-320) /* ssl/tls alerts */
+
218 #define SL_ESEC_DECRYPTION_FAILED (-321) /* ssl/tls alerts */
+
219 #define SL_ESEC_RECORD_OVERFLOW (-322) /* ssl/tls alerts */
+
220 #define SL_ESEC_DECOMPRESSION_FAILURE (-330) /* ssl/tls alerts */
+
221 #define SL_ESEC_HANDSHAKE_FAILURE (-340) /* ssl/tls alerts */
+
222 #define SL_ESEC_NO_CERTIFICATE (-341) /* ssl/tls alerts */
+
223 #define SL_ESEC_BAD_CERTIFICATE (-342) /* ssl/tls alerts */
+
224 #define SL_ESEC_UNSUPPORTED_CERTIFICATE (-343) /* ssl/tls alerts */
+
225 #define SL_ESEC_CERTIFICATE_REVOKED (-344) /* ssl/tls alerts */
+
226 #define SL_ESEC_CERTIFICATE_EXPIRED (-345) /* ssl/tls alerts */
+
227 #define SL_ESEC_CERTIFICATE_UNKNOWN (-346) /* ssl/tls alerts */
+
228 #define SL_ESEC_ILLEGAL_PARAMETER (-347) /* ssl/tls alerts */
+
229 #define SL_ESEC_UNKNOWN_CA (-348) /* ssl/tls alerts */
+
230 #define SL_ESEC_ACCESS_DENIED (-349) /* ssl/tls alerts */
+
231 #define SL_ESEC_DECODE_ERROR (-350) /* ssl/tls alerts */
+
232 #define SL_ESEC_DECRYPT_ERROR (-351) /* ssl/tls alerts */
+
233 #define SL_ESEC_EXPORT_RESTRICTION (-360) /* ssl/tls alerts */
+
234 #define SL_ESEC_PROTOCOL_VERSION (-370) /* ssl/tls alerts */
+
235 #define SL_ESEC_INSUFFICIENT_SECURITY (-371) /* ssl/tls alerts */
+
236 #define SL_ESEC_INTERNAL_ERROR (-380) /* ssl/tls alerts */
+
237 #define SL_ESEC_USER_CANCELLED (-390) /* ssl/tls alerts */
+
238 #define SL_ESEC_NO_RENEGOTIATION (-400) /* ssl/tls alerts */
+
239 #define SL_ESEC_UNSUPPORTED_EXTENSION (-410) /* ssl/tls alerts */
+
240 #define SL_ESEC_CERTIFICATE_UNOBTAINABLE (-411) /* ssl/tls alerts */
+
241 #define SL_ESEC_UNRECOGNIZED_NAME (-412) /* ssl/tls alerts */
+
242 #define SL_ESEC_BAD_CERTIFICATE_STATUS_RESPONSE (-413) /* ssl/tls alerts */
+
243 #define SL_ESEC_BAD_CERTIFICATE_HASH_VALUE (-414) /* ssl/tls alerts */
+
244 /* propierty secure */
+
245 #define SL_ESECGENERAL (-450) /* error secure level general error */
+
246 #define SL_ESECDECRYPT (-451) /* error secure level, decrypt recv packet fail */
+
247 #define SL_ESECCLOSED (-452) /* secure layrer is closed by other size , tcp is still connected */
+
248 #define SL_ESECSNOVERIFY (-453) /* Connected without server verification */
+
249 #define SL_ESECNOCAFILE (-454) /* error secure level CA file not found*/
+
250 #define SL_ESECMEMORY (-455) /* error secure level No memory space available */
+
251 #define SL_ESECBADCAFILE (-456) /* error secure level bad CA file */
+
252 #define SL_ESECBADCERTFILE (-457) /* error secure level bad Certificate file */
+
253 #define SL_ESECBADPRIVATEFILE (-458) /* error secure level bad private file */
+
254 #define SL_ESECBADDHFILE (-459) /* error secure level bad DH file */
+
255 #define SL_ESECT00MANYSSLOPENED (-460) /* MAX SSL Sockets are opened */
+
256 #define SL_ESECDATEERROR (-461) /* connected with certificate date verification error */
+
257 #define SL_ESECHANDSHAKETIMEDOUT (-462) /* connection timed out due to handshake time */
+
258 
+
259 /* end error codes */
+
260 
+
261 /* Max payload size by protocol */
+
262 #define SL_SOCKET_PAYLOAD_TYPE_MASK (0xF0) /*4 bits type, 4 bits sockets id */
+
263 #define SL_SOCKET_PAYLOAD_TYPE_UDP_IPV4 (0x00) /* 1472 bytes */
+
264 #define SL_SOCKET_PAYLOAD_TYPE_TCP_IPV4 (0x10) /* 1460 bytes */
+
265 #define SL_SOCKET_PAYLOAD_TYPE_UDP_IPV6 (0x20) /* 1452 bytes */
+
266 #define SL_SOCKET_PAYLOAD_TYPE_TCP_IPV6 (0x30) /* 1440 bytes */
+
267 #define SL_SOCKET_PAYLOAD_TYPE_UDP_IPV4_SECURE (0x40) /* */
+
268 #define SL_SOCKET_PAYLOAD_TYPE_TCP_IPV4_SECURE (0x50) /* */
+
269 #define SL_SOCKET_PAYLOAD_TYPE_UDP_IPV6_SECURE (0x60) /* */
+
270 #define SL_SOCKET_PAYLOAD_TYPE_TCP_IPV6_SECURE (0x70) /* */
+
271 #define SL_SOCKET_PAYLOAD_TYPE_RAW_TRANCEIVER (0x80) /* 1536 bytes */
+
272 #define SL_SOCKET_PAYLOAD_TYPE_RAW_PACKET (0x90) /* 1536 bytes */
+
273 #define SL_SOCKET_PAYLOAD_TYPE_RAW_IP4 (0xa0)
+
274 #define SL_SOCKET_PAYLOAD_TYPE_RAW_IP6 (SL_SOCKET_PAYLOAD_TYPE_RAW_IP4 )
+
275 
+
276 
+
277 
+
278 #define SL_SOL_SOCKET (1) /* Define the socket option category. */
+
279 #define SL_IPPROTO_IP (2) /* Define the IP option category. */
+
280 #define SL_SOL_PHY_OPT (3) /* Define the PHY option category. */
+
281 
+
282 #define SL_SO_RCVBUF (8) /* Setting TCP receive buffer size */
+
283 #define SL_SO_KEEPALIVE (9) /* Connections are kept alive with periodic messages */
+
284 #define SL_SO_RCVTIMEO (20) /* Enable receive timeout */
+
285 #define SL_SO_NONBLOCKING (24) /* Enable . disable nonblocking mode */
+
286 #define SL_SO_SECMETHOD (25) /* security metohd */
+
287 #define SL_SO_SECURE_MASK (26) /* security mask */
+
288 #define SL_SO_SECURE_FILES (27) /* security files */
+
289 #define SL_SO_CHANGE_CHANNEL (28) /* This option is available only when transceiver started */
+
290 #define SL_SO_SECURE_FILES_PRIVATE_KEY_FILE_NAME (30) /* This option used to configue secure file */
+
291 #define SL_SO_SECURE_FILES_CERTIFICATE_FILE_NAME (31) /* This option used to configue secure file */
+
292 #define SL_SO_SECURE_FILES_CA_FILE_NAME (32) /* This option used to configue secure file */
+
293 #define SL_SO_SECURE_FILES_DH_KEY_FILE_NAME (33) /* This option used to configue secure file */
+
294 
+
295 #define SL_IP_MULTICAST_IF (60) /* Specify outgoing multicast interface */
+
296 #define SL_IP_MULTICAST_TTL (61) /* Specify the TTL value to use for outgoing multicast packet. */
+
297 #define SL_IP_ADD_MEMBERSHIP (65) /* Join IPv4 multicast membership */
+
298 #define SL_IP_DROP_MEMBERSHIP (66) /* Leave IPv4 multicast membership */
+
299 #define SL_IP_HDRINCL (67) /* Raw socket IPv4 header included. */
+
300 #define SL_IP_RAW_RX_NO_HEADER (68) /* Proprietary socket option that does not includeIPv4/IPv6 header (and extension headers) on received raw sockets*/
+
301 #define SL_IP_RAW_IPV6_HDRINCL (69) /* Transmitted buffer over IPv6 socket contains IPv6 header. */
+
302 
+
303 #define SL_SO_PHY_RATE (100) /* WLAN Transmit rate */
+
304 #define SL_SO_PHY_TX_POWER (101) /* TX Power level */
+
305 #define SL_SO_PHY_NUM_FRAMES_TO_TX (102) /* Number of frames to transmit */
+
306 #define SL_SO_PHY_PREAMBLE (103) /* Preamble for transmission */
+
307 
+
308 #define SL_SO_SEC_METHOD_SSLV3 (0) /* security metohd SSL v3*/
+
309 #define SL_SO_SEC_METHOD_TLSV1 (1) /* security metohd TLS v1*/
+
310 #define SL_SO_SEC_METHOD_TLSV1_1 (2) /* security metohd TLS v1_1*/
+
311 #define SL_SO_SEC_METHOD_TLSV1_2 (3) /* security metohd TLS v1_2*/
+
312 #define SL_SO_SEC_METHOD_SSLv3_TLSV1_2 (4) /* use highest possible version from SSLv3 - TLS 1.2*/
+
313 #define SL_SO_SEC_METHOD_DLSV1 (5) /* security metohd DTL v1 */
+
314 
+
315 #define SL_SEC_MASK_SSL_RSA_WITH_RC4_128_SHA (1 << 0)
+
316 #define SL_SEC_MASK_SSL_RSA_WITH_RC4_128_MD5 (1 << 1)
+
317 #define SL_SEC_MASK_TLS_RSA_WITH_AES_256_CBC_SHA (1 << 2)
+
318 #define SL_SEC_MASK_TLS_DHE_RSA_WITH_AES_256_CBC_SHA (1 << 3)
+
319 #define SL_SEC_MASK_TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA (1 << 4)
+
320 #define SL_SEC_MASK_TLS_ECDHE_RSA_WITH_RC4_128_SHA (1 << 5)
+
321 #define SL_SEC_MASK_TLS_RSA_WITH_AES_128_CBC_SHA256 (1 << 6)
+
322 #define SL_SEC_MASK_TLS_RSA_WITH_AES_256_CBC_SHA256 (1 << 7)
+
323 #define SL_SEC_MASK_TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 (1 << 8)
+
324 #define SL_SEC_MASK_TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 (1 << 9)
+
325 
+
326 
+
327 #define SL_SEC_MASK_SECURE_DEFAULT ((SL_SEC_MASK_TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 << 1) - 1)
+
328 
+
329 #define SL_MSG_DONTWAIT (0x00000008) /* Nonblocking IO */
+
330 
+
331 /* AP DHCP Server - IP Release reason code */
+
332 #define SL_IP_LEASE_PEER_RELEASE (0)
+
333 #define SL_IP_LEASE_PEER_DECLINE (1)
+
334 #define SL_IP_LEASE_EXPIRED (2)
+
335 
+
336 /* possible types when receiving SL_SOCKET_ASYNC_EVENT*/
+
337 #define SSL_ACCEPT (1) /* accept failed due to ssl issue ( tcp pass) */
+
338 #define RX_FRAGMENTATION_TOO_BIG (2) /* connection less mode, rx packet fragmentation > 16K, packet is being released */
+
339 #define OTHER_SIDE_CLOSE_SSL_DATA_NOT_ENCRYPTED (3) /* remote side down from secure to unsecure */
+
340 
+
341 
+
342 
+
343 #ifdef SL_INC_STD_BSD_API_NAMING
+
344 
+
345 #define FD_SETSIZE SL_FD_SETSIZE
+
346 
+
347 #define SOCK_STREAM SL_SOCK_STREAM
+
348 #define SOCK_DGRAM SL_SOCK_DGRAM
+
349 #define SOCK_RAW SL_SOCK_RAW
+
350 #define IPPROTO_TCP SL_IPPROTO_TCP
+
351 #define IPPROTO_UDP SL_IPPROTO_UDP
+
352 #define IPPROTO_RAW SL_IPPROTO_RAW
+
353 
+
354 #define AF_INET SL_AF_INET
+
355 #define AF_INET6 SL_AF_INET6
+
356 #define AF_INET6_EUI_48 SL_AF_INET6_EUI_48
+
357 #define AF_RF SL_AF_RF
+
358 #define AF_PACKET SL_AF_PACKET
+
359 
+
360 #define PF_INET SL_PF_INET
+
361 #define PF_INET6 SL_PF_INET6
+
362 
+
363 #define INADDR_ANY SL_INADDR_ANY
+
364 #define ERROR SL_SOC_ERROR
+
365 #define INEXE SL_INEXE
+
366 #define EBADF SL_EBADF
+
367 #define ENSOCK SL_ENSOCK
+
368 #define EAGAIN SL_EAGAIN
+
369 #define EWOULDBLOCK SL_EWOULDBLOCK
+
370 #define ENOMEM SL_ENOMEM
+
371 #define EACCES SL_EACCES
+
372 #define EFAULT SL_EFAULT
+
373 #define EINVAL SL_EINVAL
+
374 #define EDESTADDRREQ SL_EDESTADDRREQ
+
375 #define EPROTOTYPE SL_EPROTOTYPE
+
376 #define ENOPROTOOPT SL_ENOPROTOOPT
+
377 #define EPROTONOSUPPORT SL_EPROTONOSUPPORT
+
378 #define ESOCKTNOSUPPORT SL_ESOCKTNOSUPPORT
+
379 #define EOPNOTSUPP SL_EOPNOTSUPP
+
380 #define EAFNOSUPPORT SL_EAFNOSUPPORT
+
381 #define EADDRINUSE SL_EADDRINUSE
+
382 #define EADDRNOTAVAIL SL_EADDRNOTAVAIL
+
383 #define ENETUNREACH SL_ENETUNREACH
+
384 #define ENOBUFS SL_ENOBUFS
+
385 #define EOBUFF SL_EOBUFF
+
386 #define EISCONN SL_EISCONN
+
387 #define ENOTCONN SL_ENOTCONN
+
388 #define ETIMEDOUT SL_ETIMEDOUT
+
389 #define ECONNREFUSED SL_ECONNREFUSED
+
390 
+
391 #define SOL_SOCKET SL_SOL_SOCKET
+
392 #define IPPROTO_IP SL_IPPROTO_IP
+
393 #define SO_KEEPALIVE SL_SO_KEEPALIVE
+
394 
+
395 #define SO_RCVTIMEO SL_SO_RCVTIMEO
+
396 #define SO_NONBLOCKING SL_SO_NONBLOCKING
+
397 
+
398 #define IP_MULTICAST_IF SL_IP_MULTICAST_IF
+
399 #define IP_MULTICAST_TTL SL_IP_MULTICAST_TTL
+
400 #define IP_ADD_MEMBERSHIP SL_IP_ADD_MEMBERSHIP
+
401 #define IP_DROP_MEMBERSHIP SL_IP_DROP_MEMBERSHIP
+
402 
+
403 #define socklen_t SlSocklen_t
+
404 #define timeval SlTimeval_t
+
405 #define sockaddr SlSockAddr_t
+
406 #define in6_addr SlIn6Addr_t
+
407 #define sockaddr_in6 SlSockAddrIn6_t
+
408 #define in_addr SlInAddr_t
+
409 #define sockaddr_in SlSockAddrIn_t
+
410 
+
411 #define MSG_DONTWAIT SL_MSG_DONTWAIT
+
412 
+
413 #define FD_SET SL_FD_SET
+
414 #define FD_CLR SL_FD_CLR
+
415 #define FD_ISSET SL_FD_ISSET
+
416 #define FD_ZERO SL_FD_ZERO
+
417 #define fd_set SlFdSet_t
+
418 
+
419 #define socket sl_Socket
+
420 #define close sl_Close
+
421 #define accept sl_Accept
+
422 #define bind sl_Bind
+
423 #define listen sl_Listen
+
424 #define connect sl_Connect
+
425 #define select sl_Select
+
426 #define setsockopt sl_SetSockOpt
+
427 #define getsockopt sl_GetSockOpt
+
428 #define recv sl_Recv
+
429 #define recvfrom sl_RecvFrom
+
430 #define write sl_Write
+
431 #define send sl_Send
+
432 #define sendto sl_SendTo
+
433 #define gethostbyname sl_NetAppDnsGetHostByName
+
434 #define htonl sl_Htonl
+
435 #define ntohl sl_Ntohl
+
436 #define htons sl_Htons
+
437 #define ntohs sl_Ntohs
+
438 #endif
+
439 
+
440 /*****************************************************************************/
+
441 /* Structure/Enum declarations */
+
442 /*****************************************************************************/
+
443 
+
444 /* Internet address */
+
445 typedef struct SlInAddr_t
+
446 {
+
447 #ifndef s_addr
+
448  _u32 s_addr; /* Internet address 32 bits */
+
449 #else
+
450  union S_un {
+
451  struct { _u8 s_b1,s_b2,s_b3,s_b4; } S_un_b;
+
452  struct { _u8 s_w1,s_w2; } S_un_w;
+
453  _u32 S_addr;
+
454  } S_un;
+
455 #endif
+
456 }SlInAddr_t;
+
457 
+
458 
+
459 /* sockopt */
+
460 typedef struct
+
461 {
+
462  _u32 KeepaliveEnabled; /* 0 = disabled;1 = enabled; default = 1*/
+ +
464 
+
465 typedef struct
+
466 {
+
467  _u32 ReuseaddrEnabled; /* 0 = disabled; 1 = enabled; default = 1*/
+ +
469 
+
470 typedef struct
+
471 {
+
472  _u32 Winsize; /* receive window size for tcp sockets */
+ +
474 
+
475 typedef struct
+
476 {
+
477  _u32 NonblockingEnabled;/* 0 = disabled;1 = enabled;default = 1*/
+ +
479 
+
480 
+
481 typedef struct
+
482 {
+
483  _u8 sd;
+
484  _u8 type;
+
485  _i16 val;
+
486  _u8* pExtraInfo;
+ +
488 
+
489 typedef struct
+
490 {
+
491  _i16 status;
+
492  _u8 sd;
+
493  _u8 padding;
+ +
495 
+
496 
+
497 typedef union
+
498 {
+
499  SlSockTxFailEventData_t SockTxFailData;
+
500  SlSocketAsyncEvent_t SockAsyncData;
+ +
502 
+
503 
+
504 typedef struct
+
505 {
+
506  _u32 Event;
+
507  SlSockEventData_u socketAsyncEvent;
+
508 } SlSockEvent_t;
+
509 
+
510 
+
511 
+
512 
+
513 
+
514 
+
515 typedef struct
+
516 {
+
517  _u32 secureMask;
+ +
519 
+
520 typedef struct
+
521 {
+
522  _u8 secureMethod;
+ +
524 
+
525 typedef enum
+
526 {
+
527  SL_BSD_SECURED_PRIVATE_KEY_IDX = 0,
+
528  SL_BSD_SECURED_CERTIFICATE_IDX,
+
529  SL_BSD_SECURED_CA_IDX,
+
530  SL_BSD_SECURED_DH_IDX
+
531 }slBsd_secureSocketFilesIndex_e;
+
532 
+
533 typedef struct
+
534 {
+
535  SlInAddr_t imr_multiaddr; /* The IPv4 multicast address to join */
+
536  SlInAddr_t imr_interface; /* The interface to use for this group */
+
537 } SlSockIpMreq;
+
538 
+
539 
+
540 /* sockopt */
+
541 typedef _u32 SlTime_t;
+
542 typedef _u32 SlSuseconds_t;
+
543 
+
544 typedef struct SlTimeval_t
+
545 {
+
546  SlTime_t tv_sec; /* Seconds */
+
547  SlSuseconds_t tv_usec; /* Microseconds */
+
548 }SlTimeval_t;
+
549 
+
550 typedef _u16 SlSocklen_t;
+
551 
+
552 /* IpV4 socket address */
+
553 typedef struct SlSockAddr_t
+
554 {
+
555  _u16 sa_family; /* Address family (e.g. , AF_INET) */
+
556  _u8 sa_data[14]; /* Protocol- specific address information*/
+
557 }SlSockAddr_t;
+
558 
+
559 
+
560 /* IpV6 or Ipv6 EUI64 */
+
561 typedef struct SlIn6Addr_t
+
562 {
+
563  union
+
564  {
+
565  _u8 _S6_u8[16];
+
566  _u32 _S6_u32[4];
+
567  } _S6_un;
+
568 }SlIn6Addr_t;
+
569 
+
570 typedef struct SlSockAddrIn6_t
+
571 {
+
572  _u16 sin6_family; /* AF_INET6 || AF_INET6_EUI_48*/
+
573  _u16 sin6_port; /* Transport layer port. */
+
574  _u32 sin6_flowinfo; /* IPv6 flow information. */
+
575  SlIn6Addr_t sin6_addr; /* IPv6 address. */
+
576  _u32 sin6_scope_id; /* set of interfaces for a scope. */
+ +
578 
+
579 /* Socket address, Internet style. */
+
580 
+
581 typedef struct SlSockAddrIn_t
+
582 {
+
583  _u16 sin_family; /* Internet Protocol (AF_INET). */
+
584  _u16 sin_port; /* Address port (16 bits). */
+
585  SlInAddr_t sin_addr; /* Internet address (32 bits). */
+
586  _i8 sin_zero[8]; /* Not used. */
+ +
588 
+
589 typedef struct
+
590 {
+
591  _u32 ip;
+
592  _u32 gateway;
+
593  _u32 dns;
+ +
595 
+
596 typedef struct
+
597 {
+
598  _u32 type;
+
599  _u32 ip[4];
+
600  _u32 gateway[4];
+
601  _u32 dns[4];
+ +
603 
+
604 typedef struct
+
605 {
+
606  _u32 ip_address;
+
607  _u32 lease_time;
+
608  _u8 mac[6];
+
609  _u16 padding;
+ +
611 
+
612 typedef struct
+
613 {
+
614  _u32 ip_address;
+
615  _u8 mac[6];
+
616  _u16 reason;
+ +
618 
+
619 
+
620 typedef union
+
621 {
+
622  SlIpV4AcquiredAsync_t ipAcquiredV4; /*SL_NETAPP_IPV4_IPACQUIRED_EVENT*/
+
623  SlIpV6AcquiredAsync_t ipAcquiredV6; /*SL_NETAPP_IPV6_IPACQUIRED_EVENT*/
+
624  _u32 sd; /*SL_SOCKET_TX_FAILED_EVENT*/
+
625  SlIpLeasedAsync_t ipLeased; /* SL_NETAPP_IP_LEASED_EVENT */
+
626  SlIpReleasedAsync_t ipReleased; /* SL_NETAPP_IP_RELEASED_EVENT */
+ +
628 
+
629 typedef struct
+
630 {
+
631  _u32 Event;
+
632  SlNetAppEventData_u EventData;
+ +
634 
+
635 
+
636 typedef struct sock_secureFiles
+
637 {
+
638  _u8 secureFiles[4];
+ +
640 
+
641 
+
642 typedef struct SlFdSet_t /* The select socket array manager */
+
643 {
+
644  _u32 fd_array[(SL_FD_SETSIZE + 31)/32]; /* Bit map of SOCKET Descriptors */
+
645 } SlFdSet_t;
+
646 
+
647 typedef struct
+
648 {
+
649  _u8 rate; /* Recevied Rate */
+
650  _u8 channel; /* The received channel*/
+
651  _i8 rssi; /* The computed RSSI value in db of current frame */
+
652  _u8 padding; /* pad to align to 32 bits */
+
653  _u32 timestamp; /* Timestamp in microseconds, */
+ +
655 
+
656 
+
657 
+
658 /*****************************************************************************/
+
659 /* Function prototypes */
+
660 /*****************************************************************************/
+
661 
+
713 #if _SL_INCLUDE_FUNC(sl_Socket)
+
714 _i16 sl_Socket(_i16 Domain, _i16 Type, _i16 Protocol);
+
715 #endif
+
716 
+
732 #if _SL_INCLUDE_FUNC(sl_Close)
+
733 _i16 sl_Close(_i16 sd);
+
734 #endif
+
735 
+
786 #if _SL_INCLUDE_FUNC(sl_Accept)
+
787 _i16 sl_Accept(_i16 sd, SlSockAddr_t *addr, SlSocklen_t *addrlen);
+
788 #endif
+
789 
+
816 #if _SL_INCLUDE_FUNC(sl_Bind)
+
817 _i16 sl_Bind(_i16 sd, const SlSockAddr_t *addr, _i16 addrlen);
+
818 #endif
+
819 
+
840 #if _SL_INCLUDE_FUNC(sl_Listen)
+
841 _i16 sl_Listen(_i16 sd, _i16 backlog);
+
842 #endif
+
843 
+
882 #if _SL_INCLUDE_FUNC(sl_Connect)
+
883 _i16 sl_Connect(_i16 sd, const SlSockAddr_t *addr, _i16 addrlen);
+
884 #endif
+
885 
+
934 #if _SL_INCLUDE_FUNC(sl_Select)
+
935 _i16 sl_Select(_i16 nfds, SlFdSet_t *readsds, SlFdSet_t *writesds, SlFdSet_t *exceptsds, struct SlTimeval_t *timeout);
+
936 
+
937 
+
943 void SL_FD_SET(_i16 fd, SlFdSet_t *fdset);
+
944 
+
950 void SL_FD_CLR(_i16 fd, SlFdSet_t *fdset);
+
951 
+
952 
+
961 _i16 SL_FD_ISSET(_i16 fd, SlFdSet_t *fdset);
+
962 
+
968 void SL_FD_ZERO(SlFdSet_t *fdset);
+
969 
+
970 
+
971 
+
972 #endif
+
973 
+
1244 #if _SL_INCLUDE_FUNC(sl_SetSockOpt)
+
1245 _i16 sl_SetSockOpt(_i16 sd, _i16 level, _i16 optname, const void *optval, SlSocklen_t optlen);
+
1246 #endif
+
1247 
+
1288 #if _SL_INCLUDE_FUNC(sl_GetSockOpt)
+
1289 _i16 sl_GetSockOpt(_i16 sd, _i16 level, _i16 optname, void *optval, SlSocklen_t *optlen);
+
1290 #endif
+
1291 
+
1354 #if _SL_INCLUDE_FUNC(sl_Recv)
+
1355 _i16 sl_Recv(_i16 sd, void *buf, _i16 Len, _i16 flags);
+
1356 #endif
+
1357 
+
1413 #if _SL_INCLUDE_FUNC(sl_RecvFrom)
+
1414 _i16 sl_RecvFrom(_i16 sd, void *buf, _i16 Len, _i16 flags, SlSockAddr_t *from, SlSocklen_t *fromlen);
+
1415 #endif
+
1416 
+
1463 #if _SL_INCLUDE_FUNC(sl_Send )
+
1464 _i16 sl_Send(_i16 sd, const void *buf, _i16 Len, _i16 flags);
+
1465 #endif
+
1466 
+
1517 #if _SL_INCLUDE_FUNC(sl_SendTo)
+
1518 _i16 sl_SendTo(_i16 sd, const void *buf, _i16 Len, _i16 flags, const SlSockAddr_t *to, SlSocklen_t tolen);
+
1519 #endif
+
1520 
+
1534 #if _SL_INCLUDE_FUNC(sl_Htonl )
+
1535 _u32 sl_Htonl( _u32 val );
+
1536 
+
1537 #define sl_Ntohl sl_Htonl /* Reorder the bytes of a 16-bit unsigned value from network order to processor orde. */
+
1538 #endif
+
1539 
+
1553 #if _SL_INCLUDE_FUNC(sl_Htons )
+
1554 _u16 sl_Htons( _u16 val );
+
1555 
+
1556 #define sl_Ntohs sl_Htons /* Reorder the bytes of a 16-bit unsigned value from network order to processor orde. */
+
1557 #endif
+
1558 
+
1567 #ifdef __cplusplus
+
1568 }
+
1569 #endif /* __cplusplus */
+
1570 
+
1571 #endif /* __SOCKET_H__ */
+
1572 
+
1573 
+
+
+ + + + diff --git a/docs/simplelink_api/html/spawn_8h_source.html b/docs/simplelink_api/html/spawn_8h_source.html deleted file mode 100644 index 3e6ca10..0000000 --- a/docs/simplelink_api/html/spawn_8h_source.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - -SimpleLink Host Driver: spawn.h Source File - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
-
-
spawn.h
-
-
-
00001 /******************************************************************************
-00002 *
-00003 *   Copyright (C) 2013 Texas Instruments Incorporated
-00004 *
-00005 *   All rights reserved. Property of Texas Instruments Incorporated.
-00006 *   Restricted rights to use, duplicate or disclose this code are
-00007 *   granted through contract.
-00008 *
-00009 *   The program may not be used without the written permission of
-00010 *   Texas Instruments Incorporated or against the terms and conditions
-00011 *   stipulated in the agreement under which this program has been supplied,
-00012 *   and under no circumstances can it be used with non-TI connectivity device.
-00013 *
-00014 ******************************************************************************/
-00015 
-00016 #ifndef __NONOS_H__
-00017 #define __NONOS_H__
-00018 
-00019 #ifdef  __cplusplus
-00020 extern "C" {
-00021 #endif
-00022 
-00023 
-00024 #if (defined (SL_PLATFORM_MULTI_THREADED)) && (!defined (SL_PLATFORM_EXTERNAL_SPAWN))
-00025 
-00026 extern void _SlInternalSpawnTaskEntry();
-00027 extern int _SlInternalSpawn(_SlSpawnEntryFunc_t pEntry , void* pValue , unsigned long flags);
-00028 
-00029 #undef sl_Spawn
-00030 #define sl_Spawn(pEntry,pValue,flags)               _SlInternalSpawn(pEntry,pValue,flags)
-00031 
-00032 #undef _SlTaskEntry
-00033 #define _SlTaskEntry                                _SlInternalSpawnTaskEntry
-00034 
-00035 
-00036 #endif
-00037 
-00038 #ifdef  __cplusplus
-00039 }
-00040 #endif /* __cplusplus */
-00041 
-00042 #endif
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___accept_command__t.html b/docs/simplelink_api/html/struct___accept_command__t.html deleted file mode 100644 index dca2588..0000000 --- a/docs/simplelink_api/html/struct___accept_command__t.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - -SimpleLink Host Driver: _AcceptCommand_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_AcceptCommand_t Struct Reference
-
-
- - - - - - -

-Data Fields

-UINT8 sd
-UINT8 family
-UINT8 padding1
-UINT8 padding2
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___basic_response__t.html b/docs/simplelink_api/html/struct___basic_response__t.html deleted file mode 100644 index 766c3ee..0000000 --- a/docs/simplelink_api/html/struct___basic_response__t.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _BasicResponse_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_BasicResponse_t Struct Reference
-
-
- - - - -

-Data Fields

-INT16 status
-UINT16 padding
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___close_command__t.html b/docs/simplelink_api/html/struct___close_command__t.html deleted file mode 100644 index 57cc1f9..0000000 --- a/docs/simplelink_api/html/struct___close_command__t.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - -SimpleLink Host Driver: _CloseCommand_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_CloseCommand_t Struct Reference
-
-
- - - - - - -

-Data Fields

-UINT8 sd
-UINT8 padding0
-UINT8 padding1
-UINT8 padding2
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___ctest_async_response__t.html b/docs/simplelink_api/html/struct___ctest_async_response__t.html deleted file mode 100644 index 63d1bc2..0000000 --- a/docs/simplelink_api/html/struct___ctest_async_response__t.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - -SimpleLink Host Driver: _CtestAsyncResponse_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_CtestAsyncResponse_t Struct Reference
-
-
- - - - - - - - - - - -

-Data Fields

-UINT8 test
-UINT8 socket
-INT16 status
-UINT32 startTime
-UINT32 endTime
-UINT16 txKbitsSec
-UINT16 rxKbitsSec
-UINT32 outOfOrderPackets
-UINT32 missedPackets
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___dev_mask_event_get_command__t.html b/docs/simplelink_api/html/struct___dev_mask_event_get_command__t.html deleted file mode 100644 index ed15165..0000000 --- a/docs/simplelink_api/html/struct___dev_mask_event_get_command__t.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - -SimpleLink Host Driver: _DevMaskEventGetCommand_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_DevMaskEventGetCommand_t Struct Reference
-
-
- - - -

-Data Fields

-UINT32 group
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___dev_mask_event_get_response__t.html b/docs/simplelink_api/html/struct___dev_mask_event_get_response__t.html deleted file mode 100644 index f3117c1..0000000 --- a/docs/simplelink_api/html/struct___dev_mask_event_get_response__t.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _DevMaskEventGetResponse_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_DevMaskEventGetResponse_t Struct Reference
-
-
- - - - -

-Data Fields

-UINT32 group
-UINT32 mask
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___dev_mask_event_set_command__t.html b/docs/simplelink_api/html/struct___dev_mask_event_set_command__t.html deleted file mode 100644 index 67276fc..0000000 --- a/docs/simplelink_api/html/struct___dev_mask_event_set_command__t.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _DevMaskEventSetCommand_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_DevMaskEventSetCommand_t Struct Reference
-
-
- - - - -

-Data Fields

-UINT32 group
-UINT32 mask
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___dev_status_get_command__t.html b/docs/simplelink_api/html/struct___dev_status_get_command__t.html deleted file mode 100644 index 77347bd..0000000 --- a/docs/simplelink_api/html/struct___dev_status_get_command__t.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - -SimpleLink Host Driver: _DevStatusGetCommand_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_DevStatusGetCommand_t Struct Reference
-
-
- - - -

-Data Fields

-UINT32 group
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___dev_status_get_response__t.html b/docs/simplelink_api/html/struct___dev_status_get_response__t.html deleted file mode 100644 index 96b1d44..0000000 --- a/docs/simplelink_api/html/struct___dev_status_get_response__t.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _DevStatusGetResponse_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_DevStatusGetResponse_t Struct Reference
-
-
- - - - -

-Data Fields

-UINT32 group
-UINT32 status
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___dev_stop_command__t.html b/docs/simplelink_api/html/struct___dev_stop_command__t.html deleted file mode 100644 index 73676d4..0000000 --- a/docs/simplelink_api/html/struct___dev_stop_command__t.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _DevStopCommand_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_DevStopCommand_t Struct Reference
-
-
- - - - -

-Data Fields

-UINT16 Timeout
-UINT16 padding
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___dev_uart_set_mode_command__t.html b/docs/simplelink_api/html/struct___dev_uart_set_mode_command__t.html deleted file mode 100644 index d1dc6f4..0000000 --- a/docs/simplelink_api/html/struct___dev_uart_set_mode_command__t.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _DevUartSetModeCommand_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_DevUartSetModeCommand_t Struct Reference
-
-
- - - - -

-Data Fields

-UINT32 BaudRate
-UINT8 FlowControlEnable
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___device___version_read_response_full__t.html b/docs/simplelink_api/html/struct___device___version_read_response_full__t.html deleted file mode 100644 index 5b2d55d..0000000 --- a/docs/simplelink_api/html/struct___device___version_read_response_full__t.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - -SimpleLink Host Driver: _Device_VersionReadResponseFull_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_Device_VersionReadResponseFull_t Struct Reference
-
-
- - - - - - -

-Data Fields

-_Device_VersionReadResponsePart_t part
-UINT32 NwpVersion [4]
-UINT16 RomVersion
-UINT16 Padding
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___device___version_read_response_part__t.html b/docs/simplelink_api/html/struct___device___version_read_response_part__t.html deleted file mode 100644 index 6858893..0000000 --- a/docs/simplelink_api/html/struct___device___version_read_response_part__t.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - -SimpleLink Host Driver: _Device_VersionReadResponsePart_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_Device_VersionReadResponsePart_t Struct Reference
-
-
- - - - - -

-Data Fields

-UINT32 ChipId
-UINT32 FwVersion [4]
-UINT8 PhyVersion [4]
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___device_set_get__t.html b/docs/simplelink_api/html/struct___device_set_get__t.html deleted file mode 100644 index 29242d8..0000000 --- a/docs/simplelink_api/html/struct___device_set_get__t.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - -SimpleLink Host Driver: _DeviceSetGet_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_DeviceSetGet_t Struct Reference
-
-
- - - - - - -

-Data Fields

-UINT16 Status
-UINT16 DeviceSetId
-UINT16 Option
-UINT16 ConfigLen
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___fs_close_command__t.html b/docs/simplelink_api/html/struct___fs_close_command__t.html deleted file mode 100644 index ae09f3e..0000000 --- a/docs/simplelink_api/html/struct___fs_close_command__t.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - -SimpleLink Host Driver: _FsCloseCommand_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_FsCloseCommand_t Struct Reference
-
-
- - - - - -

-Data Fields

-UINT32 FileHandle
-UINT32 CertificFileNameLength
-UINT32 SignatureLen
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___fs_delete_command__t.html b/docs/simplelink_api/html/struct___fs_delete_command__t.html deleted file mode 100644 index 528ed86..0000000 --- a/docs/simplelink_api/html/struct___fs_delete_command__t.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - -SimpleLink Host Driver: _FsDeleteCommand_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_FsDeleteCommand_t Struct Reference
-
-
- - - -

-Data Fields

-UINT32 Token
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___fs_format_command__t.html b/docs/simplelink_api/html/struct___fs_format_command__t.html deleted file mode 100644 index 8f00b9a..0000000 --- a/docs/simplelink_api/html/struct___fs_format_command__t.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _FsFormatCommand_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_FsFormatCommand_t Struct Reference
-
-
- - - - -

-Data Fields

-UINT8 DeviceID
-UINT8 Padding [3]
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___fs_get_info_response__t.html b/docs/simplelink_api/html/struct___fs_get_info_response__t.html deleted file mode 100644 index b8b6a82..0000000 --- a/docs/simplelink_api/html/struct___fs_get_info_response__t.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - -SimpleLink Host Driver: _FsGetInfoResponse_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_FsGetInfoResponse_t Struct Reference
-
-
- - - - - - - -

-Data Fields

-UINT16 Status
-UINT16 flags
-UINT32 FileLen
-UINT32 AllocatedLen
-UINT32 Token [4]
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___fs_open_command__t.html b/docs/simplelink_api/html/struct___fs_open_command__t.html deleted file mode 100644 index ba6924c..0000000 --- a/docs/simplelink_api/html/struct___fs_open_command__t.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _FsOpenCommand_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_FsOpenCommand_t Struct Reference
-
-
- - - - -

-Data Fields

-UINT32 Mode
-UINT32 Token
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___fs_open_response__t.html b/docs/simplelink_api/html/struct___fs_open_response__t.html deleted file mode 100644 index 3249718..0000000 --- a/docs/simplelink_api/html/struct___fs_open_response__t.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _FsOpenResponse_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_FsOpenResponse_t Struct Reference
-
-
- - - - -

-Data Fields

-UINT32 FileHandle
-UINT32 Token
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___fs_read_command__t.html b/docs/simplelink_api/html/struct___fs_read_command__t.html deleted file mode 100644 index 109d42f..0000000 --- a/docs/simplelink_api/html/struct___fs_read_command__t.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - -SimpleLink Host Driver: _FsReadCommand_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_FsReadCommand_t Struct Reference
-
-
- - - - - - -

-Data Fields

-UINT32 FileHandle
-UINT32 Offset
-UINT16 Len
-UINT16 Padding
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___fs_write_command__t.html b/docs/simplelink_api/html/struct___fs_write_command__t.html deleted file mode 100644 index 987edb3..0000000 --- a/docs/simplelink_api/html/struct___fs_write_command__t.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - -SimpleLink Host Driver: _FsWriteCommand_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_FsWriteCommand_t Struct Reference
-
-
- - - - - - -

-Data Fields

-UINT32 FileHandle
-UINT32 Offset
-UINT16 Len
-UINT16 Padding
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___get_host_by_name_command__t.html b/docs/simplelink_api/html/struct___get_host_by_name_command__t.html deleted file mode 100644 index 6750d7d..0000000 --- a/docs/simplelink_api/html/struct___get_host_by_name_command__t.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - -SimpleLink Host Driver: _GetHostByNameCommand_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_GetHostByNameCommand_t Struct Reference
-
-
- - - - - -

-Data Fields

-UINT16 Len
-UINT8 family
-UINT8 padding
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___get_host_by_name_i_pv4_async_response__t.html b/docs/simplelink_api/html/struct___get_host_by_name_i_pv4_async_response__t.html deleted file mode 100644 index 13af36c..0000000 --- a/docs/simplelink_api/html/struct___get_host_by_name_i_pv4_async_response__t.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - -SimpleLink Host Driver: _GetHostByNameIPv4AsyncResponse_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_GetHostByNameIPv4AsyncResponse_t Struct Reference
-
-
- - - - - - -

-Data Fields

-UINT16 status
-UINT8 padding1
-UINT8 padding2
-UINT32 ip0
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___get_host_by_name_i_pv6_async_response__t.html b/docs/simplelink_api/html/struct___get_host_by_name_i_pv6_async_response__t.html deleted file mode 100644 index e04540f..0000000 --- a/docs/simplelink_api/html/struct___get_host_by_name_i_pv6_async_response__t.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - -SimpleLink Host Driver: _GetHostByNameIPv6AsyncResponse_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_GetHostByNameIPv6AsyncResponse_t Struct Reference
-
-
- - - - - - - - -

-Data Fields

-UINT16 status
-UINT16 padding
-UINT32 ip0
-UINT32 ip1
-UINT32 ip2
-UINT32 ip3
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___get_host_by_service_async_response__t.html b/docs/simplelink_api/html/struct___get_host_by_service_async_response__t.html deleted file mode 100644 index 15addd8..0000000 --- a/docs/simplelink_api/html/struct___get_host_by_service_async_response__t.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - -SimpleLink Host Driver: _GetHostByServiceAsyncResponse_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_GetHostByServiceAsyncResponse_t Struct Reference
-
-
- - - - - - - -

-Data Fields

-short Status
-unsigned long * out_pAddr
-unsigned long * out_pPort
-unsigned short * inout_TextLen
-char * out_pText
-
The documentation for this struct was generated from the following file:
    -
  • netapp.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___get_host_by_service_command__t.html b/docs/simplelink_api/html/struct___get_host_by_service_command__t.html deleted file mode 100644 index f94da5a..0000000 --- a/docs/simplelink_api/html/struct___get_host_by_service_command__t.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - -SimpleLink Host Driver: _GetHostByServiceCommand_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_GetHostByServiceCommand_t Struct Reference
-
-
- - - - - -

-Data Fields

-unsigned char ServiceLen
-unsigned char AddrLen
-unsigned short Padding
-
The documentation for this struct was generated from the following file:
    -
  • netapp.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___get_host_by_service_i_pv4_async_response__t.html b/docs/simplelink_api/html/struct___get_host_by_service_i_pv4_async_response__t.html deleted file mode 100644 index 0947688..0000000 --- a/docs/simplelink_api/html/struct___get_host_by_service_i_pv4_async_response__t.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - -SimpleLink Host Driver: _GetHostByServiceIPv4AsyncResponse_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_GetHostByServiceIPv4AsyncResponse_t Struct Reference
-
-
- - - - - - -

-Data Fields

-unsigned short Status
-unsigned short TextLen
-unsigned long Port
-unsigned long Address
-
The documentation for this struct was generated from the following file:
    -
  • netapp.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___get_host_by_service_i_pv6_async_response__t.html b/docs/simplelink_api/html/struct___get_host_by_service_i_pv6_async_response__t.html deleted file mode 100644 index f046240..0000000 --- a/docs/simplelink_api/html/struct___get_host_by_service_i_pv6_async_response__t.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - -SimpleLink Host Driver: _GetHostByServiceIPv6AsyncResponse_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_GetHostByServiceIPv6AsyncResponse_t Struct Reference
-
-
- - - - - - -

-Data Fields

-unsigned short Status
-unsigned short TextLen
-unsigned long Port
-unsigned long Address [4]
-
The documentation for this struct was generated from the following file:
    -
  • netapp.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___ip_v4_acquired_async__t.html b/docs/simplelink_api/html/struct___ip_v4_acquired_async__t.html deleted file mode 100644 index 8a2f11b..0000000 --- a/docs/simplelink_api/html/struct___ip_v4_acquired_async__t.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - -SimpleLink Host Driver: _IpV4AcquiredAsync_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_IpV4AcquiredAsync_t Struct Reference
-
-
- - - - - -

-Data Fields

-UINT32 ip
-UINT32 gateway
-UINT32 dns
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___ip_v6_acquired_async__t.html b/docs/simplelink_api/html/struct___ip_v6_acquired_async__t.html deleted file mode 100644 index 2ecbb5c..0000000 --- a/docs/simplelink_api/html/struct___ip_v6_acquired_async__t.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - -SimpleLink Host Driver: _IpV6AcquiredAsync_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_IpV6AcquiredAsync_t Struct Reference
-
-
- - - - - - -

-Data Fields

-UINT32 type
-UINT32 ip [4]
-UINT32 gateway [4]
-UINT32 dns [4]
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___listen_command__t.html b/docs/simplelink_api/html/struct___listen_command__t.html deleted file mode 100644 index 72ca1d2..0000000 --- a/docs/simplelink_api/html/struct___listen_command__t.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - -SimpleLink Host Driver: _ListenCommand_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_ListenCommand_t Struct Reference
-
-
- - - - - - -

-Data Fields

-UINT8 sd
-UINT8 backlog
-UINT8 padding1
-UINT8 padding2
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___m_a_c___address___set_get__t.html b/docs/simplelink_api/html/struct___m_a_c___address___set_get__t.html deleted file mode 100644 index 46fb358..0000000 --- a/docs/simplelink_api/html/struct___m_a_c___address___set_get__t.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _MAC_Address_SetGet_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_MAC_Address_SetGet_t Struct Reference
-
-
- - - - -

-Data Fields

-UINT16 status
-UINT8 MacAddr [6]
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___net_app_http_server_get_set__auth__enable__t.html b/docs/simplelink_api/html/struct___net_app_http_server_get_set__auth__enable__t.html deleted file mode 100644 index b5db590..0000000 --- a/docs/simplelink_api/html/struct___net_app_http_server_get_set__auth__enable__t.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - -SimpleLink Host Driver: _NetAppHttpServerGetSet_auth_enable_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_NetAppHttpServerGetSet_auth_enable_t Struct Reference
-
-
- - - -

-Data Fields

-UINT8 auth_enable
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___net_app_http_server_get_set__port__num__t.html b/docs/simplelink_api/html/struct___net_app_http_server_get_set__port__num__t.html deleted file mode 100644 index f628bd8..0000000 --- a/docs/simplelink_api/html/struct___net_app_http_server_get_set__port__num__t.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - -SimpleLink Host Driver: _NetAppHttpServerGetSet_port_num_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_NetAppHttpServerGetSet_port_num_t Struct Reference
-
-
- - - -

-Data Fields

-UINT16 port_number
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___net_app_set_get__t.html b/docs/simplelink_api/html/struct___net_app_set_get__t.html deleted file mode 100644 index b74b791..0000000 --- a/docs/simplelink_api/html/struct___net_app_set_get__t.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - -SimpleLink Host Driver: _NetAppSetGet_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_NetAppSetGet_t Struct Reference
-
-
- - - - - - -

-Data Fields

-UINT16 Status
-UINT16 AppId
-UINT16 ConfigOpt
-UINT16 ConfigLen
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___net_app_start_stop_command__t.html b/docs/simplelink_api/html/struct___net_app_start_stop_command__t.html deleted file mode 100644 index 5e4e2b9..0000000 --- a/docs/simplelink_api/html/struct___net_app_start_stop_command__t.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - -SimpleLink Host Driver: _NetAppStartStopCommand_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_NetAppStartStopCommand_t Struct Reference
-
-
- - - -

-Data Fields

-UINT32 appId
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___net_cfg_ip_v4_a_p___args__t.html b/docs/simplelink_api/html/struct___net_cfg_ip_v4_a_p___args__t.html deleted file mode 100644 index 57d5072..0000000 --- a/docs/simplelink_api/html/struct___net_cfg_ip_v4_a_p___args__t.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - -SimpleLink Host Driver: _NetCfgIpV4AP_Args_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_NetCfgIpV4AP_Args_t Struct Reference
-
-
- - - - - - - - -

-Data Fields

-UINT8 ipV4 [4]
-UINT8 ipV4Mask [4]
-UINT8 ipV4Gateway [4]
-UINT8 ipV4DnsServer [4]
-UINT8 ipV4Start [4]
-UINT8 ipV4End [4]
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___net_cfg_ip_v4_args__t.html b/docs/simplelink_api/html/struct___net_cfg_ip_v4_args__t.html deleted file mode 100644 index ce4b84f..0000000 --- a/docs/simplelink_api/html/struct___net_cfg_ip_v4_args__t.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -CC32XX SimpleLink Host Driver: _NetCfgIpV4Args_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  0.0.5.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
_NetCfgIpV4Args_t Struct Reference
-
-
- - - - - - - - - - -

-Data Fields

-unsigned long ipV4
 
-unsigned long ipV4Mask
 
-unsigned long ipV4Gateway
 
-unsigned long ipV4DnsServer
 
-
The documentation for this struct was generated from the following file: -
-
- - - - diff --git a/docs/simplelink_api/html/struct___net_cfg_ip_v4_args__t.js b/docs/simplelink_api/html/struct___net_cfg_ip_v4_args__t.js deleted file mode 100644 index ad35844..0000000 --- a/docs/simplelink_api/html/struct___net_cfg_ip_v4_args__t.js +++ /dev/null @@ -1,7 +0,0 @@ -var struct___net_cfg_ip_v4_args__t = -[ - [ "ipV4", "struct___net_cfg_ip_v4_args__t.html#a1ba493795d9428020a86b4e54ed4efcf", null ], - [ "ipV4DnsServer", "struct___net_cfg_ip_v4_args__t.html#aa4c89c928180638aa36d08c89eef8afa", null ], - [ "ipV4Gateway", "struct___net_cfg_ip_v4_args__t.html#a736ade97509fd3b361601cb14de1cb13", null ], - [ "ipV4Mask", "struct___net_cfg_ip_v4_args__t.html#a8d81d6b444d53f3e204fbe6183d2f0f7", null ] -]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct___net_cfg_set_get__t.html b/docs/simplelink_api/html/struct___net_cfg_set_get__t.html deleted file mode 100644 index f5170a6..0000000 --- a/docs/simplelink_api/html/struct___net_cfg_set_get__t.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - -SimpleLink Host Driver: _NetCfgSetGet_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_NetCfgSetGet_t Struct Reference
-
-
- - - - - - -

-Data Fields

-UINT16 Status
-UINT16 ConfigId
-UINT16 ConfigOpt
-UINT16 ConfigLen
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___netapp_ip_v6config_ret_args__t.html b/docs/simplelink_api/html/struct___netapp_ip_v6config_ret_args__t.html deleted file mode 100644 index e71b0ce..0000000 --- a/docs/simplelink_api/html/struct___netapp_ip_v6config_ret_args__t.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - -SimpleLink Host Driver: _NetappIpV6configRetArgs_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_NetappIpV6configRetArgs_t Struct Reference
-
-
- - - - - - - - - - -

-Data Fields

-UINT16 status
-UINT8 WlanRole
-UINT8 Ipv6Enabled
-UINT8 Ipv6DhcpEnabled
-UINT32 ipV6Global [4]
-UINT32 ipV6Local [4]
-UINT32 ipV6DnsServer [4]
-UINT8 Ipv6DhcpState
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___ping_report_response__t.html b/docs/simplelink_api/html/struct___ping_report_response__t.html deleted file mode 100644 index ab911f3..0000000 --- a/docs/simplelink_api/html/struct___ping_report_response__t.html +++ /dev/null @@ -1,172 +0,0 @@ - - - - -SimpleLink Host Driver: _PingReportResponse_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_PingReportResponse_t Struct Reference
-
-
- - - - - - - - - -

-Data Fields

-UINT16 status
-UINT16 rttMin
-UINT16 rttMax
-UINT16 rttAvg
-UINT32 numSuccsessPings
-UINT32 numSendsPings
-UINT32 testTime
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___ping_start_command__t.html b/docs/simplelink_api/html/struct___ping_start_command__t.html deleted file mode 100644 index 09bc6c0..0000000 --- a/docs/simplelink_api/html/struct___ping_start_command__t.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - -SimpleLink Host Driver: _PingStartCommand_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_PingStartCommand_t Struct Reference
-
-
- - - - - - - - - - - -

-Data Fields

-UINT32 pingIntervalTime
-UINT16 PingSize
-UINT16 pingRequestTimeout
-UINT32 totalNumberOfAttempts
-UINT32 flags
-UINT32 ip0
-UINT32 ip1OrPaadding
-UINT32 ip2OrPaadding
-UINT32 ip3OrPaadding
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___select_async_response__t.html b/docs/simplelink_api/html/struct___select_async_response__t.html deleted file mode 100644 index 7849725..0000000 --- a/docs/simplelink_api/html/struct___select_async_response__t.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - -SimpleLink Host Driver: _SelectAsyncResponse_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SelectAsyncResponse_t Struct Reference
-
-
- - - - - - - -

-Data Fields

-UINT16 status
-UINT8 readFdsCount
-UINT8 writeFdsCount
-UINT16 readFds
-UINT16 writeFds
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___select_command__t.html b/docs/simplelink_api/html/struct___select_command__t.html deleted file mode 100644 index 93c4992..0000000 --- a/docs/simplelink_api/html/struct___select_command__t.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - -SimpleLink Host Driver: _SelectCommand_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SelectCommand_t Struct Reference
-
-
- - - - - - - - - - -

-Data Fields

-UINT8 nfds
-UINT8 readFdsCount
-UINT8 writeFdsCount
-UINT8 padding
-UINT16 readFds
-UINT16 writeFds
-UINT16 tv_usec
-UINT16 tv_sec
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___sl_action_lookup__t.html b/docs/simplelink_api/html/struct___sl_action_lookup__t.html deleted file mode 100644 index ff7c4e5..0000000 --- a/docs/simplelink_api/html/struct___sl_action_lookup__t.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - -SimpleLink Host Driver: _SlActionLookup_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlActionLookup_t Struct Reference
-
-
- - - - - -

-Data Fields

-UINT8 ActionID
-UINT16 ActionAsyncOpcode
-_SlSpawnEntryFunc_t AsyncEventHandler
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___sl_args_data__t.html b/docs/simplelink_api/html/struct___sl_args_data__t.html deleted file mode 100644 index 539d003..0000000 --- a/docs/simplelink_api/html/struct___sl_args_data__t.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlArgsData_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlArgsData_t Struct Reference
-
-
- - - - -

-Data Fields

-UINT8 * pArgs
-UINT8 * pData
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___sl_cmd_ctrl__t.html b/docs/simplelink_api/html/struct___sl_cmd_ctrl__t.html deleted file mode 100644 index ff3d449..0000000 --- a/docs/simplelink_api/html/struct___sl_cmd_ctrl__t.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - -SimpleLink Host Driver: _SlCmdCtrl_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlCmdCtrl_t Struct Reference
-
-
- - - - - -

-Data Fields

-_SlOpcode_t Opcode
-_SlArgSize_t TxDescLen
-_SlArgSize_t RxDescLen
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___sl_cmd_ext__t.html b/docs/simplelink_api/html/struct___sl_cmd_ext__t.html deleted file mode 100644 index 6b77f1c..0000000 --- a/docs/simplelink_api/html/struct___sl_cmd_ext__t.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - -SimpleLink Host Driver: _SlCmdExt_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlCmdExt_t Struct Reference
-
-
- - - - - - - -

-Data Fields

-UINT16 TxPayloadLen
-UINT16 RxPayloadLen
-UINT16 ActualRxPayloadLen
-UINT8 * pTxPayload
-UINT8 * pRxPayload
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___sl_driver_cb__t.html b/docs/simplelink_api/html/struct___sl_driver_cb__t.html deleted file mode 100644 index 19439dd..0000000 --- a/docs/simplelink_api/html/struct___sl_driver_cb__t.html +++ /dev/null @@ -1,198 +0,0 @@ - - - - -SimpleLink Host Driver: _SlDriverCb_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlDriverCb_t Struct Reference
-
-
- - - - - - - - - - - - - - - - - - - - - - -

-Data Fields

-_SlFd_t FD
-_SlLockObj_t GlobalLockObj
-_SlCommandHeader_t TempProtocolHeader
-P_INIT_CALLBACK pInitCallback
-_SlPoolObj_t ObjPool [MAX_CONCURRENT_ACTIONS]
-UINT8 FreePoolIdx
-UINT8 PendingPoolIdx
-UINT8 ActivePoolIdx
-UINT32 ActiveActionsBitmap
-_SlLockObj_t ProtectionLockObj
-_SlSyncObj_t CmdSyncObj
-UINT8 IsCmdRespWaited
-_SlFlowContCB_t FlowContCB
-UINT8 TxSeqNum
-UINT8 RxIrqCnt
-UINT8 RxDoneCnt
-UINT8 SocketNonBlocking
-UINT8 SocketTXFailure
-UINT8 RelayFlagsViaRxPayload
-_SlFunctionParams_t FunctionParams
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___sl_flow_cont_c_b__t.html b/docs/simplelink_api/html/struct___sl_flow_cont_c_b__t.html deleted file mode 100644 index 605650f..0000000 --- a/docs/simplelink_api/html/struct___sl_flow_cont_c_b__t.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - -SimpleLink Host Driver: _SlFlowContCB_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlFlowContCB_t Struct Reference
-
-
- - - - - -

-Data Fields

-UINT8 TxPoolCnt
-_SlLockObj_t TxLockObj
-_SlSyncObj_t TxSyncObj
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___sl_function_params__t.html b/docs/simplelink_api/html/struct___sl_function_params__t.html deleted file mode 100644 index acdd92e..0000000 --- a/docs/simplelink_api/html/struct___sl_function_params__t.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - -SimpleLink Host Driver: _SlFunctionParams_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlFunctionParams_t Struct Reference
-
-
- - - - - - -

-Data Fields

-_SlCmdCtrl_tpCmdCtrl
-UINT8 * pTxRxDescBuff
-_SlCmdExt_tpCmdExt
-AsyncExt_t AsyncExt
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___sl_generic_header__t.html b/docs/simplelink_api/html/struct___sl_generic_header__t.html deleted file mode 100644 index 06de576..0000000 --- a/docs/simplelink_api/html/struct___sl_generic_header__t.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlGenericHeader_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlGenericHeader_t Struct Reference
-
-
- - - - -

-Data Fields

-UINT16 Opcode
-UINT16 Len
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___sl_non_os_c_b__t.html b/docs/simplelink_api/html/struct___sl_non_os_c_b__t.html deleted file mode 100644 index 4a170fc..0000000 --- a/docs/simplelink_api/html/struct___sl_non_os_c_b__t.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - -SimpleLink Host Driver: _SlNonOsCB_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlNonOsCB_t Struct Reference
-
-
- - - -

-Data Fields

-_SlNonOsSpawnEntry_t SpawnEntries [NONOS_MAX_SPAWN_ENTRIES]
-
The documentation for this struct was generated from the following file:
    -
  • nonos.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___sl_non_os_spawn_entry__t.html b/docs/simplelink_api/html/struct___sl_non_os_spawn_entry__t.html deleted file mode 100644 index d78ac92..0000000 --- a/docs/simplelink_api/html/struct___sl_non_os_spawn_entry__t.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlNonOsSpawnEntry_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlNonOsSpawnEntry_t Struct Reference
-
-
- - - - -

-Data Fields

-_SlSpawnEntryFunc_t pEntry
-void * pValue
-
The documentation for this struct was generated from the following file:
    -
  • nonos.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___sl_partial_version.html b/docs/simplelink_api/html/struct___sl_partial_version.html index b567995..7776505 100644 --- a/docs/simplelink_api/html/struct___sl_partial_version.html +++ b/docs/simplelink_api/html/struct___sl_partial_version.html @@ -1,141 +1,140 @@ - - - - - - -CC32XX SimpleLink Host Driver: _SlPartialVersion Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
_SlPartialVersion Struct Reference
-
-
- - - - - - - - -

-Data Fields

-_u32 ChipId
 
-_u32 FwVersion [4]
 
-_u8 PhyVersion [4]
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: _SlPartialVersion Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
_SlPartialVersion Struct Reference
+
+
+ + + + + + + + +

+Data Fields

+_u32 ChipId
 
+_u32 FwVersion [4]
 
+_u8 PhyVersion [4]
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct___sl_partial_version.js b/docs/simplelink_api/html/struct___sl_partial_version.js index 9777601..a1eac1b 100644 --- a/docs/simplelink_api/html/struct___sl_partial_version.js +++ b/docs/simplelink_api/html/struct___sl_partial_version.js @@ -1,6 +1,6 @@ -var struct___sl_partial_version = -[ - [ "ChipId", "struct___sl_partial_version.html#a877d3a1147d35755dbce8176048ce947", null ], - [ "FwVersion", "struct___sl_partial_version.html#a59bd6f51689f540b0ba4dc785e4bfb64", null ], - [ "PhyVersion", "struct___sl_partial_version.html#ac5605d53799a6c74ac3f37559c465edb", null ] +var struct___sl_partial_version = +[ + [ "ChipId", "struct___sl_partial_version.html#a877d3a1147d35755dbce8176048ce947", null ], + [ "FwVersion", "struct___sl_partial_version.html#a59bd6f51689f540b0ba4dc785e4bfb64", null ], + [ "PhyVersion", "struct___sl_partial_version.html#ac5605d53799a6c74ac3f37559c465edb", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct___sl_pool_obj__t.html b/docs/simplelink_api/html/struct___sl_pool_obj__t.html deleted file mode 100644 index c98f476..0000000 --- a/docs/simplelink_api/html/struct___sl_pool_obj__t.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - -SimpleLink Host Driver: _SlPoolObj_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlPoolObj_t Struct Reference
-
-
- - - - - - - -

-Data Fields

-_SlSyncObj_t SyncObj
-UINT8 * pRespArgs
-UINT8 ActionID
-UINT8 AdditionalData
-UINT8 NextIndex
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___sl_profile_params__t.html b/docs/simplelink_api/html/struct___sl_profile_params__t.html deleted file mode 100644 index c097bb4..0000000 --- a/docs/simplelink_api/html/struct___sl_profile_params__t.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlProfileParams_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlProfileParams_t Struct Reference
-
-
- - - - -

-Data Fields

-_WlanAddGetEapProfile_t Args
-char Strings [MAX_SSID_LEN+MAX_KEY_LEN+MAX_USER_LEN+MAX_ANON_USER_LEN]
-
The documentation for this struct was generated from the following file:
    -
  • wlan.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___sl_response_header__t.html b/docs/simplelink_api/html/struct___sl_response_header__t.html deleted file mode 100644 index 1cbdc26..0000000 --- a/docs/simplelink_api/html/struct___sl_response_header__t.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - -SimpleLink Host Driver: _SlResponseHeader_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlResponseHeader_t Struct Reference
-
-
- - - - - - - -

-Data Fields

-_SlGenericHeader_t GenHeader
-UINT8 TxPoolCnt
-UINT8 DevStatus
-UINT8 SocketTXFailure
-UINT8 SocketNonBlocking
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___sl_smart_config_start__t.html b/docs/simplelink_api/html/struct___sl_smart_config_start__t.html deleted file mode 100644 index 305fe42..0000000 --- a/docs/simplelink_api/html/struct___sl_smart_config_start__t.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlSmartConfigStart_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlSmartConfigStart_t Struct Reference
-
-
- - - - -

-Data Fields

-_WlanSmartConfigStartCommand_t Args
-char Strings [3 *MAX_SMART_CONFIG_KEY]
-
The documentation for this struct was generated from the following file:
    -
  • wlan.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___sl_stat_mem__t.html b/docs/simplelink_api/html/struct___sl_stat_mem__t.html deleted file mode 100644 index 593d240..0000000 --- a/docs/simplelink_api/html/struct___sl_stat_mem__t.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - -SimpleLink Host Driver: _SlStatMem_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlStatMem_t Struct Reference
-
-
- - - - - -

-Data Fields

-UINT32 Align
-_SlDriverCb_t DriverCB
-UINT8 AsyncRespBuf [SL_ASYNC_MAX_MSG_LEN]
-
The documentation for this struct was generated from the following file:
    -
  • driver.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___sl_sync_pattern__t.html b/docs/simplelink_api/html/struct___sl_sync_pattern__t.html deleted file mode 100644 index 63fa5f3..0000000 --- a/docs/simplelink_api/html/struct___sl_sync_pattern__t.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - -SimpleLink Host Driver: _SlSyncPattern_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlSyncPattern_t Struct Reference
-
-
- - - - - - -

-Data Fields

-UINT32 Long
-UINT16 Short
-UINT8 Byte1
-UINT8 Byte2
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___socket_addr_async_i_pv4_response__t.html b/docs/simplelink_api/html/struct___socket_addr_async_i_pv4_response__t.html deleted file mode 100644 index fa86e2f..0000000 --- a/docs/simplelink_api/html/struct___socket_addr_async_i_pv4_response__t.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - -SimpleLink Host Driver: _SocketAddrAsyncIPv4Response_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SocketAddrAsyncIPv4Response_t Struct Reference
-
-
- - - - - - - - -

-Data Fields

-INT16 statusOrLen
-UINT8 sd
-UINT8 family
-UINT16 port
-UINT16 paddingOrAddr
-UINT32 address
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___socket_addr_async_i_pv6_e_u_i48_response__t.html b/docs/simplelink_api/html/struct___socket_addr_async_i_pv6_e_u_i48_response__t.html deleted file mode 100644 index 2786b75..0000000 --- a/docs/simplelink_api/html/struct___socket_addr_async_i_pv6_e_u_i48_response__t.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - -SimpleLink Host Driver: _SocketAddrAsyncIPv6EUI48Response_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SocketAddrAsyncIPv6EUI48Response_t Struct Reference
-
-
- - - - - - - -

-Data Fields

-INT16 statusOrLen
-UINT8 sd
-UINT8 family
-UINT16 port
-UINT8 address [6]
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___socket_addr_async_i_pv6_response__t.html b/docs/simplelink_api/html/struct___socket_addr_async_i_pv6_response__t.html deleted file mode 100644 index 5f0dab7..0000000 --- a/docs/simplelink_api/html/struct___socket_addr_async_i_pv6_response__t.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - -SimpleLink Host Driver: _SocketAddrAsyncIPv6Response_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SocketAddrAsyncIPv6Response_t Struct Reference
-
-
- - - - - - - - -

-Data Fields

-INT16 statusOrLen
-UINT8 sd
-UINT8 family
-UINT16 port
-UINT16 paddingOrAddr
-UINT32 address [4]
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___socket_addr_i_pv4_command__t.html b/docs/simplelink_api/html/struct___socket_addr_i_pv4_command__t.html deleted file mode 100644 index fbd56a9..0000000 --- a/docs/simplelink_api/html/struct___socket_addr_i_pv4_command__t.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - -SimpleLink Host Driver: _SocketAddrIPv4Command_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SocketAddrIPv4Command_t Struct Reference
-
-
- - - - - - - - -

-Data Fields

-INT16 lenOrPadding
-UINT8 sd
-UINT8 FamilyAndFlags
-UINT16 port
-UINT16 paddingOrAddr
-UINT32 address
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___socket_addr_i_pv6_command__t.html b/docs/simplelink_api/html/struct___socket_addr_i_pv6_command__t.html deleted file mode 100644 index 266e5ff..0000000 --- a/docs/simplelink_api/html/struct___socket_addr_i_pv6_command__t.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - -SimpleLink Host Driver: _SocketAddrIPv6Command_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SocketAddrIPv6Command_t Struct Reference
-
-
- - - - - - - - -

-Data Fields

-INT16 lenOrPadding
-UINT8 sd
-UINT8 FamilyAndFlags
-UINT16 port
-UINT16 paddingOrAddr
-UINT32 address [4]
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___socket_addr_i_pv6_e_u_i48_command__t.html b/docs/simplelink_api/html/struct___socket_addr_i_pv6_e_u_i48_command__t.html deleted file mode 100644 index 34713e6..0000000 --- a/docs/simplelink_api/html/struct___socket_addr_i_pv6_e_u_i48_command__t.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - -SimpleLink Host Driver: _SocketAddrIPv6EUI48Command_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SocketAddrIPv6EUI48Command_t Struct Reference
-
-
- - - - - - - -

-Data Fields

-INT16 lenOrPadding
-UINT8 sd
-UINT8 FamilyAndFlags
-UINT16 port
-UINT8 address [6]
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___socket_command__t.html b/docs/simplelink_api/html/struct___socket_command__t.html deleted file mode 100644 index 83888d4..0000000 --- a/docs/simplelink_api/html/struct___socket_command__t.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - -SimpleLink Host Driver: _SocketCommand_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SocketCommand_t Struct Reference
-
-
- - - - - - -

-Data Fields

-UINT8 Domain
-UINT8 Type
-UINT8 Protocol
-UINT8 Padding
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___socket_response__t.html b/docs/simplelink_api/html/struct___socket_response__t.html deleted file mode 100644 index 8f5f774..0000000 --- a/docs/simplelink_api/html/struct___socket_response__t.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - -SimpleLink Host Driver: _SocketResponse_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SocketResponse_t Struct Reference
-
-
- - - - - -

-Data Fields

-INT16 statusOrLen
-UINT8 sd
-UINT8 padding
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___stellaris_ssi_size_set__t.html b/docs/simplelink_api/html/struct___stellaris_ssi_size_set__t.html deleted file mode 100644 index 859f339..0000000 --- a/docs/simplelink_api/html/struct___stellaris_ssi_size_set__t.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _StellarisSsiSizeSet_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_StellarisSsiSizeSet_t Struct Reference
-
-
- - - - -

-Data Fields

-UINT8 SsiSizeInBytes
-UINT8 Padding [3]
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___wlan_add_get_eap_profile__t.html b/docs/simplelink_api/html/struct___wlan_add_get_eap_profile__t.html deleted file mode 100644 index e26e539..0000000 --- a/docs/simplelink_api/html/struct___wlan_add_get_eap_profile__t.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - -SimpleLink Host Driver: _WlanAddGetEapProfile_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_WlanAddGetEapProfile_t Struct Reference
-
-
- - - - - - - - -

-Data Fields

-_WlanAddGetProfile_t Common
-UINT8 UserLen
-UINT8 AnonUserLen
-UINT8 CertIndex
-UINT16 padding
-UINT32 EapBitmask
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___wlan_add_get_profile__t.html b/docs/simplelink_api/html/struct___wlan_add_get_profile__t.html deleted file mode 100644 index fe00835..0000000 --- a/docs/simplelink_api/html/struct___wlan_add_get_profile__t.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - -SimpleLink Host Driver: _WlanAddGetProfile_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_WlanAddGetProfile_t Struct Reference
-
-
- - - - - - - - -

-Data Fields

-INT8 SecType
-UINT8 SsidLen
-UINT8 Priority
-UINT8 Bssid [6]
-UINT8 PasswordLen
-UINT8 WepKeyId
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___wlan_cfg_set_get__t.html b/docs/simplelink_api/html/struct___wlan_cfg_set_get__t.html deleted file mode 100644 index 6fb0264..0000000 --- a/docs/simplelink_api/html/struct___wlan_cfg_set_get__t.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - -SimpleLink Host Driver: _WlanCfgSetGet_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_WlanCfgSetGet_t Struct Reference
-
-
- - - - - - -

-Data Fields

-UINT16 Status
-UINT16 ConfigId
-UINT16 ConfigOpt
-UINT16 ConfigLen
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___wlan_connect_cmd__t.html b/docs/simplelink_api/html/struct___wlan_connect_cmd__t.html deleted file mode 100644 index a20eab2..0000000 --- a/docs/simplelink_api/html/struct___wlan_connect_cmd__t.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _WlanConnectCmd_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_WlanConnectCmd_t Struct Reference
-
-
- - - - -

-Data Fields

-_WlanConnectEapCommand_t Args
-char Strings [MAX_SSID_LEN+MAX_KEY_LEN+MAX_USER_LEN+MAX_ANON_USER_LEN]
-
The documentation for this struct was generated from the following file:
    -
  • wlan.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___wlan_connect_common__t.html b/docs/simplelink_api/html/struct___wlan_connect_common__t.html deleted file mode 100644 index 406f5db..0000000 --- a/docs/simplelink_api/html/struct___wlan_connect_common__t.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - -SimpleLink Host Driver: _WlanConnectCommon_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_WlanConnectCommon_t Struct Reference
-
-
- - - - - - -

-Data Fields

-UINT8 SecType
-UINT8 SsidLen
-UINT8 Bssid [6]
-UINT8 PasswordLen
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___wlan_connect_eap_command__t.html b/docs/simplelink_api/html/struct___wlan_connect_eap_command__t.html deleted file mode 100644 index c6c706a..0000000 --- a/docs/simplelink_api/html/struct___wlan_connect_eap_command__t.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - -SimpleLink Host Driver: _WlanConnectEapCommand_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_WlanConnectEapCommand_t Struct Reference
-
-
- - - - - - - -

-Data Fields

-_WlanConnectCommon_t Common
-UINT8 UserLen
-UINT8 AnonUserLen
-UINT8 CertIndex
-UINT32 EapBitmask
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___wlan_get_network_list_command__t.html b/docs/simplelink_api/html/struct___wlan_get_network_list_command__t.html deleted file mode 100644 index 0888551..0000000 --- a/docs/simplelink_api/html/struct___wlan_get_network_list_command__t.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - -SimpleLink Host Driver: _WlanGetNetworkListCommand_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_WlanGetNetworkListCommand_t Struct Reference
-
-
- - - - - -

-Data Fields

-UINT8 index
-UINT8 count
-char padding [2]
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___wlan_policiy_set_get__t.html b/docs/simplelink_api/html/struct___wlan_policiy_set_get__t.html deleted file mode 100644 index 84fb80e..0000000 --- a/docs/simplelink_api/html/struct___wlan_policiy_set_get__t.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - -SimpleLink Host Driver: _WlanPoliciySetGet_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_WlanPoliciySetGet_t Struct Reference
-
-
- - - - - - -

-Data Fields

-UINT8 PolicyType
-UINT8 Padding
-UINT8 PolicyOption
-UINT8 PolicyOptionLen
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___wlan_profile_del_get_command__t.html b/docs/simplelink_api/html/struct___wlan_profile_del_get_command__t.html deleted file mode 100644 index 576de2e..0000000 --- a/docs/simplelink_api/html/struct___wlan_profile_del_get_command__t.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _WlanProfileDelGetCommand_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_WlanProfileDelGetCommand_t Struct Reference
-
-
- - - - -

-Data Fields

-UINT8 index
-UINT8 padding [3]
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___wlan_rx_filter_add_command__t.html b/docs/simplelink_api/html/struct___wlan_rx_filter_add_command__t.html deleted file mode 100644 index 27e84a6..0000000 --- a/docs/simplelink_api/html/struct___wlan_rx_filter_add_command__t.html +++ /dev/null @@ -1,172 +0,0 @@ - - - - -SimpleLink Host Driver: _WlanRxFilterAddCommand_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_WlanRxFilterAddCommand_t Struct Reference
-
-
- - - - - - - - - -

-Data Fields

-SlrxFilterRuleType_t RuleType
-SlrxFilterFlags_t FilterFlags
-SlrxFilterID_t FilterId
-UINT8 Padding
-SlrxFilterRule_t Rule
-SlrxFilterTrigger_t Trigger
-SlrxFilterAction_t Action
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___wlan_rx_filter_get_command__t.html b/docs/simplelink_api/html/struct___wlan_rx_filter_get_command__t.html deleted file mode 100644 index 6b9dab2..0000000 --- a/docs/simplelink_api/html/struct___wlan_rx_filter_get_command__t.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - -SimpleLink Host Driver: _WlanRxFilterGetCommand_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_WlanRxFilterGetCommand_t Struct Reference
-
-
- - - - - -

-Data Fields

-UINT16 OutputBufferLength
-SLrxFilterOperation_t RxFilterOperation
-unsigned char Padding [1]
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___wlan_rx_filter_get_command_reponse__t.html b/docs/simplelink_api/html/struct___wlan_rx_filter_get_command_reponse__t.html deleted file mode 100644 index d86404a..0000000 --- a/docs/simplelink_api/html/struct___wlan_rx_filter_get_command_reponse__t.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - -SimpleLink Host Driver: _WlanRxFilterGetCommandReponse_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_WlanRxFilterGetCommandReponse_t Struct Reference
-
-
- - - - - -

-Data Fields

-UINT8 Status
-unsigned char Padding
-UINT16 OutputBufferLength
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___wlan_rx_filter_operation_command_buff__t.html b/docs/simplelink_api/html/struct___wlan_rx_filter_operation_command_buff__t.html index 7d15eab..507256e 100644 --- a/docs/simplelink_api/html/struct___wlan_rx_filter_operation_command_buff__t.html +++ b/docs/simplelink_api/html/struct___wlan_rx_filter_operation_command_buff__t.html @@ -1,146 +1,145 @@ - - - - - - -CC32XX SimpleLink Host Driver: _WlanRxFilterOperationCommandBuff_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
_WlanRxFilterOperationCommandBuff_t Struct Reference
-
-
- -

#include <wlan_rx_filters.h>

- - - - - - -

-Data Fields

-SlrxFilterIdMask_t FilterIdMask
 
-_u8 Padding [4]
 
-

Detailed Description

-

The structure is used for the interface HOST NWP.
-The supported operation :
- ::ENABLE_DISABLE_RX_FILTER,
- ::REMOVE_RX_FILTER,
-

-

The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: _WlanRxFilterOperationCommandBuff_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
_WlanRxFilterOperationCommandBuff_t Struct Reference
+
+
+ +

#include <wlan_rx_filters.h>

+ + + + + + +

+Data Fields

+SlrxFilterIdMask_t FilterIdMask
 
+_u8 Padding [4]
 
+

Detailed Description

+

The structure is used for the interface HOST NWP.
+ The supported operation :
+ ::ENABLE_DISABLE_RX_FILTER,
+ ::REMOVE_RX_FILTER,
+

+

The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct___wlan_rx_filter_operation_command_buff__t.js b/docs/simplelink_api/html/struct___wlan_rx_filter_operation_command_buff__t.js index 501a359..05f138d 100644 --- a/docs/simplelink_api/html/struct___wlan_rx_filter_operation_command_buff__t.js +++ b/docs/simplelink_api/html/struct___wlan_rx_filter_operation_command_buff__t.js @@ -1,5 +1,5 @@ -var struct___wlan_rx_filter_operation_command_buff__t = -[ - [ "FilterIdMask", "struct___wlan_rx_filter_operation_command_buff__t.html#a1eef0241be0cb0a36a86bf455f7831a8", null ], - [ "Padding", "struct___wlan_rx_filter_operation_command_buff__t.html#a0fd0bcceb96f701e100777c638b3d92e", null ] +var struct___wlan_rx_filter_operation_command_buff__t = +[ + [ "FilterIdMask", "struct___wlan_rx_filter_operation_command_buff__t.html#a1eef0241be0cb0a36a86bf455f7831a8", null ], + [ "Padding", "struct___wlan_rx_filter_operation_command_buff__t.html#a0fd0bcceb96f701e100777c638b3d92e", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct___wlan_rx_filter_pre_prepared_filters_command_buff__t.html b/docs/simplelink_api/html/struct___wlan_rx_filter_pre_prepared_filters_command_buff__t.html index 6832b52..ef294e2 100644 --- a/docs/simplelink_api/html/struct___wlan_rx_filter_pre_prepared_filters_command_buff__t.html +++ b/docs/simplelink_api/html/struct___wlan_rx_filter_pre_prepared_filters_command_buff__t.html @@ -1,139 +1,138 @@ - - - - - - -CC32XX SimpleLink Host Driver: _WlanRxFilterPrePreparedFiltersCommandBuff_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
_WlanRxFilterPrePreparedFiltersCommandBuff_t Struct Reference
-
-
- -

#include <wlan_rx_filters.h>

- - - - -

-Data Fields

-SlrxFilterPrePreparedFiltersMask_t FilterPrePreparedFiltersMask
 
-

Detailed Description

-

The function enables to perform operations on pre-prepared filters

-

The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: _WlanRxFilterPrePreparedFiltersCommandBuff_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
_WlanRxFilterPrePreparedFiltersCommandBuff_t Struct Reference
+
+
+ +

#include <wlan_rx_filters.h>

+ + + + +

+Data Fields

+SlrxFilterPrePreparedFiltersMask_t FilterPrePreparedFiltersMask
 
+

Detailed Description

+

The function enables to perform operations on pre-prepared filters

+

The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct___wlan_rx_filter_pre_prepared_filters_command_buff__t.js b/docs/simplelink_api/html/struct___wlan_rx_filter_pre_prepared_filters_command_buff__t.js index 8653ebf..587fdf1 100644 --- a/docs/simplelink_api/html/struct___wlan_rx_filter_pre_prepared_filters_command_buff__t.js +++ b/docs/simplelink_api/html/struct___wlan_rx_filter_pre_prepared_filters_command_buff__t.js @@ -1,4 +1,4 @@ -var struct___wlan_rx_filter_pre_prepared_filters_command_buff__t = -[ - [ "FilterPrePreparedFiltersMask", "struct___wlan_rx_filter_pre_prepared_filters_command_buff__t.html#a99976729d13a30d41b5e1bae56bdf259", null ] +var struct___wlan_rx_filter_pre_prepared_filters_command_buff__t = +[ + [ "FilterPrePreparedFiltersMask", "struct___wlan_rx_filter_pre_prepared_filters_command_buff__t.html#a99976729d13a30d41b5e1bae56bdf259", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct___wlan_rx_filter_pre_prepared_filters_command_response_buff__t.html b/docs/simplelink_api/html/struct___wlan_rx_filter_pre_prepared_filters_command_response_buff__t.html index 7a24053..ab2e8e1 100644 --- a/docs/simplelink_api/html/struct___wlan_rx_filter_pre_prepared_filters_command_response_buff__t.html +++ b/docs/simplelink_api/html/struct___wlan_rx_filter_pre_prepared_filters_command_response_buff__t.html @@ -1,135 +1,134 @@ - - - - - - -CC32XX SimpleLink Host Driver: _WlanRxFilterPrePreparedFiltersCommandResponseBuff_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
_WlanRxFilterPrePreparedFiltersCommandResponseBuff_t Struct Reference
-
-
- - - - -

-Data Fields

-SlrxFilterPrePreparedFiltersMask_t FilterPrePreparedFiltersMask
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: _WlanRxFilterPrePreparedFiltersCommandResponseBuff_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
_WlanRxFilterPrePreparedFiltersCommandResponseBuff_t Struct Reference
+
+
+ + + + +

+Data Fields

+SlrxFilterPrePreparedFiltersMask_t FilterPrePreparedFiltersMask
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct___wlan_rx_filter_pre_prepared_filters_command_response_buff__t.js b/docs/simplelink_api/html/struct___wlan_rx_filter_pre_prepared_filters_command_response_buff__t.js index c24b76e..09caae6 100644 --- a/docs/simplelink_api/html/struct___wlan_rx_filter_pre_prepared_filters_command_response_buff__t.js +++ b/docs/simplelink_api/html/struct___wlan_rx_filter_pre_prepared_filters_command_response_buff__t.js @@ -1,4 +1,4 @@ -var struct___wlan_rx_filter_pre_prepared_filters_command_response_buff__t = -[ - [ "FilterPrePreparedFiltersMask", "struct___wlan_rx_filter_pre_prepared_filters_command_response_buff__t.html#a99976729d13a30d41b5e1bae56bdf259", null ] +var struct___wlan_rx_filter_pre_prepared_filters_command_response_buff__t = +[ + [ "FilterPrePreparedFiltersMask", "struct___wlan_rx_filter_pre_prepared_filters_command_response_buff__t.html#a99976729d13a30d41b5e1bae56bdf259", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct___wlan_rx_filter_retrieve_enable_status_command_response_buff__t.html b/docs/simplelink_api/html/struct___wlan_rx_filter_retrieve_enable_status_command_response_buff__t.html index c81a1a3..35c3859 100644 --- a/docs/simplelink_api/html/struct___wlan_rx_filter_retrieve_enable_status_command_response_buff__t.html +++ b/docs/simplelink_api/html/struct___wlan_rx_filter_retrieve_enable_status_command_response_buff__t.html @@ -1,135 +1,134 @@ - - - - - - -CC32XX SimpleLink Host Driver: _WlanRxFilterRetrieveEnableStatusCommandResponseBuff_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
_WlanRxFilterRetrieveEnableStatusCommandResponseBuff_t Struct Reference
-
-
- - - - -

-Data Fields

-SlrxFilterIdMask_t FilterIdMask
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: _WlanRxFilterRetrieveEnableStatusCommandResponseBuff_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
_WlanRxFilterRetrieveEnableStatusCommandResponseBuff_t Struct Reference
+
+
+ + + + +

+Data Fields

+SlrxFilterIdMask_t FilterIdMask
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct___wlan_rx_filter_retrieve_enable_status_command_response_buff__t.js b/docs/simplelink_api/html/struct___wlan_rx_filter_retrieve_enable_status_command_response_buff__t.js index 54f12e3..0e1a1c4 100644 --- a/docs/simplelink_api/html/struct___wlan_rx_filter_retrieve_enable_status_command_response_buff__t.js +++ b/docs/simplelink_api/html/struct___wlan_rx_filter_retrieve_enable_status_command_response_buff__t.js @@ -1,4 +1,4 @@ -var struct___wlan_rx_filter_retrieve_enable_status_command_response_buff__t = -[ - [ "FilterIdMask", "struct___wlan_rx_filter_retrieve_enable_status_command_response_buff__t.html#a1eef0241be0cb0a36a86bf455f7831a8", null ] +var struct___wlan_rx_filter_retrieve_enable_status_command_response_buff__t = +[ + [ "FilterIdMask", "struct___wlan_rx_filter_retrieve_enable_status_command_response_buff__t.html#a1eef0241be0cb0a36a86bf455f7831a8", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct___wlan_rx_filter_set_command__t.html b/docs/simplelink_api/html/struct___wlan_rx_filter_set_command__t.html deleted file mode 100644 index ea9a553..0000000 --- a/docs/simplelink_api/html/struct___wlan_rx_filter_set_command__t.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - -SimpleLink Host Driver: _WlanRxFilterSetCommand_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_WlanRxFilterSetCommand_t Struct Reference
-
-
- - - - - -

-Data Fields

-UINT16 InputBufferLength
-SLrxFilterOperation_t RxFilterOperation
-unsigned char Padding [1]
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___wlan_rx_filter_set_command_reponse__t.html b/docs/simplelink_api/html/struct___wlan_rx_filter_set_command_reponse__t.html deleted file mode 100644 index 9fb8b75..0000000 --- a/docs/simplelink_api/html/struct___wlan_rx_filter_set_command_reponse__t.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _WlanRxFilterSetCommandReponse_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_WlanRxFilterSetCommandReponse_t Struct Reference
-
-
- - - - -

-Data Fields

-UINT8 Status
-unsigned char Padding [3]
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___wlan_rx_filter_update_args_command_buff__t.html b/docs/simplelink_api/html/struct___wlan_rx_filter_update_args_command_buff__t.html index 66d8e8c..1dc39db 100644 --- a/docs/simplelink_api/html/struct___wlan_rx_filter_update_args_command_buff__t.html +++ b/docs/simplelink_api/html/struct___wlan_rx_filter_update_args_command_buff__t.html @@ -1,144 +1,143 @@ - - - - - - -CC32XX SimpleLink Host Driver: _WlanRxFilterUpdateArgsCommandBuff_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
_WlanRxFilterUpdateArgsCommandBuff_t Struct Reference
-
-
- - - - - - - - - - -

-Data Fields

-_u8 FilterId
 
-_u8 BinaryRepresentation
 
-SlrxFilterRuleHeaderArgsAndMask_t FilterRuleHeaderArgsAndMask
 
-_u8 Padding [2]
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: _WlanRxFilterUpdateArgsCommandBuff_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
_WlanRxFilterUpdateArgsCommandBuff_t Struct Reference
+
+
+ + + + + + + + + + +

+Data Fields

+_u8 FilterId
 
+_u8 BinaryRepresentation
 
+SlrxFilterRuleHeaderArgsAndMask_t FilterRuleHeaderArgsAndMask
 
+_u8 Padding [2]
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct___wlan_rx_filter_update_args_command_buff__t.js b/docs/simplelink_api/html/struct___wlan_rx_filter_update_args_command_buff__t.js index 081c7a8..67d81c4 100644 --- a/docs/simplelink_api/html/struct___wlan_rx_filter_update_args_command_buff__t.js +++ b/docs/simplelink_api/html/struct___wlan_rx_filter_update_args_command_buff__t.js @@ -1,7 +1,7 @@ -var struct___wlan_rx_filter_update_args_command_buff__t = -[ - [ "BinaryRepresentation", "struct___wlan_rx_filter_update_args_command_buff__t.html#ae3682ba56f6d59761126f6b26b2cc243", null ], - [ "FilterId", "struct___wlan_rx_filter_update_args_command_buff__t.html#a4b1699c0a6c09f3c62ebd985380cf166", null ], - [ "FilterRuleHeaderArgsAndMask", "struct___wlan_rx_filter_update_args_command_buff__t.html#add6818ee6f7084d693b35651574a0fd4", null ], - [ "Padding", "struct___wlan_rx_filter_update_args_command_buff__t.html#a7b31ced7e468b57e02cd3b78db2cbef5", null ] +var struct___wlan_rx_filter_update_args_command_buff__t = +[ + [ "BinaryRepresentation", "struct___wlan_rx_filter_update_args_command_buff__t.html#ae3682ba56f6d59761126f6b26b2cc243", null ], + [ "FilterId", "struct___wlan_rx_filter_update_args_command_buff__t.html#a4b1699c0a6c09f3c62ebd985380cf166", null ], + [ "FilterRuleHeaderArgsAndMask", "struct___wlan_rx_filter_update_args_command_buff__t.html#add6818ee6f7084d693b35651574a0fd4", null ], + [ "Padding", "struct___wlan_rx_filter_update_args_command_buff__t.html#a7b31ced7e468b57e02cd3b78db2cbef5", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct___wlan_scan_param_set_command__t.html b/docs/simplelink_api/html/struct___wlan_scan_param_set_command__t.html deleted file mode 100644 index f61c69b..0000000 --- a/docs/simplelink_api/html/struct___wlan_scan_param_set_command__t.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - -SimpleLink Host Driver: _WlanScanParamSetCommand_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_WlanScanParamSetCommand_t Struct Reference
-
-
- - - - - - - - - - -

-Data Fields

-UINT32 minDwellTime
-UINT32 maxDwellTime
-UINT32 numProbeResponse
-UINT32 G_Channels_mask
-INT32 rssiThershold
-INT32 snrThershold
-INT32 defaultTXPower
-UINT16 intervalList [16]
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___wlan_set_mode__t.html b/docs/simplelink_api/html/struct___wlan_set_mode__t.html deleted file mode 100644 index 1f60acc..0000000 --- a/docs/simplelink_api/html/struct___wlan_set_mode__t.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _WlanSetMode_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_WlanSetMode_t Struct Reference
-
-
- - - - -

-Data Fields

-UINT8 mode
-UINT8 padding [3]
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct___wlan_smart_config_start_command__t.html b/docs/simplelink_api/html/struct___wlan_smart_config_start_command__t.html deleted file mode 100644 index 312c8e2..0000000 --- a/docs/simplelink_api/html/struct___wlan_smart_config_start_command__t.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - -SimpleLink Host Driver: _WlanSmartConfigStartCommand_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_WlanSmartConfigStartCommand_t Struct Reference
-
-
- - - - - - - -

-Data Fields

-UINT32 groupIdBitmask
-UINT8 cipher
-UINT8 publicKeyLen
-UINT8 group1KeyLen
-UINT8 group2KeyLen
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct__get_sock_opt_command__t.html b/docs/simplelink_api/html/struct__get_sock_opt_command__t.html deleted file mode 100644 index d576496..0000000 --- a/docs/simplelink_api/html/struct__get_sock_opt_command__t.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - -SimpleLink Host Driver: _getSockOptCommand_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_getSockOptCommand_t Struct Reference
-
-
- - - - - - -

-Data Fields

-UINT8 sd
-UINT8 level
-UINT8 optionName
-UINT8 optionLen
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct__get_sock_opt_response__t.html b/docs/simplelink_api/html/struct__get_sock_opt_response__t.html deleted file mode 100644 index fc4cdfb..0000000 --- a/docs/simplelink_api/html/struct__get_sock_opt_response__t.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - -SimpleLink Host Driver: _getSockOptResponse_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_getSockOptResponse_t Struct Reference
-
-
- - - - - -

-Data Fields

-INT16 status
-UINT8 sd
-UINT8 optionLen
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct__send_recv_command__t.html b/docs/simplelink_api/html/struct__send_recv_command__t.html deleted file mode 100644 index d86b29c..0000000 --- a/docs/simplelink_api/html/struct__send_recv_command__t.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - -SimpleLink Host Driver: _sendRecvCommand_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_sendRecvCommand_t Struct Reference
-
-
- - - - - -

-Data Fields

-UINT16 StatusOrLen
-UINT8 sd
-UINT8 FamilyAndFlags
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct__set_sock_opt_command__t.html b/docs/simplelink_api/html/struct__set_sock_opt_command__t.html deleted file mode 100644 index 0d299fe..0000000 --- a/docs/simplelink_api/html/struct__set_sock_opt_command__t.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - -SimpleLink Host Driver: _setSockOptCommand_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_setSockOptCommand_t Struct Reference
-
-
- - - - - - -

-Data Fields

-UINT8 sd
-UINT8 level
-UINT8 optionName
-UINT8 optionLen
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct__sl___net_app_http_server_get_token__t.html b/docs/simplelink_api/html/struct__sl___net_app_http_server_get_token__t.html deleted file mode 100644 index 0aae213..0000000 --- a/docs/simplelink_api/html/struct__sl___net_app_http_server_get_token__t.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - -SimpleLink Host Driver: _sl_NetAppHttpServerGetToken_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_sl_NetAppHttpServerGetToken_t Struct Reference
-
-
- - - - - -

-Data Fields

-UINT8 token_name_len
-UINT8 padd1
-UINT16 padd2
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct__sl___net_app_http_server_post_token__t.html b/docs/simplelink_api/html/struct__sl___net_app_http_server_post_token__t.html deleted file mode 100644 index 076e63e..0000000 --- a/docs/simplelink_api/html/struct__sl___net_app_http_server_post_token__t.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - -SimpleLink Host Driver: _sl_NetAppHttpServerPostToken_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_sl_NetAppHttpServerPostToken_t Struct Reference
-
-
- - - - - - -

-Data Fields

-UINT8 post_action_len
-UINT8 token_name_len
-UINT8 token_value_len
-UINT8 padding
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct__sl___net_app_http_server_send_token__t.html b/docs/simplelink_api/html/struct__sl___net_app_http_server_send_token__t.html deleted file mode 100644 index 6dbf848..0000000 --- a/docs/simplelink_api/html/struct__sl___net_app_http_server_send_token__t.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - -SimpleLink Host Driver: _sl_NetAppHttpServerSendToken_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_sl_NetAppHttpServerSendToken_t Struct Reference
-
-
- - - - - - -

-Data Fields

-UINT8 token_value_len
-UINT8 token_name_len
-UINT8 token_name [MAX_TOKEN_NAME_LEN]
-UINT16 padd
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct__sl__protocol___ctest_start_command__t.html b/docs/simplelink_api/html/struct__sl__protocol___ctest_start_command__t.html deleted file mode 100644 index 40a4413..0000000 --- a/docs/simplelink_api/html/struct__sl__protocol___ctest_start_command__t.html +++ /dev/null @@ -1,178 +0,0 @@ - - - - -SimpleLink Host Driver: _sl_protocol_CtestStartCommand_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_sl_protocol_CtestStartCommand_t Struct Reference
-
-
- - - - - - - - - - - - -

-Data Fields

-UINT32 Test
-UINT16 DestPort
-UINT16 SrcPort
-UINT32 DestAddr [4]
-UINT32 PayloadSize
-UINT32 timeout
-UINT32 csEnabled
-UINT32 secure
-UINT32 rawProtocol
-UINT8 reserved1 [4]
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct__sl_http_server_data__t.html b/docs/simplelink_api/html/struct__sl_http_server_data__t.html index c2df12d..fc89656 100644 --- a/docs/simplelink_api/html/struct__sl_http_server_data__t.html +++ b/docs/simplelink_api/html/struct__sl_http_server_data__t.html @@ -1,144 +1,143 @@ - - - - - - -CC32XX SimpleLink Host Driver: _slHttpServerData_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
_slHttpServerData_t Struct Reference
-
-
- - - - - - - - - - -

-Data Fields

-_u8 value_len
 
-_u8 name_len
 
-_u8 * token_value
 
-_u8 * token_name
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: _slHttpServerData_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
_slHttpServerData_t Struct Reference
+
+
+ + + + + + + + + + +

+Data Fields

+_u8 value_len
 
+_u8 name_len
 
+_u8 * token_value
 
+_u8 * token_name
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct__sl_http_server_data__t.js b/docs/simplelink_api/html/struct__sl_http_server_data__t.js index 8ebfffa..04e8335 100644 --- a/docs/simplelink_api/html/struct__sl_http_server_data__t.js +++ b/docs/simplelink_api/html/struct__sl_http_server_data__t.js @@ -1,7 +1,7 @@ -var struct__sl_http_server_data__t = -[ - [ "name_len", "struct__sl_http_server_data__t.html#a295865b2d6f6091bc35d8de6e8cae731", null ], - [ "token_name", "struct__sl_http_server_data__t.html#adff3bc96f451530f4776b011f36a3c2a", null ], - [ "token_value", "struct__sl_http_server_data__t.html#a2283b20c750664ec3b4301cb8e64f198", null ], - [ "value_len", "struct__sl_http_server_data__t.html#ae6d3f66fb64a31cc12909a1ec028387b", null ] +var struct__sl_http_server_data__t = +[ + [ "name_len", "struct__sl_http_server_data__t.html#a295865b2d6f6091bc35d8de6e8cae731", null ], + [ "token_name", "struct__sl_http_server_data__t.html#adff3bc96f451530f4776b011f36a3c2a", null ], + [ "token_value", "struct__sl_http_server_data__t.html#a2283b20c750664ec3b4301cb8e64f198", null ], + [ "value_len", "struct__sl_http_server_data__t.html#ae6d3f66fb64a31cc12909a1ec028387b", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct__sl_http_server_post_data__t.html b/docs/simplelink_api/html/struct__sl_http_server_post_data__t.html index 2ebdddb..7f112c2 100644 --- a/docs/simplelink_api/html/struct__sl_http_server_post_data__t.html +++ b/docs/simplelink_api/html/struct__sl_http_server_post_data__t.html @@ -1,141 +1,140 @@ - - - - - - -CC32XX SimpleLink Host Driver: _slHttpServerPostData_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
_slHttpServerPostData_t Struct Reference
-
-
- - - - - - - - -

-Data Fields

-slHttpServerString_t action
 
-slHttpServerString_t token_name
 
-slHttpServerString_t token_value
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: _slHttpServerPostData_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
_slHttpServerPostData_t Struct Reference
+
+
+ + + + + + + + +

+Data Fields

+slHttpServerString_t action
 
+slHttpServerString_t token_name
 
+slHttpServerString_t token_value
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct__sl_http_server_post_data__t.js b/docs/simplelink_api/html/struct__sl_http_server_post_data__t.js index ebe62e3..c330d4b 100644 --- a/docs/simplelink_api/html/struct__sl_http_server_post_data__t.js +++ b/docs/simplelink_api/html/struct__sl_http_server_post_data__t.js @@ -1,6 +1,6 @@ -var struct__sl_http_server_post_data__t = -[ - [ "action", "struct__sl_http_server_post_data__t.html#a76122764e78b080056125b9ef28ada7b", null ], - [ "token_name", "struct__sl_http_server_post_data__t.html#ac32e60a343288e97e368ae665adf7442", null ], - [ "token_value", "struct__sl_http_server_post_data__t.html#ac17cbf485a7c72aa811cfda94d8649c6", null ] +var struct__sl_http_server_post_data__t = +[ + [ "action", "struct__sl_http_server_post_data__t.html#a76122764e78b080056125b9ef28ada7b", null ], + [ "token_name", "struct__sl_http_server_post_data__t.html#ac32e60a343288e97e368ae665adf7442", null ], + [ "token_value", "struct__sl_http_server_post_data__t.html#ac17cbf485a7c72aa811cfda94d8649c6", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct__sl_http_server_string__t.html b/docs/simplelink_api/html/struct__sl_http_server_string__t.html index bd3cecf..bf8e9d5 100644 --- a/docs/simplelink_api/html/struct__sl_http_server_string__t.html +++ b/docs/simplelink_api/html/struct__sl_http_server_string__t.html @@ -1,138 +1,137 @@ - - - - - - -CC32XX SimpleLink Host Driver: _slHttpServerString_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
_slHttpServerString_t Struct Reference
-
-
- - - - - - -

-Data Fields

-_u8 len
 
-_u8 * data
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: _slHttpServerString_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
_slHttpServerString_t Struct Reference
+
+
+ + + + + + +

+Data Fields

+_u8 len
 
+_u8 * data
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct__sl_http_server_string__t.js b/docs/simplelink_api/html/struct__sl_http_server_string__t.js index 9bd50ac..b61b71e 100644 --- a/docs/simplelink_api/html/struct__sl_http_server_string__t.js +++ b/docs/simplelink_api/html/struct__sl_http_server_string__t.js @@ -1,5 +1,5 @@ -var struct__sl_http_server_string__t = -[ - [ "data", "struct__sl_http_server_string__t.html#ae2f1a2294cac364e7901e04f5821ede8", null ], - [ "len", "struct__sl_http_server_string__t.html#acc9fcad2930f408ce8147134702a4ff3", null ] +var struct__sl_http_server_string__t = +[ + [ "data", "struct__sl_http_server_string__t.html#ae2f1a2294cac364e7901e04f5821ede8", null ], + [ "len", "struct__sl_http_server_string__t.html#acc9fcad2930f408ce8147134702a4ff3", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_async_ext__t.html b/docs/simplelink_api/html/struct_async_ext__t.html deleted file mode 100644 index f9e03ed..0000000 --- a/docs/simplelink_api/html/struct_async_ext__t.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - -SimpleLink Host Driver: AsyncExt_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
AsyncExt_t Struct Reference
-
-
- - - - - - -

-Data Fields

-UINT8 * pAsyncBuf
-UINT8 ActionIndex
-_SlSpawnEntryFunc_t AsyncEvtHandler
-_SlRxMsgClass_e RxMsgClass
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct_init_complete__t.html b/docs/simplelink_api/html/struct_init_complete__t.html deleted file mode 100644 index ee89b7c..0000000 --- a/docs/simplelink_api/html/struct_init_complete__t.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - -SimpleLink Host Driver: InitComplete_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
InitComplete_t Struct Reference
-
-
- - - -

-Data Fields

-INT32 Status
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct_netapp_get_service_list_c_m_d__t.html b/docs/simplelink_api/html/struct_netapp_get_service_list_c_m_d__t.html deleted file mode 100644 index 2f06cc8..0000000 --- a/docs/simplelink_api/html/struct_netapp_get_service_list_c_m_d__t.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - -SimpleLink Host Driver: NetappGetServiceListCMD_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
NetappGetServiceListCMD_t Struct Reference
-
-
- - - - - - -

-Data Fields

-unsigned char IndexOffest
-unsigned char MaxServiceCount
-unsigned char Flags
-char Padding
-
The documentation for this struct was generated from the following file:
    -
  • netapp.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct_netapp_mdns_set_service__t.html b/docs/simplelink_api/html/struct_netapp_mdns_set_service__t.html deleted file mode 100644 index 2ddb9cc..0000000 --- a/docs/simplelink_api/html/struct_netapp_mdns_set_service__t.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - -SimpleLink Host Driver: NetappMdnsSetService_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
NetappMdnsSetService_t Struct Reference
-
-
- - - - - - - -

-Data Fields

-unsigned char ServiceNameLen
-unsigned char TextLen
-unsigned short Port
-unsigned long TTL
-unsigned long Options
-
The documentation for this struct was generated from the following file:
    -
  • netapp.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/struct_sl___wlan_network_entry__t.html b/docs/simplelink_api/html/struct_sl___wlan_network_entry__t.html index 5409cf6..50a1308 100644 --- a/docs/simplelink_api/html/struct_sl___wlan_network_entry__t.html +++ b/docs/simplelink_api/html/struct_sl___wlan_network_entry__t.html @@ -1,150 +1,149 @@ - - - - - - -CC32XX SimpleLink Host Driver: Sl_WlanNetworkEntry_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
Sl_WlanNetworkEntry_t Struct Reference
-
-
- - - - - - - - - - - - - - -

-Data Fields

-_u8 ssid [MAXIMAL_SSID_LENGTH]
 
-_u8 ssid_len
 
-_u8 sec_type
 
-_u8 bssid [SL_BSSID_LENGTH]
 
-_i8 rssi
 
-_i8 reserved [3]
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: Sl_WlanNetworkEntry_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
Sl_WlanNetworkEntry_t Struct Reference
+
+
+ + + + + + + + + + + + + + +

+Data Fields

+_u8 ssid [MAXIMAL_SSID_LENGTH]
 
+_u8 ssid_len
 
+_u8 sec_type
 
+_u8 bssid [SL_BSSID_LENGTH]
 
+_i8 rssi
 
+_i8 reserved [3]
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl___wlan_network_entry__t.js b/docs/simplelink_api/html/struct_sl___wlan_network_entry__t.js index f92a59b..adb48d0 100644 --- a/docs/simplelink_api/html/struct_sl___wlan_network_entry__t.js +++ b/docs/simplelink_api/html/struct_sl___wlan_network_entry__t.js @@ -1,9 +1,9 @@ -var struct_sl___wlan_network_entry__t = -[ - [ "bssid", "struct_sl___wlan_network_entry__t.html#a1625b9ac8d0d51aa89df83295c9a5de2", null ], - [ "reserved", "struct_sl___wlan_network_entry__t.html#aa1d4d52e9a684f2a28c9c8b89573af18", null ], - [ "rssi", "struct_sl___wlan_network_entry__t.html#a80c3df13ed7cf0b1a5e5639811c82f34", null ], - [ "sec_type", "struct_sl___wlan_network_entry__t.html#af791c098aa0b08d0ee0126843b1fe855", null ], - [ "ssid", "struct_sl___wlan_network_entry__t.html#ad097bad1e9bb0c4e70de8748263b76da", null ], - [ "ssid_len", "struct_sl___wlan_network_entry__t.html#a2e45fb530d9c89d3673ea6e05f07844d", null ] +var struct_sl___wlan_network_entry__t = +[ + [ "bssid", "struct_sl___wlan_network_entry__t.html#a1625b9ac8d0d51aa89df83295c9a5de2", null ], + [ "reserved", "struct_sl___wlan_network_entry__t.html#aa1d4d52e9a684f2a28c9c8b89573af18", null ], + [ "rssi", "struct_sl___wlan_network_entry__t.html#a80c3df13ed7cf0b1a5e5639811c82f34", null ], + [ "sec_type", "struct_sl___wlan_network_entry__t.html#af791c098aa0b08d0ee0126843b1fe855", null ], + [ "ssid", "struct_sl___wlan_network_entry__t.html#ad097bad1e9bb0c4e70de8748263b76da", null ], + [ "ssid_len", "struct_sl___wlan_network_entry__t.html#a2e45fb530d9c89d3673ea6e05f07844d", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_date_time__t.html b/docs/simplelink_api/html/struct_sl_date_time__t.html index 3df25a5..52a3d81 100644 --- a/docs/simplelink_api/html/struct_sl_date_time__t.html +++ b/docs/simplelink_api/html/struct_sl_date_time__t.html @@ -1,159 +1,158 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlDateTime_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlDateTime_t Struct Reference
-
-
- - - - - - - - - - - - - - - - - - - - -

-Data Fields

-_u32 sl_tm_sec
 
-_u32 sl_tm_min
 
-_u32 sl_tm_hour
 
-_u32 sl_tm_day
 
-_u32 sl_tm_mon
 
-_u32 sl_tm_year
 
-_u32 sl_tm_week_day
 
-_u32 sl_tm_year_day
 
-_u32 reserved [3]
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlDateTime_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlDateTime_t Struct Reference
+
+
+ + + + + + + + + + + + + + + + + + + + +

+Data Fields

+_u32 sl_tm_sec
 
+_u32 sl_tm_min
 
+_u32 sl_tm_hour
 
+_u32 sl_tm_day
 
+_u32 sl_tm_mon
 
+_u32 sl_tm_year
 
+_u32 sl_tm_week_day
 
+_u32 sl_tm_year_day
 
+_u32 reserved [3]
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_date_time__t.js b/docs/simplelink_api/html/struct_sl_date_time__t.js index 6f464a2..53eecf0 100644 --- a/docs/simplelink_api/html/struct_sl_date_time__t.js +++ b/docs/simplelink_api/html/struct_sl_date_time__t.js @@ -1,12 +1,12 @@ -var struct_sl_date_time__t = -[ - [ "reserved", "struct_sl_date_time__t.html#a49f5795062d81178ce89f77d61448bee", null ], - [ "sl_tm_day", "struct_sl_date_time__t.html#af83ea24b23158f14e96ff93c5e8c0896", null ], - [ "sl_tm_hour", "struct_sl_date_time__t.html#a92f8e6dd9aa31ef8fb286c5c2c0c34b9", null ], - [ "sl_tm_min", "struct_sl_date_time__t.html#ac9111faf20f5af837320742ad9654226", null ], - [ "sl_tm_mon", "struct_sl_date_time__t.html#aa898a97b5759e5020905a464619003d1", null ], - [ "sl_tm_sec", "struct_sl_date_time__t.html#a000a13e33ea38c8e0bb5541f3723126d", null ], - [ "sl_tm_week_day", "struct_sl_date_time__t.html#a5171f9a27af9cba0e6ef95d9af2eed07", null ], - [ "sl_tm_year", "struct_sl_date_time__t.html#ac214aa05234cf1c38cbc1e464997c25e", null ], - [ "sl_tm_year_day", "struct_sl_date_time__t.html#a041e83bc571abb3b79165cbf6bea74a1", null ] +var struct_sl_date_time__t = +[ + [ "reserved", "struct_sl_date_time__t.html#a49f5795062d81178ce89f77d61448bee", null ], + [ "sl_tm_day", "struct_sl_date_time__t.html#af83ea24b23158f14e96ff93c5e8c0896", null ], + [ "sl_tm_hour", "struct_sl_date_time__t.html#a92f8e6dd9aa31ef8fb286c5c2c0c34b9", null ], + [ "sl_tm_min", "struct_sl_date_time__t.html#ac9111faf20f5af837320742ad9654226", null ], + [ "sl_tm_mon", "struct_sl_date_time__t.html#aa898a97b5759e5020905a464619003d1", null ], + [ "sl_tm_sec", "struct_sl_date_time__t.html#a000a13e33ea38c8e0bb5541f3723126d", null ], + [ "sl_tm_week_day", "struct_sl_date_time__t.html#a5171f9a27af9cba0e6ef95d9af2eed07", null ], + [ "sl_tm_year", "struct_sl_date_time__t.html#ac214aa05234cf1c38cbc1e464997c25e", null ], + [ "sl_tm_year_day", "struct_sl_date_time__t.html#a041e83bc571abb3b79165cbf6bea74a1", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_device_event__t.html b/docs/simplelink_api/html/struct_sl_device_event__t.html index a8be0e6..a5ec923 100644 --- a/docs/simplelink_api/html/struct_sl_device_event__t.html +++ b/docs/simplelink_api/html/struct_sl_device_event__t.html @@ -1,138 +1,137 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlDeviceEvent_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlDeviceEvent_t Struct Reference
-
-
- - - - - - -

-Data Fields

-_u32 Event
 
-_SlDeviceEventData_u EventData
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlDeviceEvent_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlDeviceEvent_t Struct Reference
+
+
+ + + + + + +

+Data Fields

+_u32 Event
 
+_SlDeviceEventData_u EventData
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_device_event__t.js b/docs/simplelink_api/html/struct_sl_device_event__t.js index ef3e0a8..1f7291c 100644 --- a/docs/simplelink_api/html/struct_sl_device_event__t.js +++ b/docs/simplelink_api/html/struct_sl_device_event__t.js @@ -1,5 +1,5 @@ -var struct_sl_device_event__t = -[ - [ "Event", "struct_sl_device_event__t.html#adeedbaaa252b969fc66e151eef37ea62", null ], - [ "EventData", "struct_sl_device_event__t.html#ad8c1d9df20f3a61d8c0f1b7aba495af7", null ] +var struct_sl_device_event__t = +[ + [ "Event", "struct_sl_device_event__t.html#adeedbaaa252b969fc66e151eef37ea62", null ], + [ "EventData", "struct_sl_device_event__t.html#ad8c1d9df20f3a61d8c0f1b7aba495af7", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_fd_set__t.html b/docs/simplelink_api/html/struct_sl_fd_set__t.html index cfdb4be..8ad3095 100644 --- a/docs/simplelink_api/html/struct_sl_fd_set__t.html +++ b/docs/simplelink_api/html/struct_sl_fd_set__t.html @@ -1,135 +1,134 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlFdSet_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlFdSet_t Struct Reference
-
-
- - - - -

-Data Fields

-_u32 fd_array [(SL_FD_SETSIZE+31)/32]
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlFdSet_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlFdSet_t Struct Reference
+
+
+ + + + +

+Data Fields

+_u32 fd_array [(SL_FD_SETSIZE+31)/32]
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_fd_set__t.js b/docs/simplelink_api/html/struct_sl_fd_set__t.js index 550f675..2563e02 100644 --- a/docs/simplelink_api/html/struct_sl_fd_set__t.js +++ b/docs/simplelink_api/html/struct_sl_fd_set__t.js @@ -1,4 +1,4 @@ -var struct_sl_fd_set__t = -[ - [ "fd_array", "struct_sl_fd_set__t.html#a3071152bcd9c3ea1a88c38a026f96b1c", null ] +var struct_sl_fd_set__t = +[ + [ "fd_array", "struct_sl_fd_set__t.html#a3071152bcd9c3ea1a88c38a026f96b1c", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_fs_file_info__t.html b/docs/simplelink_api/html/struct_sl_fs_file_info__t.html index d63f3a6..0be4584 100644 --- a/docs/simplelink_api/html/struct_sl_fs_file_info__t.html +++ b/docs/simplelink_api/html/struct_sl_fs_file_info__t.html @@ -1,144 +1,143 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlFsFileInfo_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlFsFileInfo_t Struct Reference
-
-
- - - - - - - - - - -

-Data Fields

-_u16 flags
 
-_u32 FileLen
 
-_u32 AllocatedLen
 
-_u32 Token [4]
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlFsFileInfo_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlFsFileInfo_t Struct Reference
+
+
+ + + + + + + + + + +

+Data Fields

+_u16 flags
 
+_u32 FileLen
 
+_u32 AllocatedLen
 
+_u32 Token [4]
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_fs_file_info__t.js b/docs/simplelink_api/html/struct_sl_fs_file_info__t.js index 660abda..88dd2c5 100644 --- a/docs/simplelink_api/html/struct_sl_fs_file_info__t.js +++ b/docs/simplelink_api/html/struct_sl_fs_file_info__t.js @@ -1,7 +1,7 @@ -var struct_sl_fs_file_info__t = -[ - [ "AllocatedLen", "struct_sl_fs_file_info__t.html#a1888c786f5e31740d464bd7d88773e4b", null ], - [ "FileLen", "struct_sl_fs_file_info__t.html#a42e92a9d18f2642049165db21a2bfe82", null ], - [ "flags", "struct_sl_fs_file_info__t.html#ac19f310fccda9703415c584f0a7497f4", null ], - [ "Token", "struct_sl_fs_file_info__t.html#abdf1173d4d93434f8a910e0f84987463", null ] +var struct_sl_fs_file_info__t = +[ + [ "AllocatedLen", "struct_sl_fs_file_info__t.html#a1888c786f5e31740d464bd7d88773e4b", null ], + [ "FileLen", "struct_sl_fs_file_info__t.html#a42e92a9d18f2642049165db21a2bfe82", null ], + [ "flags", "struct_sl_fs_file_info__t.html#ac19f310fccda9703415c584f0a7497f4", null ], + [ "Token", "struct_sl_fs_file_info__t.html#abdf1173d4d93434f8a910e0f84987463", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_get_rx_stat_response__t.html b/docs/simplelink_api/html/struct_sl_get_rx_stat_response__t.html index 9710476..bcb4cc0 100644 --- a/docs/simplelink_api/html/struct_sl_get_rx_stat_response__t.html +++ b/docs/simplelink_api/html/struct_sl_get_rx_stat_response__t.html @@ -1,159 +1,158 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlGetRxStatResponse_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlGetRxStatResponse_t Struct Reference
-
-
- - - - - - - - - - - - - - - - - - - - -

-Data Fields

-_u32 ReceivedValidPacketsNumber
 
-_u32 ReceivedFcsErrorPacketsNumber
 
-_u32 ReceivedPlcpErrorPacketsNumber
 
-_i16 AvarageDataCtrlRssi
 
-_i16 AvarageMgMntRssi
 
-_u16 RateHistogram [NUM_OF_RATE_INDEXES]
 
-_u16 RssiHistogram [SIZE_OF_RSSI_HISTOGRAM]
 
-_u32 StartTimeStamp
 
-_u32 GetTimeStamp
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlGetRxStatResponse_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlGetRxStatResponse_t Struct Reference
+
+
+ + + + + + + + + + + + + + + + + + + + +

+Data Fields

+_u32 ReceivedValidPacketsNumber
 
+_u32 ReceivedFcsErrorPacketsNumber
 
+_u32 ReceivedAddressMismatchPacketsNumber
 
+_i16 AvarageDataCtrlRssi
 
+_i16 AvarageMgMntRssi
 
+_u16 RateHistogram [NUM_OF_RATE_INDEXES]
 
+_u16 RssiHistogram [SIZE_OF_RSSI_HISTOGRAM]
 
+_u32 StartTimeStamp
 
+_u32 GetTimeStamp
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_get_rx_stat_response__t.js b/docs/simplelink_api/html/struct_sl_get_rx_stat_response__t.js index 311245e..49d9ecd 100644 --- a/docs/simplelink_api/html/struct_sl_get_rx_stat_response__t.js +++ b/docs/simplelink_api/html/struct_sl_get_rx_stat_response__t.js @@ -1,12 +1,12 @@ -var struct_sl_get_rx_stat_response__t = -[ - [ "AvarageDataCtrlRssi", "struct_sl_get_rx_stat_response__t.html#af3660978617c803a996f041215004a50", null ], - [ "AvarageMgMntRssi", "struct_sl_get_rx_stat_response__t.html#a2050deb55011de7a472c8d5bcd6099f7", null ], - [ "GetTimeStamp", "struct_sl_get_rx_stat_response__t.html#a85c0324d0b3de70a327e185173309a5c", null ], - [ "RateHistogram", "struct_sl_get_rx_stat_response__t.html#ad18c6011a86553bd786ffae0f7b87538", null ], - [ "ReceivedFcsErrorPacketsNumber", "struct_sl_get_rx_stat_response__t.html#a6e06f9a2b719028a084d2fc2333cd309", null ], - [ "ReceivedPlcpErrorPacketsNumber", "struct_sl_get_rx_stat_response__t.html#ae0b83e8cbdae8b17ae333f5684bd5708", null ], - [ "ReceivedValidPacketsNumber", "struct_sl_get_rx_stat_response__t.html#a0b84e628b2501fbf4a814b2f678a63ef", null ], - [ "RssiHistogram", "struct_sl_get_rx_stat_response__t.html#a11b977458ccb1ceade91d3f2ae733307", null ], - [ "StartTimeStamp", "struct_sl_get_rx_stat_response__t.html#ac40e3ad339a01bee80c412d99eb1a128", null ] +var struct_sl_get_rx_stat_response__t = +[ + [ "AvarageDataCtrlRssi", "struct_sl_get_rx_stat_response__t.html#af3660978617c803a996f041215004a50", null ], + [ "AvarageMgMntRssi", "struct_sl_get_rx_stat_response__t.html#a2050deb55011de7a472c8d5bcd6099f7", null ], + [ "GetTimeStamp", "struct_sl_get_rx_stat_response__t.html#a85c0324d0b3de70a327e185173309a5c", null ], + [ "RateHistogram", "struct_sl_get_rx_stat_response__t.html#ad18c6011a86553bd786ffae0f7b87538", null ], + [ "ReceivedAddressMismatchPacketsNumber", "struct_sl_get_rx_stat_response__t.html#a006a7c484f312ebb8a96587d24cc0686", null ], + [ "ReceivedFcsErrorPacketsNumber", "struct_sl_get_rx_stat_response__t.html#a6e06f9a2b719028a084d2fc2333cd309", null ], + [ "ReceivedValidPacketsNumber", "struct_sl_get_rx_stat_response__t.html#a0b84e628b2501fbf4a814b2f678a63ef", null ], + [ "RssiHistogram", "struct_sl_get_rx_stat_response__t.html#a11b977458ccb1ceade91d3f2ae733307", null ], + [ "StartTimeStamp", "struct_sl_get_rx_stat_response__t.html#ac40e3ad339a01bee80c412d99eb1a128", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_get_sec_params_ext__t.html b/docs/simplelink_api/html/struct_sl_get_sec_params_ext__t.html index 46b48b3..d61e295 100644 --- a/docs/simplelink_api/html/struct_sl_get_sec_params_ext__t.html +++ b/docs/simplelink_api/html/struct_sl_get_sec_params_ext__t.html @@ -1,150 +1,149 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlGetSecParamsExt_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlGetSecParamsExt_t Struct Reference
-
-
- - - - - - - - - - - - - - -

-Data Fields

-_i8 User [32]
 
-_u8 UserLen
 
-_i8 AnonUser [32]
 
-_u8 AnonUserLen
 
-_u8 CertIndex
 
-_u32 EapMethod
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlGetSecParamsExt_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlGetSecParamsExt_t Struct Reference
+
+
+ + + + + + + + + + + + + + +

+Data Fields

+_i8 User [32]
 
+_u8 UserLen
 
+_i8 AnonUser [32]
 
+_u8 AnonUserLen
 
+_u8 CertIndex
 
+_u32 EapMethod
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_get_sec_params_ext__t.js b/docs/simplelink_api/html/struct_sl_get_sec_params_ext__t.js index 4dfa18e..f84af4b 100644 --- a/docs/simplelink_api/html/struct_sl_get_sec_params_ext__t.js +++ b/docs/simplelink_api/html/struct_sl_get_sec_params_ext__t.js @@ -1,9 +1,9 @@ -var struct_sl_get_sec_params_ext__t = -[ - [ "AnonUser", "struct_sl_get_sec_params_ext__t.html#a402a97b0e8257ae2f2b928c7590d0b03", null ], - [ "AnonUserLen", "struct_sl_get_sec_params_ext__t.html#ac62b273b2e1b1c60eca7ef61a29b0aa5", null ], - [ "CertIndex", "struct_sl_get_sec_params_ext__t.html#a55a132bbb3126099cb8f12cb6d174876", null ], - [ "EapMethod", "struct_sl_get_sec_params_ext__t.html#a4f18f173d08eff5ae05fa940c60df4c0", null ], - [ "User", "struct_sl_get_sec_params_ext__t.html#ac3b3c772e1d98758cc674e2f6f0658d5", null ], - [ "UserLen", "struct_sl_get_sec_params_ext__t.html#a24af689142eda26860754c5e9c0f9e60", null ] +var struct_sl_get_sec_params_ext__t = +[ + [ "AnonUser", "struct_sl_get_sec_params_ext__t.html#a402a97b0e8257ae2f2b928c7590d0b03", null ], + [ "AnonUserLen", "struct_sl_get_sec_params_ext__t.html#ac62b273b2e1b1c60eca7ef61a29b0aa5", null ], + [ "CertIndex", "struct_sl_get_sec_params_ext__t.html#a55a132bbb3126099cb8f12cb6d174876", null ], + [ "EapMethod", "struct_sl_get_sec_params_ext__t.html#a4f18f173d08eff5ae05fa940c60df4c0", null ], + [ "User", "struct_sl_get_sec_params_ext__t.html#ac3b3c772e1d98758cc674e2f6f0658d5", null ], + [ "UserLen", "struct_sl_get_sec_params_ext__t.html#a24af689142eda26860754c5e9c0f9e60", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_http_server_event__t.html b/docs/simplelink_api/html/struct_sl_http_server_event__t.html index 02190a6..79563bf 100644 --- a/docs/simplelink_api/html/struct_sl_http_server_event__t.html +++ b/docs/simplelink_api/html/struct_sl_http_server_event__t.html @@ -1,138 +1,137 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlHttpServerEvent_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlHttpServerEvent_t Struct Reference
-
-
- - - - - - -

-Data Fields

-_u32 Event
 
-SlHttpServerEventData_u EventData
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlHttpServerEvent_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlHttpServerEvent_t Struct Reference
+
+
+ + + + + + +

+Data Fields

+_u32 Event
 
+SlHttpServerEventData_u EventData
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_http_server_event__t.js b/docs/simplelink_api/html/struct_sl_http_server_event__t.js index ad38fc4..17a0f57 100644 --- a/docs/simplelink_api/html/struct_sl_http_server_event__t.js +++ b/docs/simplelink_api/html/struct_sl_http_server_event__t.js @@ -1,5 +1,5 @@ -var struct_sl_http_server_event__t = -[ - [ "Event", "struct_sl_http_server_event__t.html#adeedbaaa252b969fc66e151eef37ea62", null ], - [ "EventData", "struct_sl_http_server_event__t.html#aea6d012a43dcb8ded6b90686ceaef0f7", null ] +var struct_sl_http_server_event__t = +[ + [ "Event", "struct_sl_http_server_event__t.html#adeedbaaa252b969fc66e151eef37ea62", null ], + [ "EventData", "struct_sl_http_server_event__t.html#aea6d012a43dcb8ded6b90686ceaef0f7", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_http_server_response__t.html b/docs/simplelink_api/html/struct_sl_http_server_response__t.html index 84e698d..b5ffbb6 100644 --- a/docs/simplelink_api/html/struct_sl_http_server_response__t.html +++ b/docs/simplelink_api/html/struct_sl_http_server_response__t.html @@ -1,138 +1,137 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlHttpServerResponse_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlHttpServerResponse_t Struct Reference
-
-
- - - - - - -

-Data Fields

-_u32 Response
 
-SlHttpServerResponsedata_u ResponseData
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlHttpServerResponse_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlHttpServerResponse_t Struct Reference
+
+
+ + + + + + +

+Data Fields

+_u32 Response
 
+SlHttpServerResponsedata_u ResponseData
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_http_server_response__t.js b/docs/simplelink_api/html/struct_sl_http_server_response__t.js index 14991ad..3827f0a 100644 --- a/docs/simplelink_api/html/struct_sl_http_server_response__t.js +++ b/docs/simplelink_api/html/struct_sl_http_server_response__t.js @@ -1,5 +1,5 @@ -var struct_sl_http_server_response__t = -[ - [ "Response", "struct_sl_http_server_response__t.html#acc4e0dc6756b696c4e2bbdd3f75d1123", null ], - [ "ResponseData", "struct_sl_http_server_response__t.html#a79b6c5114e9f6da69c3113d4be87a943", null ] +var struct_sl_http_server_response__t = +[ + [ "Response", "struct_sl_http_server_response__t.html#acc4e0dc6756b696c4e2bbdd3f75d1123", null ], + [ "ResponseData", "struct_sl_http_server_response__t.html#a79b6c5114e9f6da69c3113d4be87a943", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_in6_addr__t.html b/docs/simplelink_api/html/struct_sl_in6_addr__t.html index 9f6809d..a032538 100644 --- a/docs/simplelink_api/html/struct_sl_in6_addr__t.html +++ b/docs/simplelink_api/html/struct_sl_in6_addr__t.html @@ -1,142 +1,139 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlIn6Addr_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlIn6Addr_t Struct Reference
-
-
- - - - - - - - - -

-Data Fields

-union {
-   _u8   _S6_u8 [16]
 
-   _u32   _S6_u32 [4]
 
_S6_un
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlIn6Addr_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlIn6Addr_t Struct Reference
+
+
+ + + + + + + + + +

+Data Fields

+union {
   _u8   _S6_u8 [16]
 
   _u32   _S6_u32 [4]
 
_S6_un
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_in6_addr__t.js b/docs/simplelink_api/html/struct_sl_in6_addr__t.js index 8a12026..f04732e 100644 --- a/docs/simplelink_api/html/struct_sl_in6_addr__t.js +++ b/docs/simplelink_api/html/struct_sl_in6_addr__t.js @@ -1,6 +1,6 @@ -var struct_sl_in6_addr__t = -[ - [ "_S6_u32", "struct_sl_in6_addr__t.html#aee8fdf3ea3807e415be615b7ea9c7ac3", null ], - [ "_S6_u8", "struct_sl_in6_addr__t.html#a3db8a67c76268286e0dfc750988e16bf", null ], - [ "_S6_un", "struct_sl_in6_addr__t.html#accb4b15a4e8073b36d17764520329d44", null ] +var struct_sl_in6_addr__t = +[ + [ "_S6_u32", "struct_sl_in6_addr__t.html#aee8fdf3ea3807e415be615b7ea9c7ac3", null ], + [ "_S6_u8", "struct_sl_in6_addr__t.html#a3db8a67c76268286e0dfc750988e16bf", null ], + [ "_S6_un", "struct_sl_in6_addr__t.html#accb4b15a4e8073b36d17764520329d44", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_in_addr__t.html b/docs/simplelink_api/html/struct_sl_in_addr__t.html index 3436457..1863d1a 100644 --- a/docs/simplelink_api/html/struct_sl_in_addr__t.html +++ b/docs/simplelink_api/html/struct_sl_in_addr__t.html @@ -1,135 +1,134 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlInAddr_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlInAddr_t Struct Reference
-
-
- - - - -

-Data Fields

-_u32 s_addr
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlInAddr_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlInAddr_t Struct Reference
+
+
+ + + + +

+Data Fields

+_u32 s_addr
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_in_addr__t.js b/docs/simplelink_api/html/struct_sl_in_addr__t.js index 6f42d1d..c83f363 100644 --- a/docs/simplelink_api/html/struct_sl_in_addr__t.js +++ b/docs/simplelink_api/html/struct_sl_in_addr__t.js @@ -1,4 +1,4 @@ -var struct_sl_in_addr__t = -[ - [ "s_addr", "struct_sl_in_addr__t.html#a1bb442d64dfd79d2219d69704947e21b", null ] +var struct_sl_in_addr__t = +[ + [ "s_addr", "struct_sl_in_addr__t.html#a1bb442d64dfd79d2219d69704947e21b", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_ip_leased_async__t.html b/docs/simplelink_api/html/struct_sl_ip_leased_async__t.html index b34577d..081d58c 100644 --- a/docs/simplelink_api/html/struct_sl_ip_leased_async__t.html +++ b/docs/simplelink_api/html/struct_sl_ip_leased_async__t.html @@ -1,144 +1,143 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlIpLeasedAsync_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlIpLeasedAsync_t Struct Reference
-
-
- - - - - - - - - - -

-Data Fields

-_u32 ip_address
 
-_u32 lease_time
 
-_u8 mac [6]
 
-_u16 padding
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlIpLeasedAsync_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlIpLeasedAsync_t Struct Reference
+
+
+ + + + + + + + + + +

+Data Fields

+_u32 ip_address
 
+_u32 lease_time
 
+_u8 mac [6]
 
+_u16 padding
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_ip_leased_async__t.js b/docs/simplelink_api/html/struct_sl_ip_leased_async__t.js index e442e06..287fb45 100644 --- a/docs/simplelink_api/html/struct_sl_ip_leased_async__t.js +++ b/docs/simplelink_api/html/struct_sl_ip_leased_async__t.js @@ -1,7 +1,7 @@ -var struct_sl_ip_leased_async__t = -[ - [ "ip_address", "struct_sl_ip_leased_async__t.html#aba21cfc12ca7e52b24d4566825a69583", null ], - [ "lease_time", "struct_sl_ip_leased_async__t.html#ae870c09512e5404d8fd6a94d899d52b5", null ], - [ "mac", "struct_sl_ip_leased_async__t.html#a51fa48efb76fa1995446db52ac06a46f", null ], - [ "padding", "struct_sl_ip_leased_async__t.html#aee74651e918d4c23f3eabe25fbbf8142", null ] +var struct_sl_ip_leased_async__t = +[ + [ "ip_address", "struct_sl_ip_leased_async__t.html#aba21cfc12ca7e52b24d4566825a69583", null ], + [ "lease_time", "struct_sl_ip_leased_async__t.html#ae870c09512e5404d8fd6a94d899d52b5", null ], + [ "mac", "struct_sl_ip_leased_async__t.html#a51fa48efb76fa1995446db52ac06a46f", null ], + [ "padding", "struct_sl_ip_leased_async__t.html#aee74651e918d4c23f3eabe25fbbf8142", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_ip_released_async__t.html b/docs/simplelink_api/html/struct_sl_ip_released_async__t.html index 63745a6..2f6f47f 100644 --- a/docs/simplelink_api/html/struct_sl_ip_released_async__t.html +++ b/docs/simplelink_api/html/struct_sl_ip_released_async__t.html @@ -1,141 +1,140 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlIpReleasedAsync_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlIpReleasedAsync_t Struct Reference
-
-
- - - - - - - - -

-Data Fields

-_u32 ip_address
 
-_u8 mac [6]
 
-_u16 reason
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlIpReleasedAsync_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlIpReleasedAsync_t Struct Reference
+
+
+ + + + + + + + +

+Data Fields

+_u32 ip_address
 
+_u8 mac [6]
 
+_u16 reason
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_ip_released_async__t.js b/docs/simplelink_api/html/struct_sl_ip_released_async__t.js index d23fd1b..8dca828 100644 --- a/docs/simplelink_api/html/struct_sl_ip_released_async__t.js +++ b/docs/simplelink_api/html/struct_sl_ip_released_async__t.js @@ -1,6 +1,6 @@ -var struct_sl_ip_released_async__t = -[ - [ "ip_address", "struct_sl_ip_released_async__t.html#aba21cfc12ca7e52b24d4566825a69583", null ], - [ "mac", "struct_sl_ip_released_async__t.html#a51fa48efb76fa1995446db52ac06a46f", null ], - [ "reason", "struct_sl_ip_released_async__t.html#a74c4b0fa5b3987eb1c1c38d1328800ec", null ] +var struct_sl_ip_released_async__t = +[ + [ "ip_address", "struct_sl_ip_released_async__t.html#aba21cfc12ca7e52b24d4566825a69583", null ], + [ "mac", "struct_sl_ip_released_async__t.html#a51fa48efb76fa1995446db52ac06a46f", null ], + [ "reason", "struct_sl_ip_released_async__t.html#a74c4b0fa5b3987eb1c1c38d1328800ec", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_ip_v4_acquired_async__t.html b/docs/simplelink_api/html/struct_sl_ip_v4_acquired_async__t.html index 75e2ea5..db1cb80 100644 --- a/docs/simplelink_api/html/struct_sl_ip_v4_acquired_async__t.html +++ b/docs/simplelink_api/html/struct_sl_ip_v4_acquired_async__t.html @@ -1,141 +1,140 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlIpV4AcquiredAsync_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlIpV4AcquiredAsync_t Struct Reference
-
-
- - - - - - - - -

-Data Fields

-_u32 ip
 
-_u32 gateway
 
-_u32 dns
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlIpV4AcquiredAsync_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlIpV4AcquiredAsync_t Struct Reference
+
+
+ + + + + + + + +

+Data Fields

+_u32 ip
 
+_u32 gateway
 
+_u32 dns
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_ip_v4_acquired_async__t.js b/docs/simplelink_api/html/struct_sl_ip_v4_acquired_async__t.js index ff816ab..1f0c6e6 100644 --- a/docs/simplelink_api/html/struct_sl_ip_v4_acquired_async__t.js +++ b/docs/simplelink_api/html/struct_sl_ip_v4_acquired_async__t.js @@ -1,6 +1,6 @@ -var struct_sl_ip_v4_acquired_async__t = -[ - [ "dns", "struct_sl_ip_v4_acquired_async__t.html#aad25be6b70d3ea82fd985d8b48897883", null ], - [ "gateway", "struct_sl_ip_v4_acquired_async__t.html#a269bb91b6feb081352eedf250664de16", null ], - [ "ip", "struct_sl_ip_v4_acquired_async__t.html#af1a8503514e9d113c83fe28f8822fa16", null ] +var struct_sl_ip_v4_acquired_async__t = +[ + [ "dns", "struct_sl_ip_v4_acquired_async__t.html#aad25be6b70d3ea82fd985d8b48897883", null ], + [ "gateway", "struct_sl_ip_v4_acquired_async__t.html#a269bb91b6feb081352eedf250664de16", null ], + [ "ip", "struct_sl_ip_v4_acquired_async__t.html#af1a8503514e9d113c83fe28f8822fa16", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_ip_v6_acquired_async__t.html b/docs/simplelink_api/html/struct_sl_ip_v6_acquired_async__t.html index d7389c6..d44e77e 100644 --- a/docs/simplelink_api/html/struct_sl_ip_v6_acquired_async__t.html +++ b/docs/simplelink_api/html/struct_sl_ip_v6_acquired_async__t.html @@ -1,144 +1,143 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlIpV6AcquiredAsync_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlIpV6AcquiredAsync_t Struct Reference
-
-
- - - - - - - - - - -

-Data Fields

-_u32 type
 
-_u32 ip [4]
 
-_u32 gateway [4]
 
-_u32 dns [4]
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlIpV6AcquiredAsync_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlIpV6AcquiredAsync_t Struct Reference
+
+
+ + + + + + + + + + +

+Data Fields

+_u32 type
 
+_u32 ip [4]
 
+_u32 gateway [4]
 
+_u32 dns [4]
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_ip_v6_acquired_async__t.js b/docs/simplelink_api/html/struct_sl_ip_v6_acquired_async__t.js index cdae47a..94e2b21 100644 --- a/docs/simplelink_api/html/struct_sl_ip_v6_acquired_async__t.js +++ b/docs/simplelink_api/html/struct_sl_ip_v6_acquired_async__t.js @@ -1,7 +1,7 @@ -var struct_sl_ip_v6_acquired_async__t = -[ - [ "dns", "struct_sl_ip_v6_acquired_async__t.html#a90f4865c4077830b35b1828abc96f69b", null ], - [ "gateway", "struct_sl_ip_v6_acquired_async__t.html#a7fa567b0024e3a179a266440636b9f58", null ], - [ "ip", "struct_sl_ip_v6_acquired_async__t.html#aeb14becbd5ead4e94404e551abb631c4", null ], - [ "type", "struct_sl_ip_v6_acquired_async__t.html#a4b2c27059c223cdd2149f3fbd526b453", null ] +var struct_sl_ip_v6_acquired_async__t = +[ + [ "dns", "struct_sl_ip_v6_acquired_async__t.html#a90f4865c4077830b35b1828abc96f69b", null ], + [ "gateway", "struct_sl_ip_v6_acquired_async__t.html#a7fa567b0024e3a179a266440636b9f58", null ], + [ "ip", "struct_sl_ip_v6_acquired_async__t.html#aeb14becbd5ead4e94404e551abb631c4", null ], + [ "type", "struct_sl_ip_v6_acquired_async__t.html#a4b2c27059c223cdd2149f3fbd526b453", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_net_app_dhcp_server_basic_opt__t.html b/docs/simplelink_api/html/struct_sl_net_app_dhcp_server_basic_opt__t.html index 7fd9f7b..7e37582 100644 --- a/docs/simplelink_api/html/struct_sl_net_app_dhcp_server_basic_opt__t.html +++ b/docs/simplelink_api/html/struct_sl_net_app_dhcp_server_basic_opt__t.html @@ -1,141 +1,140 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlNetAppDhcpServerBasicOpt_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlNetAppDhcpServerBasicOpt_t Struct Reference
-
-
- - - - - - - - -

-Data Fields

-_u32 lease_time
 
-_u32 ipv4_addr_start
 
-_u32 ipv4_addr_last
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlNetAppDhcpServerBasicOpt_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlNetAppDhcpServerBasicOpt_t Struct Reference
+
+
+ + + + + + + + +

+Data Fields

+_u32 lease_time
 
+_u32 ipv4_addr_start
 
+_u32 ipv4_addr_last
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_net_app_dhcp_server_basic_opt__t.js b/docs/simplelink_api/html/struct_sl_net_app_dhcp_server_basic_opt__t.js index 38b87ff..516fec7 100644 --- a/docs/simplelink_api/html/struct_sl_net_app_dhcp_server_basic_opt__t.js +++ b/docs/simplelink_api/html/struct_sl_net_app_dhcp_server_basic_opt__t.js @@ -1,6 +1,6 @@ -var struct_sl_net_app_dhcp_server_basic_opt__t = -[ - [ "ipv4_addr_last", "struct_sl_net_app_dhcp_server_basic_opt__t.html#a3658ee49e477ac75294c4dcb44e9469b", null ], - [ "ipv4_addr_start", "struct_sl_net_app_dhcp_server_basic_opt__t.html#ad89c28578421c014b62f5edd796760b1", null ], - [ "lease_time", "struct_sl_net_app_dhcp_server_basic_opt__t.html#ae870c09512e5404d8fd6a94d899d52b5", null ] +var struct_sl_net_app_dhcp_server_basic_opt__t = +[ + [ "ipv4_addr_last", "struct_sl_net_app_dhcp_server_basic_opt__t.html#a3658ee49e477ac75294c4dcb44e9469b", null ], + [ "ipv4_addr_start", "struct_sl_net_app_dhcp_server_basic_opt__t.html#ad89c28578421c014b62f5edd796760b1", null ], + [ "lease_time", "struct_sl_net_app_dhcp_server_basic_opt__t.html#ae870c09512e5404d8fd6a94d899d52b5", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_net_app_event__t.html b/docs/simplelink_api/html/struct_sl_net_app_event__t.html index af16882..161d0dc 100644 --- a/docs/simplelink_api/html/struct_sl_net_app_event__t.html +++ b/docs/simplelink_api/html/struct_sl_net_app_event__t.html @@ -1,138 +1,137 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlNetAppEvent_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlNetAppEvent_t Struct Reference
-
-
- - - - - - -

-Data Fields

-_u32 Event
 
-SlNetAppEventData_u EventData
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlNetAppEvent_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlNetAppEvent_t Struct Reference
+
+
+ + + + + + +

+Data Fields

+_u32 Event
 
+SlNetAppEventData_u EventData
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_net_app_event__t.js b/docs/simplelink_api/html/struct_sl_net_app_event__t.js index 3b73fed..29ac920 100644 --- a/docs/simplelink_api/html/struct_sl_net_app_event__t.js +++ b/docs/simplelink_api/html/struct_sl_net_app_event__t.js @@ -1,5 +1,5 @@ -var struct_sl_net_app_event__t = -[ - [ "Event", "struct_sl_net_app_event__t.html#adeedbaaa252b969fc66e151eef37ea62", null ], - [ "EventData", "struct_sl_net_app_event__t.html#ac58cdb6e0d008f951c65fade86f32713", null ] +var struct_sl_net_app_event__t = +[ + [ "Event", "struct_sl_net_app_event__t.html#adeedbaaa252b969fc66e151eef37ea62", null ], + [ "EventData", "struct_sl_net_app_event__t.html#ac58cdb6e0d008f951c65fade86f32713", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_net_app_get_full_service_ipv4_list__t.html b/docs/simplelink_api/html/struct_sl_net_app_get_full_service_ipv4_list__t.html index ed2c801..f832fe4 100644 --- a/docs/simplelink_api/html/struct_sl_net_app_get_full_service_ipv4_list__t.html +++ b/docs/simplelink_api/html/struct_sl_net_app_get_full_service_ipv4_list__t.html @@ -1,147 +1,146 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlNetAppGetFullServiceIpv4List_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlNetAppGetFullServiceIpv4List_t Struct Reference
-
-
- - - - - - - - - - - - -

-Data Fields

-_u32 service_ipv4
 
-_u16 service_port
 
-_u16 Reserved
 
-_u8 service_name [NETAPP_MAX_SERVICE_NAME_SIZE]
 
-_u8 service_host [NETAPP_MAX_SERVICE_HOST_NAME_SIZE]
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlNetAppGetFullServiceIpv4List_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlNetAppGetFullServiceIpv4List_t Struct Reference
+
+
+ + + + + + + + + + + + +

+Data Fields

+_u32 service_ipv4
 
+_u16 service_port
 
+_u16 Reserved
 
+_u8 service_name [NETAPP_MAX_SERVICE_NAME_SIZE]
 
+_u8 service_host [NETAPP_MAX_SERVICE_HOST_NAME_SIZE]
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_net_app_get_full_service_ipv4_list__t.js b/docs/simplelink_api/html/struct_sl_net_app_get_full_service_ipv4_list__t.js index 005cf07..e7066eb 100644 --- a/docs/simplelink_api/html/struct_sl_net_app_get_full_service_ipv4_list__t.js +++ b/docs/simplelink_api/html/struct_sl_net_app_get_full_service_ipv4_list__t.js @@ -1,8 +1,8 @@ -var struct_sl_net_app_get_full_service_ipv4_list__t = -[ - [ "Reserved", "struct_sl_net_app_get_full_service_ipv4_list__t.html#a3f5363b14f728fe990328585ccbc70e1", null ], - [ "service_host", "struct_sl_net_app_get_full_service_ipv4_list__t.html#aeb85c9d6321692e2622077406052c2c2", null ], - [ "service_ipv4", "struct_sl_net_app_get_full_service_ipv4_list__t.html#a1a2075c35d52286cb696f878738d30be", null ], - [ "service_name", "struct_sl_net_app_get_full_service_ipv4_list__t.html#a14a68e63be446395d1bdc960d9cd46bb", null ], - [ "service_port", "struct_sl_net_app_get_full_service_ipv4_list__t.html#a526174fd4b7f339328e315dbb01c19f7", null ] +var struct_sl_net_app_get_full_service_ipv4_list__t = +[ + [ "Reserved", "struct_sl_net_app_get_full_service_ipv4_list__t.html#a3f5363b14f728fe990328585ccbc70e1", null ], + [ "service_host", "struct_sl_net_app_get_full_service_ipv4_list__t.html#aeb85c9d6321692e2622077406052c2c2", null ], + [ "service_ipv4", "struct_sl_net_app_get_full_service_ipv4_list__t.html#a1a2075c35d52286cb696f878738d30be", null ], + [ "service_name", "struct_sl_net_app_get_full_service_ipv4_list__t.html#a14a68e63be446395d1bdc960d9cd46bb", null ], + [ "service_port", "struct_sl_net_app_get_full_service_ipv4_list__t.html#a526174fd4b7f339328e315dbb01c19f7", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html b/docs/simplelink_api/html/struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html index b113ed0..d1825f9 100644 --- a/docs/simplelink_api/html/struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html +++ b/docs/simplelink_api/html/struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html @@ -1,150 +1,149 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlNetAppGetFullServiceWithTextIpv4List_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlNetAppGetFullServiceWithTextIpv4List_t Struct Reference
-
-
- - - - - - - - - - - - - - -

-Data Fields

-_u32 service_ipv4
 
-_u16 service_port
 
-_u16 Reserved
 
-_u8 service_name [NETAPP_MAX_SERVICE_NAME_SIZE]
 
-_u8 service_host [NETAPP_MAX_SERVICE_HOST_NAME_SIZE]
 
-_u8 service_text [NETAPP_MAX_SERVICE_TEXT_SIZE]
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlNetAppGetFullServiceWithTextIpv4List_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlNetAppGetFullServiceWithTextIpv4List_t Struct Reference
+
+
+ + + + + + + + + + + + + + +

+Data Fields

+_u32 service_ipv4
 
+_u16 service_port
 
+_u16 Reserved
 
+_u8 service_name [NETAPP_MAX_SERVICE_NAME_SIZE]
 
+_u8 service_host [NETAPP_MAX_SERVICE_HOST_NAME_SIZE]
 
+_u8 service_text [NETAPP_MAX_SERVICE_TEXT_SIZE]
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_net_app_get_full_service_with_text_ipv4_list__t.js b/docs/simplelink_api/html/struct_sl_net_app_get_full_service_with_text_ipv4_list__t.js index f99b94a..af99f0c 100644 --- a/docs/simplelink_api/html/struct_sl_net_app_get_full_service_with_text_ipv4_list__t.js +++ b/docs/simplelink_api/html/struct_sl_net_app_get_full_service_with_text_ipv4_list__t.js @@ -1,9 +1,9 @@ -var struct_sl_net_app_get_full_service_with_text_ipv4_list__t = -[ - [ "Reserved", "struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#a3f5363b14f728fe990328585ccbc70e1", null ], - [ "service_host", "struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#aeb85c9d6321692e2622077406052c2c2", null ], - [ "service_ipv4", "struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#a1a2075c35d52286cb696f878738d30be", null ], - [ "service_name", "struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#a14a68e63be446395d1bdc960d9cd46bb", null ], - [ "service_port", "struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#a526174fd4b7f339328e315dbb01c19f7", null ], - [ "service_text", "struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#a6b9cac633579a01d5f6e03c9a3dde9e0", null ] +var struct_sl_net_app_get_full_service_with_text_ipv4_list__t = +[ + [ "Reserved", "struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#a3f5363b14f728fe990328585ccbc70e1", null ], + [ "service_host", "struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#aeb85c9d6321692e2622077406052c2c2", null ], + [ "service_ipv4", "struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#a1a2075c35d52286cb696f878738d30be", null ], + [ "service_name", "struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#a14a68e63be446395d1bdc960d9cd46bb", null ], + [ "service_port", "struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#a526174fd4b7f339328e315dbb01c19f7", null ], + [ "service_text", "struct_sl_net_app_get_full_service_with_text_ipv4_list__t.html#a6b9cac633579a01d5f6e03c9a3dde9e0", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_net_app_get_short_service_ipv4_list__t.html b/docs/simplelink_api/html/struct_sl_net_app_get_short_service_ipv4_list__t.html index eb66903..83b386c 100644 --- a/docs/simplelink_api/html/struct_sl_net_app_get_short_service_ipv4_list__t.html +++ b/docs/simplelink_api/html/struct_sl_net_app_get_short_service_ipv4_list__t.html @@ -1,141 +1,140 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlNetAppGetShortServiceIpv4List_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlNetAppGetShortServiceIpv4List_t Struct Reference
-
-
- - - - - - - - -

-Data Fields

-_u32 service_ipv4
 
-_u16 service_port
 
-_u16 Reserved
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlNetAppGetShortServiceIpv4List_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlNetAppGetShortServiceIpv4List_t Struct Reference
+
+
+ + + + + + + + +

+Data Fields

+_u32 service_ipv4
 
+_u16 service_port
 
+_u16 Reserved
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_net_app_get_short_service_ipv4_list__t.js b/docs/simplelink_api/html/struct_sl_net_app_get_short_service_ipv4_list__t.js index 7aed505..b1e0f7a 100644 --- a/docs/simplelink_api/html/struct_sl_net_app_get_short_service_ipv4_list__t.js +++ b/docs/simplelink_api/html/struct_sl_net_app_get_short_service_ipv4_list__t.js @@ -1,6 +1,6 @@ -var struct_sl_net_app_get_short_service_ipv4_list__t = -[ - [ "Reserved", "struct_sl_net_app_get_short_service_ipv4_list__t.html#a3f5363b14f728fe990328585ccbc70e1", null ], - [ "service_ipv4", "struct_sl_net_app_get_short_service_ipv4_list__t.html#a1a2075c35d52286cb696f878738d30be", null ], - [ "service_port", "struct_sl_net_app_get_short_service_ipv4_list__t.html#a526174fd4b7f339328e315dbb01c19f7", null ] +var struct_sl_net_app_get_short_service_ipv4_list__t = +[ + [ "Reserved", "struct_sl_net_app_get_short_service_ipv4_list__t.html#a3f5363b14f728fe990328585ccbc70e1", null ], + [ "service_ipv4", "struct_sl_net_app_get_short_service_ipv4_list__t.html#a1a2075c35d52286cb696f878738d30be", null ], + [ "service_port", "struct_sl_net_app_get_short_service_ipv4_list__t.html#a526174fd4b7f339328e315dbb01c19f7", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_net_app_service_advertise_timing_parameters__t.html b/docs/simplelink_api/html/struct_sl_net_app_service_advertise_timing_parameters__t.html index 38d8850..fea4246 100644 --- a/docs/simplelink_api/html/struct_sl_net_app_service_advertise_timing_parameters__t.html +++ b/docs/simplelink_api/html/struct_sl_net_app_service_advertise_timing_parameters__t.html @@ -1,150 +1,149 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlNetAppServiceAdvertiseTimingParameters_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlNetAppServiceAdvertiseTimingParameters_t Struct Reference
-
-
- - - - - - - - - - - - - - -

-Data Fields

-_u32 t
 
-_u32 p
 
-_u32 k
 
-_u32 RetransInterval
 
-_u32 Maxinterval
 
-_u32 max_time
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlNetAppServiceAdvertiseTimingParameters_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlNetAppServiceAdvertiseTimingParameters_t Struct Reference
+
+
+ + + + + + + + + + + + + + +

+Data Fields

+_u32 t
 
+_u32 p
 
+_u32 k
 
+_u32 RetransInterval
 
+_u32 Maxinterval
 
+_u32 max_time
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_net_app_service_advertise_timing_parameters__t.js b/docs/simplelink_api/html/struct_sl_net_app_service_advertise_timing_parameters__t.js index a49d997..19cf396 100644 --- a/docs/simplelink_api/html/struct_sl_net_app_service_advertise_timing_parameters__t.js +++ b/docs/simplelink_api/html/struct_sl_net_app_service_advertise_timing_parameters__t.js @@ -1,9 +1,9 @@ -var struct_sl_net_app_service_advertise_timing_parameters__t = -[ - [ "k", "struct_sl_net_app_service_advertise_timing_parameters__t.html#a788ae2e5459feba3d646ffa71980f6db", null ], - [ "max_time", "struct_sl_net_app_service_advertise_timing_parameters__t.html#a1cd71a7ab31d4352d718a5707d3a969b", null ], - [ "Maxinterval", "struct_sl_net_app_service_advertise_timing_parameters__t.html#a9f1818d1132e3399c3f8a79e453d5b56", null ], - [ "p", "struct_sl_net_app_service_advertise_timing_parameters__t.html#a010529614c86bbaa26654186b52b800d", null ], - [ "RetransInterval", "struct_sl_net_app_service_advertise_timing_parameters__t.html#a5f05e30c41182b96d2c4691cfd75f138", null ], - [ "t", "struct_sl_net_app_service_advertise_timing_parameters__t.html#a95b98eb3e4b7b7e456cc4ebfe9282536", null ] +var struct_sl_net_app_service_advertise_timing_parameters__t = +[ + [ "k", "struct_sl_net_app_service_advertise_timing_parameters__t.html#a788ae2e5459feba3d646ffa71980f6db", null ], + [ "max_time", "struct_sl_net_app_service_advertise_timing_parameters__t.html#a1cd71a7ab31d4352d718a5707d3a969b", null ], + [ "Maxinterval", "struct_sl_net_app_service_advertise_timing_parameters__t.html#a9f1818d1132e3399c3f8a79e453d5b56", null ], + [ "p", "struct_sl_net_app_service_advertise_timing_parameters__t.html#a010529614c86bbaa26654186b52b800d", null ], + [ "RetransInterval", "struct_sl_net_app_service_advertise_timing_parameters__t.html#a5f05e30c41182b96d2c4691cfd75f138", null ], + [ "t", "struct_sl_net_app_service_advertise_timing_parameters__t.html#a95b98eb3e4b7b7e456cc4ebfe9282536", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_net_cfg_ip_v4_args__t.html b/docs/simplelink_api/html/struct_sl_net_cfg_ip_v4_args__t.html index 2254468..387e07e 100644 --- a/docs/simplelink_api/html/struct_sl_net_cfg_ip_v4_args__t.html +++ b/docs/simplelink_api/html/struct_sl_net_cfg_ip_v4_args__t.html @@ -1,144 +1,143 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlNetCfgIpV4Args_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlNetCfgIpV4Args_t Struct Reference
-
-
- - - - - - - - - - -

-Data Fields

-_u32 ipV4
 
-_u32 ipV4Mask
 
-_u32 ipV4Gateway
 
-_u32 ipV4DnsServer
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlNetCfgIpV4Args_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlNetCfgIpV4Args_t Struct Reference
+
+
+ + + + + + + + + + +

+Data Fields

+_u32 ipV4
 
+_u32 ipV4Mask
 
+_u32 ipV4Gateway
 
+_u32 ipV4DnsServer
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_net_cfg_ip_v4_args__t.js b/docs/simplelink_api/html/struct_sl_net_cfg_ip_v4_args__t.js index 3aceaaa..122d53c 100644 --- a/docs/simplelink_api/html/struct_sl_net_cfg_ip_v4_args__t.js +++ b/docs/simplelink_api/html/struct_sl_net_cfg_ip_v4_args__t.js @@ -1,7 +1,7 @@ -var struct_sl_net_cfg_ip_v4_args__t = -[ - [ "ipV4", "struct_sl_net_cfg_ip_v4_args__t.html#a47731711b8c0c195ca46de2e938364d3", null ], - [ "ipV4DnsServer", "struct_sl_net_cfg_ip_v4_args__t.html#a920eac2941ede0d5a676d59ea8319a56", null ], - [ "ipV4Gateway", "struct_sl_net_cfg_ip_v4_args__t.html#ae5dd0932c0fc590f70c116dae8c56b07", null ], - [ "ipV4Mask", "struct_sl_net_cfg_ip_v4_args__t.html#af37ed58288d015f7869dbfa8b566eec1", null ] +var struct_sl_net_cfg_ip_v4_args__t = +[ + [ "ipV4", "struct_sl_net_cfg_ip_v4_args__t.html#a47731711b8c0c195ca46de2e938364d3", null ], + [ "ipV4DnsServer", "struct_sl_net_cfg_ip_v4_args__t.html#a920eac2941ede0d5a676d59ea8319a56", null ], + [ "ipV4Gateway", "struct_sl_net_cfg_ip_v4_args__t.html#ae5dd0932c0fc590f70c116dae8c56b07", null ], + [ "ipV4Mask", "struct_sl_net_cfg_ip_v4_args__t.html#af37ed58288d015f7869dbfa8b566eec1", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_ping_report__t.html b/docs/simplelink_api/html/struct_sl_ping_report__t.html index cfffbb2..6afc205 100644 --- a/docs/simplelink_api/html/struct_sl_ping_report__t.html +++ b/docs/simplelink_api/html/struct_sl_ping_report__t.html @@ -1,150 +1,149 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlPingReport_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlPingReport_t Struct Reference
-
-
- - - - - - - - - - - - - - -

-Data Fields

-_u32 PacketsSent
 
-_u32 PacketsReceived
 
-_u16 MinRoundTime
 
-_u16 MaxRoundTime
 
-_u16 AvgRoundTime
 
-_u32 TestTime
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlPingReport_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlPingReport_t Struct Reference
+
+
+ + + + + + + + + + + + + + +

+Data Fields

+_u32 PacketsSent
 
+_u32 PacketsReceived
 
+_u16 MinRoundTime
 
+_u16 MaxRoundTime
 
+_u16 AvgRoundTime
 
+_u32 TestTime
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_ping_report__t.js b/docs/simplelink_api/html/struct_sl_ping_report__t.js index af693fe..5fa95ba 100644 --- a/docs/simplelink_api/html/struct_sl_ping_report__t.js +++ b/docs/simplelink_api/html/struct_sl_ping_report__t.js @@ -1,9 +1,9 @@ -var struct_sl_ping_report__t = -[ - [ "AvgRoundTime", "struct_sl_ping_report__t.html#a5d610bdde4039525984224ee0f35b6d9", null ], - [ "MaxRoundTime", "struct_sl_ping_report__t.html#abb8b750ec3b99bcac2b1a84c611c6d2a", null ], - [ "MinRoundTime", "struct_sl_ping_report__t.html#a10437a22b3604a1fbe4cb91bd711077f", null ], - [ "PacketsReceived", "struct_sl_ping_report__t.html#ac8e9ea566ef6bd2acb54a6af9677486a", null ], - [ "PacketsSent", "struct_sl_ping_report__t.html#a92813cdd58af8c15929270ccf61b26a2", null ], - [ "TestTime", "struct_sl_ping_report__t.html#af7da9681c2b355a3261a476f353bfe93", null ] +var struct_sl_ping_report__t = +[ + [ "AvgRoundTime", "struct_sl_ping_report__t.html#a5d610bdde4039525984224ee0f35b6d9", null ], + [ "MaxRoundTime", "struct_sl_ping_report__t.html#abb8b750ec3b99bcac2b1a84c611c6d2a", null ], + [ "MinRoundTime", "struct_sl_ping_report__t.html#a10437a22b3604a1fbe4cb91bd711077f", null ], + [ "PacketsReceived", "struct_sl_ping_report__t.html#ac8e9ea566ef6bd2acb54a6af9677486a", null ], + [ "PacketsSent", "struct_sl_ping_report__t.html#a92813cdd58af8c15929270ccf61b26a2", null ], + [ "TestTime", "struct_sl_ping_report__t.html#af7da9681c2b355a3261a476f353bfe93", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_ping_start_command__t.html b/docs/simplelink_api/html/struct_sl_ping_start_command__t.html index 0f22b4e..9b1ffa2 100644 --- a/docs/simplelink_api/html/struct_sl_ping_start_command__t.html +++ b/docs/simplelink_api/html/struct_sl_ping_start_command__t.html @@ -1,159 +1,158 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlPingStartCommand_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlPingStartCommand_t Struct Reference
-
-
- - - - - - - - - - - - - - - - - - - - -

-Data Fields

-_u32 PingIntervalTime
 
-_u16 PingSize
 
-_u16 PingRequestTimeout
 
-_u32 TotalNumberOfAttempts
 
-_u32 Flags
 
-_u32 Ip
 
-_u32 Ip1OrPaadding
 
-_u32 Ip2OrPaadding
 
-_u32 Ip3OrPaadding
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlPingStartCommand_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlPingStartCommand_t Struct Reference
+
+
+ + + + + + + + + + + + + + + + + + + + +

+Data Fields

+_u32 PingIntervalTime
 
+_u16 PingSize
 
+_u16 PingRequestTimeout
 
+_u32 TotalNumberOfAttempts
 
+_u32 Flags
 
+_u32 Ip
 
+_u32 Ip1OrPaadding
 
+_u32 Ip2OrPaadding
 
+_u32 Ip3OrPaadding
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_ping_start_command__t.js b/docs/simplelink_api/html/struct_sl_ping_start_command__t.js index 2df8bcf..89705a8 100644 --- a/docs/simplelink_api/html/struct_sl_ping_start_command__t.js +++ b/docs/simplelink_api/html/struct_sl_ping_start_command__t.js @@ -1,12 +1,12 @@ -var struct_sl_ping_start_command__t = -[ - [ "Flags", "struct_sl_ping_start_command__t.html#abc512772e263735c06e9072f94c92952", null ], - [ "Ip", "struct_sl_ping_start_command__t.html#a16ea88b3a07d38c6e26af86e4d9e04aa", null ], - [ "Ip1OrPaadding", "struct_sl_ping_start_command__t.html#aba8221b8c6c4e83f843e7cf2b63ec649", null ], - [ "Ip2OrPaadding", "struct_sl_ping_start_command__t.html#a5e17ea66dfb99beb88bd64c847954444", null ], - [ "Ip3OrPaadding", "struct_sl_ping_start_command__t.html#af95d2469f8867016b655574752e3f905", null ], - [ "PingIntervalTime", "struct_sl_ping_start_command__t.html#a0b36eb660aeeb08cc0e280ee657b7192", null ], - [ "PingRequestTimeout", "struct_sl_ping_start_command__t.html#a15c82a992940a12e86afd8b3b34436ed", null ], - [ "PingSize", "struct_sl_ping_start_command__t.html#a4323564c51aa12dd8930e39566fd8625", null ], - [ "TotalNumberOfAttempts", "struct_sl_ping_start_command__t.html#a994b4b990c3ea36ca117cf3fd0943f0d", null ] +var struct_sl_ping_start_command__t = +[ + [ "Flags", "struct_sl_ping_start_command__t.html#abc512772e263735c06e9072f94c92952", null ], + [ "Ip", "struct_sl_ping_start_command__t.html#a16ea88b3a07d38c6e26af86e4d9e04aa", null ], + [ "Ip1OrPaadding", "struct_sl_ping_start_command__t.html#aba8221b8c6c4e83f843e7cf2b63ec649", null ], + [ "Ip2OrPaadding", "struct_sl_ping_start_command__t.html#a5e17ea66dfb99beb88bd64c847954444", null ], + [ "Ip3OrPaadding", "struct_sl_ping_start_command__t.html#af95d2469f8867016b655574752e3f905", null ], + [ "PingIntervalTime", "struct_sl_ping_start_command__t.html#a0b36eb660aeeb08cc0e280ee657b7192", null ], + [ "PingRequestTimeout", "struct_sl_ping_start_command__t.html#a15c82a992940a12e86afd8b3b34436ed", null ], + [ "PingSize", "struct_sl_ping_start_command__t.html#a4323564c51aa12dd8930e39566fd8625", null ], + [ "TotalNumberOfAttempts", "struct_sl_ping_start_command__t.html#a994b4b990c3ea36ca117cf3fd0943f0d", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_sec_params__t.html b/docs/simplelink_api/html/struct_sl_sec_params__t.html index 790cccb..7860d6f 100644 --- a/docs/simplelink_api/html/struct_sl_sec_params__t.html +++ b/docs/simplelink_api/html/struct_sl_sec_params__t.html @@ -1,141 +1,140 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlSecParams_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlSecParams_t Struct Reference
-
-
- - - - - - - - -

-Data Fields

-_u8 Type
 
-_i8 * Key
 
-_u8 KeyLen
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlSecParams_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlSecParams_t Struct Reference
+
+
+ + + + + + + + +

+Data Fields

+_u8 Type
 
+_i8 * Key
 
+_u8 KeyLen
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_sec_params__t.js b/docs/simplelink_api/html/struct_sl_sec_params__t.js index 8b78745..ae04e6f 100644 --- a/docs/simplelink_api/html/struct_sl_sec_params__t.js +++ b/docs/simplelink_api/html/struct_sl_sec_params__t.js @@ -1,6 +1,6 @@ -var struct_sl_sec_params__t = -[ - [ "Key", "struct_sl_sec_params__t.html#af943e0f6d7ca78a5b795c8da294c5d1e", null ], - [ "KeyLen", "struct_sl_sec_params__t.html#a9b049837934488d32481cf8d616e12af", null ], - [ "Type", "struct_sl_sec_params__t.html#a1d58ad89ed5b340d15c354b769f8ecc2", null ] +var struct_sl_sec_params__t = +[ + [ "Key", "struct_sl_sec_params__t.html#af943e0f6d7ca78a5b795c8da294c5d1e", null ], + [ "KeyLen", "struct_sl_sec_params__t.html#a9b049837934488d32481cf8d616e12af", null ], + [ "Type", "struct_sl_sec_params__t.html#a1d58ad89ed5b340d15c354b769f8ecc2", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_sec_params_ext__t.html b/docs/simplelink_api/html/struct_sl_sec_params_ext__t.html index 1b0806d..14fce90 100644 --- a/docs/simplelink_api/html/struct_sl_sec_params_ext__t.html +++ b/docs/simplelink_api/html/struct_sl_sec_params_ext__t.html @@ -1,150 +1,149 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlSecParamsExt_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlSecParamsExt_t Struct Reference
-
-
- - - - - - - - - - - - - - -

-Data Fields

-_i8 * User
 
-_u8 UserLen
 
-_i8 * AnonUser
 
-_u8 AnonUserLen
 
-_u8 CertIndex
 
-_u32 EapMethod
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlSecParamsExt_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlSecParamsExt_t Struct Reference
+
+
+ + + + + + + + + + + + + + +

+Data Fields

+_i8 * User
 
+_u8 UserLen
 
+_i8 * AnonUser
 
+_u8 AnonUserLen
 
+_u8 CertIndex
 
+_u32 EapMethod
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_sec_params_ext__t.js b/docs/simplelink_api/html/struct_sl_sec_params_ext__t.js index d71a064..8c4b534 100644 --- a/docs/simplelink_api/html/struct_sl_sec_params_ext__t.js +++ b/docs/simplelink_api/html/struct_sl_sec_params_ext__t.js @@ -1,9 +1,9 @@ -var struct_sl_sec_params_ext__t = -[ - [ "AnonUser", "struct_sl_sec_params_ext__t.html#a882de2171333187a5cded2550accce18", null ], - [ "AnonUserLen", "struct_sl_sec_params_ext__t.html#ac62b273b2e1b1c60eca7ef61a29b0aa5", null ], - [ "CertIndex", "struct_sl_sec_params_ext__t.html#a55a132bbb3126099cb8f12cb6d174876", null ], - [ "EapMethod", "struct_sl_sec_params_ext__t.html#a4f18f173d08eff5ae05fa940c60df4c0", null ], - [ "User", "struct_sl_sec_params_ext__t.html#afc4f533307e2aee2c6c114f8941aa499", null ], - [ "UserLen", "struct_sl_sec_params_ext__t.html#a24af689142eda26860754c5e9c0f9e60", null ] +var struct_sl_sec_params_ext__t = +[ + [ "AnonUser", "struct_sl_sec_params_ext__t.html#a882de2171333187a5cded2550accce18", null ], + [ "AnonUserLen", "struct_sl_sec_params_ext__t.html#ac62b273b2e1b1c60eca7ef61a29b0aa5", null ], + [ "CertIndex", "struct_sl_sec_params_ext__t.html#a55a132bbb3126099cb8f12cb6d174876", null ], + [ "EapMethod", "struct_sl_sec_params_ext__t.html#a4f18f173d08eff5ae05fa940c60df4c0", null ], + [ "User", "struct_sl_sec_params_ext__t.html#afc4f533307e2aee2c6c114f8941aa499", null ], + [ "UserLen", "struct_sl_sec_params_ext__t.html#a24af689142eda26860754c5e9c0f9e60", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_sock_addr__t.html b/docs/simplelink_api/html/struct_sl_sock_addr__t.html index 0def55c..8232ef9 100644 --- a/docs/simplelink_api/html/struct_sl_sock_addr__t.html +++ b/docs/simplelink_api/html/struct_sl_sock_addr__t.html @@ -1,138 +1,137 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlSockAddr_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlSockAddr_t Struct Reference
-
-
- - - - - - -

-Data Fields

-_u16 sa_family
 
-_u8 sa_data [14]
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlSockAddr_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlSockAddr_t Struct Reference
+
+
+ + + + + + +

+Data Fields

+_u16 sa_family
 
+_u8 sa_data [14]
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_sock_addr__t.js b/docs/simplelink_api/html/struct_sl_sock_addr__t.js index e3f1e0d..fb44255 100644 --- a/docs/simplelink_api/html/struct_sl_sock_addr__t.js +++ b/docs/simplelink_api/html/struct_sl_sock_addr__t.js @@ -1,5 +1,5 @@ -var struct_sl_sock_addr__t = -[ - [ "sa_data", "struct_sl_sock_addr__t.html#ae2b1f612104f3b2e3986fec7cc8b434b", null ], - [ "sa_family", "struct_sl_sock_addr__t.html#a2ec201dde0ef6487c4d40b54bb193f8d", null ] +var struct_sl_sock_addr__t = +[ + [ "sa_data", "struct_sl_sock_addr__t.html#ae2b1f612104f3b2e3986fec7cc8b434b", null ], + [ "sa_family", "struct_sl_sock_addr__t.html#a2ec201dde0ef6487c4d40b54bb193f8d", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_sock_addr_in6__t.html b/docs/simplelink_api/html/struct_sl_sock_addr_in6__t.html index efcb3e9..0822061 100644 --- a/docs/simplelink_api/html/struct_sl_sock_addr_in6__t.html +++ b/docs/simplelink_api/html/struct_sl_sock_addr_in6__t.html @@ -1,147 +1,146 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlSockAddrIn6_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlSockAddrIn6_t Struct Reference
-
-
- - - - - - - - - - - - -

-Data Fields

-_u16 sin6_family
 
-_u16 sin6_port
 
-_u32 sin6_flowinfo
 
-SlIn6Addr_t sin6_addr
 
-_u32 sin6_scope_id
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlSockAddrIn6_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlSockAddrIn6_t Struct Reference
+
+
+ + + + + + + + + + + + +

+Data Fields

+_u16 sin6_family
 
+_u16 sin6_port
 
+_u32 sin6_flowinfo
 
+SlIn6Addr_t sin6_addr
 
+_u32 sin6_scope_id
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_sock_addr_in6__t.js b/docs/simplelink_api/html/struct_sl_sock_addr_in6__t.js index 4507f27..80989da 100644 --- a/docs/simplelink_api/html/struct_sl_sock_addr_in6__t.js +++ b/docs/simplelink_api/html/struct_sl_sock_addr_in6__t.js @@ -1,8 +1,8 @@ -var struct_sl_sock_addr_in6__t = -[ - [ "sin6_addr", "struct_sl_sock_addr_in6__t.html#ab80273cf64088fdcf85aca765997b845", null ], - [ "sin6_family", "struct_sl_sock_addr_in6__t.html#a1353901c9555ac56c1ca22dc1533c3b8", null ], - [ "sin6_flowinfo", "struct_sl_sock_addr_in6__t.html#afba686aa3c6f6242cac4d29bc7c7d558", null ], - [ "sin6_port", "struct_sl_sock_addr_in6__t.html#ad7c0b531025d2975102172b2398611f5", null ], - [ "sin6_scope_id", "struct_sl_sock_addr_in6__t.html#a95780ab290350f365e6de5dba3af0032", null ] +var struct_sl_sock_addr_in6__t = +[ + [ "sin6_addr", "struct_sl_sock_addr_in6__t.html#ab80273cf64088fdcf85aca765997b845", null ], + [ "sin6_family", "struct_sl_sock_addr_in6__t.html#a1353901c9555ac56c1ca22dc1533c3b8", null ], + [ "sin6_flowinfo", "struct_sl_sock_addr_in6__t.html#afba686aa3c6f6242cac4d29bc7c7d558", null ], + [ "sin6_port", "struct_sl_sock_addr_in6__t.html#ad7c0b531025d2975102172b2398611f5", null ], + [ "sin6_scope_id", "struct_sl_sock_addr_in6__t.html#a95780ab290350f365e6de5dba3af0032", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_sock_addr_in__t.html b/docs/simplelink_api/html/struct_sl_sock_addr_in__t.html index 160d359..d714fd8 100644 --- a/docs/simplelink_api/html/struct_sl_sock_addr_in__t.html +++ b/docs/simplelink_api/html/struct_sl_sock_addr_in__t.html @@ -1,144 +1,143 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlSockAddrIn_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlSockAddrIn_t Struct Reference
-
-
- - - - - - - - - - -

-Data Fields

-_u16 sin_family
 
-_u16 sin_port
 
-SlInAddr_t sin_addr
 
-_i8 sin_zero [8]
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlSockAddrIn_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlSockAddrIn_t Struct Reference
+
+
+ + + + + + + + + + +

+Data Fields

+_u16 sin_family
 
+_u16 sin_port
 
+SlInAddr_t sin_addr
 
+_i8 sin_zero [8]
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_sock_addr_in__t.js b/docs/simplelink_api/html/struct_sl_sock_addr_in__t.js index d9e0486..c565f8b 100644 --- a/docs/simplelink_api/html/struct_sl_sock_addr_in__t.js +++ b/docs/simplelink_api/html/struct_sl_sock_addr_in__t.js @@ -1,7 +1,7 @@ -var struct_sl_sock_addr_in__t = -[ - [ "sin_addr", "struct_sl_sock_addr_in__t.html#ac202531c3497bcb9d64a83028f036d81", null ], - [ "sin_family", "struct_sl_sock_addr_in__t.html#a073756b1c41885b395510a04d5e8e108", null ], - [ "sin_port", "struct_sl_sock_addr_in__t.html#a591c70234168b0d4509cadef8b6d3ea1", null ], - [ "sin_zero", "struct_sl_sock_addr_in__t.html#a46c3a43fbd9a84363466a5ea60c08440", null ] +var struct_sl_sock_addr_in__t = +[ + [ "sin_addr", "struct_sl_sock_addr_in__t.html#ac202531c3497bcb9d64a83028f036d81", null ], + [ "sin_family", "struct_sl_sock_addr_in__t.html#a073756b1c41885b395510a04d5e8e108", null ], + [ "sin_port", "struct_sl_sock_addr_in__t.html#a591c70234168b0d4509cadef8b6d3ea1", null ], + [ "sin_zero", "struct_sl_sock_addr_in__t.html#a46c3a43fbd9a84363466a5ea60c08440", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_sock_event__t.html b/docs/simplelink_api/html/struct_sl_sock_event__t.html index 0c1b48f..1b77725 100644 --- a/docs/simplelink_api/html/struct_sl_sock_event__t.html +++ b/docs/simplelink_api/html/struct_sl_sock_event__t.html @@ -1,138 +1,137 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlSockEvent_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlSockEvent_t Struct Reference
-
-
- - - - - - -

-Data Fields

-_u32 Event
 
-SlSockEventData_t EventData
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlSockEvent_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlSockEvent_t Struct Reference
+
+
+ + + + + + +

+Data Fields

+_u32 Event
 
+SlSockEventData_u socketAsyncEvent
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_sock_event__t.js b/docs/simplelink_api/html/struct_sl_sock_event__t.js index 62b11bb..0923834 100644 --- a/docs/simplelink_api/html/struct_sl_sock_event__t.js +++ b/docs/simplelink_api/html/struct_sl_sock_event__t.js @@ -1,5 +1,5 @@ -var struct_sl_sock_event__t = -[ - [ "Event", "struct_sl_sock_event__t.html#adeedbaaa252b969fc66e151eef37ea62", null ], - [ "EventData", "struct_sl_sock_event__t.html#a3b2d881ad4bcc5cee8a09ea2e3a9e364", null ] +var struct_sl_sock_event__t = +[ + [ "Event", "struct_sl_sock_event__t.html#adeedbaaa252b969fc66e151eef37ea62", null ], + [ "socketAsyncEvent", "struct_sl_sock_event__t.html#a5417ec200900ac2c08550715dbb114a7", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_sock_event_data__t.html b/docs/simplelink_api/html/struct_sl_sock_event_data__t.html deleted file mode 100644 index 997e97c..0000000 --- a/docs/simplelink_api/html/struct_sl_sock_event_data__t.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlSockEventData_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlSockEventData_t Struct Reference
-
-
- - - - - - - - -

-Data Fields

-_i16 status
 
-_u16 sd
 
-SlSocketAsyncEvent_t socketAsyncEvent
 
-
The documentation for this struct was generated from the following file: -
-
- - - - diff --git a/docs/simplelink_api/html/struct_sl_sock_event_data__t.js b/docs/simplelink_api/html/struct_sl_sock_event_data__t.js deleted file mode 100644 index 0421a3e..0000000 --- a/docs/simplelink_api/html/struct_sl_sock_event_data__t.js +++ /dev/null @@ -1,6 +0,0 @@ -var struct_sl_sock_event_data__t = -[ - [ "sd", "struct_sl_sock_event_data__t.html#a7bcf1a1a2604db78219a22c1133662f1", null ], - [ "socketAsyncEvent", "struct_sl_sock_event_data__t.html#ade95cf432a38a6ee899c7e9b69a06d83", null ], - [ "status", "struct_sl_sock_event_data__t.html#a88b0e46c9227c27bb67842b895edbc6f", null ] -]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_sock_ip_mreq.html b/docs/simplelink_api/html/struct_sl_sock_ip_mreq.html index 363efb5..68a4d52 100644 --- a/docs/simplelink_api/html/struct_sl_sock_ip_mreq.html +++ b/docs/simplelink_api/html/struct_sl_sock_ip_mreq.html @@ -1,138 +1,137 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlSockIpMreq Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlSockIpMreq Struct Reference
-
-
- - - - - - -

-Data Fields

-SlInAddr_t imr_multiaddr
 
-SlInAddr_t imr_interface
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlSockIpMreq Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlSockIpMreq Struct Reference
+
+
+ + + + + + +

+Data Fields

+SlInAddr_t imr_multiaddr
 
+SlInAddr_t imr_interface
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_sock_ip_mreq.js b/docs/simplelink_api/html/struct_sl_sock_ip_mreq.js index 03e3e41..7954f45 100644 --- a/docs/simplelink_api/html/struct_sl_sock_ip_mreq.js +++ b/docs/simplelink_api/html/struct_sl_sock_ip_mreq.js @@ -1,5 +1,5 @@ -var struct_sl_sock_ip_mreq = -[ - [ "imr_interface", "struct_sl_sock_ip_mreq.html#a526726f1171c79d8003490ab86f3da7c", null ], - [ "imr_multiaddr", "struct_sl_sock_ip_mreq.html#a6a0c67f0fbae8c3d98c1913f2d37b200", null ] +var struct_sl_sock_ip_mreq = +[ + [ "imr_interface", "struct_sl_sock_ip_mreq.html#a526726f1171c79d8003490ab86f3da7c", null ], + [ "imr_multiaddr", "struct_sl_sock_ip_mreq.html#a6a0c67f0fbae8c3d98c1913f2d37b200", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_sock_keepalive__t.html b/docs/simplelink_api/html/struct_sl_sock_keepalive__t.html index f28b65f..f5bb7f7 100644 --- a/docs/simplelink_api/html/struct_sl_sock_keepalive__t.html +++ b/docs/simplelink_api/html/struct_sl_sock_keepalive__t.html @@ -1,135 +1,134 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlSockKeepalive_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlSockKeepalive_t Struct Reference
-
-
- - - - -

-Data Fields

-_u32 KeepaliveEnabled
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlSockKeepalive_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlSockKeepalive_t Struct Reference
+
+
+ + + + +

+Data Fields

+_u32 KeepaliveEnabled
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_sock_keepalive__t.js b/docs/simplelink_api/html/struct_sl_sock_keepalive__t.js index 6f09941..9a8b150 100644 --- a/docs/simplelink_api/html/struct_sl_sock_keepalive__t.js +++ b/docs/simplelink_api/html/struct_sl_sock_keepalive__t.js @@ -1,4 +1,4 @@ -var struct_sl_sock_keepalive__t = -[ - [ "KeepaliveEnabled", "struct_sl_sock_keepalive__t.html#aac43eef83958917bdf29de10afae4a00", null ] +var struct_sl_sock_keepalive__t = +[ + [ "KeepaliveEnabled", "struct_sl_sock_keepalive__t.html#aac43eef83958917bdf29de10afae4a00", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_sock_nonblocking__t.html b/docs/simplelink_api/html/struct_sl_sock_nonblocking__t.html index e40b2b3..e066863 100644 --- a/docs/simplelink_api/html/struct_sl_sock_nonblocking__t.html +++ b/docs/simplelink_api/html/struct_sl_sock_nonblocking__t.html @@ -1,135 +1,134 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlSockNonblocking_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlSockNonblocking_t Struct Reference
-
-
- - - - -

-Data Fields

-_u32 NonblockingEnabled
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlSockNonblocking_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlSockNonblocking_t Struct Reference
+
+
+ + + + +

+Data Fields

+_u32 NonblockingEnabled
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_sock_nonblocking__t.js b/docs/simplelink_api/html/struct_sl_sock_nonblocking__t.js index 1ad20d1..70ec917 100644 --- a/docs/simplelink_api/html/struct_sl_sock_nonblocking__t.js +++ b/docs/simplelink_api/html/struct_sl_sock_nonblocking__t.js @@ -1,4 +1,4 @@ -var struct_sl_sock_nonblocking__t = -[ - [ "NonblockingEnabled", "struct_sl_sock_nonblocking__t.html#ad95a3e0aa5ed5b4a341c2503dcae327d", null ] +var struct_sl_sock_nonblocking__t = +[ + [ "NonblockingEnabled", "struct_sl_sock_nonblocking__t.html#ad95a3e0aa5ed5b4a341c2503dcae327d", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_sock_reuseaddr__t.html b/docs/simplelink_api/html/struct_sl_sock_reuseaddr__t.html index 7c07c5d..61c9939 100644 --- a/docs/simplelink_api/html/struct_sl_sock_reuseaddr__t.html +++ b/docs/simplelink_api/html/struct_sl_sock_reuseaddr__t.html @@ -1,135 +1,134 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlSockReuseaddr_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlSockReuseaddr_t Struct Reference
-
-
- - - - -

-Data Fields

-_u32 ReuseaddrEnabled
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlSockReuseaddr_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlSockReuseaddr_t Struct Reference
+
+
+ + + + +

+Data Fields

+_u32 ReuseaddrEnabled
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_sock_reuseaddr__t.js b/docs/simplelink_api/html/struct_sl_sock_reuseaddr__t.js index f292f21..5fc6147 100644 --- a/docs/simplelink_api/html/struct_sl_sock_reuseaddr__t.js +++ b/docs/simplelink_api/html/struct_sl_sock_reuseaddr__t.js @@ -1,4 +1,4 @@ -var struct_sl_sock_reuseaddr__t = -[ - [ "ReuseaddrEnabled", "struct_sl_sock_reuseaddr__t.html#a1885583c07b6775cfa117a4a64ae6e3d", null ] +var struct_sl_sock_reuseaddr__t = +[ + [ "ReuseaddrEnabled", "struct_sl_sock_reuseaddr__t.html#a1885583c07b6775cfa117a4a64ae6e3d", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_sock_secure_mask.html b/docs/simplelink_api/html/struct_sl_sock_secure_mask.html index 3dc4558..bb27d3c 100644 --- a/docs/simplelink_api/html/struct_sl_sock_secure_mask.html +++ b/docs/simplelink_api/html/struct_sl_sock_secure_mask.html @@ -1,135 +1,134 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlSockSecureMask Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlSockSecureMask Struct Reference
-
-
- - - - -

-Data Fields

-_u32 secureMask
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlSockSecureMask Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlSockSecureMask Struct Reference
+
+
+ + + + +

+Data Fields

+_u32 secureMask
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_sock_secure_mask.js b/docs/simplelink_api/html/struct_sl_sock_secure_mask.js index b308197..0fc50c6 100644 --- a/docs/simplelink_api/html/struct_sl_sock_secure_mask.js +++ b/docs/simplelink_api/html/struct_sl_sock_secure_mask.js @@ -1,4 +1,4 @@ -var struct_sl_sock_secure_mask = -[ - [ "secureMask", "struct_sl_sock_secure_mask.html#a60798538f913579423ecfac09c9e13d7", null ] +var struct_sl_sock_secure_mask = +[ + [ "secureMask", "struct_sl_sock_secure_mask.html#a60798538f913579423ecfac09c9e13d7", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_sock_secure_method.html b/docs/simplelink_api/html/struct_sl_sock_secure_method.html index 73b7ba8..87c1a74 100644 --- a/docs/simplelink_api/html/struct_sl_sock_secure_method.html +++ b/docs/simplelink_api/html/struct_sl_sock_secure_method.html @@ -1,135 +1,134 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlSockSecureMethod Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlSockSecureMethod Struct Reference
-
-
- - - - -

-Data Fields

-_u8 secureMethod
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlSockSecureMethod Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlSockSecureMethod Struct Reference
+
+
+ + + + +

+Data Fields

+_u8 secureMethod
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_sock_secure_method.js b/docs/simplelink_api/html/struct_sl_sock_secure_method.js index 0de3ce1..50ecc98 100644 --- a/docs/simplelink_api/html/struct_sl_sock_secure_method.js +++ b/docs/simplelink_api/html/struct_sl_sock_secure_method.js @@ -1,4 +1,4 @@ -var struct_sl_sock_secure_method = -[ - [ "secureMethod", "struct_sl_sock_secure_method.html#a7b920ea3f38a2399d1aa2c473cf1021e", null ] +var struct_sl_sock_secure_method = +[ + [ "secureMethod", "struct_sl_sock_secure_method.html#a7b920ea3f38a2399d1aa2c473cf1021e", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_sock_tx_fail_event_data__t.html b/docs/simplelink_api/html/struct_sl_sock_tx_fail_event_data__t.html new file mode 100644 index 0000000..9ec0721 --- /dev/null +++ b/docs/simplelink_api/html/struct_sl_sock_tx_fail_event_data__t.html @@ -0,0 +1,140 @@ + + + + + + +CC32XX SimpleLink Host Driver: SlSockTxFailEventData_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlSockTxFailEventData_t Struct Reference
+
+
+ + + + + + + + +

+Data Fields

+_i16 status
 
+_u8 sd
 
+_u8 padding
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_sock_tx_fail_event_data__t.js b/docs/simplelink_api/html/struct_sl_sock_tx_fail_event_data__t.js new file mode 100644 index 0000000..9bf3d97 --- /dev/null +++ b/docs/simplelink_api/html/struct_sl_sock_tx_fail_event_data__t.js @@ -0,0 +1,6 @@ +var struct_sl_sock_tx_fail_event_data__t = +[ + [ "padding", "struct_sl_sock_tx_fail_event_data__t.html#add68adbd81b0e5a99dda8bd7b4481108", null ], + [ "sd", "struct_sl_sock_tx_fail_event_data__t.html#a6e61459b1cc5e37bbd460cbbdade7fd0", null ], + [ "status", "struct_sl_sock_tx_fail_event_data__t.html#a88b0e46c9227c27bb67842b895edbc6f", null ] +]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_sock_winsize__t.html b/docs/simplelink_api/html/struct_sl_sock_winsize__t.html index 6b01d8e..461dd32 100644 --- a/docs/simplelink_api/html/struct_sl_sock_winsize__t.html +++ b/docs/simplelink_api/html/struct_sl_sock_winsize__t.html @@ -1,135 +1,134 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlSockWinsize_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlSockWinsize_t Struct Reference
-
-
- - - - -

-Data Fields

-_u32 Winsize
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlSockWinsize_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlSockWinsize_t Struct Reference
+
+
+ + + + +

+Data Fields

+_u32 Winsize
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_sock_winsize__t.js b/docs/simplelink_api/html/struct_sl_sock_winsize__t.js index bf79097..9d9f092 100644 --- a/docs/simplelink_api/html/struct_sl_sock_winsize__t.js +++ b/docs/simplelink_api/html/struct_sl_sock_winsize__t.js @@ -1,4 +1,4 @@ -var struct_sl_sock_winsize__t = -[ - [ "Winsize", "struct_sl_sock_winsize__t.html#af706421c801e172c074064414e837eec", null ] +var struct_sl_sock_winsize__t = +[ + [ "Winsize", "struct_sl_sock_winsize__t.html#af706421c801e172c074064414e837eec", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_socket_async_event__t.html b/docs/simplelink_api/html/struct_sl_socket_async_event__t.html index 8c5344a..a54abcd 100644 --- a/docs/simplelink_api/html/struct_sl_socket_async_event__t.html +++ b/docs/simplelink_api/html/struct_sl_socket_async_event__t.html @@ -1,141 +1,143 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlSocketAsyncEvent_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlSocketAsyncEvent_t Struct Reference
-
-
- - - - - - - - -

-Data Fields

-_u8 sd
 
-_u8 type
 
-_u16 val
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlSocketAsyncEvent_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlSocketAsyncEvent_t Struct Reference
+
+
+ + + + + + + + + + +

+Data Fields

+_u8 sd
 
+_u8 type
 
+_i16 val
 
+_u8 * pExtraInfo
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_socket_async_event__t.js b/docs/simplelink_api/html/struct_sl_socket_async_event__t.js index 4b4722a..e9fdd7d 100644 --- a/docs/simplelink_api/html/struct_sl_socket_async_event__t.js +++ b/docs/simplelink_api/html/struct_sl_socket_async_event__t.js @@ -1,6 +1,7 @@ -var struct_sl_socket_async_event__t = -[ - [ "sd", "struct_sl_socket_async_event__t.html#a6e61459b1cc5e37bbd460cbbdade7fd0", null ], - [ "type", "struct_sl_socket_async_event__t.html#a525a5ef247f93f470f4f5e2b5cc59dce", null ], - [ "val", "struct_sl_socket_async_event__t.html#ad8afa2d0f076cad9c84b3c1e9022fbd6", null ] +var struct_sl_socket_async_event__t = +[ + [ "pExtraInfo", "struct_sl_socket_async_event__t.html#a8906bd316385e67450a57a4a8bd50a8a", null ], + [ "sd", "struct_sl_socket_async_event__t.html#a6e61459b1cc5e37bbd460cbbdade7fd0", null ], + [ "type", "struct_sl_socket_async_event__t.html#a525a5ef247f93f470f4f5e2b5cc59dce", null ], + [ "val", "struct_sl_socket_async_event__t.html#af7f7ebaf50ae06049cd3f317a812d90d", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_timeval__t.html b/docs/simplelink_api/html/struct_sl_timeval__t.html index 46c1b3e..10ac8e8 100644 --- a/docs/simplelink_api/html/struct_sl_timeval__t.html +++ b/docs/simplelink_api/html/struct_sl_timeval__t.html @@ -1,138 +1,137 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlTimeval_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlTimeval_t Struct Reference
-
-
- - - - - - -

-Data Fields

-SlTime_t tv_sec
 
-SlSuseconds_t tv_usec
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlTimeval_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlTimeval_t Struct Reference
+
+
+ + + + + + +

+Data Fields

+SlTime_t tv_sec
 
+SlSuseconds_t tv_usec
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_timeval__t.js b/docs/simplelink_api/html/struct_sl_timeval__t.js index f83dff5..a5d0fd2 100644 --- a/docs/simplelink_api/html/struct_sl_timeval__t.js +++ b/docs/simplelink_api/html/struct_sl_timeval__t.js @@ -1,5 +1,5 @@ -var struct_sl_timeval__t = -[ - [ "tv_sec", "struct_sl_timeval__t.html#a8f5aa475627ac4ba971fce4b1a79b673", null ], - [ "tv_usec", "struct_sl_timeval__t.html#a1ad5c78770a3d6fd50eae96b9096830b", null ] +var struct_sl_timeval__t = +[ + [ "tv_sec", "struct_sl_timeval__t.html#a8f5aa475627ac4ba971fce4b1a79b673", null ], + [ "tv_usec", "struct_sl_timeval__t.html#a1ad5c78770a3d6fd50eae96b9096830b", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_transceiver_rx_over_head__t.html b/docs/simplelink_api/html/struct_sl_transceiver_rx_over_head__t.html index 0a737aa..16fb3a1 100644 --- a/docs/simplelink_api/html/struct_sl_transceiver_rx_over_head__t.html +++ b/docs/simplelink_api/html/struct_sl_transceiver_rx_over_head__t.html @@ -1,147 +1,146 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlTransceiverRxOverHead_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlTransceiverRxOverHead_t Struct Reference
-
-
- - - - - - - - - - - - -

-Data Fields

-_u8 rate
 
-_u8 channel
 
-_i8 rssi
 
-_u8 padding
 
-_u32 timestamp
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlTransceiverRxOverHead_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlTransceiverRxOverHead_t Struct Reference
+
+
+ + + + + + + + + + + + +

+Data Fields

+_u8 rate
 
+_u8 channel
 
+_i8 rssi
 
+_u8 padding
 
+_u32 timestamp
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_transceiver_rx_over_head__t.js b/docs/simplelink_api/html/struct_sl_transceiver_rx_over_head__t.js index ab479e5..b433835 100644 --- a/docs/simplelink_api/html/struct_sl_transceiver_rx_over_head__t.js +++ b/docs/simplelink_api/html/struct_sl_transceiver_rx_over_head__t.js @@ -1,8 +1,8 @@ -var struct_sl_transceiver_rx_over_head__t = -[ - [ "channel", "struct_sl_transceiver_rx_over_head__t.html#aa884a666899783e8d3f3d4921b0a24c3", null ], - [ "padding", "struct_sl_transceiver_rx_over_head__t.html#add68adbd81b0e5a99dda8bd7b4481108", null ], - [ "rate", "struct_sl_transceiver_rx_over_head__t.html#a953f0299b419ccb222c1c7ef8320ff51", null ], - [ "rssi", "struct_sl_transceiver_rx_over_head__t.html#a80c3df13ed7cf0b1a5e5639811c82f34", null ], - [ "timestamp", "struct_sl_transceiver_rx_over_head__t.html#ae583290c9ab9f4aa0275b90ed56de3c4", null ] +var struct_sl_transceiver_rx_over_head__t = +[ + [ "channel", "struct_sl_transceiver_rx_over_head__t.html#aa884a666899783e8d3f3d4921b0a24c3", null ], + [ "padding", "struct_sl_transceiver_rx_over_head__t.html#add68adbd81b0e5a99dda8bd7b4481108", null ], + [ "rate", "struct_sl_transceiver_rx_over_head__t.html#a953f0299b419ccb222c1c7ef8320ff51", null ], + [ "rssi", "struct_sl_transceiver_rx_over_head__t.html#a80c3df13ed7cf0b1a5e5639811c82f34", null ], + [ "timestamp", "struct_sl_transceiver_rx_over_head__t.html#ae583290c9ab9f4aa0275b90ed56de3c4", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_version_full.html b/docs/simplelink_api/html/struct_sl_version_full.html index d5f07b5..11d0b82 100644 --- a/docs/simplelink_api/html/struct_sl_version_full.html +++ b/docs/simplelink_api/html/struct_sl_version_full.html @@ -1,144 +1,143 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlVersionFull Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlVersionFull Struct Reference
-
-
- - - - - - - - - - -

-Data Fields

-_SlPartialVersion ChipFwAndPhyVersion
 
-_u32 NwpVersion [4]
 
-_u16 RomVersion
 
-_u16 Padding
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlVersionFull Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlVersionFull Struct Reference
+
+
+ + + + + + + + + + +

+Data Fields

+_SlPartialVersion ChipFwAndPhyVersion
 
+_u32 NwpVersion [4]
 
+_u16 RomVersion
 
+_u16 Padding
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_version_full.js b/docs/simplelink_api/html/struct_sl_version_full.js index c4e08f0..fa56466 100644 --- a/docs/simplelink_api/html/struct_sl_version_full.js +++ b/docs/simplelink_api/html/struct_sl_version_full.js @@ -1,7 +1,7 @@ -var struct_sl_version_full = -[ - [ "ChipFwAndPhyVersion", "struct_sl_version_full.html#ad5ea7f4ad7fbeb5a94ac66e2da5d55db", null ], - [ "NwpVersion", "struct_sl_version_full.html#a70e21c342f3050f69fba55d461ccec8c", null ], - [ "Padding", "struct_sl_version_full.html#a3e6fcab66830b3ba1b3d8d6167595d03", null ], - [ "RomVersion", "struct_sl_version_full.html#a04d0b5c1e5fe2e3e1209bafd6f6d6596", null ] +var struct_sl_version_full = +[ + [ "ChipFwAndPhyVersion", "struct_sl_version_full.html#ad5ea7f4ad7fbeb5a94ac66e2da5d55db", null ], + [ "NwpVersion", "struct_sl_version_full.html#a70e21c342f3050f69fba55d461ccec8c", null ], + [ "Padding", "struct_sl_version_full.html#a3e6fcab66830b3ba1b3d8d6167595d03", null ], + [ "RomVersion", "struct_sl_version_full.html#a04d0b5c1e5fe2e3e1209bafd6f6d6596", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_sl_wlan_event__t.html b/docs/simplelink_api/html/struct_sl_wlan_event__t.html index 62cd82f..0299e1b 100644 --- a/docs/simplelink_api/html/struct_sl_wlan_event__t.html +++ b/docs/simplelink_api/html/struct_sl_wlan_event__t.html @@ -1,138 +1,137 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlWlanEvent_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlWlanEvent_t Struct Reference
-
-
- - - - - - -

-Data Fields

-_u32 Event
 
-SlWlanEventData_u EventData
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlWlanEvent_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlWlanEvent_t Struct Reference
+
+
+ + + + + + +

+Data Fields

+_u32 Event
 
+SlWlanEventData_u EventData
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_sl_wlan_event__t.js b/docs/simplelink_api/html/struct_sl_wlan_event__t.js index f1444c9..a82f11e 100644 --- a/docs/simplelink_api/html/struct_sl_wlan_event__t.js +++ b/docs/simplelink_api/html/struct_sl_wlan_event__t.js @@ -1,5 +1,5 @@ -var struct_sl_wlan_event__t = -[ - [ "Event", "struct_sl_wlan_event__t.html#adeedbaaa252b969fc66e151eef37ea62", null ], - [ "EventData", "struct_sl_wlan_event__t.html#ae587c51197255d4e4ef20cc90d73825f", null ] +var struct_sl_wlan_event__t = +[ + [ "Event", "struct_sl_wlan_event__t.html#adeedbaaa252b969fc66e151eef37ea62", null ], + [ "EventData", "struct_sl_wlan_event__t.html#ae587c51197255d4e4ef20cc90d73825f", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_slrx_filter_action__t.html b/docs/simplelink_api/html/struct_slrx_filter_action__t.html index 247075b..74295c5 100644 --- a/docs/simplelink_api/html/struct_slrx_filter_action__t.html +++ b/docs/simplelink_api/html/struct_slrx_filter_action__t.html @@ -1,157 +1,156 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlrxFilterAction_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlrxFilterAction_t Struct Reference
-
-
- - - - - - - - -

-Data Fields

-SlrxFilterActionType_t ActionType
 
SlrxFilterActionArg_t ActionArg [SL_RX_FILTER_NUM_OF_BYTES_FOR_ACTIONS_ARGS]
 
-_u8 Padding [2]
 
-

Field Documentation

- -
-
- - - - -
SlrxFilterActionArg_t ActionArg[SL_RX_FILTER_NUM_OF_BYTES_FOR_ACTIONS_ARGS]
-
-

location 0 - The counter to increase In case the action is of type "increase" the arg will contain the counter number, The counter number values are as in ::SlrxFilterCounterId_t.
-location 1 - The template arg.
-location 2 - The event arg.
-

- -
-
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlrxFilterAction_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlrxFilterAction_t Struct Reference
+
+
+ + + + + + + + +

+Data Fields

+SlrxFilterActionType_t ActionType
 
SlrxFilterActionArg_t ActionArg [SL_RX_FILTER_NUM_OF_BYTES_FOR_ACTIONS_ARGS]
 
+_u8 Padding [2]
 
+

Field Documentation

+ +
+
+ + + + +
SlrxFilterActionArg_t ActionArg[SL_RX_FILTER_NUM_OF_BYTES_FOR_ACTIONS_ARGS]
+
+

location 0 - The counter to increase In case the action is of type "increase" the arg will contain the counter number, The counter number values are as in ::SlrxFilterCounterId_t.
+ location 1 - The template arg.
+ location 2 - The event arg.
+

+ +
+
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_slrx_filter_action__t.js b/docs/simplelink_api/html/struct_slrx_filter_action__t.js index 529842e..a766b43 100644 --- a/docs/simplelink_api/html/struct_slrx_filter_action__t.js +++ b/docs/simplelink_api/html/struct_slrx_filter_action__t.js @@ -1,6 +1,6 @@ -var struct_slrx_filter_action__t = -[ - [ "ActionArg", "struct_slrx_filter_action__t.html#a1d5a5c67b72f38d0f547f4b41594361d", null ], - [ "ActionType", "struct_slrx_filter_action__t.html#ae40c17e8d9ccc84c73d1b330bb156e7e", null ], - [ "Padding", "struct_slrx_filter_action__t.html#a7b31ced7e468b57e02cd3b78db2cbef5", null ] +var struct_slrx_filter_action__t = +[ + [ "ActionArg", "struct_slrx_filter_action__t.html#a1d5a5c67b72f38d0f547f4b41594361d", null ], + [ "ActionType", "struct_slrx_filter_action__t.html#ae40c17e8d9ccc84c73d1b330bb156e7e", null ], + [ "Padding", "struct_slrx_filter_action__t.html#a7b31ced7e468b57e02cd3b78db2cbef5", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_slrx_filter_combination_type__t.html b/docs/simplelink_api/html/struct_slrx_filter_combination_type__t.html index dcd2d82..5627358 100644 --- a/docs/simplelink_api/html/struct_slrx_filter_combination_type__t.html +++ b/docs/simplelink_api/html/struct_slrx_filter_combination_type__t.html @@ -1,141 +1,140 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlrxFilterCombinationType_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlrxFilterCombinationType_t Struct Reference
-
-
- - - - - - - - -

-Data Fields

-SlrxFilterCombinationTypeOperator_t CombinationTypeOperator
 
-SlrxFilterID_t CombinationFilterId [SL_RX_FILTER_NUM_OF_COMBINATION_TYPE_ARGS]
 
-_u8 Padding
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlrxFilterCombinationType_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlrxFilterCombinationType_t Struct Reference
+
+
+ + + + + + + + +

+Data Fields

+SlrxFilterCombinationTypeOperator_t CombinationTypeOperator
 
+SlrxFilterID_t CombinationFilterId [SL_RX_FILTER_NUM_OF_COMBINATION_TYPE_ARGS]
 
+_u8 Padding
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_slrx_filter_combination_type__t.js b/docs/simplelink_api/html/struct_slrx_filter_combination_type__t.js index cd894e4..1157124 100644 --- a/docs/simplelink_api/html/struct_slrx_filter_combination_type__t.js +++ b/docs/simplelink_api/html/struct_slrx_filter_combination_type__t.js @@ -1,6 +1,6 @@ -var struct_slrx_filter_combination_type__t = -[ - [ "CombinationFilterId", "struct_slrx_filter_combination_type__t.html#a22b5805a99770fcc3ff9092f58305e2a", null ], - [ "CombinationTypeOperator", "struct_slrx_filter_combination_type__t.html#ad3b0190bfb0627c438a9438f6810aca8", null ], - [ "Padding", "struct_slrx_filter_combination_type__t.html#abfe28724ad150292705a0bf83b093b8e", null ] +var struct_slrx_filter_combination_type__t = +[ + [ "CombinationFilterId", "struct_slrx_filter_combination_type__t.html#a22b5805a99770fcc3ff9092f58305e2a", null ], + [ "CombinationTypeOperator", "struct_slrx_filter_combination_type__t.html#ad3b0190bfb0627c438a9438f6810aca8", null ], + [ "Padding", "struct_slrx_filter_combination_type__t.html#abfe28724ad150292705a0bf83b093b8e", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_slrx_filter_header_type__t.html b/docs/simplelink_api/html/struct_slrx_filter_header_type__t.html index e526f56..b7ca20e 100644 --- a/docs/simplelink_api/html/struct_slrx_filter_header_type__t.html +++ b/docs/simplelink_api/html/struct_slrx_filter_header_type__t.html @@ -1,193 +1,192 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlrxFilterHeaderType_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlrxFilterHeaderType_t Struct Reference
-
-
- - - - - - - - - - -

-Data Fields

SlrxFilterRuleHeaderArgsAndMask_t RuleHeaderArgsAndMask
 
SlrxFilterHdrField_t RuleHeaderfield
 
SlrxFilterCompareFunction_t RuleCompareFunc
 
_u8 RulePadding [2]
 
-

Field Documentation

- -
-
- - - - -
SlrxFilterCompareFunction_t RuleCompareFunc
-
-

type of the comparison function see :: SlrxFilterCompareFunction_t

- -
-
- -
-
- - - - -
SlrxFilterRuleHeaderArgsAndMask_t RuleHeaderArgsAndMask
-
-
- -
-
- - - - -
SlrxFilterHdrField_t RuleHeaderfield
-
-

Packet HDR field which will be compared to the argument

- -
-
- -
-
- - - - -
_u8 RulePadding[2]
-
-

padding

- -
-
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlrxFilterHeaderType_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlrxFilterHeaderType_t Struct Reference
+
+
+ + + + + + + + + + +

+Data Fields

SlrxFilterRuleHeaderArgsAndMask_t RuleHeaderArgsAndMask
 
SlrxFilterHdrField_t RuleHeaderfield
 
SlrxFilterCompareFunction_t RuleCompareFunc
 
_u8 RulePadding [2]
 
+

Field Documentation

+ +
+
+ + + + +
SlrxFilterCompareFunction_t RuleCompareFunc
+
+

type of the comparison function see :: SlrxFilterCompareFunction_t

+ +
+
+ +
+
+ + + + +
SlrxFilterRuleHeaderArgsAndMask_t RuleHeaderArgsAndMask
+
+
+ +
+
+ + + + +
SlrxFilterHdrField_t RuleHeaderfield
+
+

Packet HDR field which will be compared to the argument

+ +
+
+ +
+
+ + + + +
_u8 RulePadding[2]
+
+

padding

+ +
+
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_slrx_filter_header_type__t.js b/docs/simplelink_api/html/struct_slrx_filter_header_type__t.js index 2a3e634..cbb2de3 100644 --- a/docs/simplelink_api/html/struct_slrx_filter_header_type__t.js +++ b/docs/simplelink_api/html/struct_slrx_filter_header_type__t.js @@ -1,7 +1,7 @@ -var struct_slrx_filter_header_type__t = -[ - [ "RuleCompareFunc", "struct_slrx_filter_header_type__t.html#aa92cfd1d32af09ab6c845ced96c4110f", null ], - [ "RuleHeaderArgsAndMask", "struct_slrx_filter_header_type__t.html#afb384f375f43a8cb7e349ffaf70c26e6", null ], - [ "RuleHeaderfield", "struct_slrx_filter_header_type__t.html#ac40cef42995351984232b29151bc0b6c", null ], - [ "RulePadding", "struct_slrx_filter_header_type__t.html#aab0c11c64eed544d5fb67de89249c6fa", null ] +var struct_slrx_filter_header_type__t = +[ + [ "RuleCompareFunc", "struct_slrx_filter_header_type__t.html#aa92cfd1d32af09ab6c845ced96c4110f", null ], + [ "RuleHeaderArgsAndMask", "struct_slrx_filter_header_type__t.html#afb384f375f43a8cb7e349ffaf70c26e6", null ], + [ "RuleHeaderfield", "struct_slrx_filter_header_type__t.html#ac40cef42995351984232b29151bc0b6c", null ], + [ "RulePadding", "struct_slrx_filter_header_type__t.html#aab0c11c64eed544d5fb67de89249c6fa", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_slrx_filter_payload_type__t.html b/docs/simplelink_api/html/struct_slrx_filter_payload_type__t.html index f83e142..301a564 100644 --- a/docs/simplelink_api/html/struct_slrx_filter_payload_type__t.html +++ b/docs/simplelink_api/html/struct_slrx_filter_payload_type__t.html @@ -1,178 +1,177 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlrxFilterPayloadType_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlrxFilterPayloadType_t Struct Reference
-
-
- - - - - - - - -

-Data Fields

SlrxFilterRegxPattern_t RegxPattern
 
SlrxFilterOffset_t LowerOffset
 
SlrxFilterOffset_t UpperOffset
 
-

Field Documentation

- -
-
- - - - -
SlrxFilterOffset_t LowerOffset
-
-

Not supported on current release

- -
-
- -
-
- - - - -
SlrxFilterRegxPattern_t RegxPattern
-
-

Not supported on current release

- -
-
- -
-
- - - - -
SlrxFilterOffset_t UpperOffset
-
-

Not supported on current release

- -
-
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlrxFilterPayloadType_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlrxFilterPayloadType_t Struct Reference
+
+
+ + + + + + + + +

+Data Fields

SlrxFilterRegxPattern_t RegxPattern
 
SlrxFilterOffset_t LowerOffset
 
SlrxFilterOffset_t UpperOffset
 
+

Field Documentation

+ +
+
+ + + + +
SlrxFilterOffset_t LowerOffset
+
+

Not supported on current release

+ +
+
+ +
+
+ + + + +
SlrxFilterRegxPattern_t RegxPattern
+
+

Not supported on current release

+ +
+
+ +
+
+ + + + +
SlrxFilterOffset_t UpperOffset
+
+

Not supported on current release

+ +
+
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_slrx_filter_payload_type__t.js b/docs/simplelink_api/html/struct_slrx_filter_payload_type__t.js index ec01710..ae7194f 100644 --- a/docs/simplelink_api/html/struct_slrx_filter_payload_type__t.js +++ b/docs/simplelink_api/html/struct_slrx_filter_payload_type__t.js @@ -1,6 +1,6 @@ -var struct_slrx_filter_payload_type__t = -[ - [ "LowerOffset", "struct_slrx_filter_payload_type__t.html#a9ac3d3bada3c45dcf2539a383edcfc9b", null ], - [ "RegxPattern", "struct_slrx_filter_payload_type__t.html#a87972b443af7974c2e52bea59b8aed29", null ], - [ "UpperOffset", "struct_slrx_filter_payload_type__t.html#afde99c9d09bcb152ed68b329a9c31778", null ] +var struct_slrx_filter_payload_type__t = +[ + [ "LowerOffset", "struct_slrx_filter_payload_type__t.html#a9ac3d3bada3c45dcf2539a383edcfc9b", null ], + [ "RegxPattern", "struct_slrx_filter_payload_type__t.html#a87972b443af7974c2e52bea59b8aed29", null ], + [ "UpperOffset", "struct_slrx_filter_payload_type__t.html#afde99c9d09bcb152ed68b329a9c31778", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_slrx_filter_regx_pattern__t.html b/docs/simplelink_api/html/struct_slrx_filter_regx_pattern__t.html index 3cb6d07..785c3f1 100644 --- a/docs/simplelink_api/html/struct_slrx_filter_regx_pattern__t.html +++ b/docs/simplelink_api/html/struct_slrx_filter_regx_pattern__t.html @@ -1,135 +1,134 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlrxFilterRegxPattern_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlrxFilterRegxPattern_t Struct Reference
-
-
- - - - -

-Data Fields

-_u8 x [SL_RX_FILTER_LENGTH_OF_REGX_PATTERN_LENGTH]
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlrxFilterRegxPattern_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlrxFilterRegxPattern_t Struct Reference
+
+
+ + + + +

+Data Fields

+_u8 x [SL_RX_FILTER_LENGTH_OF_REGX_PATTERN_LENGTH]
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_slrx_filter_regx_pattern__t.js b/docs/simplelink_api/html/struct_slrx_filter_regx_pattern__t.js index 628bcd6..e5a9db8 100644 --- a/docs/simplelink_api/html/struct_slrx_filter_regx_pattern__t.js +++ b/docs/simplelink_api/html/struct_slrx_filter_regx_pattern__t.js @@ -1,4 +1,4 @@ -var struct_slrx_filter_regx_pattern__t = -[ - [ "x", "struct_slrx_filter_regx_pattern__t.html#ac0c9cf412eba9cd1dfb43711e369f370", null ] +var struct_slrx_filter_regx_pattern__t = +[ + [ "x", "struct_slrx_filter_regx_pattern__t.html#ac0c9cf412eba9cd1dfb43711e369f370", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_slrx_filter_rule_header_args_and_mask__t.html b/docs/simplelink_api/html/struct_slrx_filter_rule_header_args_and_mask__t.html index f74ce75..02f839f 100644 --- a/docs/simplelink_api/html/struct_slrx_filter_rule_header_args_and_mask__t.html +++ b/docs/simplelink_api/html/struct_slrx_filter_rule_header_args_and_mask__t.html @@ -1,163 +1,162 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlrxFilterRuleHeaderArgsAndMask_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlrxFilterRuleHeaderArgsAndMask_t Struct Reference
-
-
- - - - - - -

-Data Fields

SlrxFilterHeaderArg_t RuleHeaderArgs
 
SlrxFilterCompareMask_t RuleHeaderArgsMask [16]
 
-

Field Documentation

- -
-
- - - - -
SlrxFilterHeaderArg_t RuleHeaderArgs
-
-

Argument for the comparison function

- -
-
- -
-
- - - - -
SlrxFilterCompareMask_t RuleHeaderArgsMask[16]
-
-

the mask is used in order to enable partial comparison, Use the 0xFFFFFFFF in case you don't want to use mask

- -
-
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlrxFilterRuleHeaderArgsAndMask_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlrxFilterRuleHeaderArgsAndMask_t Struct Reference
+
+
+ + + + + + +

+Data Fields

SlrxFilterHeaderArg_t RuleHeaderArgs
 
SlrxFilterCompareMask_t RuleHeaderArgsMask [16]
 
+

Field Documentation

+ +
+
+ + + + +
SlrxFilterHeaderArg_t RuleHeaderArgs
+
+

Argument for the comparison function

+ +
+
+ +
+
+ + + + +
SlrxFilterCompareMask_t RuleHeaderArgsMask[16]
+
+

the mask is used in order to enable partial comparison, Use the 0xFFFFFFFF in case you don't want to use mask

+ +
+
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_slrx_filter_rule_header_args_and_mask__t.js b/docs/simplelink_api/html/struct_slrx_filter_rule_header_args_and_mask__t.js index 03ce45b..884643b 100644 --- a/docs/simplelink_api/html/struct_slrx_filter_rule_header_args_and_mask__t.js +++ b/docs/simplelink_api/html/struct_slrx_filter_rule_header_args_and_mask__t.js @@ -1,5 +1,5 @@ -var struct_slrx_filter_rule_header_args_and_mask__t = -[ - [ "RuleHeaderArgs", "struct_slrx_filter_rule_header_args_and_mask__t.html#abb9bde3180785cbeed7c73b5253c10ab", null ], - [ "RuleHeaderArgsMask", "struct_slrx_filter_rule_header_args_and_mask__t.html#a56eb016bde23aa213a1b2ffdab58f45b", null ] +var struct_slrx_filter_rule_header_args_and_mask__t = +[ + [ "RuleHeaderArgs", "struct_slrx_filter_rule_header_args_and_mask__t.html#abb9bde3180785cbeed7c73b5253c10ab", null ], + [ "RuleHeaderArgsMask", "struct_slrx_filter_rule_header_args_and_mask__t.html#a56eb016bde23aa213a1b2ffdab58f45b", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_slrx_filter_trigger__t.html b/docs/simplelink_api/html/struct_slrx_filter_trigger__t.html index e93fd74..1eb92b6 100644 --- a/docs/simplelink_api/html/struct_slrx_filter_trigger__t.html +++ b/docs/simplelink_api/html/struct_slrx_filter_trigger__t.html @@ -1,178 +1,177 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlrxFilterTrigger_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlrxFilterTrigger_t Struct Reference
-
-
- - - - - - - - - - - - - - - - -

-Data Fields

SlrxFilterID_t ParentFilterID
 
-SlrxFilterCounterId_t Trigger
 
-SlrxFilterTriggerConnectionStates_t TriggerArgConnectionState
 
-SlrxFilterTriggerRoles_t TriggerArgRoleStatus
 
-SlrxFilterDBTriggerArg_t TriggerArg
 
SlrxTriggerCompareFunction_t TriggerCompareFunction
 
-_u8 Padding [3]
 
-

Field Documentation

- -
-
- - - - -
SlrxFilterID_t ParentFilterID
-
-

The parent filter ID, this is the way to build filter tree.

- -
-
- -
-
- - - - -
SlrxTriggerCompareFunction_t TriggerCompareFunction
-
-

The compare function which will be operate for each bit that is turned on in the ::SlrxFilterTrigger_t.Trigger field, for example , in case the second bit in the Trigger function is on the second function in the list will be executed.

- -
-
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlrxFilterTrigger_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlrxFilterTrigger_t Struct Reference
+
+
+ + + + + + + + + + + + + + + + +

+Data Fields

SlrxFilterID_t ParentFilterID
 
+SlrxFilterCounterId_t Trigger
 
+SlrxFilterTriggerConnectionStates_t TriggerArgConnectionState
 
+SlrxFilterTriggerRoles_t TriggerArgRoleStatus
 
+SlrxFilterDBTriggerArg_t TriggerArg
 
SlrxTriggerCompareFunction_t TriggerCompareFunction
 
+_u8 Padding [3]
 
+

Field Documentation

+ +
+
+ + + + +
SlrxFilterID_t ParentFilterID
+
+

The parent filter ID, this is the way to build filter tree.

+ +
+
+ +
+
+ + + + +
SlrxTriggerCompareFunction_t TriggerCompareFunction
+
+

The compare function which will be operate for each bit that is turned on in the ::SlrxFilterTrigger_t.Trigger field, for example , in case the second bit in the Trigger function is on the second function in the list will be executed.

+ +
+
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/struct_slrx_filter_trigger__t.js b/docs/simplelink_api/html/struct_slrx_filter_trigger__t.js index 2c83bcb..7b81f9a 100644 --- a/docs/simplelink_api/html/struct_slrx_filter_trigger__t.js +++ b/docs/simplelink_api/html/struct_slrx_filter_trigger__t.js @@ -1,10 +1,10 @@ -var struct_slrx_filter_trigger__t = -[ - [ "Padding", "struct_slrx_filter_trigger__t.html#a63fc624b51e2f96ba2054da8934da74d", null ], - [ "ParentFilterID", "struct_slrx_filter_trigger__t.html#a58947c0d33b44b6adf9e52be48442da0", null ], - [ "Trigger", "struct_slrx_filter_trigger__t.html#af15eebd3bfbe2c8c5c25c719b4e0a0ff", null ], - [ "TriggerArg", "struct_slrx_filter_trigger__t.html#a86d80a330d869efafebcebe256ef6065", null ], - [ "TriggerArgConnectionState", "struct_slrx_filter_trigger__t.html#a863f7b752f89e8cd93321be77aeed49a", null ], - [ "TriggerArgRoleStatus", "struct_slrx_filter_trigger__t.html#aefd13bb20e8dce135b6205d7672ea722", null ], - [ "TriggerCompareFunction", "struct_slrx_filter_trigger__t.html#a66f6c39245f5a4123398f30372080bfc", null ] +var struct_slrx_filter_trigger__t = +[ + [ "Padding", "struct_slrx_filter_trigger__t.html#a63fc624b51e2f96ba2054da8934da74d", null ], + [ "ParentFilterID", "struct_slrx_filter_trigger__t.html#a58947c0d33b44b6adf9e52be48442da0", null ], + [ "Trigger", "struct_slrx_filter_trigger__t.html#af15eebd3bfbe2c8c5c25c719b4e0a0ff", null ], + [ "TriggerArg", "struct_slrx_filter_trigger__t.html#a86d80a330d869efafebcebe256ef6065", null ], + [ "TriggerArgConnectionState", "struct_slrx_filter_trigger__t.html#a863f7b752f89e8cd93321be77aeed49a", null ], + [ "TriggerArgRoleStatus", "struct_slrx_filter_trigger__t.html#aefd13bb20e8dce135b6205d7672ea722", null ], + [ "TriggerCompareFunction", "struct_slrx_filter_trigger__t.html#a66f6c39245f5a4123398f30372080bfc", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/struct_t___s_c_m_d.html b/docs/simplelink_api/html/struct_t___s_c_m_d.html deleted file mode 100644 index 3b0f5a0..0000000 --- a/docs/simplelink_api/html/struct_t___s_c_m_d.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: T_SCMD Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
T_SCMD Struct Reference
-
-
- - - - -

-Data Fields

-_SlCommandHeader_t sl_hdr
-UINT8 func_args_start
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/structl___wlan_rx_filter_add_command_reponse__t.html b/docs/simplelink_api/html/structl___wlan_rx_filter_add_command_reponse__t.html deleted file mode 100644 index 9fabdff..0000000 --- a/docs/simplelink_api/html/structl___wlan_rx_filter_add_command_reponse__t.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - -SimpleLink Host Driver: l_WlanRxFilterAddCommandReponse_t Struct Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
l_WlanRxFilterAddCommandReponse_t Struct Reference
-
-
- - - - - -

-Data Fields

-SlrxFilterID_t FilterId
-UINT8 Status
-UINT8 Padding [2]
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/structsl___device_report.html b/docs/simplelink_api/html/structsl___device_report.html index 4b5c334..6028e2b 100644 --- a/docs/simplelink_api/html/structsl___device_report.html +++ b/docs/simplelink_api/html/structsl___device_report.html @@ -1,138 +1,137 @@ - - - - - - -CC32XX SimpleLink Host Driver: sl_DeviceReport Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
sl_DeviceReport Struct Reference
-
-
- - - - - - -

-Data Fields

-_i8 status
 
-SlErrorSender_e sender
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: sl_DeviceReport Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
sl_DeviceReport Struct Reference
+
+
+ + + + + + +

+Data Fields

+_i8 status
 
+SlErrorSender_e sender
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/structsl___device_report.js b/docs/simplelink_api/html/structsl___device_report.js index 892e562..fdd59eb 100644 --- a/docs/simplelink_api/html/structsl___device_report.js +++ b/docs/simplelink_api/html/structsl___device_report.js @@ -1,5 +1,5 @@ -var structsl___device_report = -[ - [ "sender", "structsl___device_report.html#ac0b67f727ab542ea92d7bb5a9586c638", null ], - [ "status", "structsl___device_report.html#aea15cd487dbeb2bdf9c07ef8d864c64e", null ] +var structsl___device_report = +[ + [ "sender", "structsl___device_report.html#ac0b67f727ab542ea92d7bb5a9586c638", null ], + [ "status", "structsl___device_report.html#aea15cd487dbeb2bdf9c07ef8d864c64e", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/structsl___device_report_abort.html b/docs/simplelink_api/html/structsl___device_report_abort.html new file mode 100644 index 0000000..c1ed5ed --- /dev/null +++ b/docs/simplelink_api/html/structsl___device_report_abort.html @@ -0,0 +1,137 @@ + + + + + + +CC32XX SimpleLink Host Driver: sl_DeviceReportAbort Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
sl_DeviceReportAbort Struct Reference
+
+
+ + + + + + +

+Data Fields

+_u32 AbortType
 
+_u32 AbortData
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/structsl___device_report_abort.js b/docs/simplelink_api/html/structsl___device_report_abort.js new file mode 100644 index 0000000..e2f3a42 --- /dev/null +++ b/docs/simplelink_api/html/structsl___device_report_abort.js @@ -0,0 +1,5 @@ +var structsl___device_report_abort = +[ + [ "AbortData", "structsl___device_report_abort.html#a11d5127aeadfedde8e59b6742e7e70ec", null ], + [ "AbortType", "structsl___device_report_abort.html#a102ff99b384c6e6ec0e34b36e73e68c5", null ] +]; \ No newline at end of file diff --git a/docs/simplelink_api/html/structsl__protocol___info_element__t.html b/docs/simplelink_api/html/structsl__protocol___info_element__t.html index eec42d5..72295ec 100644 --- a/docs/simplelink_api/html/structsl__protocol___info_element__t.html +++ b/docs/simplelink_api/html/structsl__protocol___info_element__t.html @@ -1,144 +1,143 @@ - - - - - - -CC32XX SimpleLink Host Driver: sl_protocol_InfoElement_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
sl_protocol_InfoElement_t Struct Reference
-
-
- - - - - - - - - - -

-Data Fields

-_u8 id
 
-_u8 oui [3]
 
-_u16 length
 
-_u8 data [252]
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: sl_protocol_InfoElement_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
sl_protocol_InfoElement_t Struct Reference
+
+
+ + + + + + + + + + +

+Data Fields

+_u8 id
 
+_u8 oui [3]
 
+_u16 length
 
+_u8 data [252]
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/structsl__protocol___info_element__t.js b/docs/simplelink_api/html/structsl__protocol___info_element__t.js index 8be3276..3b4a6b6 100644 --- a/docs/simplelink_api/html/structsl__protocol___info_element__t.js +++ b/docs/simplelink_api/html/structsl__protocol___info_element__t.js @@ -1,7 +1,7 @@ -var structsl__protocol___info_element__t = -[ - [ "data", "structsl__protocol___info_element__t.html#a27e0ca8e8af28ff69c2df264599f5625", null ], - [ "id", "structsl__protocol___info_element__t.html#a2888afcbf466934238f060ea0b8300ed", null ], - [ "length", "structsl__protocol___info_element__t.html#a128a630f6d2121a0106add0f03f1cab9", null ], - [ "oui", "structsl__protocol___info_element__t.html#aa7158dccffcbe48160a5c4ac033466ff", null ] +var structsl__protocol___info_element__t = +[ + [ "data", "structsl__protocol___info_element__t.html#a27e0ca8e8af28ff69c2df264599f5625", null ], + [ "id", "structsl__protocol___info_element__t.html#a2888afcbf466934238f060ea0b8300ed", null ], + [ "length", "structsl__protocol___info_element__t.html#a128a630f6d2121a0106add0f03f1cab9", null ], + [ "oui", "structsl__protocol___info_element__t.html#aa7158dccffcbe48160a5c4ac033466ff", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/structsl__protocol___wlan_set_info_element__t.html b/docs/simplelink_api/html/structsl__protocol___wlan_set_info_element__t.html index 285a370..68c6f89 100644 --- a/docs/simplelink_api/html/structsl__protocol___wlan_set_info_element__t.html +++ b/docs/simplelink_api/html/structsl__protocol___wlan_set_info_element__t.html @@ -1,141 +1,140 @@ - - - - - - -CC32XX SimpleLink Host Driver: sl_protocol_WlanSetInfoElement_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
sl_protocol_WlanSetInfoElement_t Struct Reference
-
-
- - - - - - - - -

-Data Fields

-_u8 index
 
-_u8 role
 
-sl_protocol_InfoElement_t ie
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: sl_protocol_WlanSetInfoElement_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
sl_protocol_WlanSetInfoElement_t Struct Reference
+
+
+ + + + + + + + +

+Data Fields

+_u8 index
 
+_u8 role
 
+sl_protocol_InfoElement_t ie
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/structsl__protocol___wlan_set_info_element__t.js b/docs/simplelink_api/html/structsl__protocol___wlan_set_info_element__t.js index efb64cd..3bc0932 100644 --- a/docs/simplelink_api/html/structsl__protocol___wlan_set_info_element__t.js +++ b/docs/simplelink_api/html/structsl__protocol___wlan_set_info_element__t.js @@ -1,6 +1,6 @@ -var structsl__protocol___wlan_set_info_element__t = -[ - [ "ie", "structsl__protocol___wlan_set_info_element__t.html#ac1029492d0e3b06663e3dfa879773e2a", null ], - [ "index", "structsl__protocol___wlan_set_info_element__t.html#a1b7d00023fd5674c4bd44bc179294390", null ], - [ "role", "structsl__protocol___wlan_set_info_element__t.html#a838542fa5c0baf0d55b638d8906ec18e", null ] +var structsl__protocol___wlan_set_info_element__t = +[ + [ "ie", "structsl__protocol___wlan_set_info_element__t.html#ac1029492d0e3b06663e3dfa879773e2a", null ], + [ "index", "structsl__protocol___wlan_set_info_element__t.html#a1b7d00023fd5674c4bd44bc179294390", null ], + [ "role", "structsl__protocol___wlan_set_info_element__t.html#a838542fa5c0baf0d55b638d8906ec18e", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/structsl__protocol__wlan_connect_async_response__t.html b/docs/simplelink_api/html/structsl__protocol__wlan_connect_async_response__t.html deleted file mode 100644 index 738f118..0000000 --- a/docs/simplelink_api/html/structsl__protocol__wlan_connect_async_response__t.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - -CC32XX SimpleLink Host Driver: sl_protocol_wlanConnectAsyncResponse_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  0.0.5.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
sl_protocol_wlanConnectAsyncResponse_t Struct Reference
-
-
- - - - - - - - - - - - - - - - - - -

-Data Fields

-unsigned char connection_type
 
-unsigned char ssid_len
 
-unsigned char ssid_name [32]
 
-unsigned char go_peer_device_name_len
 
-unsigned char go_peer_device_name [32]
 
-unsigned char bssid [6]
 
-unsigned char reason_code
 
-unsigned char padding [2]
 
-
The documentation for this struct was generated from the following file: -
-
- - - - diff --git a/docs/simplelink_api/html/structsl__protocol__wlan_connect_async_response__t.js b/docs/simplelink_api/html/structsl__protocol__wlan_connect_async_response__t.js deleted file mode 100644 index 39606c2..0000000 --- a/docs/simplelink_api/html/structsl__protocol__wlan_connect_async_response__t.js +++ /dev/null @@ -1,11 +0,0 @@ -var structsl__protocol__wlan_connect_async_response__t = -[ - [ "bssid", "group__wlan.html#gafe5aa2d29b976557a88eab996244aedc", null ], - [ "connection_type", "group__wlan.html#ga6173247e0adaa2b1a8e4cf0b338cb826", null ], - [ "go_peer_device_name", "group__wlan.html#ga40f12accd1196f2ac05d3511c4ed49c7", null ], - [ "go_peer_device_name_len", "group__wlan.html#ga37da28c0a7da334948501d79c9d903cb", null ], - [ "padding", "group__wlan.html#ga9753c7c72915aa208119266b2338ea10", null ], - [ "reason_code", "group__wlan.html#gaeb11e431f2cddfaebd37e8739263d647", null ], - [ "ssid_len", "group__wlan.html#ga340f18f235799c8c8b592c782ef1c079", null ], - [ "ssid_name", "group__wlan.html#ga6fd6d9217a47e240b9d454860ed8511b", null ] -]; \ No newline at end of file diff --git a/docs/simplelink_api/html/structsl_peer_info_async_response__t.html b/docs/simplelink_api/html/structsl_peer_info_async_response__t.html index 9cdadbf..1e27438 100644 --- a/docs/simplelink_api/html/structsl_peer_info_async_response__t.html +++ b/docs/simplelink_api/html/structsl_peer_info_async_response__t.html @@ -1,153 +1,152 @@ - - - - - - -CC32XX SimpleLink Host Driver: slPeerInfoAsyncResponse_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
slPeerInfoAsyncResponse_t Struct Reference
-
-
- - - - - - - - - - - - - - - - -

-Data Fields

-_u8 go_peer_device_name [32]
 
-_u8 mac [6]
 
-_u8 go_peer_device_name_len
 
-_u8 wps_dev_password_id
 
-_u8 own_ssid [32]
 
-_u8 own_ssid_len
 
-_u8 padding [3]
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: slPeerInfoAsyncResponse_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
slPeerInfoAsyncResponse_t Struct Reference
+
+
+ + + + + + + + + + + + + + + + +

+Data Fields

+_u8 go_peer_device_name [32]
 
+_u8 mac [6]
 
+_u8 go_peer_device_name_len
 
+_u8 wps_dev_password_id
 
+_u8 own_ssid [32]
 
+_u8 own_ssid_len
 
+_u8 padding [3]
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/structsl_peer_info_async_response__t.js b/docs/simplelink_api/html/structsl_peer_info_async_response__t.js index b7244e1..844bfa6 100644 --- a/docs/simplelink_api/html/structsl_peer_info_async_response__t.js +++ b/docs/simplelink_api/html/structsl_peer_info_async_response__t.js @@ -1,10 +1,10 @@ -var structsl_peer_info_async_response__t = -[ - [ "go_peer_device_name", "structsl_peer_info_async_response__t.html#a134cf4c828e548efdc5febe2b8b826ae", null ], - [ "go_peer_device_name_len", "structsl_peer_info_async_response__t.html#ad58b0d3c676c06221fa491ec4b384cad", null ], - [ "mac", "structsl_peer_info_async_response__t.html#a51fa48efb76fa1995446db52ac06a46f", null ], - [ "own_ssid", "structsl_peer_info_async_response__t.html#af3d92d2c6ec560caf5c705fa487d9622", null ], - [ "own_ssid_len", "structsl_peer_info_async_response__t.html#a8e4b7daa24f45b8112386655cc2c5c61", null ], - [ "padding", "structsl_peer_info_async_response__t.html#a46d3c053c50ca746d761db91f590bb60", null ], - [ "wps_dev_password_id", "structsl_peer_info_async_response__t.html#a3b1181843fd7fc28edccb34fe78934cc", null ] +var structsl_peer_info_async_response__t = +[ + [ "go_peer_device_name", "structsl_peer_info_async_response__t.html#a134cf4c828e548efdc5febe2b8b826ae", null ], + [ "go_peer_device_name_len", "structsl_peer_info_async_response__t.html#ad58b0d3c676c06221fa491ec4b384cad", null ], + [ "mac", "structsl_peer_info_async_response__t.html#a51fa48efb76fa1995446db52ac06a46f", null ], + [ "own_ssid", "structsl_peer_info_async_response__t.html#af3d92d2c6ec560caf5c705fa487d9622", null ], + [ "own_ssid_len", "structsl_peer_info_async_response__t.html#a8e4b7daa24f45b8112386655cc2c5c61", null ], + [ "padding", "structsl_peer_info_async_response__t.html#a46d3c053c50ca746d761db91f590bb60", null ], + [ "wps_dev_password_id", "structsl_peer_info_async_response__t.html#a3b1181843fd7fc28edccb34fe78934cc", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/structsl_smart_config_start_async_response__t.html b/docs/simplelink_api/html/structsl_smart_config_start_async_response__t.html index 17bc5df..bef159a 100644 --- a/docs/simplelink_api/html/structsl_smart_config_start_async_response__t.html +++ b/docs/simplelink_api/html/structsl_smart_config_start_async_response__t.html @@ -1,147 +1,146 @@ - - - - - - -CC32XX SimpleLink Host Driver: slSmartConfigStartAsyncResponse_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
slSmartConfigStartAsyncResponse_t Struct Reference
-
-
- - - - - - - - - - - - -

-Data Fields

-_u32 status
 
-_u32 ssid_len
 
-_u8 ssid [32]
 
-_u32 private_token_len
 
-_u8 private_token [32]
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: slSmartConfigStartAsyncResponse_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
slSmartConfigStartAsyncResponse_t Struct Reference
+
+
+ + + + + + + + + + + + +

+Data Fields

+_u32 status
 
+_u32 ssid_len
 
+_u8 ssid [32]
 
+_u32 private_token_len
 
+_u8 private_token [32]
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/structsl_smart_config_start_async_response__t.js b/docs/simplelink_api/html/structsl_smart_config_start_async_response__t.js index 246d84b..f1571e1 100644 --- a/docs/simplelink_api/html/structsl_smart_config_start_async_response__t.js +++ b/docs/simplelink_api/html/structsl_smart_config_start_async_response__t.js @@ -1,8 +1,8 @@ -var structsl_smart_config_start_async_response__t = -[ - [ "private_token", "structsl_smart_config_start_async_response__t.html#ae788e671c21e21c7913ac4b439887785", null ], - [ "private_token_len", "structsl_smart_config_start_async_response__t.html#aac6bab1ba54c9d01c548a5971fe18a95", null ], - [ "ssid", "structsl_smart_config_start_async_response__t.html#aaf9ed7d9e9d6c2bdd7b7fc7b768b81de", null ], - [ "ssid_len", "structsl_smart_config_start_async_response__t.html#a4fd951e04acb1b6941b85533d248ba27", null ], - [ "status", "structsl_smart_config_start_async_response__t.html#a9bd457bdee1c8059b6cf88ac0647d0e1", null ] +var structsl_smart_config_start_async_response__t = +[ + [ "private_token", "structsl_smart_config_start_async_response__t.html#ae788e671c21e21c7913ac4b439887785", null ], + [ "private_token_len", "structsl_smart_config_start_async_response__t.html#aac6bab1ba54c9d01c548a5971fe18a95", null ], + [ "ssid", "structsl_smart_config_start_async_response__t.html#aaf9ed7d9e9d6c2bdd7b7fc7b768b81de", null ], + [ "ssid_len", "structsl_smart_config_start_async_response__t.html#a4fd951e04acb1b6941b85533d248ba27", null ], + [ "status", "structsl_smart_config_start_async_response__t.html#a9bd457bdee1c8059b6cf88ac0647d0e1", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/structsl_smart_config_stop_async_response__t.html b/docs/simplelink_api/html/structsl_smart_config_stop_async_response__t.html index 9aee5cf..65c563a 100644 --- a/docs/simplelink_api/html/structsl_smart_config_stop_async_response__t.html +++ b/docs/simplelink_api/html/structsl_smart_config_stop_async_response__t.html @@ -1,138 +1,137 @@ - - - - - - -CC32XX SimpleLink Host Driver: slSmartConfigStopAsyncResponse_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
slSmartConfigStopAsyncResponse_t Struct Reference
-
-
- - - - - - -

-Data Fields

-_u16 status
 
-_u16 padding
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: slSmartConfigStopAsyncResponse_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
slSmartConfigStopAsyncResponse_t Struct Reference
+
+
+ + + + + + +

+Data Fields

+_u16 status
 
+_u16 padding
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/structsl_smart_config_stop_async_response__t.js b/docs/simplelink_api/html/structsl_smart_config_stop_async_response__t.js index 9eac755..cba144c 100644 --- a/docs/simplelink_api/html/structsl_smart_config_stop_async_response__t.js +++ b/docs/simplelink_api/html/structsl_smart_config_stop_async_response__t.js @@ -1,5 +1,5 @@ -var structsl_smart_config_stop_async_response__t = -[ - [ "padding", "structsl_smart_config_stop_async_response__t.html#aee74651e918d4c23f3eabe25fbbf8142", null ], - [ "status", "structsl_smart_config_stop_async_response__t.html#a0fcf01673166445f62de27571ae41090", null ] +var structsl_smart_config_stop_async_response__t = +[ + [ "padding", "structsl_smart_config_stop_async_response__t.html#aee74651e918d4c23f3eabe25fbbf8142", null ], + [ "status", "structsl_smart_config_stop_async_response__t.html#a0fcf01673166445f62de27571ae41090", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/structsl_wlan_conn_failure_async_response__t.html b/docs/simplelink_api/html/structsl_wlan_conn_failure_async_response__t.html index fe7280b..ca2dd9c 100644 --- a/docs/simplelink_api/html/structsl_wlan_conn_failure_async_response__t.html +++ b/docs/simplelink_api/html/structsl_wlan_conn_failure_async_response__t.html @@ -1,138 +1,137 @@ - - - - - - -CC32XX SimpleLink Host Driver: slWlanConnFailureAsyncResponse_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
slWlanConnFailureAsyncResponse_t Struct Reference
-
-
- - - - - - -

-Data Fields

-_u16 status
 
-_u16 padding
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: slWlanConnFailureAsyncResponse_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
slWlanConnFailureAsyncResponse_t Struct Reference
+
+
+ + + + + + +

+Data Fields

+_u16 status
 
+_u16 padding
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/structsl_wlan_conn_failure_async_response__t.js b/docs/simplelink_api/html/structsl_wlan_conn_failure_async_response__t.js index 2cf8e40..baa8f23 100644 --- a/docs/simplelink_api/html/structsl_wlan_conn_failure_async_response__t.js +++ b/docs/simplelink_api/html/structsl_wlan_conn_failure_async_response__t.js @@ -1,5 +1,5 @@ -var structsl_wlan_conn_failure_async_response__t = -[ - [ "padding", "structsl_wlan_conn_failure_async_response__t.html#aee74651e918d4c23f3eabe25fbbf8142", null ], - [ "status", "structsl_wlan_conn_failure_async_response__t.html#a0fcf01673166445f62de27571ae41090", null ] +var structsl_wlan_conn_failure_async_response__t = +[ + [ "padding", "structsl_wlan_conn_failure_async_response__t.html#aee74651e918d4c23f3eabe25fbbf8142", null ], + [ "status", "structsl_wlan_conn_failure_async_response__t.html#a0fcf01673166445f62de27571ae41090", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/structsl_wlan_connect_async_response__t.html b/docs/simplelink_api/html/structsl_wlan_connect_async_response__t.html index 0987527..8938172 100644 --- a/docs/simplelink_api/html/structsl_wlan_connect_async_response__t.html +++ b/docs/simplelink_api/html/structsl_wlan_connect_async_response__t.html @@ -1,156 +1,155 @@ - - - - - - -CC32XX SimpleLink Host Driver: slWlanConnectAsyncResponse_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
slWlanConnectAsyncResponse_t Struct Reference
-
-
- - - - - - - - - - - - - - - - - - -

-Data Fields

-_u8 connection_type
 
-_u8 ssid_len
 
-_u8 ssid_name [32]
 
-_u8 go_peer_device_name_len
 
-_u8 go_peer_device_name [32]
 
-_u8 bssid [6]
 
-_u8 reason_code
 
-_u8 padding [2]
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: slWlanConnectAsyncResponse_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
slWlanConnectAsyncResponse_t Struct Reference
+
+
+ + + + + + + + + + + + + + + + + + +

+Data Fields

+_u8 connection_type
 
+_u8 ssid_len
 
+_u8 ssid_name [32]
 
+_u8 go_peer_device_name_len
 
+_u8 go_peer_device_name [32]
 
+_u8 bssid [6]
 
+_u8 reason_code
 
+_u8 padding [2]
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/structsl_wlan_connect_async_response__t.js b/docs/simplelink_api/html/structsl_wlan_connect_async_response__t.js index 86b92e5..0ab32e3 100644 --- a/docs/simplelink_api/html/structsl_wlan_connect_async_response__t.js +++ b/docs/simplelink_api/html/structsl_wlan_connect_async_response__t.js @@ -1,11 +1,11 @@ -var structsl_wlan_connect_async_response__t = -[ - [ "bssid", "structsl_wlan_connect_async_response__t.html#a26584d70e5f1888864c8c3f3d43e21c7", null ], - [ "connection_type", "structsl_wlan_connect_async_response__t.html#a02de4ebfc0ae3ef0524521fea6cdba7a", null ], - [ "go_peer_device_name", "structsl_wlan_connect_async_response__t.html#a134cf4c828e548efdc5febe2b8b826ae", null ], - [ "go_peer_device_name_len", "structsl_wlan_connect_async_response__t.html#ad58b0d3c676c06221fa491ec4b384cad", null ], - [ "padding", "structsl_wlan_connect_async_response__t.html#a591a340cf7a3bc8395dc554fc01910b7", null ], - [ "reason_code", "structsl_wlan_connect_async_response__t.html#aef3e37e4643200170981d36287a9bbf5", null ], - [ "ssid_len", "structsl_wlan_connect_async_response__t.html#a2e45fb530d9c89d3673ea6e05f07844d", null ], - [ "ssid_name", "structsl_wlan_connect_async_response__t.html#a89e1ad338d707b4182bd0a8bf5a15bc6", null ] +var structsl_wlan_connect_async_response__t = +[ + [ "bssid", "structsl_wlan_connect_async_response__t.html#a26584d70e5f1888864c8c3f3d43e21c7", null ], + [ "connection_type", "structsl_wlan_connect_async_response__t.html#a02de4ebfc0ae3ef0524521fea6cdba7a", null ], + [ "go_peer_device_name", "structsl_wlan_connect_async_response__t.html#a134cf4c828e548efdc5febe2b8b826ae", null ], + [ "go_peer_device_name_len", "structsl_wlan_connect_async_response__t.html#ad58b0d3c676c06221fa491ec4b384cad", null ], + [ "padding", "structsl_wlan_connect_async_response__t.html#a591a340cf7a3bc8395dc554fc01910b7", null ], + [ "reason_code", "structsl_wlan_connect_async_response__t.html#aef3e37e4643200170981d36287a9bbf5", null ], + [ "ssid_len", "structsl_wlan_connect_async_response__t.html#a2e45fb530d9c89d3673ea6e05f07844d", null ], + [ "ssid_name", "structsl_wlan_connect_async_response__t.html#a89e1ad338d707b4182bd0a8bf5a15bc6", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/structsl_wlan_scan_param_command__t.html b/docs/simplelink_api/html/structsl_wlan_scan_param_command__t.html index 0a3808a..24c5879 100644 --- a/docs/simplelink_api/html/structsl_wlan_scan_param_command__t.html +++ b/docs/simplelink_api/html/structsl_wlan_scan_param_command__t.html @@ -1,138 +1,137 @@ - - - - - - -CC32XX SimpleLink Host Driver: slWlanScanParamCommand_t Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
slWlanScanParamCommand_t Struct Reference
-
-
- - - - - - -

-Data Fields

-_u32 G_Channels_mask
 
-_i32 rssiThershold
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: slWlanScanParamCommand_t Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
slWlanScanParamCommand_t Struct Reference
+
+
+ + + + + + +

+Data Fields

+_u32 G_Channels_mask
 
+_i32 rssiThershold
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/structsl_wlan_scan_param_command__t.js b/docs/simplelink_api/html/structsl_wlan_scan_param_command__t.js index 2674c04..c9a25fb 100644 --- a/docs/simplelink_api/html/structsl_wlan_scan_param_command__t.js +++ b/docs/simplelink_api/html/structsl_wlan_scan_param_command__t.js @@ -1,5 +1,5 @@ -var structsl_wlan_scan_param_command__t = -[ - [ "G_Channels_mask", "structsl_wlan_scan_param_command__t.html#a1401545f73ec1aeb0f1caff176a49877", null ], - [ "rssiThershold", "structsl_wlan_scan_param_command__t.html#a12b902a2708b47b806a727a2604f9c4f", null ] +var structsl_wlan_scan_param_command__t = +[ + [ "G_Channels_mask", "structsl_wlan_scan_param_command__t.html#a1401545f73ec1aeb0f1caff176a49877", null ], + [ "rssiThershold", "structsl_wlan_scan_param_command__t.html#a12b902a2708b47b806a727a2604f9c4f", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/structsock__secure_files.html b/docs/simplelink_api/html/structsock__secure_files.html index e00ea1b..a8cce55 100644 --- a/docs/simplelink_api/html/structsock__secure_files.html +++ b/docs/simplelink_api/html/structsock__secure_files.html @@ -1,135 +1,134 @@ - - - - - - -CC32XX SimpleLink Host Driver: sock_secureFiles Struct Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
sock_secureFiles Struct Reference
-
-
- - - - -

-Data Fields

-_u8 secureFiles [4]
 
-
The documentation for this struct was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: sock_secureFiles Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
sock_secureFiles Struct Reference
+
+
+ + + + +

+Data Fields

+_u8 secureFiles [4]
 
+
The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/structsock__secure_files.js b/docs/simplelink_api/html/structsock__secure_files.js index 0672d17..a490680 100644 --- a/docs/simplelink_api/html/structsock__secure_files.js +++ b/docs/simplelink_api/html/structsock__secure_files.js @@ -1,4 +1,4 @@ -var structsock__secure_files = -[ - [ "secureFiles", "structsock__secure_files.html#ac65e78cc8df4ee675c0f86d9572be2a5", null ] +var structsock__secure_files = +[ + [ "secureFiles", "structsock__secure_files.html#ac65e78cc8df4ee675c0f86d9572be2a5", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/tabs.css b/docs/simplelink_api/html/tabs.css index 9cf578f..25af414 100644 --- a/docs/simplelink_api/html/tabs.css +++ b/docs/simplelink_api/html/tabs.css @@ -1,60 +1,60 @@ -.tabs, .tabs2, .tabs3 { - background-image: url('tab_b.png'); - width: 100%; - z-index: 101; - font-size: 13px; - font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; -} - -.tabs2 { - font-size: 10px; -} -.tabs3 { - font-size: 9px; -} - -.tablist { - margin: 0; - padding: 0; - display: table; -} - -.tablist li { - float: left; - display: table-cell; - background-image: url('tab_b.png'); - line-height: 36px; - list-style: none; -} - -.tablist a { - display: block; - padding: 0 20px; - font-weight: bold; - background-image:url('tab_s.png'); - background-repeat:no-repeat; - background-position:right; - color: #283A5D; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - text-decoration: none; - outline: none; -} - -.tabs3 .tablist a { - padding: 0 10px; -} - -.tablist a:hover { - background-image: url('tab_h.png'); - background-repeat:repeat-x; - color: #fff; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); - text-decoration: none; -} - -.tablist li.current a { - background-image: url('tab_a.png'); - background-repeat:repeat-x; - color: #fff; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); -} +.tabs, .tabs2, .tabs3 { + background-image: url('tab_b.png'); + width: 100%; + z-index: 101; + font-size: 13px; + font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; +} + +.tabs2 { + font-size: 10px; +} +.tabs3 { + font-size: 9px; +} + +.tablist { + margin: 0; + padding: 0; + display: table; +} + +.tablist li { + float: left; + display: table-cell; + background-image: url('tab_b.png'); + line-height: 36px; + list-style: none; +} + +.tablist a { + display: block; + padding: 0 20px; + font-weight: bold; + background-image:url('tab_s.png'); + background-repeat:no-repeat; + background-position:right; + color: #283A5D; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + text-decoration: none; + outline: none; +} + +.tabs3 .tablist a { + padding: 0 10px; +} + +.tablist a:hover { + background-image: url('tab_h.png'); + background-repeat:repeat-x; + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); + text-decoration: none; +} + +.tablist li.current a { + background-image: url('tab_a.png'); + background-repeat:repeat-x; + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +} diff --git a/docs/simplelink_api/html/ti_logo.gif b/docs/simplelink_api/html/ti_logo.gif deleted file mode 100644 index 8bb6f5b..0000000 Binary files a/docs/simplelink_api/html/ti_logo.gif and /dev/null differ diff --git a/docs/simplelink_api/html/ti_logo.png b/docs/simplelink_api/html/ti_logo.png deleted file mode 100644 index 281dc4e..0000000 Binary files a/docs/simplelink_api/html/ti_logo.png and /dev/null differ diff --git a/docs/simplelink_api/html/trace_8h_source.html b/docs/simplelink_api/html/trace_8h_source.html index ad34d84..4c94020 100644 --- a/docs/simplelink_api/html/trace_8h_source.html +++ b/docs/simplelink_api/html/trace_8h_source.html @@ -1,311 +1,322 @@ - - - - - - -CC32XX SimpleLink Host Driver: trace.h Source File - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
-
-
trace.h
-
-
-
1 /*
-
2  * trace.h - CC31xx/CC32xx Host Driver Implementation
-
3  *
-
4  * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
-
5  *
-
6  *
-
7  * Redistribution and use in source and binary forms, with or without
-
8  * modification, are permitted provided that the following conditions
-
9  * are met:
-
10  *
-
11  * Redistributions of source code must retain the above copyright
-
12  * notice, this list of conditions and the following disclaimer.
-
13  *
-
14  * Redistributions in binary form must reproduce the above copyright
-
15  * notice, this list of conditions and the following disclaimer in the
-
16  * documentation and/or other materials provided with the
-
17  * distribution.
-
18  *
-
19  * Neither the name of Texas Instruments Incorporated nor the names of
-
20  * its contributors may be used to endorse or promote products derived
-
21  * from this software without specific prior written permission.
-
22  *
-
23  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-
24  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-
25  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-
26  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-
27  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-
28  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-
29  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-
30  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-
31  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-
32  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-
33  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
34  *
-
35 */
-
36 
-
37 
-
38 
-
39 #include "simplelink.h"
-
40 
-
41 #ifndef __SIMPLELINK_TRACE_H__
-
42 #define __SIMPLELINK_TRACE_H__
-
43 
-
44 
-
45 #ifdef __cplusplus
-
46 extern "C" {
-
47 #endif
-
48 
-
49 /*****************************************************************************/
-
50 /* Macro declarations */
-
51 /*****************************************************************************/
-
52 
-
53 #define SL_SYNC_SCAN_THRESHOLD (( _u32 )2000)
-
54 
-
55 #define _SlDrvAssert(line ) { while(1); }
-
56 
-
57 #define _SL_ASSERT(expr) { if(!(expr)){_SlDrvAssert(__LINE__); } }
-
58 #define _SL_ERROR(expr, error) { if(!(expr)){return (error); } }
-
59 
-
60 #define SL_HANDLING_ASSERT 2
-
61 #define SL_HANDLING_ERROR 1
-
62 #define SL_HANDLING_NONE 0
-
63 
-
64 #define SL_SELF_COND_HANDLING SL_HANDLING_ASSERT
-
65 #define SL_PROTOCOL_HANDLING SL_HANDLING_ASSERT
-
66 #define SL_DRV_RET_CODE_HANDLING SL_HANDLING_ASSERT
-
67 #define SL_NWP_IF_HANDLING SL_HANDLING_ASSERT
-
68 #define SL_OSI_RET_OK_HANDLING SL_HANDLING_ASSERT
-
69 #define SL_MALLOC_OK_HANDLING SL_HANDLING_ASSERT
-
70 #define SL_USER_ARGS_HANDLING SL_HANDLING_ASSERT
-
71 
-
72 #if (SL_DRV_RET_CODE_HANDLING == SL_HANDLING_ASSERT)
-
73 #define VERIFY_RET_OK(Func) {_SlReturnVal_t _RetVal = (Func); _SL_ASSERT((_SlReturnVal_t)SL_OS_RET_CODE_OK == _RetVal)}
-
74 #elif (SL_DRV_RET_CODE_HANDLING == SL_HANDLING_ERROR)
-
75 #define VERIFY_RET_OK(Func) {_SlReturnVal_t _RetVal = (Func); if (SL_OS_RET_CODE_OK != _RetVal) return _RetVal;}
-
76 #else
-
77 #define VERIFY_RET_OK(Func) (Func);
-
78 #endif
-
79 
-
80 #if (SL_PROTOCOL_HANDLING == SL_HANDLING_ASSERT)
-
81 #define VERIFY_PROTOCOL(expr) _SL_ASSERT(expr)
-
82 #elif (SL_PROTOCOL_HANDLING == SL_HANDLING_ERROR)
-
83 #define VERIFY_PROTOCOL(expr) _SL_ERROR(expr, SL_RET_CODE_PROTOCOL_ERROR)
-
84 #else
-
85 #define VERIFY_PROTOCOL(expr)
-
86 #endif
-
87 
-
88 #if (defined(PROTECT_SOCKET_ASYNC_RESP) && (SL_SELF_COND_HANDLING == SL_HANDLING_ASSERT))
-
89 #define VERIFY_SOCKET_CB(expr) _SL_ASSERT(expr)
-
90 #elif (defined(PROTECT_SOCKET_ASYNC_RESP) && (SL_SELF_COND_HANDLING == SL_HANDLING_ERROR))
-
91 #define VERIFY_SOCKET_CB(expr) _SL_ERROR(expr, SL_RET_CODE_SELF_ERROR)
-
92 #else
-
93 #define VERIFY_SOCKET_CB(expr)
-
94 #endif
-
95 
-
96 #if (SL_NWP_IF_HANDLING == SL_HANDLING_ASSERT)
-
97 #define NWP_IF_WRITE_CHECK(fd,pBuff,len) { _i16 RetSize, ExpSize = (len); RetSize = sl_IfWrite((fd),(pBuff),ExpSize); _SL_ASSERT(ExpSize == RetSize)}
-
98 #define NWP_IF_READ_CHECK(fd,pBuff,len) { _i16 RetSize, ExpSize = (len); RetSize = sl_IfRead((fd),(pBuff),ExpSize); _SL_ASSERT(ExpSize == RetSize)}
-
99 #elif (SL_NWP_IF_HANDLING == SL_HANDLING_ERROR)
-
100 #define NWP_IF_WRITE_CHECK(fd,pBuff,len) { _SL_ERROR((len == sl_IfWrite((fd),(pBuff),(len))), SL_RET_CODE_NWP_IF_ERROR);}
-
101 #define NWP_IF_READ_CHECK(fd,pBuff,len) { _SL_ERROR((len == sl_IfRead((fd),(pBuff),(len))), SL_RET_CODE_NWP_IF_ERROR);}
-
102 #else
-
103 #define NWP_IF_WRITE_CHECK(fd,pBuff,len) { sl_IfWrite((fd),(pBuff),(len));}
-
104 #define NWP_IF_READ_CHECK(fd,pBuff,len) { sl_IfRead((fd),(pBuff),(len));}
-
105 #endif
-
106 
-
107 #if (SL_OSI_RET_OK_HANDLING == SL_HANDLING_ASSERT)
-
108 #define OSI_RET_OK_CHECK(Func) {_SlReturnVal_t _RetVal = (Func); _SL_ASSERT((_SlReturnVal_t)SL_OS_RET_CODE_OK == _RetVal)}
-
109 #elif (SL_OSI_RET_OK_HANDLING == SL_HANDLING_ERROR)
-
110 #define OSI_RET_OK_CHECK(Func) {_SlReturnVal_t _RetVal = (Func); if (SL_OS_RET_CODE_OK != _RetVal) return _RetVal;}
-
111 #else
-
112 #define OSI_RET_OK_CHECK(Func) (Func);
-
113 #endif
-
114 
-
115 #if (SL_MALLOC_OK_HANDLING == SL_HANDLING_ASSERT)
-
116 #define MALLOC_OK_CHECK(Ptr) _SL_ASSERT(NULL != Ptr)
-
117 #elif (SL_MALLOC_OK_HANDLING == SL_HANDLING_ERROR)
-
118 #define MALLOC_OK_CHECK(Ptr) _SL_ERROR((NULL != Ptr), SL_RET_CODE_MALLOC_ERROR)
-
119 #else
-
120 #define MALLOC_OK_CHECK(Ptr)
-
121 #endif
-
122 
-
123 #ifdef SL_INC_ARG_CHECK
-
124 
-
125 #if (SL_USER_ARGS_HANDLING == SL_HANDLING_ASSERT)
-
126 #define ARG_CHECK_PTR(Ptr) _SL_ASSERT(NULL != Ptr)
-
127 #elif (SL_USER_ARGS_HANDLING == SL_HANDLING_ERROR)
-
128 #define ARG_CHECK_PTR(Ptr) _SL_ERROR((NULL != Ptr), SL_RET_CODE_INVALID_INPUT)
-
129 #else
-
130 #define ARG_CHECK_PTR(Ptr)
-
131 #endif
-
132 
-
133 #else
-
134 #define ARG_CHECK_PTR(Ptr)
-
135 #endif
-
136 
-
137 /*#define SL_DBG_TRACE_ENABLE*/
-
138 #ifdef SL_DBG_TRACE_ENABLE
-
139 #define SL_TRACE0(level,msg_id,str) printf(str)
-
140 #define SL_TRACE1(level,msg_id,str,p1) printf(str,(p1))
-
141 #define SL_TRACE2(level,msg_id,str,p1,p2) printf(str,(p1),(p2))
-
142 #define SL_TRACE3(level,msg_id,str,p1,p2,p3) printf(str,(p1),(p2),(p3))
-
143 #define SL_TRACE4(level,msg_id,str,p1,p2,p3,p4) printf(str,(p1),(p2),(p3),(p4))
-
144 #define SL_ERROR_TRACE(msg_id,str) printf(str)
-
145 #define SL_ERROR_TRACE1(msg_id,str,p1) printf(str,(p1))
-
146 #define SL_ERROR_TRACE2(msg_id,str,p1,p2) printf(str,(p1),(p2))
-
147 #define SL_ERROR_TRACE3(msg_id,str,p1,p2,p3) printf(str,(p1),(p2),(p3))
-
148 #define SL_ERROR_TRACE4(msg_id,str,p1,p2,p3,p4) printf(str,(p1),(p2),(p3),(p4))
-
149 #define SL_TRACE_FLUSH()
-
150 #else
-
151 #define SL_TRACE0(level,msg_id,str)
-
152 #define SL_TRACE1(level,msg_id,str,p1)
-
153 #define SL_TRACE2(level,msg_id,str,p1,p2)
-
154 #define SL_TRACE3(level,msg_id,str,p1,p2,p3)
-
155 #define SL_TRACE4(level,msg_id,str,p1,p2,p3,p4)
-
156 #define SL_ERROR_TRACE(msg_id,str)
-
157 #define SL_ERROR_TRACE1(msg_id,str,p1)
-
158 #define SL_ERROR_TRACE2(msg_id,str,p1,p2)
-
159 #define SL_ERROR_TRACE3(msg_id,str,p1,p2,p3)
-
160 #define SL_ERROR_TRACE4(msg_id,str,p1,p2,p3,p4)
-
161 #define SL_TRACE_FLUSH()
-
162 #endif
-
163 
-
164 /* #define SL_DBG_CNT_ENABLE */
-
165 #ifdef SL_DBG_CNT_ENABLE
-
166 #define _SL_DBG_CNT_INC(Cnt) g_DbgCnt. ## Cnt++
-
167 #define _SL_DBG_SYNC_LOG(index,value) {if(index < SL_DBG_SYNC_LOG_SIZE){*(_u32 *)&g_DbgCnt.SyncLog[index] = *(_u32 *)(value);}}
-
168 
-
169 #else
-
170 #define _SL_DBG_CNT_INC(Cnt)
-
171 #define _SL_DBG_SYNC_LOG(index,value)
-
172 #endif
-
173 
-
174 #define SL_DBG_LEVEL_1 1
-
175 #define SL_DBG_LEVEL_2 2
-
176 #define SL_DBG_LEVEL_3 4
-
177 #define SL_DBG_LEVEL_MASK (SL_DBG_LEVEL_2|SL_DBG_LEVEL_3)
-
178 
-
179 #define SL_INCLUDE_DBG_FUNC(Name) ((Name ## _DBG_LEVEL) & SL_DBG_LEVEL_MASK)
-
180 
-
181 #define _SlDrvPrintStat_DBG_LEVEL SL_DBG_LEVEL_3
-
182 #define _SlDrvOtherFunc_DBG_LEVEL SL_DBG_LEVEL_1
-
183 
-
184 #ifdef __cplusplus
-
185 }
-
186 #endif
-
187 
-
188 
-
189 #endif /*__SIMPLELINK_TRACE_H__*/
-
190 
-
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: trace.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
trace.h
+
+
+
1 /*
+
2  * trace.h - CC31xx/CC32xx Host Driver Implementation
+
3  *
+
4  * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
+
5  *
+
6  *
+
7  * Redistribution and use in source and binary forms, with or without
+
8  * modification, are permitted provided that the following conditions
+
9  * are met:
+
10  *
+
11  * Redistributions of source code must retain the above copyright
+
12  * notice, this list of conditions and the following disclaimer.
+
13  *
+
14  * Redistributions in binary form must reproduce the above copyright
+
15  * notice, this list of conditions and the following disclaimer in the
+
16  * documentation and/or other materials provided with the
+
17  * distribution.
+
18  *
+
19  * Neither the name of Texas Instruments Incorporated nor the names of
+
20  * its contributors may be used to endorse or promote products derived
+
21  * from this software without specific prior written permission.
+
22  *
+
23  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+
24  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+
25  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+
26  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+
27  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+
28  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+
29  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+
30  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+
31  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+
32  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+
33  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
34  *
+
35 */
+
36 
+
37 
+
38 
+
39 #include "simplelink.h"
+
40 
+
41 #ifndef __SIMPLELINK_TRACE_H__
+
42 #define __SIMPLELINK_TRACE_H__
+
43 
+
44 
+
45 #ifdef __cplusplus
+
46 extern "C" {
+
47 #endif
+
48 
+
49 /*****************************************************************************/
+
50 /* Macro declarations */
+
51 /*****************************************************************************/
+
52 
+
53 #define SL_SYNC_SCAN_THRESHOLD (( _u32 )2000)
+
54 
+
55 #define _SlDrvAssert(line ) { while(1); }
+
56 
+
57 #define _SL_ASSERT(expr) { if(!(expr)){_SlDrvAssert(__LINE__); } }
+
58 #define _SL_ERROR(expr, error) { if(!(expr)){return (error); } }
+
59 
+
60 #define SL_HANDLING_ASSERT 2
+
61 #define SL_HANDLING_ERROR 1
+
62 #define SL_HANDLING_NONE 0
+
63 
+
64 
+
65 #ifndef SL_TINY_EXT
+
66 #define SL_SELF_COND_HANDLING SL_HANDLING_ASSERT
+
67 #define SL_PROTOCOL_HANDLING SL_HANDLING_ASSERT
+
68 #define SL_DRV_RET_CODE_HANDLING SL_HANDLING_ASSERT
+
69 #define SL_NWP_IF_HANDLING SL_HANDLING_ASSERT
+
70 #define SL_OSI_RET_OK_HANDLING SL_HANDLING_ASSERT
+
71 #define SL_MALLOC_OK_HANDLING SL_HANDLING_ASSERT
+
72 #define SL_USER_ARGS_HANDLING SL_HANDLING_ASSERT
+
73 #else
+
74 #define SL_SELF_COND_HANDLING SL_HANDLING_NONE
+
75 #define SL_PROTOCOL_HANDLING SL_HANDLING_NONE
+
76 #define SL_DRV_RET_CODE_HANDLING SL_HANDLING_NONE
+
77 #define SL_NWP_IF_HANDLING SL_HANDLING_NONE
+
78 #define SL_OSI_RET_OK_HANDLING SL_HANDLING_NONE
+
79 #define SL_MALLOC_OK_HANDLING SL_HANDLING_NONE
+
80 #define SL_USER_ARGS_HANDLING SL_HANDLING_NONE
+
81 #endif
+
82 
+
83 
+
84 #if (SL_DRV_RET_CODE_HANDLING == SL_HANDLING_ASSERT)
+
85 #define VERIFY_RET_OK(Func) {_SlReturnVal_t _RetVal = (Func); _SL_ASSERT((_SlReturnVal_t)SL_OS_RET_CODE_OK == _RetVal)}
+
86 #elif (SL_DRV_RET_CODE_HANDLING == SL_HANDLING_ERROR)
+
87 #define VERIFY_RET_OK(Func) {_SlReturnVal_t _RetVal = (Func); if (SL_OS_RET_CODE_OK != _RetVal) return _RetVal;}
+
88 #else
+
89 #define VERIFY_RET_OK(Func) (Func);
+
90 #endif
+
91 
+
92 #if (SL_PROTOCOL_HANDLING == SL_HANDLING_ASSERT)
+
93 #define VERIFY_PROTOCOL(expr) _SL_ASSERT(expr)
+
94 #elif (SL_PROTOCOL_HANDLING == SL_HANDLING_ERROR)
+
95 #define VERIFY_PROTOCOL(expr) _SL_ERROR(expr, SL_RET_CODE_PROTOCOL_ERROR)
+
96 #else
+
97 #define VERIFY_PROTOCOL(expr)
+
98 #endif
+
99 
+
100 #if (defined(PROTECT_SOCKET_ASYNC_RESP) && (SL_SELF_COND_HANDLING == SL_HANDLING_ASSERT))
+
101 #define VERIFY_SOCKET_CB(expr) _SL_ASSERT(expr)
+
102 #elif (defined(PROTECT_SOCKET_ASYNC_RESP) && (SL_SELF_COND_HANDLING == SL_HANDLING_ERROR))
+
103 #define VERIFY_SOCKET_CB(expr) _SL_ERROR(expr, SL_RET_CODE_SELF_ERROR)
+
104 #else
+
105 #define VERIFY_SOCKET_CB(expr)
+
106 #endif
+
107 
+
108 #if (SL_NWP_IF_HANDLING == SL_HANDLING_ASSERT)
+
109 #define NWP_IF_WRITE_CHECK(fd,pBuff,len) { _i16 RetSize, ExpSize = (len); RetSize = sl_IfWrite((fd),(pBuff),ExpSize); _SL_ASSERT(ExpSize == RetSize)}
+
110 #define NWP_IF_READ_CHECK(fd,pBuff,len) { _i16 RetSize, ExpSize = (len); RetSize = sl_IfRead((fd),(pBuff),ExpSize); _SL_ASSERT(ExpSize == RetSize)}
+
111 #elif (SL_NWP_IF_HANDLING == SL_HANDLING_ERROR)
+
112 #define NWP_IF_WRITE_CHECK(fd,pBuff,len) { _SL_ERROR((len == sl_IfWrite((fd),(pBuff),(len))), SL_RET_CODE_NWP_IF_ERROR);}
+
113 #define NWP_IF_READ_CHECK(fd,pBuff,len) { _SL_ERROR((len == sl_IfRead((fd),(pBuff),(len))), SL_RET_CODE_NWP_IF_ERROR);}
+
114 #else
+
115 #define NWP_IF_WRITE_CHECK(fd,pBuff,len) { sl_IfWrite((fd),(pBuff),(len));}
+
116 #define NWP_IF_READ_CHECK(fd,pBuff,len) { sl_IfRead((fd),(pBuff),(len));}
+
117 #endif
+
118 
+
119 #if (SL_OSI_RET_OK_HANDLING == SL_HANDLING_ASSERT)
+
120 #define OSI_RET_OK_CHECK(Func) {_SlReturnVal_t _RetVal = (Func); _SL_ASSERT((_SlReturnVal_t)SL_OS_RET_CODE_OK == _RetVal)}
+
121 #elif (SL_OSI_RET_OK_HANDLING == SL_HANDLING_ERROR)
+
122 #define OSI_RET_OK_CHECK(Func) {_SlReturnVal_t _RetVal = (Func); if (SL_OS_RET_CODE_OK != _RetVal) return _RetVal;}
+
123 #else
+
124 #define OSI_RET_OK_CHECK(Func) (Func);
+
125 #endif
+
126 
+
127 #if (SL_MALLOC_OK_HANDLING == SL_HANDLING_ASSERT)
+
128 #define MALLOC_OK_CHECK(Ptr) _SL_ASSERT(NULL != Ptr)
+
129 #elif (SL_MALLOC_OK_HANDLING == SL_HANDLING_ERROR)
+
130 #define MALLOC_OK_CHECK(Ptr) _SL_ERROR((NULL != Ptr), SL_RET_CODE_MALLOC_ERROR)
+
131 #else
+
132 #define MALLOC_OK_CHECK(Ptr)
+
133 #endif
+
134 
+
135 #ifdef SL_INC_ARG_CHECK
+
136 
+
137 #if (SL_USER_ARGS_HANDLING == SL_HANDLING_ASSERT)
+
138 #define ARG_CHECK_PTR(Ptr) _SL_ASSERT(NULL != Ptr)
+
139 #elif (SL_USER_ARGS_HANDLING == SL_HANDLING_ERROR)
+
140 #define ARG_CHECK_PTR(Ptr) _SL_ERROR((NULL != Ptr), SL_RET_CODE_INVALID_INPUT)
+
141 #else
+
142 #define ARG_CHECK_PTR(Ptr)
+
143 #endif
+
144 
+
145 #else
+
146 #define ARG_CHECK_PTR(Ptr)
+
147 #endif
+
148 
+
149 /*#define SL_DBG_TRACE_ENABLE*/
+
150 #ifdef SL_DBG_TRACE_ENABLE
+
151 #define SL_TRACE0(level,msg_id,str) printf(str)
+
152 #define SL_TRACE1(level,msg_id,str,p1) printf(str,(p1))
+
153 #define SL_TRACE2(level,msg_id,str,p1,p2) printf(str,(p1),(p2))
+
154 #define SL_TRACE3(level,msg_id,str,p1,p2,p3) printf(str,(p1),(p2),(p3))
+
155 #define SL_TRACE4(level,msg_id,str,p1,p2,p3,p4) printf(str,(p1),(p2),(p3),(p4))
+
156 #define SL_ERROR_TRACE(msg_id,str) printf(str)
+
157 #define SL_ERROR_TRACE1(msg_id,str,p1) printf(str,(p1))
+
158 #define SL_ERROR_TRACE2(msg_id,str,p1,p2) printf(str,(p1),(p2))
+
159 #define SL_ERROR_TRACE3(msg_id,str,p1,p2,p3) printf(str,(p1),(p2),(p3))
+
160 #define SL_ERROR_TRACE4(msg_id,str,p1,p2,p3,p4) printf(str,(p1),(p2),(p3),(p4))
+
161 #define SL_TRACE_FLUSH()
+
162 #else
+
163 #define SL_TRACE0(level,msg_id,str)
+
164 #define SL_TRACE1(level,msg_id,str,p1)
+
165 #define SL_TRACE2(level,msg_id,str,p1,p2)
+
166 #define SL_TRACE3(level,msg_id,str,p1,p2,p3)
+
167 #define SL_TRACE4(level,msg_id,str,p1,p2,p3,p4)
+
168 #define SL_ERROR_TRACE(msg_id,str)
+
169 #define SL_ERROR_TRACE1(msg_id,str,p1)
+
170 #define SL_ERROR_TRACE2(msg_id,str,p1,p2)
+
171 #define SL_ERROR_TRACE3(msg_id,str,p1,p2,p3)
+
172 #define SL_ERROR_TRACE4(msg_id,str,p1,p2,p3,p4)
+
173 #define SL_TRACE_FLUSH()
+
174 #endif
+
175 
+
176 /* #define SL_DBG_CNT_ENABLE */
+
177 #ifdef SL_DBG_CNT_ENABLE
+
178 #define _SL_DBG_CNT_INC(Cnt) g_DbgCnt. ## Cnt++
+
179 #define _SL_DBG_SYNC_LOG(index,value) {if(index < SL_DBG_SYNC_LOG_SIZE){*(_u32 *)&g_DbgCnt.SyncLog[index] = *(_u32 *)(value);}}
+
180 
+
181 #else
+
182 #define _SL_DBG_CNT_INC(Cnt)
+
183 #define _SL_DBG_SYNC_LOG(index,value)
+
184 #endif
+
185 
+
186 #define SL_DBG_LEVEL_1 1
+
187 #define SL_DBG_LEVEL_2 2
+
188 #define SL_DBG_LEVEL_3 4
+
189 #define SL_DBG_LEVEL_MASK (SL_DBG_LEVEL_2|SL_DBG_LEVEL_3)
+
190 
+
191 #define SL_INCLUDE_DBG_FUNC(Name) ((Name ## _DBG_LEVEL) & SL_DBG_LEVEL_MASK)
+
192 
+
193 #define _SlDrvPrintStat_DBG_LEVEL SL_DBG_LEVEL_3
+
194 #define _SlDrvOtherFunc_DBG_LEVEL SL_DBG_LEVEL_1
+
195 
+
196 #ifdef __cplusplus
+
197 }
+
198 #endif
+
199 
+
200 
+
201 #endif /*__SIMPLELINK_TRACE_H__*/
+
202 
+
+
+ + + + diff --git a/docs/simplelink_api/html/union___get_host_by_name_async_response__u.html b/docs/simplelink_api/html/union___get_host_by_name_async_response__u.html deleted file mode 100644 index 780a314..0000000 --- a/docs/simplelink_api/html/union___get_host_by_name_async_response__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _GetHostByNameAsyncResponse_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_GetHostByNameAsyncResponse_u Union Reference
-
-
- - - - -

-Data Fields

-_GetHostByNameIPv4AsyncResponse_t IpV4
-_GetHostByNameIPv6AsyncResponse_t IpV6
-
The documentation for this union was generated from the following file:
    -
  • netapp.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___get_host_by_service_async_response_attribute__u.html b/docs/simplelink_api/html/union___get_host_by_service_async_response_attribute__u.html deleted file mode 100644 index 31f0625..0000000 --- a/docs/simplelink_api/html/union___get_host_by_service_async_response_attribute__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _GetHostByServiceAsyncResponseAttribute_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_GetHostByServiceAsyncResponseAttribute_u Union Reference
-
-
- - - - -

-Data Fields

-_GetHostByServiceIPv4AsyncResponse_t IpV4
-_GetHostByServiceIPv6AsyncResponse_t IpV6
-
The documentation for this union was generated from the following file:
    -
  • netapp.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_basic_cmd_msg__u.html b/docs/simplelink_api/html/union___sl_basic_cmd_msg__u.html deleted file mode 100644 index 6d7b333..0000000 --- a/docs/simplelink_api/html/union___sl_basic_cmd_msg__u.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - -SimpleLink Host Driver: _SlBasicCmdMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlBasicCmdMsg_u Union Reference
-
-
- - - -

-Data Fields

-_BasicResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • driver.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_device_event_data__u.html b/docs/simplelink_api/html/union___sl_device_event_data__u.html index 80961cc..4b99f45 100644 --- a/docs/simplelink_api/html/union___sl_device_event_data__u.html +++ b/docs/simplelink_api/html/union___sl_device_event_data__u.html @@ -1,135 +1,137 @@ - - - - - - -CC32XX SimpleLink Host Driver: _SlDeviceEventData_u Union Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
_SlDeviceEventData_u Union Reference
-
-
- - - - -

-Data Fields

-sl_DeviceReport deviceEvent
 
-
The documentation for this union was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: _SlDeviceEventData_u Union Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
_SlDeviceEventData_u Union Reference
+
+
+ + + + + + +

+Data Fields

+sl_DeviceReport deviceEvent
 
+sl_DeviceReportAbort deviceReport
 
+
The documentation for this union was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/union___sl_device_event_data__u.js b/docs/simplelink_api/html/union___sl_device_event_data__u.js index 0c6df24..14b4ea6 100644 --- a/docs/simplelink_api/html/union___sl_device_event_data__u.js +++ b/docs/simplelink_api/html/union___sl_device_event_data__u.js @@ -1,4 +1,5 @@ -var union___sl_device_event_data__u = -[ - [ "deviceEvent", "union___sl_device_event_data__u.html#a3447f4b5eb63cfa640a5c0dca641a30c", null ] +var union___sl_device_event_data__u = +[ + [ "deviceEvent", "union___sl_device_event_data__u.html#a3447f4b5eb63cfa640a5c0dca641a30c", null ], + [ "deviceReport", "union___sl_device_event_data__u.html#a953cec9fcfc133f5c137a3b27c9a5019", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/union___sl_device_msg_get__u.html b/docs/simplelink_api/html/union___sl_device_msg_get__u.html deleted file mode 100644 index 29fc8fa..0000000 --- a/docs/simplelink_api/html/union___sl_device_msg_get__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlDeviceMsgGet_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlDeviceMsgGet_u Union Reference
-
-
- - - - -

-Data Fields

-_DeviceSetGet_t Cmd
-_DeviceSetGet_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • device.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_device_msg_set__u.html b/docs/simplelink_api/html/union___sl_device_msg_set__u.html deleted file mode 100644 index 8588856..0000000 --- a/docs/simplelink_api/html/union___sl_device_msg_set__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlDeviceMsgSet_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlDeviceMsgSet_u Union Reference
-
-
- - - - -

-Data Fields

-_DeviceSetGet_t Cmd
-_BasicResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • device.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_event_mask_get_msg__u.html b/docs/simplelink_api/html/union___sl_event_mask_get_msg__u.html deleted file mode 100644 index ff13175..0000000 --- a/docs/simplelink_api/html/union___sl_event_mask_get_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlEventMaskGetMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlEventMaskGetMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_DevMaskEventGetCommand_t Cmd
-_DevMaskEventGetResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • device.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_event_mask_set_msg__u.html b/docs/simplelink_api/html/union___sl_event_mask_set_msg__u.html deleted file mode 100644 index d63e5fd..0000000 --- a/docs/simplelink_api/html/union___sl_event_mask_set_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlEventMaskSetMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlEventMaskSetMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_DevMaskEventSetCommand_t Cmd
-_BasicResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • device.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_fs_close_msg__u.html b/docs/simplelink_api/html/union___sl_fs_close_msg__u.html deleted file mode 100644 index db20d05..0000000 --- a/docs/simplelink_api/html/union___sl_fs_close_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlFsCloseMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlFsCloseMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_FsCloseCommand_t Cmd
-_BasicResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • fs.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_fs_delete_msg__u.html b/docs/simplelink_api/html/union___sl_fs_delete_msg__u.html deleted file mode 100644 index c8b6964..0000000 --- a/docs/simplelink_api/html/union___sl_fs_delete_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlFsDeleteMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlFsDeleteMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_FsDeleteCommand_t Cmd
-_FsDeleteResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • fs.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_fs_get_info_msg__u.html b/docs/simplelink_api/html/union___sl_fs_get_info_msg__u.html deleted file mode 100644 index d081107..0000000 --- a/docs/simplelink_api/html/union___sl_fs_get_info_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlFsGetInfoMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlFsGetInfoMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_FsGetInfoCommand_t Cmd
-_FsGetInfoResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • fs.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_fs_open_msg__u.html b/docs/simplelink_api/html/union___sl_fs_open_msg__u.html deleted file mode 100644 index 96356cc..0000000 --- a/docs/simplelink_api/html/union___sl_fs_open_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlFsOpenMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlFsOpenMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_FsOpenCommand_t Cmd
-_FsOpenResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • fs.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_fs_read_msg__u.html b/docs/simplelink_api/html/union___sl_fs_read_msg__u.html deleted file mode 100644 index 5a0843f..0000000 --- a/docs/simplelink_api/html/union___sl_fs_read_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlFsReadMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlFsReadMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_FsReadCommand_t Cmd
-_FsReadResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • fs.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_fs_write_msg__u.html b/docs/simplelink_api/html/union___sl_fs_write_msg__u.html deleted file mode 100644 index 00a8eac..0000000 --- a/docs/simplelink_api/html/union___sl_fs_write_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlFsWriteMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlFsWriteMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_FsWriteCommand_t Cmd
-_FsWriteResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • fs.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_get_host_by_name_msg__u.html b/docs/simplelink_api/html/union___sl_get_host_by_name_msg__u.html deleted file mode 100644 index d998cbb..0000000 --- a/docs/simplelink_api/html/union___sl_get_host_by_name_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlGetHostByNameMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlGetHostByNameMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_GetHostByNameCommand_t Cmd
-_BasicResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • netapp.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_get_host_by_service_msg__u.html b/docs/simplelink_api/html/union___sl_get_host_by_service_msg__u.html deleted file mode 100644 index 47e41db..0000000 --- a/docs/simplelink_api/html/union___sl_get_host_by_service_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlGetHostByServiceMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlGetHostByServiceMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_GetHostByServiceCommand_t Cmd
-_BasicResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • netapp.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_get_sock_opt_msg__u.html b/docs/simplelink_api/html/union___sl_get_sock_opt_msg__u.html deleted file mode 100644 index a66063c..0000000 --- a/docs/simplelink_api/html/union___sl_get_sock_opt_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlGetSockOptMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlGetSockOptMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_getSockOptCommand_t Cmd
-_getSockOptResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • socket.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_listen_msg__u.html b/docs/simplelink_api/html/union___sl_listen_msg__u.html deleted file mode 100644 index fec2217..0000000 --- a/docs/simplelink_api/html/union___sl_listen_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlListenMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlListenMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_ListenCommand_t Cmd
-_BasicResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • socket.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_net_app_msg_get__u.html b/docs/simplelink_api/html/union___sl_net_app_msg_get__u.html deleted file mode 100644 index e9890cd..0000000 --- a/docs/simplelink_api/html/union___sl_net_app_msg_get__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlNetAppMsgGet_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlNetAppMsgGet_u Union Reference
-
-
- - - - -

-Data Fields

-_NetAppSetGet_t Cmd
-_NetAppSetGet_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • netapp.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_net_app_msg_send_token_value__u.html b/docs/simplelink_api/html/union___sl_net_app_msg_send_token_value__u.html deleted file mode 100644 index d29ab91..0000000 --- a/docs/simplelink_api/html/union___sl_net_app_msg_send_token_value__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlNetAppMsgSendTokenValue_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlNetAppMsgSendTokenValue_u Union Reference
-
-
- - - - -

-Data Fields

-sl_NetAppHttpServerSendToken_t Cmd
-_BasicResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • netapp.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_net_app_msg_set__u.html b/docs/simplelink_api/html/union___sl_net_app_msg_set__u.html deleted file mode 100644 index db28ca8..0000000 --- a/docs/simplelink_api/html/union___sl_net_app_msg_set__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlNetAppMsgSet_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlNetAppMsgSet_u Union Reference
-
-
- - - - -

-Data Fields

-_NetAppSetGet_t Cmd
-_BasicResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • netapp.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_net_app_start_stop_msg__u.html b/docs/simplelink_api/html/union___sl_net_app_start_stop_msg__u.html deleted file mode 100644 index 8cbbe50..0000000 --- a/docs/simplelink_api/html/union___sl_net_app_start_stop_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlNetAppStartStopMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlNetAppStartStopMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_NetAppStartStopCommand_t Cmd
-_NetAppStartStopResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • netapp.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_net_cfg_msg_get__u.html b/docs/simplelink_api/html/union___sl_net_cfg_msg_get__u.html deleted file mode 100644 index 1cf967c..0000000 --- a/docs/simplelink_api/html/union___sl_net_cfg_msg_get__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlNetCfgMsgGet_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlNetCfgMsgGet_u Union Reference
-
-
- - - - -

-Data Fields

-_NetCfgSetGet_t Cmd
-_NetCfgSetGet_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • netcfg.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_net_cfg_msg_set__u.html b/docs/simplelink_api/html/union___sl_net_cfg_msg_set__u.html deleted file mode 100644 index e7a0b50..0000000 --- a/docs/simplelink_api/html/union___sl_net_cfg_msg_set__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlNetCfgMsgSet_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlNetCfgMsgSet_u Union Reference
-
-
- - - - -

-Data Fields

-_NetCfgSetGet_t Cmd
-_BasicResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • netcfg.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_netapp_get_service_list_msg__u.html b/docs/simplelink_api/html/union___sl_netapp_get_service_list_msg__u.html deleted file mode 100644 index 2f2b6b8..0000000 --- a/docs/simplelink_api/html/union___sl_netapp_get_service_list_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlNetappGetServiceListMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlNetappGetServiceListMsg_u Union Reference
-
-
- - - - -

-Data Fields

-NetappGetServiceListCMD_t Cmd
-_BasicResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • netapp.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_netapp_mdns_register_service_msg__u.html b/docs/simplelink_api/html/union___sl_netapp_mdns_register_service_msg__u.html deleted file mode 100644 index 9a1ce58..0000000 --- a/docs/simplelink_api/html/union___sl_netapp_mdns_register_service_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlNetappMdnsRegisterServiceMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlNetappMdnsRegisterServiceMsg_u Union Reference
-
-
- - - - -

-Data Fields

-NetappMdnsSetService_t Cmd
-_BasicResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • netapp.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_ping_start_msg__u.html b/docs/simplelink_api/html/union___sl_ping_start_msg__u.html deleted file mode 100644 index c51656d..0000000 --- a/docs/simplelink_api/html/union___sl_ping_start_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlPingStartMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlPingStartMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_PingStartCommand_t Cmd
-_PingReportResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • netapp.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_policy_get_msg__u.html b/docs/simplelink_api/html/union___sl_policy_get_msg__u.html deleted file mode 100644 index 13a711c..0000000 --- a/docs/simplelink_api/html/union___sl_policy_get_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlPolicyGetMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlPolicyGetMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_WlanPoliciySetGet_t Cmd
-_WlanPoliciySetGet_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • wlan.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_policy_msg__u.html b/docs/simplelink_api/html/union___sl_policy_msg__u.html deleted file mode 100644 index 01ca009..0000000 --- a/docs/simplelink_api/html/union___sl_policy_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlPolicyMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlPolicyMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_WlanPoliciySetGet_t Cmd
-_BasicResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • wlan.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_profile_add_msg__u.html b/docs/simplelink_api/html/union___sl_profile_add_msg__u.html deleted file mode 100644 index 0534914..0000000 --- a/docs/simplelink_api/html/union___sl_profile_add_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlProfileAddMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlProfileAddMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_SlProfileParams_t Cmd
-_BasicResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • wlan.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_profile_del_msg__u.html b/docs/simplelink_api/html/union___sl_profile_del_msg__u.html deleted file mode 100644 index fe4321a..0000000 --- a/docs/simplelink_api/html/union___sl_profile_del_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlProfileDelMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlProfileDelMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_WlanProfileDelGetCommand_t Cmd
-_BasicResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • wlan.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_profile_get_msg__u.html b/docs/simplelink_api/html/union___sl_profile_get_msg__u.html deleted file mode 100644 index 31e29f9..0000000 --- a/docs/simplelink_api/html/union___sl_profile_get_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlProfileGetMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlProfileGetMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_WlanProfileDelGetCommand_t Cmd
-_SlProfileParams_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • wlan.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_recv_msg__u.html b/docs/simplelink_api/html/union___sl_recv_msg__u.html deleted file mode 100644 index c63853f..0000000 --- a/docs/simplelink_api/html/union___sl_recv_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlRecvMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlRecvMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_sendRecvCommand_t Cmd
-_SocketResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • socket.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_recvfrom_msg__u.html b/docs/simplelink_api/html/union___sl_recvfrom_msg__u.html deleted file mode 100644 index 62b023d..0000000 --- a/docs/simplelink_api/html/union___sl_recvfrom_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlRecvfromMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlRecvfromMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_sendRecvCommand_t Cmd
-_SocketAddrResponse_u Rsp
-
The documentation for this union was generated from the following file:
    -
  • socket.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_rx_filter_get_msg__u.html b/docs/simplelink_api/html/union___sl_rx_filter_get_msg__u.html deleted file mode 100644 index f601360..0000000 --- a/docs/simplelink_api/html/union___sl_rx_filter_get_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlRxFilterGetMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlRxFilterGetMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_WlanRxFilterGetCommand_t Cmd
-_WlanRxFilterGetCommandReponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • wlan.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_rx_filter_set_msg__u.html b/docs/simplelink_api/html/union___sl_rx_filter_set_msg__u.html deleted file mode 100644 index 3306d8e..0000000 --- a/docs/simplelink_api/html/union___sl_rx_filter_set_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlRxFilterSetMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlRxFilterSetMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_WlanRxFilterSetCommand_t Cmd
-_WlanRxFilterSetCommandReponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • wlan.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_select_msg__u.html b/docs/simplelink_api/html/union___sl_select_msg__u.html deleted file mode 100644 index 4bd1243..0000000 --- a/docs/simplelink_api/html/union___sl_select_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlSelectMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlSelectMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_SelectCommand_t Cmd
-_BasicResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • socket.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_send_msg__u.html b/docs/simplelink_api/html/union___sl_send_msg__u.html deleted file mode 100644 index 4b94a7d..0000000 --- a/docs/simplelink_api/html/union___sl_send_msg__u.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - -SimpleLink Host Driver: _SlSendMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlSendMsg_u Union Reference
-
-
- - - -

-Data Fields

-_sendRecvCommand_t Cmd
-
The documentation for this union was generated from the following file:
    -
  • socket.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_sendto_msg__u.html b/docs/simplelink_api/html/union___sl_sendto_msg__u.html deleted file mode 100644 index ec9b6d8..0000000 --- a/docs/simplelink_api/html/union___sl_sendto_msg__u.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - -SimpleLink Host Driver: _SlSendtoMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlSendtoMsg_u Union Reference
-
-
- - - -

-Data Fields

-_SocketAddrCommand_u Cmd
-
The documentation for this union was generated from the following file:
    -
  • socket.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_set_sock_opt_msg__u.html b/docs/simplelink_api/html/union___sl_set_sock_opt_msg__u.html deleted file mode 100644 index 6377b77..0000000 --- a/docs/simplelink_api/html/union___sl_set_sock_opt_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlSetSockOptMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlSetSockOptMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_setSockOptCommand_t Cmd
-_SocketResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • socket.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_smart_config_start_msg__u.html b/docs/simplelink_api/html/union___sl_smart_config_start_msg__u.html deleted file mode 100644 index bebf905..0000000 --- a/docs/simplelink_api/html/union___sl_smart_config_start_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlSmartConfigStartMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlSmartConfigStartMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_SlSmartConfigStart_t Cmd
-_BasicResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • wlan.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_sock_accept_msg__u.html b/docs/simplelink_api/html/union___sl_sock_accept_msg__u.html deleted file mode 100644 index 0ec514e..0000000 --- a/docs/simplelink_api/html/union___sl_sock_accept_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlSockAcceptMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlSockAcceptMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_AcceptCommand_t Cmd
-_SocketResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • socket.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_sock_bind_msg__u.html b/docs/simplelink_api/html/union___sl_sock_bind_msg__u.html deleted file mode 100644 index c0b3d89..0000000 --- a/docs/simplelink_api/html/union___sl_sock_bind_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlSockBindMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlSockBindMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_SocketAddrCommand_u Cmd
-_SocketResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • socket.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_sock_close_msg__u.html b/docs/simplelink_api/html/union___sl_sock_close_msg__u.html deleted file mode 100644 index b1c98fe..0000000 --- a/docs/simplelink_api/html/union___sl_sock_close_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlSockCloseMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlSockCloseMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_CloseCommand_t Cmd
-_SocketResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • socket.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_sock_connect_msg__u.html b/docs/simplelink_api/html/union___sl_sock_connect_msg__u.html deleted file mode 100644 index db5ae90..0000000 --- a/docs/simplelink_api/html/union___sl_sock_connect_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlSockConnectMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlSockConnectMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_SocketAddrCommand_u Cmd
-_SocketResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • socket.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_sock_socket_msg__u.html b/docs/simplelink_api/html/union___sl_sock_socket_msg__u.html deleted file mode 100644 index 9fff46c..0000000 --- a/docs/simplelink_api/html/union___sl_sock_socket_msg__u.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - -SimpleLink Host Driver: _SlSockSocketMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlSockSocketMsg_u Union Reference
-
-
- - - - - -

-Data Fields

-UINT32 Dummy
-_SocketCommand_t Cmd
-_SocketResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • socket.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_stop_msg__u.html b/docs/simplelink_api/html/union___sl_stop_msg__u.html deleted file mode 100644 index d5d3585..0000000 --- a/docs/simplelink_api/html/union___sl_stop_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlStopMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlStopMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_DevStopCommand_t Cmd
-_BasicResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • device.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_wlan_cfg_msg_get__u.html b/docs/simplelink_api/html/union___sl_wlan_cfg_msg_get__u.html deleted file mode 100644 index a2f0935..0000000 --- a/docs/simplelink_api/html/union___sl_wlan_cfg_msg_get__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlWlanCfgMsgGet_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlWlanCfgMsgGet_u Union Reference
-
-
- - - - -

-Data Fields

-_WlanCfgSetGet_t Cmd
-_WlanCfgSetGet_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • wlan.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_wlan_cfg_set_msg__u.html b/docs/simplelink_api/html/union___sl_wlan_cfg_set_msg__u.html deleted file mode 100644 index d1d7dbe..0000000 --- a/docs/simplelink_api/html/union___sl_wlan_cfg_set_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlWlanCfgSetMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlWlanCfgSetMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_WlanCfgSetGet_t Cmd
-_BasicResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • wlan.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_wlan_connect_msg__u.html b/docs/simplelink_api/html/union___sl_wlan_connect_msg__u.html deleted file mode 100644 index 33b4acc..0000000 --- a/docs/simplelink_api/html/union___sl_wlan_connect_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlWlanConnectMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlWlanConnectMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_WlanConnectCmd_t Cmd
-_BasicResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • wlan.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___sl_wlan_get_network_list_msg__u.html b/docs/simplelink_api/html/union___sl_wlan_get_network_list_msg__u.html deleted file mode 100644 index cb1f151..0000000 --- a/docs/simplelink_api/html/union___sl_wlan_get_network_list_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlWlanGetNetworkListMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlWlanGetNetworkListMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_WlanGetNetworkListCommand_t Cmd
-_WlanGetNetworkListResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • wlan.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___slrx_filter_add_msg__u.html b/docs/simplelink_api/html/union___slrx_filter_add_msg__u.html deleted file mode 100644 index 552ceaa..0000000 --- a/docs/simplelink_api/html/union___slrx_filter_add_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlrxFilterAddMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlrxFilterAddMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_WlanRxFilterAddCommand_t Cmd
-_WlanRxFilterAddCommandReponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • wlan.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___slwlan_set_mode_msg__u.html b/docs/simplelink_api/html/union___slwlan_set_mode_msg__u.html deleted file mode 100644 index a2fd55f..0000000 --- a/docs/simplelink_api/html/union___slwlan_set_mode_msg__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SlwlanSetModeMsg_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SlwlanSetModeMsg_u Union Reference
-
-
- - - - -

-Data Fields

-_WlanSetMode_t Cmd
-_BasicResponse_t Rsp
-
The documentation for this union was generated from the following file:
    -
  • wlan.c
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___socket_addr_command__u.html b/docs/simplelink_api/html/union___socket_addr_command__u.html deleted file mode 100644 index 3cad8cb..0000000 --- a/docs/simplelink_api/html/union___socket_addr_command__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SocketAddrCommand_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SocketAddrCommand_u Union Reference
-
-
- - - - -

-Data Fields

-_SocketAddrIPv4Command_t IpV4
-_SocketAddrIPv6EUI48Command_t IpV6EUI48
-
The documentation for this union was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union___socket_addr_response__u.html b/docs/simplelink_api/html/union___socket_addr_response__u.html deleted file mode 100644 index ce956bd..0000000 --- a/docs/simplelink_api/html/union___socket_addr_response__u.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _SocketAddrResponse_u Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_SocketAddrResponse_u Union Reference
-
-
- - - - -

-Data Fields

-_SocketAddrAsyncIPv4Response_t IpV4
-_SocketAddrAsyncIPv6EUI48Response_t IpV6EUI48
-
The documentation for this union was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union__device__commands__t.html b/docs/simplelink_api/html/union__device__commands__t.html deleted file mode 100644 index b8a26d8..0000000 --- a/docs/simplelink_api/html/union__device__commands__t.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - -SimpleLink Host Driver: _device_commands_t Union Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
SimpleLink Host Driver 0.0.5.1
-
-
- - -
-
- -
-
-
- -
-
- -
-
_device_commands_t Union Reference
-
-
- - - - -

-Data Fields

-_SocketCommand_t EventMask
-_sendRecvCommand_t DeviceInit
-
The documentation for this union was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/simplelink_api/html/union_sl_device_event_data__u.html b/docs/simplelink_api/html/union_sl_device_event_data__u.html deleted file mode 100644 index 8209b6b..0000000 --- a/docs/simplelink_api/html/union_sl_device_event_data__u.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlDeviceEventData_u Union Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  0.0.5.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlDeviceEventData_u Union Reference
-
-
- - - - -

-Data Fields

-sl_DeviceReport deviceEvent
 
-
The documentation for this union was generated from the following file: -
-
- - - - diff --git a/docs/simplelink_api/html/union_sl_device_event_data__u.js b/docs/simplelink_api/html/union_sl_device_event_data__u.js deleted file mode 100644 index ca5bee1..0000000 --- a/docs/simplelink_api/html/union_sl_device_event_data__u.js +++ /dev/null @@ -1,4 +0,0 @@ -var union_sl_device_event_data__u = -[ - [ "deviceEvent", "union_sl_device_event_data__u.html#a3447f4b5eb63cfa640a5c0dca641a30c", null ] -]; \ No newline at end of file diff --git a/docs/simplelink_api/html/union_sl_http_server_event_data__u.html b/docs/simplelink_api/html/union_sl_http_server_event_data__u.html index f8615c4..4769ba5 100644 --- a/docs/simplelink_api/html/union_sl_http_server_event_data__u.html +++ b/docs/simplelink_api/html/union_sl_http_server_event_data__u.html @@ -1,138 +1,137 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlHttpServerEventData_u Union Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlHttpServerEventData_u Union Reference
-
-
- - - - - - -

-Data Fields

-slHttpServerString_t httpTokenName
 
-slHttpServerPostData_t httpPostData
 
-
The documentation for this union was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlHttpServerEventData_u Union Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlHttpServerEventData_u Union Reference
+
+
+ + + + + + +

+Data Fields

+slHttpServerString_t httpTokenName
 
+slHttpServerPostData_t httpPostData
 
+
The documentation for this union was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/union_sl_http_server_event_data__u.js b/docs/simplelink_api/html/union_sl_http_server_event_data__u.js index b6122bd..4777f73 100644 --- a/docs/simplelink_api/html/union_sl_http_server_event_data__u.js +++ b/docs/simplelink_api/html/union_sl_http_server_event_data__u.js @@ -1,5 +1,5 @@ -var union_sl_http_server_event_data__u = -[ - [ "httpPostData", "union_sl_http_server_event_data__u.html#a4c697e1d747be7f899ab3593a57fb575", null ], - [ "httpTokenName", "union_sl_http_server_event_data__u.html#afe08fe6236a178fb1bd225b511f64ab9", null ] +var union_sl_http_server_event_data__u = +[ + [ "httpPostData", "union_sl_http_server_event_data__u.html#a4c697e1d747be7f899ab3593a57fb575", null ], + [ "httpTokenName", "union_sl_http_server_event_data__u.html#afe08fe6236a178fb1bd225b511f64ab9", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/union_sl_http_server_responsedata__u.html b/docs/simplelink_api/html/union_sl_http_server_responsedata__u.html index f8c2c01..758f2a9 100644 --- a/docs/simplelink_api/html/union_sl_http_server_responsedata__u.html +++ b/docs/simplelink_api/html/union_sl_http_server_responsedata__u.html @@ -1,135 +1,134 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlHttpServerResponsedata_u Union Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlHttpServerResponsedata_u Union Reference
-
-
- - - - -

-Data Fields

-slHttpServerString_t token_value
 
-
The documentation for this union was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlHttpServerResponsedata_u Union Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlHttpServerResponsedata_u Union Reference
+
+
+ + + + +

+Data Fields

+slHttpServerString_t token_value
 
+
The documentation for this union was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/union_sl_http_server_responsedata__u.js b/docs/simplelink_api/html/union_sl_http_server_responsedata__u.js index 34110af..2bdbe70 100644 --- a/docs/simplelink_api/html/union_sl_http_server_responsedata__u.js +++ b/docs/simplelink_api/html/union_sl_http_server_responsedata__u.js @@ -1,4 +1,4 @@ -var union_sl_http_server_responsedata__u = -[ - [ "token_value", "union_sl_http_server_responsedata__u.html#ac17cbf485a7c72aa811cfda94d8649c6", null ] +var union_sl_http_server_responsedata__u = +[ + [ "token_value", "union_sl_http_server_responsedata__u.html#ac17cbf485a7c72aa811cfda94d8649c6", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/union_sl_net_app_event_data__u.html b/docs/simplelink_api/html/union_sl_net_app_event_data__u.html index 39e753a..d0eac10 100644 --- a/docs/simplelink_api/html/union_sl_net_app_event_data__u.html +++ b/docs/simplelink_api/html/union_sl_net_app_event_data__u.html @@ -1,147 +1,146 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlNetAppEventData_u Union Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlNetAppEventData_u Union Reference
-
-
- - - - - - - - - - - - -

-Data Fields

-SlIpV4AcquiredAsync_t ipAcquiredV4
 
-SlIpV6AcquiredAsync_t ipAcquiredV6
 
-_u32 sd
 
-SlIpLeasedAsync_t ipLeased
 
-SlIpReleasedAsync_t ipReleased
 
-
The documentation for this union was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlNetAppEventData_u Union Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlNetAppEventData_u Union Reference
+
+
+ + + + + + + + + + + + +

+Data Fields

+SlIpV4AcquiredAsync_t ipAcquiredV4
 
+SlIpV6AcquiredAsync_t ipAcquiredV6
 
+_u32 sd
 
+SlIpLeasedAsync_t ipLeased
 
+SlIpReleasedAsync_t ipReleased
 
+
The documentation for this union was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/union_sl_net_app_event_data__u.js b/docs/simplelink_api/html/union_sl_net_app_event_data__u.js index 9fba6cc..4b0c8a5 100644 --- a/docs/simplelink_api/html/union_sl_net_app_event_data__u.js +++ b/docs/simplelink_api/html/union_sl_net_app_event_data__u.js @@ -1,8 +1,8 @@ -var union_sl_net_app_event_data__u = -[ - [ "ipAcquiredV4", "union_sl_net_app_event_data__u.html#a70e52a1e4d3f9d2f266678ec36368c7c", null ], - [ "ipAcquiredV6", "union_sl_net_app_event_data__u.html#a400e2b41a0f0b2c5bcea239044bc9c51", null ], - [ "ipLeased", "union_sl_net_app_event_data__u.html#aed0298fb2bc398113623878895eaa5c1", null ], - [ "ipReleased", "union_sl_net_app_event_data__u.html#a1243613fce8b1dcb1bb980e16b18a603", null ], - [ "sd", "union_sl_net_app_event_data__u.html#a981f461c52d720de7fe25818b9df2192", null ] +var union_sl_net_app_event_data__u = +[ + [ "ipAcquiredV4", "union_sl_net_app_event_data__u.html#a70e52a1e4d3f9d2f266678ec36368c7c", null ], + [ "ipAcquiredV6", "union_sl_net_app_event_data__u.html#a400e2b41a0f0b2c5bcea239044bc9c51", null ], + [ "ipLeased", "union_sl_net_app_event_data__u.html#aed0298fb2bc398113623878895eaa5c1", null ], + [ "ipReleased", "union_sl_net_app_event_data__u.html#a1243613fce8b1dcb1bb980e16b18a603", null ], + [ "sd", "union_sl_net_app_event_data__u.html#a981f461c52d720de7fe25818b9df2192", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/union_sl_sock_event_data__u.html b/docs/simplelink_api/html/union_sl_sock_event_data__u.html new file mode 100644 index 0000000..6fda59c --- /dev/null +++ b/docs/simplelink_api/html/union_sl_sock_event_data__u.html @@ -0,0 +1,137 @@ + + + + + + +CC32XX SimpleLink Host Driver: SlSockEventData_u Union Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlSockEventData_u Union Reference
+
+
+ + + + + + +

+Data Fields

+SlSockTxFailEventData_t SockTxFailData
 
+SlSocketAsyncEvent_t SockAsyncData
 
+
The documentation for this union was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/union_sl_sock_event_data__u.js b/docs/simplelink_api/html/union_sl_sock_event_data__u.js new file mode 100644 index 0000000..808f67e --- /dev/null +++ b/docs/simplelink_api/html/union_sl_sock_event_data__u.js @@ -0,0 +1,5 @@ +var union_sl_sock_event_data__u = +[ + [ "SockAsyncData", "union_sl_sock_event_data__u.html#ae60ad12b7cac0600997d825fc8e71f6e", null ], + [ "SockTxFailData", "union_sl_sock_event_data__u.html#a595b11dcc257e90eee3feb5fa262591e", null ] +]; \ No newline at end of file diff --git a/docs/simplelink_api/html/union_sl_wlan_event_data__u.html b/docs/simplelink_api/html/union_sl_wlan_event_data__u.html index eeaa256..5806c90 100644 --- a/docs/simplelink_api/html/union_sl_wlan_event_data__u.html +++ b/docs/simplelink_api/html/union_sl_wlan_event_data__u.html @@ -1,159 +1,158 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlWlanEventData_u Union Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlWlanEventData_u Union Reference
-
-
- - - - - - - - - - - - - - - - - - - - -

-Data Fields

-slSmartConfigStartAsyncResponse_t smartConfigStartResponse
 
-slSmartConfigStopAsyncResponse_t smartConfigStopResponse
 
-slPeerInfoAsyncResponse_t APModeStaConnected
 
-slPeerInfoAsyncResponse_t APModestaDisconnected
 
-slWlanConnectAsyncResponse_t STAandP2PModeWlanConnected
 
-slWlanConnectAsyncResponse_t STAandP2PModeDisconnected
 
-slPeerInfoAsyncResponse_t P2PModeDevFound
 
-slPeerInfoAsyncResponse_t P2PModeNegReqReceived
 
-slWlanConnFailureAsyncResponse_t P2PModewlanConnectionFailure
 
-
The documentation for this union was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlWlanEventData_u Union Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlWlanEventData_u Union Reference
+
+
+ + + + + + + + + + + + + + + + + + + + +

+Data Fields

+slSmartConfigStartAsyncResponse_t smartConfigStartResponse
 
+slSmartConfigStopAsyncResponse_t smartConfigStopResponse
 
+slPeerInfoAsyncResponse_t APModeStaConnected
 
+slPeerInfoAsyncResponse_t APModestaDisconnected
 
+slWlanConnectAsyncResponse_t STAandP2PModeWlanConnected
 
+slWlanConnectAsyncResponse_t STAandP2PModeDisconnected
 
+slPeerInfoAsyncResponse_t P2PModeDevFound
 
+slPeerInfoAsyncResponse_t P2PModeNegReqReceived
 
+slWlanConnFailureAsyncResponse_t P2PModewlanConnectionFailure
 
+
The documentation for this union was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/union_sl_wlan_event_data__u.js b/docs/simplelink_api/html/union_sl_wlan_event_data__u.js index ec3a0e0..7bb3334 100644 --- a/docs/simplelink_api/html/union_sl_wlan_event_data__u.js +++ b/docs/simplelink_api/html/union_sl_wlan_event_data__u.js @@ -1,12 +1,12 @@ -var union_sl_wlan_event_data__u = -[ - [ "APModeStaConnected", "union_sl_wlan_event_data__u.html#a8a4b774d3fea5bd36d46e36326f11ed4", null ], - [ "APModestaDisconnected", "union_sl_wlan_event_data__u.html#a5e285baad857f73a0167f73e4b17ae50", null ], - [ "P2PModeDevFound", "union_sl_wlan_event_data__u.html#a8b490ba7a54396f6e289b5789644de5f", null ], - [ "P2PModeNegReqReceived", "union_sl_wlan_event_data__u.html#aee4d526e0489f6384555d71c6a4c2ff3", null ], - [ "P2PModewlanConnectionFailure", "union_sl_wlan_event_data__u.html#a2211e22e568ee4349eebd7ed5b6f9b60", null ], - [ "smartConfigStartResponse", "union_sl_wlan_event_data__u.html#a3e0a9eb580163ca72c178d96a5edba79", null ], - [ "smartConfigStopResponse", "union_sl_wlan_event_data__u.html#a962b4e0845dd71daaf9929aea34183fc", null ], - [ "STAandP2PModeDisconnected", "union_sl_wlan_event_data__u.html#abf61e2e1e81c5eda10f6ff84a7197b31", null ], - [ "STAandP2PModeWlanConnected", "union_sl_wlan_event_data__u.html#a406b4e8670796f9cdc1746646fab6588", null ] +var union_sl_wlan_event_data__u = +[ + [ "APModeStaConnected", "union_sl_wlan_event_data__u.html#a8a4b774d3fea5bd36d46e36326f11ed4", null ], + [ "APModestaDisconnected", "union_sl_wlan_event_data__u.html#a5e285baad857f73a0167f73e4b17ae50", null ], + [ "P2PModeDevFound", "union_sl_wlan_event_data__u.html#a8b490ba7a54396f6e289b5789644de5f", null ], + [ "P2PModeNegReqReceived", "union_sl_wlan_event_data__u.html#aee4d526e0489f6384555d71c6a4c2ff3", null ], + [ "P2PModewlanConnectionFailure", "union_sl_wlan_event_data__u.html#a2211e22e568ee4349eebd7ed5b6f9b60", null ], + [ "smartConfigStartResponse", "union_sl_wlan_event_data__u.html#a3e0a9eb580163ca72c178d96a5edba79", null ], + [ "smartConfigStopResponse", "union_sl_wlan_event_data__u.html#a962b4e0845dd71daaf9929aea34183fc", null ], + [ "STAandP2PModeDisconnected", "union_sl_wlan_event_data__u.html#abf61e2e1e81c5eda10f6ff84a7197b31", null ], + [ "STAandP2PModeWlanConnected", "union_sl_wlan_event_data__u.html#a406b4e8670796f9cdc1746646fab6588", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/union_slrx_filter_action_type__t.html b/docs/simplelink_api/html/union_slrx_filter_action_type__t.html index 03297b2..4c2fd98 100644 --- a/docs/simplelink_api/html/union_slrx_filter_action_type__t.html +++ b/docs/simplelink_api/html/union_slrx_filter_action_type__t.html @@ -1,148 +1,147 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlrxFilterActionType_t Union Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlrxFilterActionType_t Union Reference
-
-
- - - - -

-Data Fields

_u8 IntRepresentation
 
-

Field Documentation

- -
-
- - - - -
_u8 IntRepresentation
-
-

action can increase counter registers. 1 = Increase 2 = decrease 3 = reset

- -
-
-
The documentation for this union was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlrxFilterActionType_t Union Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlrxFilterActionType_t Union Reference
+
+
+ + + + +

+Data Fields

_u8 IntRepresentation
 
+

Field Documentation

+ +
+
+ + + + +
_u8 IntRepresentation
+
+

action can increase counter registers. 1 = Increase 2 = decrease 3 = reset

+ +
+
+
The documentation for this union was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/union_slrx_filter_action_type__t.js b/docs/simplelink_api/html/union_slrx_filter_action_type__t.js index 12e7131..b1ea0ea 100644 --- a/docs/simplelink_api/html/union_slrx_filter_action_type__t.js +++ b/docs/simplelink_api/html/union_slrx_filter_action_type__t.js @@ -1,4 +1,4 @@ -var union_slrx_filter_action_type__t = -[ - [ "IntRepresentation", "union_slrx_filter_action_type__t.html#a0c18cf04f2432035440b4608ea66fb4d", null ] +var union_slrx_filter_action_type__t = +[ + [ "IntRepresentation", "union_slrx_filter_action_type__t.html#a0c18cf04f2432035440b4608ea66fb4d", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/union_slrx_filter_flags__t.html b/docs/simplelink_api/html/union_slrx_filter_flags__t.html index ee09020..35174ca 100644 --- a/docs/simplelink_api/html/union_slrx_filter_flags__t.html +++ b/docs/simplelink_api/html/union_slrx_filter_flags__t.html @@ -1,149 +1,148 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlrxFilterFlags_t Union Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlrxFilterFlags_t Union Reference
-
-
- - - - -

-Data Fields

_u8 IntRepresentation
 
-

Field Documentation

- -
-
- - - - -
_u8 IntRepresentation
-
-

The filter argument can be set as binary argument or ASCII arguments. When the bit is on the argument are binary.

-

When the bit is on it means the the node is enabled .

- -
-
-
The documentation for this union was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlrxFilterFlags_t Union Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlrxFilterFlags_t Union Reference
+
+
+ + + + +

+Data Fields

_u8 IntRepresentation
 
+

Field Documentation

+ +
+
+ + + + +
_u8 IntRepresentation
+
+

The filter argument can be set as binary argument or ASCII arguments. When the bit is on the argument are binary.

+

When the bit is on it means the the node is enabled .

+ +
+
+
The documentation for this union was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/union_slrx_filter_flags__t.js b/docs/simplelink_api/html/union_slrx_filter_flags__t.js index 634dd78..64d75f9 100644 --- a/docs/simplelink_api/html/union_slrx_filter_flags__t.js +++ b/docs/simplelink_api/html/union_slrx_filter_flags__t.js @@ -1,4 +1,4 @@ -var union_slrx_filter_flags__t = -[ - [ "IntRepresentation", "union_slrx_filter_flags__t.html#a0c18cf04f2432035440b4608ea66fb4d", null ] +var union_slrx_filter_flags__t = +[ + [ "IntRepresentation", "union_slrx_filter_flags__t.html#a0c18cf04f2432035440b4608ea66fb4d", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/union_slrx_filter_header_arg__t.html b/docs/simplelink_api/html/union_slrx_filter_header_arg__t.html index 8eecccd..75c0b9d 100644 --- a/docs/simplelink_api/html/union_slrx_filter_header_arg__t.html +++ b/docs/simplelink_api/html/union_slrx_filter_header_arg__t.html @@ -1,228 +1,227 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlrxFilterHeaderArg_t Union Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlrxFilterHeaderArg_t Union Reference
-
-
- -

#include <wlan_rx_filters.h>

- - - - - - - - - - - - - - -

-Data Fields

SlrxFilterBinaryArg_t RxFilterDB16BytesRuleArgs [SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][16]
 
SlrxFilterBinaryArg_t RxFilterDB6BytesRuleArgs [SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][6]
 
SlrxFilterAsciiArg_t RxFilterDB18BytesAsciiRuleArgs [SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][18]
 
SlrxFilterBinaryArg_t RxFilterDB4BytesRuleArgs [SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][4]
 
SlrxFilterAsciiArg_t RxFilterDB5BytesRuleAsciiArgs [SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][5]
 
SlrxFilterBinaryArg_t RxFilterDB1BytesRuleArgs [SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][1]
 
-

Detailed Description

-

The structure holds the header ARGS which are used in case of HDR rule.

-

Field Documentation

- -
-
- - - - -
SlrxFilterBinaryArg_t RxFilterDB16BytesRuleArgs[SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][16]
-
-

buffer for binary arguments, number of argument may be up to SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS example : IPV6 16 bytes, 39 characters ipv6 Ascii address: 2001:0db8:3c4d:0015:0000:0000:abcd:ef12

- -
-
- -
-
- - - - -
SlrxFilterAsciiArg_t RxFilterDB18BytesAsciiRuleArgs[SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][18]
-
-

! buffer for ASCII arguments, number of argument may be up to SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS IP address: 4 bytes, 15 chars 2 bytes are added for padding

- -
-
- -
-
- - - - -
SlrxFilterBinaryArg_t RxFilterDB1BytesRuleArgs[SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][1]
-
-

buffer for binary arguments, number of argument may be up to SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS

- -
-
- -
-
- - - - -
SlrxFilterBinaryArg_t RxFilterDB4BytesRuleArgs[SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][4]
-
-

buffer for binary arguments, number of argument may be up to SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS IP address: 4 bytes, 15 chars Port: 2 bytes, chars: 5 chars

- -
-
- -
-
- - - - -
SlrxFilterAsciiArg_t RxFilterDB5BytesRuleAsciiArgs[SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][5]
-
-

buffer for ASCII arguments, number of argument may be up to SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS Port: 2 bytes, chars: 5 chars

- -
-
- -
-
- - - - -
SlrxFilterBinaryArg_t RxFilterDB6BytesRuleArgs[SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][6]
-
-

buffer for ASCII arguments, number of argument may be up to SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS example : IPV6 16 bytes, 39 characters ipv6 Ascii address: 2001:0db8:3c4d:0015:0000:0000:abcd:ef12 Ascii format for ipV6 is not supported

-

buffer for binary arguments, number of argument may be up to SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS MAC address: 6 bytes, 17 chars

- -
-
-
The documentation for this union was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlrxFilterHeaderArg_t Union Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlrxFilterHeaderArg_t Union Reference
+
+
+ +

#include <wlan_rx_filters.h>

+ + + + + + + + + + + + + + +

+Data Fields

SlrxFilterBinaryArg_t RxFilterDB16BytesRuleArgs [SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][16]
 
SlrxFilterBinaryArg_t RxFilterDB6BytesRuleArgs [SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][6]
 
SlrxFilterAsciiArg_t RxFilterDB18BytesAsciiRuleArgs [SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][18]
 
SlrxFilterBinaryArg_t RxFilterDB4BytesRuleArgs [SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][4]
 
SlrxFilterAsciiArg_t RxFilterDB5BytesRuleAsciiArgs [SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][5]
 
SlrxFilterBinaryArg_t RxFilterDB1BytesRuleArgs [SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][1]
 
+

Detailed Description

+

The structure holds the header ARGS which are used in case of HDR rule.

+

Field Documentation

+ +
+
+ + + + +
SlrxFilterBinaryArg_t RxFilterDB16BytesRuleArgs[SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][16]
+
+

buffer for binary arguments, number of argument may be up to SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS example : IPV6 16 bytes, 39 characters ipv6 Ascii address: 2001:0db8:3c4d:0015:0000:0000:abcd:ef12

+ +
+
+ +
+
+ + + + +
SlrxFilterAsciiArg_t RxFilterDB18BytesAsciiRuleArgs[SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][18]
+
+

! buffer for ASCII arguments, number of argument may be up to SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS IP address: 4 bytes, 15 chars 2 bytes are added for padding

+ +
+
+ +
+
+ + + + +
SlrxFilterBinaryArg_t RxFilterDB1BytesRuleArgs[SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][1]
+
+

buffer for binary arguments, number of argument may be up to SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS

+ +
+
+ +
+
+ + + + +
SlrxFilterBinaryArg_t RxFilterDB4BytesRuleArgs[SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][4]
+
+

buffer for binary arguments, number of argument may be up to SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS IP address: 4 bytes, 15 chars Port: 2 bytes, chars: 5 chars

+ +
+
+ +
+
+ + + + +
SlrxFilterAsciiArg_t RxFilterDB5BytesRuleAsciiArgs[SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][5]
+
+

buffer for ASCII arguments, number of argument may be up to SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS Port: 2 bytes, chars: 5 chars

+ +
+
+ +
+
+ + + + +
SlrxFilterBinaryArg_t RxFilterDB6BytesRuleArgs[SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][6]
+
+

buffer for ASCII arguments, number of argument may be up to SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS example : IPV6 16 bytes, 39 characters ipv6 Ascii address: 2001:0db8:3c4d:0015:0000:0000:abcd:ef12 Ascii format for ipV6 is not supported

+

buffer for binary arguments, number of argument may be up to SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS MAC address: 6 bytes, 17 chars

+ +
+
+
The documentation for this union was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/union_slrx_filter_header_arg__t.js b/docs/simplelink_api/html/union_slrx_filter_header_arg__t.js index 6faa7dd..959f6a4 100644 --- a/docs/simplelink_api/html/union_slrx_filter_header_arg__t.js +++ b/docs/simplelink_api/html/union_slrx_filter_header_arg__t.js @@ -1,9 +1,9 @@ -var union_slrx_filter_header_arg__t = -[ - [ "RxFilterDB16BytesRuleArgs", "union_slrx_filter_header_arg__t.html#a26d90366d80d756f1eb2d14eb64b5dc6", null ], - [ "RxFilterDB18BytesAsciiRuleArgs", "union_slrx_filter_header_arg__t.html#aeec8bc31c1d80630b72ea2e25a18a596", null ], - [ "RxFilterDB1BytesRuleArgs", "union_slrx_filter_header_arg__t.html#ada685946d2c6c39fdbbc51b9e93abb84", null ], - [ "RxFilterDB4BytesRuleArgs", "union_slrx_filter_header_arg__t.html#a1e508430e5a6792cac172b6c998c6567", null ], - [ "RxFilterDB5BytesRuleAsciiArgs", "union_slrx_filter_header_arg__t.html#a58bc18e2b2e4ba9d28c8427996e5c743", null ], - [ "RxFilterDB6BytesRuleArgs", "union_slrx_filter_header_arg__t.html#a41fabfb5e5eef845d59da375897130f5", null ] +var union_slrx_filter_header_arg__t = +[ + [ "RxFilterDB16BytesRuleArgs", "union_slrx_filter_header_arg__t.html#a26d90366d80d756f1eb2d14eb64b5dc6", null ], + [ "RxFilterDB18BytesAsciiRuleArgs", "union_slrx_filter_header_arg__t.html#aeec8bc31c1d80630b72ea2e25a18a596", null ], + [ "RxFilterDB1BytesRuleArgs", "union_slrx_filter_header_arg__t.html#ada685946d2c6c39fdbbc51b9e93abb84", null ], + [ "RxFilterDB4BytesRuleArgs", "union_slrx_filter_header_arg__t.html#a1e508430e5a6792cac172b6c998c6567", null ], + [ "RxFilterDB5BytesRuleAsciiArgs", "union_slrx_filter_header_arg__t.html#a58bc18e2b2e4ba9d28c8427996e5c743", null ], + [ "RxFilterDB6BytesRuleArgs", "union_slrx_filter_header_arg__t.html#a41fabfb5e5eef845d59da375897130f5", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/union_slrx_filter_rule__t.html b/docs/simplelink_api/html/union_slrx_filter_rule__t.html index a73b80b..7f4fdd9 100644 --- a/docs/simplelink_api/html/union_slrx_filter_rule__t.html +++ b/docs/simplelink_api/html/union_slrx_filter_rule__t.html @@ -1,141 +1,140 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlrxFilterRule_t Union Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlrxFilterRule_t Union Reference
-
-
- - - - - - - - -

-Data Fields

-SlrxFilterHeaderType_t HeaderType
 
-SlrxFilterPayloadType_t PayLoadHeaderType
 
-SlrxFilterCombinationType_t CombinationType
 
-
The documentation for this union was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlrxFilterRule_t Union Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlrxFilterRule_t Union Reference
+
+
+ + + + + + + + +

+Data Fields

+SlrxFilterHeaderType_t HeaderType
 
+SlrxFilterPayloadType_t PayLoadHeaderType
 
+SlrxFilterCombinationType_t CombinationType
 
+
The documentation for this union was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/union_slrx_filter_rule__t.js b/docs/simplelink_api/html/union_slrx_filter_rule__t.js index eb79e6a..92fc7de 100644 --- a/docs/simplelink_api/html/union_slrx_filter_rule__t.js +++ b/docs/simplelink_api/html/union_slrx_filter_rule__t.js @@ -1,6 +1,6 @@ -var union_slrx_filter_rule__t = -[ - [ "CombinationType", "union_slrx_filter_rule__t.html#a80b200ae0cf46a6badfb2e62392d2b0c", null ], - [ "HeaderType", "union_slrx_filter_rule__t.html#a6d946e0ff1c4c0cd939e209a4582bf85", null ], - [ "PayLoadHeaderType", "union_slrx_filter_rule__t.html#a936ba6e8ff6ba17047db77545e716ad2", null ] +var union_slrx_filter_rule__t = +[ + [ "CombinationType", "union_slrx_filter_rule__t.html#a80b200ae0cf46a6badfb2e62392d2b0c", null ], + [ "HeaderType", "union_slrx_filter_rule__t.html#a6d946e0ff1c4c0cd939e209a4582bf85", null ], + [ "PayLoadHeaderType", "union_slrx_filter_rule__t.html#a936ba6e8ff6ba17047db77545e716ad2", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/union_slrx_filter_trigger_connection_states__t.html b/docs/simplelink_api/html/union_slrx_filter_trigger_connection_states__t.html index 1b5dfc1..cc3e610 100644 --- a/docs/simplelink_api/html/union_slrx_filter_trigger_connection_states__t.html +++ b/docs/simplelink_api/html/union_slrx_filter_trigger_connection_states__t.html @@ -1,135 +1,134 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlrxFilterTriggerConnectionStates_t Union Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlrxFilterTriggerConnectionStates_t Union Reference
-
-
- - - - -

-Data Fields

-_u8 IntRepresentation
 
-
The documentation for this union was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlrxFilterTriggerConnectionStates_t Union Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlrxFilterTriggerConnectionStates_t Union Reference
+
+
+ + + + +

+Data Fields

+_u8 IntRepresentation
 
+
The documentation for this union was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/union_slrx_filter_trigger_connection_states__t.js b/docs/simplelink_api/html/union_slrx_filter_trigger_connection_states__t.js index 195cef5..74e1703 100644 --- a/docs/simplelink_api/html/union_slrx_filter_trigger_connection_states__t.js +++ b/docs/simplelink_api/html/union_slrx_filter_trigger_connection_states__t.js @@ -1,4 +1,4 @@ -var union_slrx_filter_trigger_connection_states__t = -[ - [ "IntRepresentation", "union_slrx_filter_trigger_connection_states__t.html#a0c18cf04f2432035440b4608ea66fb4d", null ] +var union_slrx_filter_trigger_connection_states__t = +[ + [ "IntRepresentation", "union_slrx_filter_trigger_connection_states__t.html#a0c18cf04f2432035440b4608ea66fb4d", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/union_slrx_filter_trigger_roles__t.html b/docs/simplelink_api/html/union_slrx_filter_trigger_roles__t.html index beb6176..277f5d1 100644 --- a/docs/simplelink_api/html/union_slrx_filter_trigger_roles__t.html +++ b/docs/simplelink_api/html/union_slrx_filter_trigger_roles__t.html @@ -1,135 +1,134 @@ - - - - - - -CC32XX SimpleLink Host Driver: SlrxFilterTriggerRoles_t Union Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
SlrxFilterTriggerRoles_t Union Reference
-
-
- - - - -

-Data Fields

-_u8 IntRepresentation
 
-
The documentation for this union was generated from the following file: -
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: SlrxFilterTriggerRoles_t Union Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
SlrxFilterTriggerRoles_t Union Reference
+
+
+ + + + +

+Data Fields

+_u8 IntRepresentation
 
+
The documentation for this union was generated from the following file: +
+
+ + + + diff --git a/docs/simplelink_api/html/union_slrx_filter_trigger_roles__t.js b/docs/simplelink_api/html/union_slrx_filter_trigger_roles__t.js index bf02177..50a442e 100644 --- a/docs/simplelink_api/html/union_slrx_filter_trigger_roles__t.js +++ b/docs/simplelink_api/html/union_slrx_filter_trigger_roles__t.js @@ -1,4 +1,4 @@ -var union_slrx_filter_trigger_roles__t = -[ - [ "IntRepresentation", "union_slrx_filter_trigger_roles__t.html#a0c18cf04f2432035440b4608ea66fb4d", null ] +var union_slrx_filter_trigger_roles__t = +[ + [ "IntRepresentation", "union_slrx_filter_trigger_roles__t.html#a0c18cf04f2432035440b4608ea66fb4d", null ] ]; \ No newline at end of file diff --git a/docs/simplelink_api/html/user_8h_source.html b/docs/simplelink_api/html/user_8h_source.html index 0c579ed..c48eaed 100644 --- a/docs/simplelink_api/html/user_8h_source.html +++ b/docs/simplelink_api/html/user_8h_source.html @@ -1,314 +1,322 @@ - - - - - - -CC32XX SimpleLink Host Driver: user.h Source File - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
-
-
user.h
-
-
-
1 /*
-
2  * user.h - CC31xx/CC32xx Host Driver Implementation
-
3  *
-
4  * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
-
5  *
-
6  *
-
7  * Redistribution and use in source and binary forms, with or without
-
8  * modification, are permitted provided that the following conditions
-
9  * are met:
-
10  *
-
11  * Redistributions of source code must retain the above copyright
-
12  * notice, this list of conditions and the following disclaimer.
-
13  *
-
14  * Redistributions in binary form must reproduce the above copyright
-
15  * notice, this list of conditions and the following disclaimer in the
-
16  * documentation and/or other materials provided with the
-
17  * distribution.
-
18  *
-
19  * Neither the name of Texas Instruments Incorporated nor the names of
-
20  * its contributors may be used to endorse or promote products derived
-
21  * from this software without specific prior written permission.
-
22  *
-
23  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-
24  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-
25  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-
26  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-
27  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-
28  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-
29  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-
30  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-
31  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-
32  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-
33  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
34  *
-
35 */
-
36 
-
37 
-
38 
-
39 #ifndef __USER_H__
-
40 #define __USER_H__
-
41 
-
42 
-
43 #ifdef __cplusplus
-
44 extern "C" {
-
45 #endif
-
46 
-
47 
-
48 #include <string.h>
-
49 #include "cc_pal.h"
-
50 
-
70 #define MAX_CONCURRENT_ACTIONS 10
-
71 
-
72 
-
93 #define SL_INC_ARG_CHECK
-
94 
-
95 
-
115 #define SL_INC_STD_BSD_API_NAMING
-
116 
-
117 
-
131 #define SL_INC_EXT_API
-
132 
-
146 #define SL_INC_WLAN_PKG
-
147 
-
161 #define SL_INC_SOCKET_PKG
-
162 
-
176 #define SL_INC_NET_APP_PKG
-
177 
-
191 #define SL_INC_NET_CFG_PKG
-
192 
-
206 #define SL_INC_NVMEM_PKG
-
207 
-
221 #define SL_INC_SOCK_SERVER_SIDE_API
-
222 
-
236 #define SL_INC_SOCK_CLIENT_SIDE_API
-
237 
-
251 #define SL_INC_SOCK_RECV_API
-
252 
-
266 #define SL_INC_SOCK_SEND_API
-
267 
-
299 #define sl_DeviceEnable() NwpPowerOn()
-
300 
-
308 #define sl_DeviceDisable() NwpPowerOff()
-
309 
-
339 #define _SlFd_t Fd_t
-
340 
-
374 #define sl_IfOpen spi_Open
-
375 
-
393 #define sl_IfClose spi_Close
-
394 
-
419 #define sl_IfRead spi_Read
-
420 
-
449 #define sl_IfWrite spi_Write
-
450 
-
474 #define sl_IfRegIntHdlr(InterruptHdl , pValue) NwpRegisterInterruptHandler(InterruptHdl , pValue)
-
475 
-
489 #define sl_IfMaskIntHdlr() NwpMaskInterrupt()
-
490 
-
503 #define sl_IfUnMaskIntHdlr() NwpUnMaskInterrupt()
-
504 
-
521 /* #define SL_START_WRITE_STAT */
-
522 
-
564 #define SL_PLATFORM_MULTI_THREADED
-
565 
-
566 
-
567 #ifdef SL_PLATFORM_MULTI_THREADED
-
568 #include "osi.h"
-
569 
-
570 
-
577 #define SL_OS_RET_CODE_OK ((int)OSI_OK)
-
578 
-
585 #define SL_OS_WAIT_FOREVER ((OsiTime_t)OSI_WAIT_FOREVER)
-
586 
-
593 #define SL_OS_NO_WAIT ((OsiTime_t)OSI_NO_WAIT)
-
594 
-
602 #define _SlTime_t OsiTime_t
-
603 
-
617 typedef OsiSyncObj_t _SlSyncObj_t;
-
618 
-
619 
-
634 #define sl_SyncObjCreate(pSyncObj,pName) osi_SyncObjCreate(pSyncObj)
-
635 
-
636 
-
647 #define sl_SyncObjDelete(pSyncObj) osi_SyncObjDelete(pSyncObj)
-
648 
-
649 
-
662 #define sl_SyncObjSignal(pSyncObj) osi_SyncObjSignal(pSyncObj)
-
663 
-
676 #define sl_SyncObjSignalFromIRQ(pSyncObj) osi_SyncObjSignalFromISR(pSyncObj)
-
677 
-
693 #define sl_SyncObjWait(pSyncObj,Timeout) osi_SyncObjWait(pSyncObj,Timeout)
-
694 
-
705 typedef OsiLockObj_t _SlLockObj_t;
-
706 
-
720 #define sl_LockObjCreate(pLockObj,pName) osi_LockObjCreate(pLockObj)
-
721 
-
732 #define sl_LockObjDelete(pLockObj) osi_LockObjDelete(pLockObj)
-
733 
-
753 #define sl_LockObjLock(pLockObj,Timeout) osi_LockObjLock(pLockObj,Timeout)
-
754 
-
765 #define sl_LockObjUnlock(pLockObj) osi_LockObjUnlock(pLockObj)
-
766 
-
767 #endif
-
768 
-
785 #define SL_PLATFORM_EXTERNAL_SPAWN
-
786 
-
787 #ifdef SL_PLATFORM_EXTERNAL_SPAWN
-
788 #define sl_Spawn(pEntry,pValue,flags) osi_Spawn(pEntry,pValue,flags)
-
789 #endif
-
790 
-
831 /*
-
832 #define SL_MEMORY_MGMT_DYNAMIC 1
-
833 #define SL_MEMORY_MGMT_STATIC 0
-
834 
-
835 #define SL_MEMORY_MGMT SL_MEMORY_MGMT_DYNAMIC
-
836 */
-
837 #ifdef SL_MEMORY_MGMT_DYNAMIC
-
838 
-
839 #ifdef SL_PLATFORM_MULTI_THREADED
-
840 
-
847 #define sl_Malloc(Size) mem_Malloc(Size)
-
848 
-
855 #define sl_Free(pMem) mem_Free(pMem)
-
856 
-
857 #else
-
858 #include <stdlib.h>
-
865 #define sl_Malloc(Size) malloc(Size)
-
866 
-
873 #define sl_Free(pMem) free(pMem)
-
874 #endif
-
875 
-
876 #endif
-
877 
-
927 /*
-
928 #define sl_GeneralEvtHdlr
-
929 */
-
930 
-
1011 #define sl_WlanEvtHdlr SimpleLinkWlanEventHandler
-
1012 
-
1013 
-
1047 #define sl_NetAppEvtHdlr SimpleLinkNetAppEventHandler
-
1048 
-
1084 #define sl_HttpServerCallback SimpleLinkHttpServerCallback
-
1085 
-
1109 #define sl_SockEvtHdlr SimpleLinkSockEventHandler
-
1110 
-
1111 
-
1120 #ifdef __cplusplus
-
1121 }
-
1122 #endif // __cplusplus
-
1123 
-
1124 #endif // __USER_H__
-
OsiSyncObj_t _SlSyncObj_t
type definition for a sync object container
Definition: user.h:617
-
OsiLockObj_t _SlLockObj_t
type definition for a locking object container
Definition: user.h:705
-
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: user.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
user.h
+
+
+
1 /*
+
2  * user.h - CC31xx/CC32xx Host Driver Implementation
+
3  *
+
4  * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/
+
5  *
+
6  *
+
7  * Redistribution and use in source and binary forms, with or without
+
8  * modification, are permitted provided that the following conditions
+
9  * are met:
+
10  *
+
11  * Redistributions of source code must retain the above copyright
+
12  * notice, this list of conditions and the following disclaimer.
+
13  *
+
14  * Redistributions in binary form must reproduce the above copyright
+
15  * notice, this list of conditions and the following disclaimer in the
+
16  * documentation and/or other materials provided with the
+
17  * distribution.
+
18  *
+
19  * Neither the name of Texas Instruments Incorporated nor the names of
+
20  * its contributors may be used to endorse or promote products derived
+
21  * from this software without specific prior written permission.
+
22  *
+
23  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+
24  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+
25  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+
26  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+
27  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+
28  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+
29  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+
30  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+
31  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+
32  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+
33  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
34  *
+
35 */
+
36 
+
37 
+
38 
+
39 #ifndef __USER_H__
+
40 #define __USER_H__
+
41 
+
42 #ifdef __cplusplus
+
43 extern "C" {
+
44 #endif
+
45 
+
46 
+
47 #include <string.h>
+
48 #include "cc_pal.h"
+
49 
+
69 #define MAX_CONCURRENT_ACTIONS 10
+
70 
+
80 #define CPU_FREQ_IN_MHZ 80
+
81 
+
82 
+
123 #define SL_INC_ARG_CHECK
+
124 
+
125 
+
145 #define SL_INC_STD_BSD_API_NAMING
+
146 
+
147 
+
161 #define SL_INC_EXT_API
+
162 
+
176 #define SL_INC_WLAN_PKG
+
177 
+
191 #define SL_INC_SOCKET_PKG
+
192 
+
206 #define SL_INC_NET_APP_PKG
+
207 
+
221 #define SL_INC_NET_CFG_PKG
+
222 
+
236 #define SL_INC_NVMEM_PKG
+
237 
+
251 #define SL_INC_SOCK_SERVER_SIDE_API
+
252 
+
266 #define SL_INC_SOCK_CLIENT_SIDE_API
+
267 
+
281 #define SL_INC_SOCK_RECV_API
+
282 
+
296 #define SL_INC_SOCK_SEND_API
+
297 
+
331 #ifndef DISABLE_DEBUGGER_RECONNECT
+
332 #define sl_DeviceEnablePreamble() NwpPowerOnPreamble()
+
333 #else
+
334 #define sl_DeviceEnablePreamble()
+
335 #endif
+
336 
+
345 #define sl_DeviceEnable() NwpPowerOn()
+
346 
+
354 #define sl_DeviceDisable() NwpPowerOff()
+
355 
+
385 #define _SlFd_t Fd_t
+
386 
+
420 #define sl_IfOpen spi_Open
+
421 
+
439 #define sl_IfClose spi_Close
+
440 
+
465 #define sl_IfRead spi_Read
+
466 
+
495 #define sl_IfWrite spi_Write
+
496 
+
520 #define sl_IfRegIntHdlr(InterruptHdl , pValue) NwpRegisterInterruptHandler(InterruptHdl , pValue)
+
521 
+
535 #define sl_IfMaskIntHdlr() NwpMaskInterrupt()
+
536 
+
549 #define sl_IfUnMaskIntHdlr() NwpUnMaskInterrupt()
+
550 
+
567 /* #define SL_START_WRITE_STAT */
+
568 
+
609 /*
+
610 #define SL_PLATFORM_MULTI_THREADED
+
611 */
+
612 
+
613 #ifdef SL_PLATFORM_MULTI_THREADED
+
614 #include "osi.h"
+
615 
+
616 
+
623 #define SL_OS_RET_CODE_OK ((int)OSI_OK)
+
624 
+
631 #define SL_OS_WAIT_FOREVER ((OsiTime_t)OSI_WAIT_FOREVER)
+
632 
+
639 #define SL_OS_NO_WAIT ((OsiTime_t)OSI_NO_WAIT)
+
640 
+
648 #define _SlTime_t OsiTime_t
+
649 
+
663 typedef OsiSyncObj_t _SlSyncObj_t;
+
664 
+
665 
+
680 #define sl_SyncObjCreate(pSyncObj,pName) osi_SyncObjCreate(pSyncObj)
+
681 
+
682 
+
693 #define sl_SyncObjDelete(pSyncObj) osi_SyncObjDelete(pSyncObj)
+
694 
+
695 
+
708 #define sl_SyncObjSignal(pSyncObj) osi_SyncObjSignal(pSyncObj)
+
709 
+
722 #define sl_SyncObjSignalFromIRQ(pSyncObj) osi_SyncObjSignalFromISR(pSyncObj)
+
723 
+
739 #define sl_SyncObjWait(pSyncObj,Timeout) osi_SyncObjWait(pSyncObj,Timeout)
+
740 
+
751 typedef OsiLockObj_t _SlLockObj_t;
+
752 
+
766 #define sl_LockObjCreate(pLockObj,pName) osi_LockObjCreate(pLockObj)
+
767 
+
778 #define sl_LockObjDelete(pLockObj) osi_LockObjDelete(pLockObj)
+
779 
+
799 #define sl_LockObjLock(pLockObj,Timeout) osi_LockObjLock(pLockObj,Timeout)
+
800 
+
811 #define sl_LockObjUnlock(pLockObj) osi_LockObjUnlock(pLockObj)
+
812 #else
+
813 #ifdef NON_OS_PM
+
814 #define _SlSyncWaitLoopCallback SimpleLinkSyncWaitLoopCallback
+
815 #endif
+
816 #endif
+
817 
+
834 #define SL_PLATFORM_EXTERNAL_SPAWN
+
835 
+
836 #ifdef SL_PLATFORM_EXTERNAL_SPAWN
+
837 #define sl_Spawn(pEntry,pValue,flags) osi_Spawn(pEntry,pValue,flags)
+
838 #endif
+
839 
+
880 /*
+
881 #define SL_MEMORY_MGMT_DYNAMIC 1
+
882 #define SL_MEMORY_MGMT_STATIC 0
+
883 
+
884 #define SL_MEMORY_MGMT SL_MEMORY_MGMT_DYNAMIC
+
885 */
+
886 #ifdef SL_MEMORY_MGMT_DYNAMIC
+
887 
+
888 #ifdef SL_PLATFORM_MULTI_THREADED
+
889 
+
896 #define sl_Malloc(Size) mem_Malloc(Size)
+
897 
+
904 #define sl_Free(pMem) mem_Free(pMem)
+
905 
+
906 #else
+
907 #include <stdlib.h>
+
914 #define sl_Malloc(Size) malloc(Size)
+
915 
+
922 #define sl_Free(pMem) free(pMem)
+
923 #endif
+
924 
+
925 #endif
+
926 
+
976 /*
+
977 #define sl_GeneralEvtHdlr
+
978 */
+
979 
+
1060 #define sl_WlanEvtHdlr SimpleLinkWlanEventHandler
+
1061 
+
1062 
+
1096 #define sl_NetAppEvtHdlr SimpleLinkNetAppEventHandler
+
1097 
+
1133 #define sl_HttpServerCallback SimpleLinkHttpServerCallback
+
1134 
+
1158 #define sl_SockEvtHdlr SimpleLinkSockEventHandler
+
1159 
+
1160 
+
1169 #ifdef __cplusplus
+
1170 }
+
1171 #endif // __cplusplus
+
1172 
+
1173 #endif // __USER_H__
+
+
+ + + + diff --git a/docs/simplelink_api/html/wlan_8h_source.html b/docs/simplelink_api/html/wlan_8h_source.html index 82cbed2..093ec13 100644 --- a/docs/simplelink_api/html/wlan_8h_source.html +++ b/docs/simplelink_api/html/wlan_8h_source.html @@ -1,732 +1,676 @@ - - - - - - -CC32XX SimpleLink Host Driver: wlan.h Source File - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
-
-
wlan.h
-
-
-
1 /*
-
2  * wlan.h - CC31xx/CC32xx Host Driver Implementation
-
3  *
-
4  * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
-
5  *
-
6  *
-
7  * Redistribution and use in source and binary forms, with or without
-
8  * modification, are permitted provided that the following conditions
-
9  * are met:
-
10  *
-
11  * Redistributions of source code must retain the above copyright
-
12  * notice, this list of conditions and the following disclaimer.
-
13  *
-
14  * Redistributions in binary form must reproduce the above copyright
-
15  * notice, this list of conditions and the following disclaimer in the
-
16  * documentation and/or other materials provided with the
-
17  * distribution.
-
18  *
-
19  * Neither the name of Texas Instruments Incorporated nor the names of
-
20  * its contributors may be used to endorse or promote products derived
-
21  * from this software without specific prior written permission.
-
22  *
-
23  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-
24  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-
25  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-
26  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-
27  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-
28  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-
29  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-
30  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-
31  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-
32  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-
33  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
34  *
-
35 */
-
36 
-
37 #ifndef __WLAN_H__
-
38 #define __WLAN_H__
-
39 
-
40 /*****************************************************************************/
-
41 /* Include files */
-
42 /*****************************************************************************/
-
43 #include "simplelink.h"
-
44 
-
45 
-
46 #ifdef __cplusplus
-
47 extern "C" {
-
48 #endif
-
49 
-
50 
-
51 /*****************************************************************************/
-
52 /* Macro declarations */
-
53 /*****************************************************************************/
-
54 
-
62 #define SL_BSSID_LENGTH (6)
-
63 #define MAXIMAL_SSID_LENGTH (32)
-
64 
-
65 #define NUM_OF_RATE_INDEXES (20)
-
66 #define SIZE_OF_RSSI_HISTOGRAM (6)
-
67 
-
68 /* WLAN Disconnect Reason Codes */
-
69 #define SL_DISCONNECT_RESERVED_0 (0)
-
70 #define SL_DISCONNECT_UNSPECIFIED_REASON (1)
-
71 #define SL_PREVIOUS_AUTHENTICATION_NO_LONGER_VALID (2)
-
72 #define SL_DEAUTHENTICATED_BECAUSE_SENDING_STATION_IS_LEAVING (3)
-
73 #define SL_DISASSOCIATED_DUE_TO_INACTIVITY (4)
-
74 #define SL_DISASSOCIATED_BECAUSE_AP_IS_UNABLE_TO_HANDLE_ALL_CURRENTLY_ASSOCIATED_STATIONS (5)
-
75 #define SL_CLASS_2_FRAME_RECEIVED_FROM_NONAUTHENTICATED_STATION (6)
-
76 #define SL_CLASS_3_FRAME_RECEIVED_FROM_NONASSOCIATED_STATION (7)
-
77 #define SL_DISASSOCIATED_BECAUSE_SENDING_STATION_IS_LEAVING_BSS (8)
-
78 #define SL_STATION_REQUESTING_ASSOCIATION_IS_NOT_AUTHENTICATED_WITH_RESPONDING_STATION (9)
-
79 #define SL_DISASSOCIATED_BECAUSE_THE_INFORMATION_IN_THE_POWER_CAPABILITY_ELEMENT_IS_UNACCEPTABLE (10)
-
80 #define SL_DISASSOCIATED_BECAUSE_THE_INFORMATION_IN_THE_SUPPORTED_CHANNELS_ELEMENT_IS_UNACCEPTABLE (11)
-
81 #define SL_DISCONNECT_RESERVED_1 (12)
-
82 #define SL_INVALID_INFORMATION_ELEMENT (13)
-
83 #define SL_MESSAGE_INTEGRITY_CODE_MIC_FAILURE (14)
-
84 #define SL_FOUR_WAY_HANDSHAKE_TIMEOUT (15)
-
85 #define SL_GROUP_KEY_HANDSHAKE_TIMEOUT (16)
-
86 #define SL_RE_ASSOCIATION_REQUEST_PROBE_RESPONSE_BEACON_FRAME (17)
-
87 #define SL_INVALID_GROUP_CIPHER (18)
-
88 #define SL_INVALID_PAIRWISE_CIPHER (19)
-
89 #define SL_INVALID_AKMP (20)
-
90 #define SL_UNSUPPORTED_RSN_INFORMATION_ELEMENT_VERSION (21)
-
91 #define SL_INVALID_RSN_INFORMATION_ELEMENT_CAPABILITIES (22)
-
92 #define SL_IEEE_802_1X_AUTHENTICATION_FAILED (23)
-
93 #define SL_CIPHER_SUITE_REJECTED_BECAUSE_OF_THE_SECURITY_POLICY (24)
-
94 #define SL_DISCONNECT_RESERVED_2 (25)
-
95 #define SL_DISCONNECT_RESERVED_3 (26)
-
96 #define SL_DISCONNECT_RESERVED_4 (27)
-
97 #define SL_DISCONNECT_RESERVED_5 (28)
-
98 #define SL_DISCONNECT_RESERVED_6 (29)
-
99 #define SL_DISCONNECT_RESERVED_7 (30)
-
100 #define SL_DISCONNECT_RESERVED_8 (31)
-
101 #define SL_DISASSOCIATED_FOR_UNSPECIFIED_QOS_RELATED_REASON (32)
-
102 #define SL_DISASSOCIATED_BECAUSE_QAP_LACKS_SUFFICIENT_BANDWIDTH_FOR_THIS_QSTA (33)
-
103 #define SL_DISASSOCIATED_BECAUSE_EXCESSIVE_NUMBER_OF_FRAMES_NEED_TO_BE_ACKNOWLEDGED (34)
-
104 #define SL_DISASSOCIATED_BECAUSE_QSTA_IS_TRANSMITTING_OUTSIDE_THE_LIMITS_OF_ITS_TXOPS (35)
-
105 #define SL_REQUESTED_FROM_PEER_QSTA_AS_THE_QSTA_IS_LEAVING_THE_QBSS (36)
-
106 #define SL_REQUESTED_FROM_PEER_QSTA_AS_IT_DOES_NO_WANT_TO_USE_THE_MECHANISM (37)
-
107 #define SL_REQUESTED_FROM_PEER_QSTA_AS_THE_QSTA_RECEIVED_FRAMES_SETUP_IS_REQUIRED (38)
-
108 #define SL_REQUESTED_FROM_PEER_QSTA_DUE_TO_TIMEOUT (39)
-
109 #define SL_PEER_QSTA_DOES_NOT_SUPPORT_THE_REQUESTED_CIPHER_SUITE (40)
-
110 #define SL_CISCO_DEFINED (98)
-
111 #define SL_CISCO_DEFINED_1 (99)
-
112 #define SL_ROAMING_TRIGGER_NONE (100)
-
113 #define SL_ROAMING_TRIGGER_LOW_QUALITY_FOR_BG_SCAN (101)
-
114 #define SL_ROAMING_TRIGGER_HIGH_QUALITY_FOR_BG_SCAN (102)
-
115 #define SL_ROAMING_TRIGGER_NORMAL_QUALITY_FOR_BG_SCAN (103)
-
116 #define SL_ROAMING_TRIGGER_LOW_TX_RATE (104)
-
117 #define SL_ROAMING_TRIGGER_LOW_SNR (105)
-
118 #define SL_ROAMING_TRIGGER_LOW_QUALITY (106)
-
119 #define SL_ROAMING_TRIGGER_TSPEC_REJECTED (107)
-
120 #define SL_ROAMING_TRIGGER_MAX_TX_RETRIES (108)
-
121 #define SL_ROAMING_TRIGGER_BSS_LOSS (109)
-
122 #define SL_ROAMING_TRIGGER_BSS_LOSS_DUE_TO_MAX_TX_RETRY (110)
-
123 #define SL_ROAMING_TRIGGER_SWITCH_CHANNEL (111)
-
124 #define SL_ROAMING_TRIGGER_AP_DISCONNECT (112)
-
125 #define SL_ROAMING_TRIGGER_SECURITY_ATTACK (113)
-
126 #define SL_ROAMING_TRIGGER_MAX (114)
-
127 #define SL_USER_INITIATED_DISCONNECTION (200)
-
128 
-
129 /* Wlan error codes */
-
130 #define SL_ERROR_KEY_ERROR (-3)
-
131 #define SL_ERROR_INVALID_ROLE (-71)
-
132 #define SL_ERROR_INVALID_SECURITY_TYPE (-84)
-
133 #define SL_ERROR_PASSPHRASE_TOO_LONG (-85)
-
134 #define SL_ERROR_WPS_NO_PIN_OR_WRONG_PIN_LEN (-87)
-
135 #define SL_ERROR_EAP_WRONG_METHOD (-88)
-
136 #define SL_ERROR_PASSWORD_ERROR (-89)
-
137 #define SL_ERROR_EAP_ANONYMOUS_LEN_ERROR (-90)
-
138 #define SL_ERROR_SSID_LEN_ERROR (-91)
-
139 #define SL_ERROR_USER_ID_LEN_ERROR (-92)
-
140 #define SL_ERROR_ILLEGAL_WEP_KEY_INDEX (-95)
-
141 #define SL_ERROR_INVALID_DWELL_TIME_VALUES (-96)
-
142 #define SL_ERROR_INVALID_POLICY_TYPE (-97)
-
143 #define SL_ERROR_PM_POLICY_INVALID_OPTION (-98)
-
144 #define SL_ERROR_PM_POLICY_INVALID_PARAMS (-99)
-
145 #define SL_ERROR_WIFI_ALREADY_DISCONNECTED (-129)
-
146 #define SL_ERROR_WIFI_NOT_CONNECTED (-59)
-
147 
-
148 
-
149 
-
150 #define SL_SEC_TYPE_OPEN (0)
-
151 #define SL_SEC_TYPE_WEP (1)
-
152 #define SL_SEC_TYPE_WPA (2) /* deprecated */
-
153 #define SL_SEC_TYPE_WPA_WPA2 (2)
-
154 #define SL_SEC_TYPE_WPS_PBC (3)
-
155 #define SL_SEC_TYPE_WPS_PIN (4)
-
156 #define SL_SEC_TYPE_WPA_ENT (5)
-
157 #define SL_SEC_TYPE_P2P_PBC (6)
-
158 #define SL_SEC_TYPE_P2P_PIN_KEYPAD (7)
-
159 #define SL_SEC_TYPE_P2P_PIN_DISPLAY (8)
-
160 #define SL_SEC_TYPE_P2P_PIN_AUTO (9) /* NOT Supported yet */
-
161 
-
162 
-
163 
-
164 #define SL_SCAN_SEC_TYPE_OPEN (0)
-
165 #define SL_SCAN_SEC_TYPE_WEP (1)
-
166 #define SL_SCAN_SEC_TYPE_WPA (2)
-
167 #define SL_SCAN_SEC_TYPE_WPA2 (3)
-
168 
-
169 
-
170 
-
171 #define TLS (0x1)
-
172 #define MSCHAP (0x0)
-
173 #define PSK (0x2)
-
174 #define TTLS (0x10)
-
175 #define PEAP0 (0x20)
-
176 #define PEAP1 (0x40)
-
177 #define FAST (0x80)
-
178 
-
179 #define FAST_AUTH_PROVISIONING (0x02)
-
180 #define FAST_UNAUTH_PROVISIONING (0x01)
-
181 #define FAST_NO_PROVISIONING (0x00)
-
182 
-
183 #define EAPMETHOD_PHASE2_SHIFT (8)
-
184 #define EAPMETHOD_PAIRWISE_CIPHER_SHIFT (19)
-
185 #define EAPMETHOD_GROUP_CIPHER_SHIFT (27)
-
186 
-
187 #define WPA_CIPHER_CCMP (0x1)
-
188 #define WPA_CIPHER_TKIP (0x2)
-
189 #define CC31XX_DEFAULT_CIPHER (WPA_CIPHER_CCMP | WPA_CIPHER_TKIP)
-
190 
-
191 #define EAPMETHOD(phase1,phase2,pairwise_cipher,group_cipher) \
-
192 ((phase1) | \
-
193  ((phase2) << EAPMETHOD_PHASE2_SHIFT ) |\
-
194  ((_u32)(pairwise_cipher) << EAPMETHOD_PAIRWISE_CIPHER_SHIFT ) |\
-
195  ((_u32)(group_cipher) << EAPMETHOD_GROUP_CIPHER_SHIFT ))
-
196 
-
197 /* phase1 phase2 pairwise_cipher group_cipher */
-
198 #define SL_ENT_EAP_METHOD_TLS EAPMETHOD(TLS , 0 , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
-
199 #define SL_ENT_EAP_METHOD_TTLS_TLS EAPMETHOD(TTLS , TLS , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
-
200 #define SL_ENT_EAP_METHOD_TTLS_MSCHAPv2 EAPMETHOD(TTLS , MSCHAP , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
-
201 #define SL_ENT_EAP_METHOD_TTLS_PSK EAPMETHOD(TTLS , PSK , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
-
202 #define SL_ENT_EAP_METHOD_PEAP0_TLS EAPMETHOD(PEAP0 , TLS , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
-
203 #define SL_ENT_EAP_METHOD_PEAP0_MSCHAPv2 EAPMETHOD(PEAP0 , MSCHAP , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
-
204 #define SL_ENT_EAP_METHOD_PEAP0_PSK EAPMETHOD(PEAP0 , PSK , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
-
205 #define SL_ENT_EAP_METHOD_PEAP1_TLS EAPMETHOD(PEAP1 , TLS , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
-
206 #define SL_ENT_EAP_METHOD_PEAP1_MSCHAPv2 EAPMETHOD(PEAP1 , MSCHAP , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
-
207 #define SL_ENT_EAP_METHOD_PEAP1_PSK EAPMETHOD(PEAP1 , PSK , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
-
208 #define SL_ENT_EAP_METHOD_FAST_AUTH_PROVISIONING EAPMETHOD(FAST , FAST_AUTH_PROVISIONING , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
-
209 #define SL_ENT_EAP_METHOD_FAST_UNAUTH_PROVISIONING EAPMETHOD(FAST , FAST_UNAUTH_PROVISIONING , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
-
210 #define SL_ENT_EAP_METHOD_FAST_NO_PROVISIONING EAPMETHOD(FAST , FAST_NO_PROVISIONING , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
-
211 
-
212 #define SL_LONG_PREAMBLE (0)
-
213 #define SL_SHORT_PREAMBLE (1)
-
214 
-
215 #define SL_RAW_RF_TX_PARAMS_CHANNEL_SHIFT (0)
-
216 #define SL_RAW_RF_TX_PARAMS_RATE_SHIFT (6)
-
217 #define SL_RAW_RF_TX_PARAMS_POWER_SHIFT (11)
-
218 #define SL_RAW_RF_TX_PARAMS_PREAMBLE_SHIFT (15)
-
219 
-
220 #define SL_RAW_RF_TX_PARAMS(chan,rate,power,preamble) \
-
221  ((chan << SL_RAW_RF_TX_PARAMS_CHANNEL_SHIFT) | \
-
222  (rate << SL_RAW_RF_TX_PARAMS_RATE_SHIFT) | \
-
223  (power << SL_RAW_RF_TX_PARAMS_POWER_SHIFT) | \
-
224  (preamble << SL_RAW_RF_TX_PARAMS_PREAMBLE_SHIFT))
-
225 
-
226 
-
227 /* wlan config application IDs */
-
228 #define SL_WLAN_CFG_AP_ID (0)
-
229 #define SL_WLAN_CFG_GENERAL_PARAM_ID (1)
-
230 #define SL_WLAN_CFG_P2P_PARAM_ID (2)
-
231 
-
232 /* wlan AP Config set/get options */
-
233 #define WLAN_AP_OPT_SSID (0)
-
234 #define WLAN_AP_OPT_CHANNEL (3)
-
235 #define WLAN_AP_OPT_HIDDEN_SSID (4)
-
236 #define WLAN_AP_OPT_SECURITY_TYPE (6)
-
237 #define WLAN_AP_OPT_PASSWORD (7)
-
238 #define WLAN_GENERAL_PARAM_OPT_COUNTRY_CODE (9)
-
239 #define WLAN_GENERAL_PARAM_OPT_STA_TX_POWER (10)
-
240 #define WLAN_GENERAL_PARAM_OPT_AP_TX_POWER (11)
-
241 
-
242 #define WLAN_P2P_OPT_DEV_NAME (12)
-
243 #define WLAN_P2P_OPT_DEV_TYPE (13)
-
244 #define WLAN_P2P_OPT_CHANNEL_N_REGS (14)
-
245 #define WLAN_GENERAL_PARAM_OPT_INFO_ELEMENT (16)
-
246 #define WLAN_GENERAL_PARAM_OPT_SCAN_PARAMS (18) /* change the scan channels and RSSI threshold using this configuration option */
-
247 
-
248 /* SmartConfig CIPHER options */
-
249 #define SMART_CONFIG_CIPHER_SFLASH (0) /* password is not delivered by the application. The Simple Manager should */
-
250  /* check if the keys are stored in the Flash. */
-
251 #define SMART_CONFIG_CIPHER_AES (1) /* AES (other types are not supported) */
-
252 #define SMART_CONFIG_CIPHER_NONE (0xFF) /* do not check in the flash */
-
253 
-
254 
-
255 #define SL_POLICY_CONNECTION (0x10)
-
256 #define SL_POLICY_SCAN (0x20)
-
257 #define SL_POLICY_PM (0x30)
-
258 #define SL_POLICY_P2P (0x40)
-
259 
-
260 #define VAL_2_MASK(position,value) ((1 & (value))<<(position))
-
261 #define MASK_2_VAL(position,mask) (((1 << position) & (mask)) >> (position))
-
262 
-
263 #define SL_CONNECTION_POLICY(Auto,Fast,Open,anyP2P,autoSmartConfig) (VAL_2_MASK(0,Auto) | VAL_2_MASK(1,Fast) | VAL_2_MASK(2,Open) | VAL_2_MASK(3,anyP2P) | VAL_2_MASK(4,autoSmartConfig))
-
264 #define SL_SCAN_POLICY_EN(policy) (MASK_2_VAL(0,policy))
-
265 #define SL_SCAN_POLICY(Enable) (VAL_2_MASK(0,Enable))
-
266 
-
267 
-
268 #define SL_NORMAL_POLICY (0)
-
269 #define SL_LOW_LATENCY_POLICY (1)
-
270 #define SL_LOW_POWER_POLICY (2)
-
271 #define SL_ALWAYS_ON_POLICY (3)
-
272 #define SL_LONG_SLEEP_INTERVAL_POLICY (4)
-
273 
-
274 #define SL_P2P_ROLE_NEGOTIATE (3)
-
275 #define SL_P2P_ROLE_GROUP_OWNER (15)
-
276 #define SL_P2P_ROLE_CLIENT (0)
-
277 
-
278 #define SL_P2P_NEG_INITIATOR_ACTIVE (0)
-
279 #define SL_P2P_NEG_INITIATOR_PASSIVE (1)
-
280 #define SL_P2P_NEG_INITIATOR_RAND_BACKOFF (2)
-
281 
-
282 #define POLICY_VAL_2_OPTIONS(position,mask,policy) ((mask & policy) << position )
-
283 
-
284 #define SL_P2P_POLICY(p2pNegType,p2pNegInitiator) (POLICY_VAL_2_OPTIONS(0,0xF,(p2pNegType > SL_P2P_ROLE_GROUP_OWNER ? SL_P2P_ROLE_GROUP_OWNER : p2pNegType)) | \
-
285  POLICY_VAL_2_OPTIONS(4,0x1,(p2pNegType > SL_P2P_ROLE_GROUP_OWNER ? 1:0)) | \
-
286  POLICY_VAL_2_OPTIONS(5,0x3, p2pNegInitiator))
-
287 
-
288 
-
289 /* Info elements */
-
290 
-
291 #define INFO_ELEMENT_DEFAULT_ID (0) /* 221 will be used */
-
292 
-
293 /* info element size is up to 252 bytes (+ 3 bytes of OUI). */
-
294 #define INFO_ELEMENT_MAX_SIZE (252)
-
295 
-
296 /* For AP - the total length of all info elements is 300 bytes (for example - 4 info elements of 75 bytes each) */
-
297 #define INFO_ELEMENT_MAX_TOTAL_LENGTH_AP (300)
-
298 /* For P2P - the total length of all info elements is 150 bytes (for example - 4 info elements of 40 bytes each) */
-
299 #define INFO_ELEMENT_MAX_TOTAL_LENGTH_P2P_GO (160)
-
300 
-
301 #define INFO_ELEMENT_AP_ROLE (0)
-
302 #define INFO_ELEMENT_P2P_GO_ROLE (1)
-
303 
-
304 /* we support up to 4 info elements per Role. */
-
305 #define MAX_PRIVATE_INFO_ELEMENTS_SUPPROTED (4)
-
306 
-
307 #define INFO_ELEMENT_DEFAULT_OUI_0 (0x08)
-
308 #define INFO_ELEMENT_DEFAULT_OUI_1 (0x00)
-
309 #define INFO_ELEMENT_DEFAULT_OUI_2 (0x28)
-
310 
-
311 #define INFO_ELEMENT_DEFAULT_OUI (0x000000) /* 08, 00, 28 will be used */
-
312 
-
313 /*****************************************************************************/
-
314 /* Structure/Enum declarations */
-
315 /*****************************************************************************/
-
316 
-
317 typedef enum
-
318 {
-
319  RATE_1M = 1,
-
320  RATE_2M = 2,
-
321  RATE_5_5M = 3,
-
322  RATE_11M = 4,
-
323  RATE_6M = 6,
-
324  RATE_9M = 7,
-
325  RATE_12M = 8,
-
326  RATE_18M = 9,
-
327  RATE_24M = 10,
-
328  RATE_36M = 11,
-
329  RATE_48M = 12,
-
330  RATE_54M = 13,
-
331  RATE_MCS_0 = 14,
-
332  RATE_MCS_1 = 15,
-
333  RATE_MCS_2 = 16,
-
334  RATE_MCS_3 = 17,
-
335  RATE_MCS_4 = 18,
-
336  RATE_MCS_5 = 19,
-
337  RATE_MCS_6 = 20,
-
338  RATE_MCS_7 = 21,
-
339  MAX_NUM_RATES = 0xFF
-
340 }SlRateIndex_e;
-
341 
-
342 typedef enum {
-
343  DEV_PW_DEFAULT=0,
-
344  DEV_PW_PIN_KEYPAD=1,
-
345  DEV_PW_PUSH_BUTTON=4,
-
346  DEV_PW_PIN_DISPLAY=5
-
347 } sl_p2p_dev_password_method;
-
348 
-
349 
-
350 typedef struct
-
351 {
-
352  _u32 status;
-
353  _u32 ssid_len;
-
354  _u8 ssid[32];
-
355  _u32 private_token_len;
-
356  _u8 private_token[32];
- -
358 
-
359 typedef struct
-
360 {
-
361  _u16 status;
-
362  _u16 padding;
- -
364 
-
365 typedef struct
-
366 {
-
367  _u16 status;
-
368  _u16 padding;
- -
370 
-
371 typedef struct
-
372 {
-
373  _u8 connection_type;/* 0-STA,3-P2P_CL */
-
374  _u8 ssid_len;
-
375  _u8 ssid_name[32];
-
376  _u8 go_peer_device_name_len;
-
377  _u8 go_peer_device_name[32];
-
378  _u8 bssid[6];
-
379  _u8 reason_code;
-
380  _u8 padding[2];
- -
382 
-
383 typedef struct
-
384 {
-
385  _u8 go_peer_device_name[32];
-
386  _u8 mac[6];
-
387  _u8 go_peer_device_name_len;
-
388  _u8 wps_dev_password_id;
-
389  _u8 own_ssid[32];/* relevant for event sta-connected only */
-
390  _u8 own_ssid_len;/* relevant for event sta-connected only */
-
391  _u8 padding[3];
- -
393 
-
394 
-
395 typedef union
-
396 {
-
397  slSmartConfigStartAsyncResponse_t smartConfigStartResponse; /*SL_WLAN_SMART_CONFIG_COMPLETE_EVENT*/
-
398  slSmartConfigStopAsyncResponse_t smartConfigStopResponse; /*SL_WLAN_SMART_CONFIG_STOP_EVENT */
-
399  slPeerInfoAsyncResponse_t APModeStaConnected; /* SL_WLAN_STA_CONNECTED_EVENT - relevant only in AP mode - holds information regarding a new STA connection */
-
400  slPeerInfoAsyncResponse_t APModestaDisconnected; /* SL_WLAN_STA_DISCONNECTED_EVENT - relevant only in AP mode - holds information regarding a STA disconnection */
-
401  slWlanConnectAsyncResponse_t STAandP2PModeWlanConnected; /* SL_WLAN_CONNECT_EVENT - relevant only in STA and P2P mode - holds information regarding a new connection */
-
402  slWlanConnectAsyncResponse_t STAandP2PModeDisconnected; /* SL_WLAN_DISCONNECT_EVENT - relevant only in STA and P2P mode - holds information regarding a disconnection */
-
403  slPeerInfoAsyncResponse_t P2PModeDevFound; /* SL_WLAN_P2P_DEV_FOUND_EVENT - relevant only in P2P mode */
-
404  slPeerInfoAsyncResponse_t P2PModeNegReqReceived; /* SL_WLAN_P2P_NEG_REQ_RECEIVED_EVENT - relevant only in P2P mode */
-
405  slWlanConnFailureAsyncResponse_t P2PModewlanConnectionFailure; /* SL_WLAN_CONNECTION_FAILED_EVENT - relevant only in P2P mode */
-
406 
- -
408 
-
409 typedef struct
-
410 {
-
411  _u32 Event;
-
412  SlWlanEventData_u EventData;
-
413 } SlWlanEvent_t;
-
414 
-
415 
-
416 typedef struct
-
417 {
-
418  _u32 ReceivedValidPacketsNumber; /* sum of the packets that been received OK (include filtered) */
-
419  _u32 ReceivedFcsErrorPacketsNumber; /* sum of the packets that been dropped due to FCS error */
-
420  _u32 ReceivedPlcpErrorPacketsNumber; /* sum of the packets that been dropped due to PLCP error */
-
421  _i16 AvarageDataCtrlRssi; /* average RSSI for all valid data packets received */
-
422  _i16 AvarageMgMntRssi; /* average RSSI for all valid management packets received */
-
423  _u16 RateHistogram[NUM_OF_RATE_INDEXES]; /* rate histogram for all valid packets received */
-
424  _u16 RssiHistogram[SIZE_OF_RSSI_HISTOGRAM]; /* RSSI histogram from -40 until -87 (all below and above\n RSSI will appear in the first and last cells */
-
425  _u32 StartTimeStamp; /* the time stamp started collecting the statistics in uSec */
-
426  _u32 GetTimeStamp; /* the time stamp called the get statistics command */
- -
428 
-
429 
-
430 typedef struct
-
431 {
-
432  _u8 ssid[MAXIMAL_SSID_LENGTH];
-
433  _u8 ssid_len;
-
434  _u8 sec_type;
-
435  _u8 bssid[SL_BSSID_LENGTH];
-
436  _i8 rssi;
-
437  _i8 reserved[3];
- -
439 
-
440 
-
441 typedef struct
-
442 {
-
443  _u8 Type;
-
444  _i8* Key;
-
445  _u8 KeyLen;
- -
447 
-
448 typedef struct
-
449 {
-
450  _i8* User;
-
451  _u8 UserLen;
-
452  _i8* AnonUser;
-
453  _u8 AnonUserLen;
-
454  _u8 CertIndex; /* not supported */
-
455  _u32 EapMethod;
- -
457 
-
458 typedef struct
-
459 {
-
460  _i8 User[32];
-
461  _u8 UserLen;
-
462  _i8 AnonUser[32];
-
463  _u8 AnonUserLen;
-
464  _u8 CertIndex; //not supported
-
465  _u32 EapMethod;
- -
467 
-
468 typedef enum
-
469 {
-
470  ROLE_STA = 0,
-
471  ROLE_AP = 2,
-
472  ROLE_P2P = 3,
-
473  ROLE_STA_ERR = -1, /* Failure to load MAC/PHY in STA role */
-
474  ROLE_AP_ERR = -ROLE_AP, /* Failure to load MAC/PHY in AP role */
-
475  ROLE_P2P_ERR = -ROLE_P2P /* Failure to load MAC/PHY in P2P role */
-
476 }SlWlanMode_t;
-
477 
-
478 typedef struct
-
479 {
-
480  _u32 G_Channels_mask;
-
481  _i32 rssiThershold;
- -
483 
-
484 
-
485 typedef struct
-
486 {
-
487  _u8 id;
-
488  _u8 oui[3];
-
489  _u16 length;
-
490  _u8 data[252];
- -
492 
-
493 typedef struct
-
494 {
-
495  _u8 index; /* 0 - MAX_PRIVATE_INFO_ELEMENTS_SUPPROTED */
-
496  _u8 role; /* bit0: AP = 0, GO = 1 */
- - -
499 
-
500 
-
501 /*****************************************************************************/
-
502 /* Function prototypes */
-
503 /*****************************************************************************/
-
504 
-
505 
-
531 #if _SL_INCLUDE_FUNC(sl_WlanConnect)
-
532 _i16 sl_WlanConnect(_i8* pName, _i16 NameLen, _u8 *pMacAddr, SlSecParams_t* pSecParams , SlSecParamsExt_t* pSecExtParams);
-
533 #endif
-
534 
-
546 #if _SL_INCLUDE_FUNC(sl_WlanDisconnect)
-
547 _i16 sl_WlanDisconnect(void);
-
548 #endif
-
549 
-
588 #if _SL_INCLUDE_FUNC(sl_WlanProfileAdd)
-
589 _i16 sl_WlanProfileAdd(_i8* pName, _i16 NameLen, _u8 *pMacAddr, SlSecParams_t* pSecParams , SlSecParamsExt_t* pSecExtParams, _u32 Priority, _u32 Options);
-
590 #endif
-
591 
-
620 #if _SL_INCLUDE_FUNC(sl_WlanProfileGet)
-
621 _i16 sl_WlanProfileGet(_i16 Index,_i8* pName, _i16 *pNameLen, _u8 *pMacAddr, SlSecParams_t* pSecParams, SlGetSecParamsExt_t* pSecExtParams, _u32 *pPriority);
-
622 #endif
-
623 
-
639 #if _SL_INCLUDE_FUNC(sl_WlanProfileDel)
-
640 _i16 sl_WlanProfileDel(_i16 Index);
-
641 #endif
-
642 
-
708 #if _SL_INCLUDE_FUNC(sl_WlanPolicySet)
-
709 _i16 sl_WlanPolicySet(_u8 Type , const _u8 Policy, _u8 *pVal,_u8 ValLen);
-
710 #endif
-
711 
-
731 #if _SL_INCLUDE_FUNC(sl_WlanPolicyGet)
-
732 _i16 sl_WlanPolicyGet(_u8 Type , _u8 Policy,_u8 *pVal,_u8 *pValLen);
-
733 #endif
-
734 
-
762 #if _SL_INCLUDE_FUNC(sl_WlanGetNetworkList)
-
763 _i16 sl_WlanGetNetworkList(_u8 Index, _u8 Count, Sl_WlanNetworkEntry_t *pEntries);
-
764 #endif
-
765 
-
801 #if _SL_INCLUDE_FUNC(sl_WlanRxStatStart)
-
802 _i16 sl_WlanRxStatStart(void);
-
803 #endif
-
804 
-
805 
-
815 #if _SL_INCLUDE_FUNC(sl_WlanRxStatStop)
-
816 _i16 sl_WlanRxStatStop(void);
-
817 #endif
-
818 
-
819 
-
831 #if _SL_INCLUDE_FUNC(sl_WlanRxStatGet)
-
832 _i16 sl_WlanRxStatGet(SlGetRxStatResponse_t *pRxStat,_u32 Flags);
-
833 #endif
-
834 
-
835 
-
850 #if _SL_INCLUDE_FUNC(sl_WlanSmartConfigStop)
-
851 _i16 sl_WlanSmartConfigStop(void);
-
852 #endif
-
853 
-
901 #if _SL_INCLUDE_FUNC(sl_WlanSmartConfigStart)
-
902 _i16 sl_WlanSmartConfigStart(const _u32 groupIdBitmask,
-
903  const _u8 cipher,
-
904  const _u8 publicKeyLen,
-
905  const _u8 group1KeyLen,
-
906  const _u8 group2KeyLen,
-
907  const _u8* publicKey,
-
908  const _u8* group1Key,
-
909  const _u8* group2Key);
-
910 #endif
-
911 
-
912 
-
935 #if _SL_INCLUDE_FUNC(sl_WlanSetMode)
-
936 _i16 sl_WlanSetMode(const _u8 mode);
-
937 #endif
-
938 
-
939 
-
1121 #if _SL_INCLUDE_FUNC(sl_WlanSet)
-
1122 _i16 sl_WlanSet(_u16 ConfigId ,_u16 ConfigOpt,_u16 ConfigLen, _u8 *pValues);
-
1123 #endif
-
1124 
-
1304 #if _SL_INCLUDE_FUNC(sl_WlanGet)
-
1305 _i16 sl_WlanGet(_u16 ConfigId, _u16 *pConfigOpt,_u16 *pConfigLen, _u8 *pValues);
-
1306 #endif
-
1307 
-
1315 #ifdef __cplusplus
-
1316 }
-
1317 #endif /* __cplusplus */
-
1318 
-
1319 #endif /* __WLAN_H__ */
-
1320 
-
_i16 sl_WlanProfileAdd(_i8 *pName, _i16 NameLen, _u8 *pMacAddr, SlSecParams_t *pSecParams, SlSecParamsExt_t *pSecExtParams, _u32 Priority, _u32 Options)
add profile
-
_i16 sl_WlanSet(_u16 ConfigId, _u16 ConfigOpt, _u16 ConfigLen, _u8 *pValues)
Internal function for setting WLAN configurations.
-
_i16 sl_WlanProfileDel(_i16 Index)
Delete WLAN profile.
-
_i16 sl_WlanRxStatStart(void)
Start collecting wlan RX statistics, for unlimited time.
-
Definition: wlan.h:458
-
Definition: wlan.h:395
-
Definition: wlan.h:493
-
_i16 sl_WlanDisconnect(void)
wlan disconnect
-
Definition: wlan.h:350
-
Definition: wlan.h:441
-
_i16 sl_WlanPolicySet(_u8 Type, const _u8 Policy, _u8 *pVal, _u8 ValLen)
Set policy values.
-
Definition: wlan.h:409
-
_i16 sl_WlanSetMode(const _u8 mode)
Wlan set mode.
-
Definition: wlan.h:485
-
_i16 sl_WlanConnect(_i8 *pName, _i16 NameLen, _u8 *pMacAddr, SlSecParams_t *pSecParams, SlSecParamsExt_t *pSecExtParams)
Connect to wlan network as a station.
-
_i16 sl_WlanPolicyGet(_u8 Type, _u8 Policy, _u8 *pVal, _u8 *pValLen)
get policy values
-
Definition: wlan.h:365
-
_i16 sl_WlanProfileGet(_i16 Index, _i8 *pName, _i16 *pNameLen, _u8 *pMacAddr, SlSecParams_t *pSecParams, SlGetSecParamsExt_t *pSecExtParams, _u32 *pPriority)
get profile
-
Definition: wlan.h:359
-
Definition: wlan.h:478
-
_i16 sl_WlanSmartConfigStart(const _u32 groupIdBitmask, const _u8 cipher, const _u8 publicKeyLen, const _u8 group1KeyLen, const _u8 group2KeyLen, const _u8 *publicKey, const _u8 *group1Key, const _u8 *group2Key)
Start Smart Config procedure.
-
_i16 sl_WlanSmartConfigStop(void)
Stop Smart Config procedure. Once Smart Config will be stopped, Asynchronous event will be received -...
-
_i16 sl_WlanGet(_u16 ConfigId, _u16 *pConfigOpt, _u16 *pConfigLen, _u8 *pValues)
Internal function for getting WLAN configurations.
-
Definition: wlan.h:371
-
_i16 sl_WlanRxStatStop(void)
Stop collecting wlan RX statistic, (if previous called sl_WlanRxStatStart)
-
Definition: wlan.h:448
-
_i16 sl_WlanRxStatGet(SlGetRxStatResponse_t *pRxStat, _u32 Flags)
Get wlan RX statistics. upon calling this command, the statistics counters will be cleared...
-
_i16 sl_WlanGetNetworkList(_u8 Index, _u8 Count, Sl_WlanNetworkEntry_t *pEntries)
Gets the WLAN scan operation results.
-
Definition: wlan.h:430
-
Definition: wlan.h:416
-
Definition: wlan.h:383
-
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: wlan.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
wlan.h
+
+
+
1 /*
+
2  * wlan.h - CC31xx/CC32xx Host Driver Implementation
+
3  *
+
4  * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
+
5  *
+
6  *
+
7  * Redistribution and use in source and binary forms, with or without
+
8  * modification, are permitted provided that the following conditions
+
9  * are met:
+
10  *
+
11  * Redistributions of source code must retain the above copyright
+
12  * notice, this list of conditions and the following disclaimer.
+
13  *
+
14  * Redistributions in binary form must reproduce the above copyright
+
15  * notice, this list of conditions and the following disclaimer in the
+
16  * documentation and/or other materials provided with the
+
17  * distribution.
+
18  *
+
19  * Neither the name of Texas Instruments Incorporated nor the names of
+
20  * its contributors may be used to endorse or promote products derived
+
21  * from this software without specific prior written permission.
+
22  *
+
23  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+
24  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+
25  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+
26  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+
27  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+
28  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+
29  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+
30  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+
31  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+
32  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+
33  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
34  *
+
35 */
+
36 
+
37 /*****************************************************************************/
+
38 /* Include files */
+
39 /*****************************************************************************/
+
40 #include "simplelink.h"
+
41 
+
42 #ifndef __WLAN_H__
+
43 #define __WLAN_H__
+
44 
+
45 
+
46 
+
47 
+
48 #ifdef __cplusplus
+
49 extern "C" {
+
50 #endif
+
51 
+
52 
+
53 /*****************************************************************************/
+
54 /* Macro declarations */
+
55 /*****************************************************************************/
+
56 
+
64 #define SL_BSSID_LENGTH (6)
+
65 #define MAXIMAL_SSID_LENGTH (32)
+
66 
+
67 #define NUM_OF_RATE_INDEXES (20)
+
68 #define SIZE_OF_RSSI_HISTOGRAM (6)
+
69 
+
70 /* WLAN Disconnect Reason Codes */
+
71 #define SL_DISCONNECT_RESERVED_0 (0)
+
72 #define SL_DISCONNECT_UNSPECIFIED_REASON (1)
+
73 #define SL_PREVIOUS_AUTHENTICATION_NO_LONGER_VALID (2)
+
74 #define SL_DEAUTHENTICATED_BECAUSE_SENDING_STATION_IS_LEAVING (3)
+
75 #define SL_DISASSOCIATED_DUE_TO_INACTIVITY (4)
+
76 #define SL_DISASSOCIATED_BECAUSE_AP_IS_UNABLE_TO_HANDLE_ALL_CURRENTLY_ASSOCIATED_STATIONS (5)
+
77 #define SL_CLASS_2_FRAME_RECEIVED_FROM_NONAUTHENTICATED_STATION (6)
+
78 #define SL_CLASS_3_FRAME_RECEIVED_FROM_NONASSOCIATED_STATION (7)
+
79 #define SL_DISASSOCIATED_BECAUSE_SENDING_STATION_IS_LEAVING_BSS (8)
+
80 #define SL_STATION_REQUESTING_ASSOCIATION_IS_NOT_AUTHENTICATED_WITH_RESPONDING_STATION (9)
+
81 #define SL_DISASSOCIATED_BECAUSE_THE_INFORMATION_IN_THE_POWER_CAPABILITY_ELEMENT_IS_UNACCEPTABLE (10)
+
82 #define SL_DISASSOCIATED_BECAUSE_THE_INFORMATION_IN_THE_SUPPORTED_CHANNELS_ELEMENT_IS_UNACCEPTABLE (11)
+
83 #define SL_DISCONNECT_RESERVED_1 (12)
+
84 #define SL_INVALID_INFORMATION_ELEMENT (13)
+
85 #define SL_MESSAGE_INTEGRITY_CODE_MIC_FAILURE (14)
+
86 #define SL_FOUR_WAY_HANDSHAKE_TIMEOUT (15)
+
87 #define SL_GROUP_KEY_HANDSHAKE_TIMEOUT (16)
+
88 #define SL_RE_ASSOCIATION_REQUEST_PROBE_RESPONSE_BEACON_FRAME (17)
+
89 #define SL_INVALID_GROUP_CIPHER (18)
+
90 #define SL_INVALID_PAIRWISE_CIPHER (19)
+
91 #define SL_INVALID_AKMP (20)
+
92 #define SL_UNSUPPORTED_RSN_INFORMATION_ELEMENT_VERSION (21)
+
93 #define SL_INVALID_RSN_INFORMATION_ELEMENT_CAPABILITIES (22)
+
94 #define SL_IEEE_802_1X_AUTHENTICATION_FAILED (23)
+
95 #define SL_CIPHER_SUITE_REJECTED_BECAUSE_OF_THE_SECURITY_POLICY (24)
+
96 #define SL_DISCONNECT_RESERVED_2 (25)
+
97 #define SL_DISCONNECT_RESERVED_3 (26)
+
98 #define SL_DISCONNECT_RESERVED_4 (27)
+
99 #define SL_DISCONNECT_RESERVED_5 (28)
+
100 #define SL_DISCONNECT_RESERVED_6 (29)
+
101 #define SL_DISCONNECT_RESERVED_7 (30)
+
102 #define SL_DISCONNECT_RESERVED_8 (31)
+
103 #define SL_USER_INITIATED_DISCONNECTION (200)
+
104 
+
105 /* Wlan error codes */
+
106 #define SL_ERROR_KEY_ERROR (-3)
+
107 #define SL_ERROR_INVALID_ROLE (-71)
+
108 #define SL_ERROR_INVALID_SECURITY_TYPE (-84)
+
109 #define SL_ERROR_PASSPHRASE_TOO_LONG (-85)
+
110 #define SL_ERROR_WPS_NO_PIN_OR_WRONG_PIN_LEN (-87)
+
111 #define SL_ERROR_EAP_WRONG_METHOD (-88)
+
112 #define SL_ERROR_PASSWORD_ERROR (-89)
+
113 #define SL_ERROR_EAP_ANONYMOUS_LEN_ERROR (-90)
+
114 #define SL_ERROR_SSID_LEN_ERROR (-91)
+
115 #define SL_ERROR_USER_ID_LEN_ERROR (-92)
+
116 #define SL_ERROR_ILLEGAL_WEP_KEY_INDEX (-95)
+
117 #define SL_ERROR_INVALID_DWELL_TIME_VALUES (-96)
+
118 #define SL_ERROR_INVALID_POLICY_TYPE (-97)
+
119 #define SL_ERROR_PM_POLICY_INVALID_OPTION (-98)
+
120 #define SL_ERROR_PM_POLICY_INVALID_PARAMS (-99)
+
121 #define SL_ERROR_WIFI_ALREADY_DISCONNECTED (-129)
+
122 #define SL_ERROR_WIFI_NOT_CONNECTED (-59)
+
123 
+
124 
+
125 
+
126 #define SL_SEC_TYPE_OPEN (0)
+
127 #define SL_SEC_TYPE_WEP (1)
+
128 #define SL_SEC_TYPE_WPA (2) /* deprecated */
+
129 #define SL_SEC_TYPE_WPA_WPA2 (2)
+
130 #define SL_SEC_TYPE_WPS_PBC (3)
+
131 #define SL_SEC_TYPE_WPS_PIN (4)
+
132 #define SL_SEC_TYPE_WPA_ENT (5)
+
133 #define SL_SEC_TYPE_P2P_PBC (6)
+
134 #define SL_SEC_TYPE_P2P_PIN_KEYPAD (7)
+
135 #define SL_SEC_TYPE_P2P_PIN_DISPLAY (8)
+
136 #define SL_SEC_TYPE_P2P_PIN_AUTO (9) /* NOT Supported yet */
+
137 
+
138 
+
139 
+
140 #define SL_SCAN_SEC_TYPE_OPEN (0)
+
141 #define SL_SCAN_SEC_TYPE_WEP (1)
+
142 #define SL_SCAN_SEC_TYPE_WPA (2)
+
143 #define SL_SCAN_SEC_TYPE_WPA2 (3)
+
144 
+
145 
+
146 
+
147 #define TLS (0x1)
+
148 #define MSCHAP (0x0)
+
149 #define PSK (0x2)
+
150 #define TTLS (0x10)
+
151 #define PEAP0 (0x20)
+
152 #define PEAP1 (0x40)
+
153 #define FAST (0x80)
+
154 
+
155 #define FAST_AUTH_PROVISIONING (0x02)
+
156 #define FAST_UNAUTH_PROVISIONING (0x01)
+
157 #define FAST_NO_PROVISIONING (0x00)
+
158 
+
159 #define EAPMETHOD_PHASE2_SHIFT (8)
+
160 #define EAPMETHOD_PAIRWISE_CIPHER_SHIFT (19)
+
161 #define EAPMETHOD_GROUP_CIPHER_SHIFT (27)
+
162 
+
163 #define WPA_CIPHER_CCMP (0x1)
+
164 #define WPA_CIPHER_TKIP (0x2)
+
165 #define CC31XX_DEFAULT_CIPHER (WPA_CIPHER_CCMP | WPA_CIPHER_TKIP)
+
166 
+
167 #define EAPMETHOD(phase1,phase2,pairwise_cipher,group_cipher) \
+
168 ((phase1) | \
+
169  ((phase2) << EAPMETHOD_PHASE2_SHIFT ) |\
+
170  ((_u32)(pairwise_cipher) << EAPMETHOD_PAIRWISE_CIPHER_SHIFT ) |\
+
171  ((_u32)(group_cipher) << EAPMETHOD_GROUP_CIPHER_SHIFT ))
+
172 
+
173 /* phase1 phase2 pairwise_cipher group_cipher */
+
174 #define SL_ENT_EAP_METHOD_TLS EAPMETHOD(TLS , 0 , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
+
175 #define SL_ENT_EAP_METHOD_TTLS_TLS EAPMETHOD(TTLS , TLS , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
+
176 #define SL_ENT_EAP_METHOD_TTLS_MSCHAPv2 EAPMETHOD(TTLS , MSCHAP , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
+
177 #define SL_ENT_EAP_METHOD_TTLS_PSK EAPMETHOD(TTLS , PSK , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
+
178 #define SL_ENT_EAP_METHOD_PEAP0_TLS EAPMETHOD(PEAP0 , TLS , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
+
179 #define SL_ENT_EAP_METHOD_PEAP0_MSCHAPv2 EAPMETHOD(PEAP0 , MSCHAP , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
+
180 #define SL_ENT_EAP_METHOD_PEAP0_PSK EAPMETHOD(PEAP0 , PSK , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
+
181 #define SL_ENT_EAP_METHOD_PEAP1_TLS EAPMETHOD(PEAP1 , TLS , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
+
182 #define SL_ENT_EAP_METHOD_PEAP1_MSCHAPv2 EAPMETHOD(PEAP1 , MSCHAP , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
+
183 #define SL_ENT_EAP_METHOD_PEAP1_PSK EAPMETHOD(PEAP1 , PSK , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
+
184 #define SL_ENT_EAP_METHOD_FAST_AUTH_PROVISIONING EAPMETHOD(FAST , FAST_AUTH_PROVISIONING , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
+
185 #define SL_ENT_EAP_METHOD_FAST_UNAUTH_PROVISIONING EAPMETHOD(FAST , FAST_UNAUTH_PROVISIONING , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
+
186 #define SL_ENT_EAP_METHOD_FAST_NO_PROVISIONING EAPMETHOD(FAST , FAST_NO_PROVISIONING , CC31XX_DEFAULT_CIPHER , CC31XX_DEFAULT_CIPHER)
+
187 
+
188 #define SL_LONG_PREAMBLE (0)
+
189 #define SL_SHORT_PREAMBLE (1)
+
190 
+
191 #define SL_RAW_RF_TX_PARAMS_CHANNEL_SHIFT (0)
+
192 #define SL_RAW_RF_TX_PARAMS_RATE_SHIFT (6)
+
193 #define SL_RAW_RF_TX_PARAMS_POWER_SHIFT (11)
+
194 #define SL_RAW_RF_TX_PARAMS_PREAMBLE_SHIFT (15)
+
195 
+
196 #define SL_RAW_RF_TX_PARAMS(chan,rate,power,preamble) \
+
197  ((chan << SL_RAW_RF_TX_PARAMS_CHANNEL_SHIFT) | \
+
198  (rate << SL_RAW_RF_TX_PARAMS_RATE_SHIFT) | \
+
199  (power << SL_RAW_RF_TX_PARAMS_POWER_SHIFT) | \
+
200  (preamble << SL_RAW_RF_TX_PARAMS_PREAMBLE_SHIFT))
+
201 
+
202 
+
203 /* wlan config application IDs */
+
204 #define SL_WLAN_CFG_AP_ID (0)
+
205 #define SL_WLAN_CFG_GENERAL_PARAM_ID (1)
+
206 #define SL_WLAN_CFG_P2P_PARAM_ID (2)
+
207 
+
208 /* wlan AP Config set/get options */
+
209 #define WLAN_AP_OPT_SSID (0)
+
210 #define WLAN_AP_OPT_CHANNEL (3)
+
211 #define WLAN_AP_OPT_HIDDEN_SSID (4)
+
212 #define WLAN_AP_OPT_SECURITY_TYPE (6)
+
213 #define WLAN_AP_OPT_PASSWORD (7)
+
214 #define WLAN_GENERAL_PARAM_OPT_COUNTRY_CODE (9)
+
215 #define WLAN_GENERAL_PARAM_OPT_STA_TX_POWER (10)
+
216 #define WLAN_GENERAL_PARAM_OPT_AP_TX_POWER (11)
+
217 
+
218 #define WLAN_P2P_OPT_DEV_NAME (12)
+
219 #define WLAN_P2P_OPT_DEV_TYPE (13)
+
220 #define WLAN_P2P_OPT_CHANNEL_N_REGS (14)
+
221 #define WLAN_GENERAL_PARAM_OPT_INFO_ELEMENT (16)
+
222 #define WLAN_GENERAL_PARAM_OPT_SCAN_PARAMS (18) /* change the scan channels and RSSI threshold using this configuration option */
+
223 
+
224 /* SmartConfig CIPHER options */
+
225 #define SMART_CONFIG_CIPHER_SFLASH (0) /* password is not delivered by the application. The Simple Manager should */
+
226  /* check if the keys are stored in the Flash. */
+
227 #define SMART_CONFIG_CIPHER_AES (1) /* AES (other types are not supported) */
+
228 #define SMART_CONFIG_CIPHER_NONE (0xFF) /* do not check in the flash */
+
229 
+
230 
+
231 #define SL_POLICY_CONNECTION (0x10)
+
232 #define SL_POLICY_SCAN (0x20)
+
233 #define SL_POLICY_PM (0x30)
+
234 #define SL_POLICY_P2P (0x40)
+
235 
+
236 #define VAL_2_MASK(position,value) ((1 & (value))<<(position))
+
237 #define MASK_2_VAL(position,mask) (((1 << position) & (mask)) >> (position))
+
238 
+
239 #define SL_CONNECTION_POLICY(Auto,Fast,Open,anyP2P,autoSmartConfig) (VAL_2_MASK(0,Auto) | VAL_2_MASK(1,Fast) | VAL_2_MASK(2,Open) | VAL_2_MASK(3,anyP2P) | VAL_2_MASK(4,autoSmartConfig))
+
240 #define SL_SCAN_POLICY_EN(policy) (MASK_2_VAL(0,policy))
+
241 #define SL_SCAN_POLICY(Enable) (VAL_2_MASK(0,Enable))
+
242 
+
243 
+
244 #define SL_NORMAL_POLICY (0)
+
245 #define SL_LOW_LATENCY_POLICY (1)
+
246 #define SL_LOW_POWER_POLICY (2)
+
247 #define SL_ALWAYS_ON_POLICY (3)
+
248 #define SL_LONG_SLEEP_INTERVAL_POLICY (4)
+
249 
+
250 #define SL_P2P_ROLE_NEGOTIATE (3)
+
251 #define SL_P2P_ROLE_GROUP_OWNER (15)
+
252 #define SL_P2P_ROLE_CLIENT (0)
+
253 
+
254 #define SL_P2P_NEG_INITIATOR_ACTIVE (0)
+
255 #define SL_P2P_NEG_INITIATOR_PASSIVE (1)
+
256 #define SL_P2P_NEG_INITIATOR_RAND_BACKOFF (2)
+
257 
+
258 #define POLICY_VAL_2_OPTIONS(position,mask,policy) ((mask & policy) << position )
+
259 
+
260 #define SL_P2P_POLICY(p2pNegType,p2pNegInitiator) (POLICY_VAL_2_OPTIONS(0,0xF,(p2pNegType > SL_P2P_ROLE_GROUP_OWNER ? SL_P2P_ROLE_GROUP_OWNER : p2pNegType)) | \
+
261  POLICY_VAL_2_OPTIONS(4,0x1,(p2pNegType > SL_P2P_ROLE_GROUP_OWNER ? 1:0)) | \
+
262  POLICY_VAL_2_OPTIONS(5,0x3, p2pNegInitiator))
+
263 
+
264 
+
265 /* Info elements */
+
266 
+
267 #define INFO_ELEMENT_DEFAULT_ID (0) /* 221 will be used */
+
268 
+
269 /* info element size is up to 252 bytes (+ 3 bytes of OUI). */
+
270 #define INFO_ELEMENT_MAX_SIZE (252)
+
271 
+
272 /* For AP - the total length of all info elements is 300 bytes (for example - 4 info elements of 75 bytes each) */
+
273 #define INFO_ELEMENT_MAX_TOTAL_LENGTH_AP (300)
+
274 /* For P2P - the total length of all info elements is 150 bytes (for example - 4 info elements of 40 bytes each) */
+
275 #define INFO_ELEMENT_MAX_TOTAL_LENGTH_P2P_GO (160)
+
276 
+
277 #define INFO_ELEMENT_AP_ROLE (0)
+
278 #define INFO_ELEMENT_P2P_GO_ROLE (1)
+
279 
+
280 /* we support up to 4 info elements per Role. */
+
281 #define MAX_PRIVATE_INFO_ELEMENTS_SUPPROTED (4)
+
282 
+
283 #define INFO_ELEMENT_DEFAULT_OUI_0 (0x08)
+
284 #define INFO_ELEMENT_DEFAULT_OUI_1 (0x00)
+
285 #define INFO_ELEMENT_DEFAULT_OUI_2 (0x28)
+
286 
+
287 #define INFO_ELEMENT_DEFAULT_OUI (0x000000) /* 08, 00, 28 will be used */
+
288 
+
289 /*****************************************************************************/
+
290 /* Structure/Enum declarations */
+
291 /*****************************************************************************/
+
292 
+
293 typedef enum
+
294 {
+
295  RATE_1M = 1,
+
296  RATE_2M = 2,
+
297  RATE_5_5M = 3,
+
298  RATE_11M = 4,
+
299  RATE_6M = 6,
+
300  RATE_9M = 7,
+
301  RATE_12M = 8,
+
302  RATE_18M = 9,
+
303  RATE_24M = 10,
+
304  RATE_36M = 11,
+
305  RATE_48M = 12,
+
306  RATE_54M = 13,
+
307  RATE_MCS_0 = 14,
+
308  RATE_MCS_1 = 15,
+
309  RATE_MCS_2 = 16,
+
310  RATE_MCS_3 = 17,
+
311  RATE_MCS_4 = 18,
+
312  RATE_MCS_5 = 19,
+
313  RATE_MCS_6 = 20,
+
314  RATE_MCS_7 = 21,
+
315  MAX_NUM_RATES = 0xFF
+
316 }SlRateIndex_e;
+
317 
+
318 typedef enum {
+
319  DEV_PW_DEFAULT=0,
+
320  DEV_PW_PIN_KEYPAD=1,
+
321  DEV_PW_PUSH_BUTTON=4,
+
322  DEV_PW_PIN_DISPLAY=5
+
323 } sl_p2p_dev_password_method;
+
324 
+
325 
+
326 typedef struct
+
327 {
+
328  _u32 status;
+
329  _u32 ssid_len;
+
330  _u8 ssid[32];
+
331  _u32 private_token_len;
+
332  _u8 private_token[32];
+ +
334 
+
335 typedef struct
+
336 {
+
337  _u16 status;
+
338  _u16 padding;
+ +
340 
+
341 typedef struct
+
342 {
+
343  _u16 status;
+
344  _u16 padding;
+ +
346 
+
347 typedef struct
+
348 {
+
349  _u8 connection_type;/* 0-STA,3-P2P_CL */
+
350  _u8 ssid_len;
+
351  _u8 ssid_name[32];
+
352  _u8 go_peer_device_name_len;
+
353  _u8 go_peer_device_name[32];
+
354  _u8 bssid[6];
+
355  _u8 reason_code;
+
356  _u8 padding[2];
+ +
358 
+
359 typedef struct
+
360 {
+
361  _u8 go_peer_device_name[32];
+
362  _u8 mac[6];
+
363  _u8 go_peer_device_name_len;
+
364  _u8 wps_dev_password_id;
+
365  _u8 own_ssid[32];/* relevant for event sta-connected only */
+
366  _u8 own_ssid_len;/* relevant for event sta-connected only */
+
367  _u8 padding[3];
+ +
369 
+
370 
+
371 typedef union
+
372 {
+
373  slSmartConfigStartAsyncResponse_t smartConfigStartResponse; /*SL_WLAN_SMART_CONFIG_COMPLETE_EVENT*/
+
374  slSmartConfigStopAsyncResponse_t smartConfigStopResponse; /*SL_WLAN_SMART_CONFIG_STOP_EVENT */
+
375  slPeerInfoAsyncResponse_t APModeStaConnected; /* SL_WLAN_STA_CONNECTED_EVENT - relevant only in AP mode - holds information regarding a new STA connection */
+
376  slPeerInfoAsyncResponse_t APModestaDisconnected; /* SL_WLAN_STA_DISCONNECTED_EVENT - relevant only in AP mode - holds information regarding a STA disconnection */
+
377  slWlanConnectAsyncResponse_t STAandP2PModeWlanConnected; /* SL_WLAN_CONNECT_EVENT - relevant only in STA and P2P mode - holds information regarding a new connection */
+
378  slWlanConnectAsyncResponse_t STAandP2PModeDisconnected; /* SL_WLAN_DISCONNECT_EVENT - relevant only in STA and P2P mode - holds information regarding a disconnection */
+
379  slPeerInfoAsyncResponse_t P2PModeDevFound; /* SL_WLAN_P2P_DEV_FOUND_EVENT - relevant only in P2P mode */
+
380  slPeerInfoAsyncResponse_t P2PModeNegReqReceived; /* SL_WLAN_P2P_NEG_REQ_RECEIVED_EVENT - relevant only in P2P mode */
+
381  slWlanConnFailureAsyncResponse_t P2PModewlanConnectionFailure; /* SL_WLAN_CONNECTION_FAILED_EVENT - relevant only in P2P mode */
+
382 
+ +
384 
+
385 typedef struct
+
386 {
+
387  _u32 Event;
+
388  SlWlanEventData_u EventData;
+
389 } SlWlanEvent_t;
+
390 
+
391 
+
392 typedef struct
+
393 {
+
394  _u32 ReceivedValidPacketsNumber; /* sum of the packets that been received OK (include filtered) */
+
395  _u32 ReceivedFcsErrorPacketsNumber; /* sum of the packets that been dropped due to FCS error */
+
396  _u32 ReceivedAddressMismatchPacketsNumber; /* sum of the packets that been received but filtered out by one of the HW filters */
+
397  _i16 AvarageDataCtrlRssi; /* average RSSI for all valid data packets received */
+
398  _i16 AvarageMgMntRssi; /* average RSSI for all valid management packets received */
+
399  _u16 RateHistogram[NUM_OF_RATE_INDEXES]; /* rate histogram for all valid packets received */
+
400  _u16 RssiHistogram[SIZE_OF_RSSI_HISTOGRAM]; /* RSSI histogram from -40 until -87 (all below and above\n RSSI will appear in the first and last cells */
+
401  _u32 StartTimeStamp; /* the time stamp started collecting the statistics in uSec */
+
402  _u32 GetTimeStamp; /* the time stamp called the get statistics command */
+ +
404 
+
405 
+
406 typedef struct
+
407 {
+
408  _u8 ssid[MAXIMAL_SSID_LENGTH];
+
409  _u8 ssid_len;
+
410  _u8 sec_type;
+
411  _u8 bssid[SL_BSSID_LENGTH];
+
412  _i8 rssi;
+
413  _i8 reserved[3];
+ +
415 
+
416 
+
417 typedef struct
+
418 {
+
419  _u8 Type;
+
420  _i8* Key;
+
421  _u8 KeyLen;
+ +
423 
+
424 typedef struct
+
425 {
+
426  _i8* User;
+
427  _u8 UserLen;
+
428  _i8* AnonUser;
+
429  _u8 AnonUserLen;
+
430  _u8 CertIndex; /* not supported */
+
431  _u32 EapMethod;
+ +
433 
+
434 typedef struct
+
435 {
+
436  _i8 User[32];
+
437  _u8 UserLen;
+
438  _i8 AnonUser[32];
+
439  _u8 AnonUserLen;
+
440  _u8 CertIndex; /* not supported */
+
441  _u32 EapMethod;
+ +
443 
+
444 typedef enum
+
445 {
+
446  ROLE_STA = 0,
+
447  ROLE_AP = 2,
+
448  ROLE_P2P = 3,
+
449  ROLE_STA_ERR = -1, /* Failure to load MAC/PHY in STA role */
+
450  ROLE_AP_ERR = -ROLE_AP, /* Failure to load MAC/PHY in AP role */
+
451  ROLE_P2P_ERR = -ROLE_P2P /* Failure to load MAC/PHY in P2P role */
+
452 }SlWlanMode_t;
+
453 
+
454 typedef struct
+
455 {
+
456  _u32 G_Channels_mask;
+
457  _i32 rssiThershold;
+ +
459 
+
460 
+
461 typedef struct
+
462 {
+
463  _u8 id;
+
464  _u8 oui[3];
+
465  _u16 length;
+
466  _u8 data[252];
+ +
468 
+
469 typedef struct
+
470 {
+
471  _u8 index; /* 0 - MAX_PRIVATE_INFO_ELEMENTS_SUPPROTED */
+
472  _u8 role; /* bit0: AP = 0, GO = 1 */
+ + +
475 
+
476 
+
477 /*****************************************************************************/
+
478 /* Function prototypes */
+
479 /*****************************************************************************/
+
480 
+
481 
+
507 #if _SL_INCLUDE_FUNC(sl_WlanConnect)
+
508 _i16 sl_WlanConnect(const _i8* pName,const _i16 NameLen,const _u8 *pMacAddr,const SlSecParams_t* pSecParams ,const SlSecParamsExt_t* pSecExtParams);
+
509 #endif
+
510 
+
522 #if _SL_INCLUDE_FUNC(sl_WlanDisconnect)
+
523 _i16 sl_WlanDisconnect(void);
+
524 #endif
+
525 
+
564 #if _SL_INCLUDE_FUNC(sl_WlanProfileAdd)
+
565 _i16 sl_WlanProfileAdd(const _i8* pName,const _i16 NameLen,const _u8 *pMacAddr,const SlSecParams_t* pSecParams ,const SlSecParamsExt_t* pSecExtParams,const _u32 Priority,const _u32 Options);
+
566 #endif
+
567 
+
596 #if _SL_INCLUDE_FUNC(sl_WlanProfileGet)
+
597 _i16 sl_WlanProfileGet(const _i16 Index,_i8* pName, _i16 *pNameLen, _u8 *pMacAddr, SlSecParams_t* pSecParams, SlGetSecParamsExt_t* pSecExtParams, _u32 *pPriority);
+
598 #endif
+
599 
+
615 #if _SL_INCLUDE_FUNC(sl_WlanProfileDel)
+
616 _i16 sl_WlanProfileDel(const _i16 Index);
+
617 #endif
+
618 
+
684 #if _SL_INCLUDE_FUNC(sl_WlanPolicySet)
+
685 _i16 sl_WlanPolicySet(const _u8 Type , const _u8 Policy, _u8 *pVal,const _u8 ValLen);
+
686 #endif
+
687 
+
707 #if _SL_INCLUDE_FUNC(sl_WlanPolicyGet)
+
708 _i16 sl_WlanPolicyGet(const _u8 Type , _u8 Policy,_u8 *pVal,_u8 *pValLen);
+
709 #endif
+
710 
+
738 #if _SL_INCLUDE_FUNC(sl_WlanGetNetworkList)
+
739 _i16 sl_WlanGetNetworkList(const _u8 Index,const _u8 Count, Sl_WlanNetworkEntry_t *pEntries);
+
740 #endif
+
741 
+
777 #if _SL_INCLUDE_FUNC(sl_WlanRxStatStart)
+
778 _i16 sl_WlanRxStatStart(void);
+
779 #endif
+
780 
+
781 
+
791 #if _SL_INCLUDE_FUNC(sl_WlanRxStatStop)
+
792 _i16 sl_WlanRxStatStop(void);
+
793 #endif
+
794 
+
795 
+
807 #if _SL_INCLUDE_FUNC(sl_WlanRxStatGet)
+
808 _i16 sl_WlanRxStatGet(SlGetRxStatResponse_t *pRxStat,const _u32 Flags);
+
809 #endif
+
810 
+
811 
+
826 #if _SL_INCLUDE_FUNC(sl_WlanSmartConfigStop)
+
827 _i16 sl_WlanSmartConfigStop(void);
+
828 #endif
+
829 
+
877 #if _SL_INCLUDE_FUNC(sl_WlanSmartConfigStart)
+
878 _i16 sl_WlanSmartConfigStart(const _u32 groupIdBitmask,
+
879  const _u8 cipher,
+
880  const _u8 publicKeyLen,
+
881  const _u8 group1KeyLen,
+
882  const _u8 group2KeyLen,
+
883  const _u8* publicKey,
+
884  const _u8* group1Key,
+
885  const _u8* group2Key);
+
886 #endif
+
887 
+
888 
+
911 #if _SL_INCLUDE_FUNC(sl_WlanSetMode)
+
912 _i16 sl_WlanSetMode(const _u8 mode);
+
913 #endif
+
914 
+
915 
+
1109 #if _SL_INCLUDE_FUNC(sl_WlanSet)
+
1110 _i16 sl_WlanSet(const _u16 ConfigId ,const _u16 ConfigOpt,const _u16 ConfigLen,const _u8 *pValues);
+
1111 #endif
+
1112 
+
1292 #if _SL_INCLUDE_FUNC(sl_WlanGet)
+
1293 _i16 sl_WlanGet(const _u16 ConfigId, _u16 *pConfigOpt,_u16 *pConfigLen, _u8 *pValues);
+
1294 #endif
+
1295 
+
1303 #ifdef __cplusplus
+
1304 }
+
1305 #endif /* __cplusplus */
+
1306 
+
1307 #endif /* __WLAN_H__ */
+
1308 
+
+
+ + + + diff --git a/docs/simplelink_api/html/wlan__rx__filters_8h_source.html b/docs/simplelink_api/html/wlan__rx__filters_8h_source.html index 72b62f4..f02789a 100644 --- a/docs/simplelink_api/html/wlan__rx__filters_8h_source.html +++ b/docs/simplelink_api/html/wlan__rx__filters_8h_source.html @@ -1,766 +1,726 @@ - - - - - - -CC32XX SimpleLink Host Driver: wlan_rx_filters.h Source File - - - - - - - - - - - - - -
-
- - - - - - - -
-
CC32XX SimpleLink Host Driver -  1.0.0.1 -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
-
-
wlan_rx_filters.h
-
-
-
1 /*
-
2  * wlan_rx_filters.h - CC31xx/CC32xx Host Driver Implementation
-
3  *
-
4  * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
-
5  *
-
6  *
-
7  * Redistribution and use in source and binary forms, with or without
-
8  * modification, are permitted provided that the following conditions
-
9  * are met:
-
10  *
-
11  * Redistributions of source code must retain the above copyright
-
12  * notice, this list of conditions and the following disclaimer.
-
13  *
-
14  * Redistributions in binary form must reproduce the above copyright
-
15  * notice, this list of conditions and the following disclaimer in the
-
16  * documentation and/or other materials provided with the
-
17  * distribution.
-
18  *
-
19  * Neither the name of Texas Instruments Incorporated nor the names of
-
20  * its contributors may be used to endorse or promote products derived
-
21  * from this software without specific prior written permission.
-
22  *
-
23  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-
24  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-
25  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-
26  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-
27  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-
28  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-
29  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-
30  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-
31  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-
32  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-
33  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
34  *
-
35 */
-
36 
-
37 #ifndef RX_FILTERS_PREPROCESSOR_CLI_IF_H_
-
38 #define RX_FILTERS_PREPROCESSOR_CLI_IF_H_
-
39 
-
40 
-
41 /*****************************************************************************/
-
42 /* Include files */
-
43 /*****************************************************************************/
-
44 #include "simplelink.h"
-
45 
-
46 #ifdef __cplusplus
-
47 extern "C" {
-
48 #endif
-
49 
-
50 
-
51 /*****************************************************************************/
-
52 /* Macro declarations */
-
53 /*****************************************************************************/
-
54 
-
59 #define SL_RX_FILTER_MAX_FILTERS 64
-
60 
-
65 #define SL_RX_FILTER_MAX_PRE_PREPARED_FILTERS_SETS (32)
-
66 
-
70 #define SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS (2)
-
71 
-
75 #define SL_RX_FILTER_NUM_OF_FILTER_PAYLOAD_ARGS (2)
-
76 
-
80 #define SL_RX_FILTER_NUM_OF_COMBINATION_TYPE_ARGS (2)
-
81 
-
85 #define SL_RX_FILTER_LENGTH_OF_REGX_PATTERN_LENGTH (32)
-
86 
-
87 
-
88 /* List of possible error numbers */
-
89 #define RXFL_OK (0) /* O.K */
-
90 #define RXFL_OUTPUT_OR_INPUT_BUFFER_LENGTH_TOO_SMALL (76) /* ! The output buffer length is smaller than required for that operation */
-
91 #define RXFL_DEPENDENT_FILTER_SOFTWARE_FILTER_NOT_FIT (75) /* Node filter can't be child of software filter and vice_versa */
-
92 #define RXFL_DEPENDENCY_IS_NOT_PERSISTENT (74) /* Dependency filter is not persistent */
-
93 #define RXFL_SYSTEM_STATE_NOT_SUPPORTED_FOR_THIS_FILTER (72) /* System state is not supported */
-
94 #define RXFL_TRIGGER_USE_REG5_TO_REG8 (71) /* Only counters 5 - 8 are allowed, for Tigger */
-
95 #define RXFL_TRIGGER_USE_REG1_TO_REG4 (70) /* Only counters 1 - 4 are allowed, for trigger */
-
96 #define RXFL_ACTION_USE_REG5_TO_REG8 (69) /* Only counters 5 - 8 are allowed, for action */
-
97 #define RXFL_ACTION_USE_REG1_TO_REG4 (68) /* Only counters 1 - 4 are allowed, for action */
-
98 #define RXFL_FIELD_SUPPORT_ONLY_EQUAL_AND_NOTEQUAL (67) /* Rule compare function Id is out of range */
-
99 #define RXFL_WRONG_MULTICAST_BROADCAST_ADDRESS (66) /* The address should be of type mutlicast or broadcast */
-
100 #define RXFL_THE_FILTER_IS_NOT_OF_HEADER_TYPE (65) /* The filter should be of header type */
-
101 #define RXFL_WRONG_COMPARE_FUNC_FOR_BROADCAST_ADDRESS (64) /* The compare funcion is not suitable for broadcast address */
-
102 #define RXFL_WRONG_MULTICAST_ADDRESS (63) /* The address should be of muticast type */
-
103 #define RXFL_DEPENDENT_FILTER_IS_NOT_PERSISTENT (62) /* The dependency filter is not persistent */
-
104 #define RXFL_DEPENDENT_FILTER_IS_NOT_ENABLED (61) /* The dependency filter is not enabled */
-
105 #define RXFL_FILTER_HAS_CHILDS (60) /* The filter has childs and can't be removed */
-
106 #define RXFL_CHILD_IS_ENABLED (59) /* Can't disable filter while the child is enabled */
-
107 #define RXFL_DEPENDENCY_IS_DISABLED (58) /* Can't enable filetr in case its depndency filter is disabled */
-
108 #define RXFL_NUMBER_OF_CONNECTION_POINTS_EXCEEDED (52) /* Number of connection points exceeded */
-
109 #define RXFL_DEPENDENT_FILTER_DEPENDENCY_ACTION_IS_DROP (51) /* The dependent filter has Drop action, thus the filter can't be created */
-
110 #define RXFL_FILTER_DO_NOT_EXISTS (50) /* The filter doesn't exists */
-
111 #define RXFL_DEPEDENCY_NOT_ON_THE_SAME_LAYER (49) /* The filter and its dependency must be on the same layer */
-
112 #define RXFL_NUMBER_OF_ARGS_EXCEEDED (48) /* Number of arguments excceded */
-
113 #define RXFL_ACTION_NO_REG_NUMBER (47) /* Action require counter number */
-
114 #define RXFL_DEPENDENT_FILTER_LAYER_DO_NOT_FIT (46) /* the filter and its dependency should be from the same layer */
-
115 #define RXFL_DEPENDENT_FILTER_SYSTEM_STATE_DO_NOT_FIT (45) /* The filter and its dependency system state don't fit */
-
116 #define RXFL_DEPENDENT_FILTER_DO_NOT_EXIST_2 (44) /* The parent filter don't exist */
-
117 #define RXFL_DEPENDENT_FILTER_DO_NOT_EXIST_1 (43) /* The parent filter is null */
-
118 #define RXFL_RULE_HEADER_ACTION_TYPE_NOT_SUPPORTED (42) /* The action type is not supported */
-
119 #define RXFL_RULE_HEADER_TRIGGER_COMPARE_FUNC_OUT_OF_RANGE (41) /* The Trigger comparision function is out of range */
-
120 #define RXFL_RULE_HEADER_TRIGGER_OUT_OF_RANGE (40) /* The Trigger is out of range */
-
121 #define RXFL_RULE_HEADER_COMPARE_FUNC_OUT_OF_RANGE (39) /* The rule compare function is out of range */
-
122 #define RXFL_FRAME_TYPE_NOT_SUPPORTED (38) /* ASCII frame type string is illegal */
-
123 #define RXFL_RULE_FIELD_ID_NOT_SUPPORTED (37) /* Rule field ID is out of range */
-
124 #define RXFL_RULE_HEADER_FIELD_ID_ASCII_NOT_SUPPORTED (36) /* This ASCII field ID is not supported */
-
125 #define RXFL_RULE_HEADER_NOT_SUPPORTED (35) /* The header rule is not supported on current release */
-
126 #define RXFL_RULE_HEADER_OUT_OF_RANGE (34) /* The header rule is out of range */
-
127 #define RXFL_RULE_HEADER_COMBINATION_OPERATOR_OUT_OF_RANGE (33) /* Combination function Id is out of ramge */
-
128 #define RXFL_RULE_HEADER_FIELD_ID_OUT_OF_RANGE (32) /* rule field Id is out of range */
-
129 #define RXFL_UPDATE_NOT_SUPPORTED (31) /* Update not supported */
-
130 #define RXFL_NO_FILTERS_ARE_DEFINED (24) /* No filters are defined in the system */
-
131 #define RXFL_NUMBER_OF_FILTER_EXCEEDED (23) /* Number of max filters excceded */
-
132 
-
133 
-
134 /******************************************************************************/
-
135 /* Type declarations */
-
136 /******************************************************************************/
-
137 
-
144 typedef _i8 SlrxFilterID_t;
-
145 
-
146 
-
151 typedef _u8 SlrxFilterCompareMask_t;
-
152 
-
160 typedef _u8 SlrxFilterIdMask_t[128/8];
-
161 
-
166 typedef _u8 SlrxFilterPrePreparedFilters_t;
-
167 #define SL_ARP_AUTO_REPLY_PRE_PREPARED_FILTERS (0)
-
168 #define SL_MULTICASTSIPV4_DROP_PREPREPARED_FILTERS (1)
-
169 #define SL_MULTICASTSIPV6_DROP_PREPREPARED_FILTERS (2)
-
170 #define SL_MULTICASTSWIFI_DROP_PREPREPARED_FILTERS (3)
-
171 
-
172 
-
173 
-
180 typedef _u8 SlrxFilterPrePreparedFiltersMask_t[SL_RX_FILTER_MAX_PRE_PREPARED_FILTERS_SETS/8];
-
181 
-
182 
- -
188 {
-
189  _u8 x[SL_RX_FILTER_LENGTH_OF_REGX_PATTERN_LENGTH];
- -
191 
-
192 
-
197 typedef _u8 SlrxFilterAsciiArg_t;
-
198 
-
199 
-
203 typedef _u8 SlrxFilterBinaryArg_t ;
-
204 
-
205 
-
212 typedef _u8 SlrxFilterActionArg_t ;
-
213 
-
214 
-
215 
-
220 typedef _u32 SlrxFilterOffset_t;
-
221 
-
222 
-
223 
-
228 typedef _u8 SlrxFilterRuleType_t;
-
229 /* possible values for SlrxFilterRuleType_t */
-
230 #define HEADER (0)
-
231 #define COMBINATION (1)
-
232 #define EXACT_PATTERN (2)
-
233 #define LIKELIHOOD_PATTERN (3)
-
234 #define ALWAYS_TRUE (4)
-
235 #define NUM_OF_FILTER_TYPES (5)
-
236 
-
237 
-
243 #define RX_FILTER_BINARY (0x1)
-
244 #define RX_FILTER_PERSISTENT (0x8)
-
245 #define RX_FILTER_ENABLE (0x10)
-
246 
-
247 typedef union SlrxFilterFlags_t
-
248 {
-
249 
-
250  /* struct
-
251  { */
-
256  /* _u8 Binary: 1; */
-
260  /* _u8 AutoSort : 1; */
-
264  /* _u8 AutoFaultDetect : 1; */
-
268  /* _u8 Enabled : 1; */
-
269  /* _u8 padding : 3; */
-
270  /*
-
271  };*/
-
272 
- -
274 
- -
276 
-
281 typedef _u8 SlrxFilterCompareFunction_t;
-
282 /* Possible values for SlrxFilterCompareFunction_t */
-
283 #define COMPARE_FUNC_IN_BETWEEN (0)
-
284 #define COMPARE_FUNC_EQUAL (1)
-
285 #define COMPARE_FUNC_NOT_EQUAL_TO (2)
-
286 #define COMPARE_FUNC_NOT_IN_BETWEEN (3)
-
287 #define COMPARE_FUNC_NUM_OF_FILTER_COMPARE_FUNC (4)
-
288 
-
293 typedef _u8 SlrxTriggerCompareFunction_t;
-
294 /* Possible values for SlrxTriggerCompareFunction_t */
-
295 #define TRIGGER_COMPARE_FUNC_EQUAL (0)
-
296 /* arg1 == protocolVal ,not supported in current release */
-
297 #define TRIGGER_COMPARE_FUNC_NOT_EQUAL_TO (1)
-
298 /* arg1 == protocolVal */
-
299 #define TRIGGER_COMPARE_FUNC_SMALLER_THAN (2)
-
300 /* arg1 == protocolVal */
-
301 #define TRIGGER_COMPARE_FUNC_BIGGER_THAN (3)
-
302 /* definition */
-
303 #define TRIGGER_COMPARE_FUNC_NUM_OF_FILTER_COMPARE_FUNC (4)
-
304 
-
305 
-
310 typedef _u8 SlrxFilterHdrField_t;
-
311 /* Possible values for SlrxFilterHdrField_t */
-
312 #define NULL_FIELD_ID_TYPE (0)
-
313 /* 802.11 control\data\management */
-
314 #define FRAME_TYPE_FIELD (1)
-
315 /* 802.11 beacon\probe\.. */
-
316 #define FRAME_SUBTYPE_FIELD (2)
-
317  /* 802.11 bssid type */
-
318 #define BSSID_FIELD (3)
-
319  /* */
-
320 #define MAC_SRC_ADDRESS_FIELD (4)
-
321  /* */
-
322 #define MAC_DST_ADDRESS_FIELD (5)
-
323 /* */
-
324 #define FRAME_LENGTH_FIELD (6)
-
325 /* */
-
326 #define PROTOCOL_TYPE_FIELD (7)
-
327  /* */
-
328 #define IP_VERSION_FIELD (8)
-
329  /* TCP / UDP */
-
330 #define IP_PROTOCOL_FIELD (9)
-
331  /* */
-
332 #define IPV4_SRC_ADRRESS_FIELD (10)
-
333 /* */
-
334 #define IPV4_DST_ADDRESS_FIELD (11)
-
335 /* */
-
336 #define IPV6_SRC_ADRRESS_FIELD (12)
-
337 /* */
-
338 #define IPV6_DST_ADDRESS_FIELD (13)
-
339  /* */
-
340 #define SRC_PORT_FIELD (14)
-
341  /* */
-
342 #define DST_PORT_FIELD (15)
-
343  /* Definition */
-
344 #define NUM_OF_FIELD_NAME_FIELD (16)
-
345 
-
349 /* -- 36 bytes */
- -
351 {
-
352  /*----------------------------- Large size ---------------------------------*/
-
358  SlrxFilterBinaryArg_t RxFilterDB16BytesRuleArgs[SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][16 ]; /* Binary Values for comparition */
-
364  /*----------------------------- Medium size ---------------------------------*/
-
368  SlrxFilterBinaryArg_t RxFilterDB6BytesRuleArgs[SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][6]; /* Binary Values for comparition */
-
374  SlrxFilterAsciiArg_t RxFilterDB18BytesAsciiRuleArgs[SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][18]; /* Ascii Values for comparison */
-
375  /*----------------------------- Small size ---------------------------------*/
-
380  SlrxFilterBinaryArg_t RxFilterDB4BytesRuleArgs[SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][4]; /* Binary Values for comparison */
-
384  SlrxFilterAsciiArg_t RxFilterDB5BytesRuleAsciiArgs[SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][5]; /* Ascii Values for comparison */
-
385  /*----------------------------- 1 byte size ---------------------------------*/
-
388  SlrxFilterBinaryArg_t RxFilterDB1BytesRuleArgs[SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][1]; /* Binary Values for comparison */
- -
390 
-
391 
-
392 
-
396 /* -- 52 bytes */
- -
398 {
-
400  /* -- 36 byte */
- -
402 
-
406  /* -- 16 bytes */
-
407  SlrxFilterCompareMask_t RuleHeaderArgsMask[16];
-
408 
- -
410 
-
417 /* -- 56 byte */
- -
419 {
-
421  /* -- 52 bytes */
- -
423 
-
425  /* -- 1 byte */
-
426  SlrxFilterHdrField_t RuleHeaderfield;
-
427 
-
428  /* -- 1 byte */
-
432  SlrxFilterCompareFunction_t RuleCompareFunc;
-
433 
-
435  /* -- 2 bytes */
-
436  _u8 RulePadding[2];
-
437 
- -
439 
-
444 /* -- 40 byte */
- -
446 {
-
448  /* -- 32 byte */
- -
451  /* -- 4 byte */
-
452  SlrxFilterOffset_t LowerOffset;
-
454  /* -- 4 byte */
-
455  SlrxFilterOffset_t UpperOffset;
- -
457 
-
462 typedef _u8 SlrxFilterCombinationTypeOperator_t;
-
463 /* Possible values for SlrxFilterCombinationTypeOperator_t */
-
465 #define COMBINED_FUNC_NOT (0)
-
466 
-
467 #define COMBINED_FUNC_AND (1)
-
468 
-
469 #define COMBINED_FUNC_OR (2)
-
470 
-
477 /* -- 4 byte */
- -
479 {
-
480  /* ! combination operator */
-
481  /* -- 1 byte */
-
482  SlrxFilterCombinationTypeOperator_t CombinationTypeOperator;
-
483  /* ! filterID, may be one or two depends on the combination operator type */
-
484  /* -- 2 byte */
-
485  SlrxFilterID_t CombinationFilterId[SL_RX_FILTER_NUM_OF_COMBINATION_TYPE_ARGS];
-
486  /* ! Padding */
-
487  /* -- 1 byte */
-
488  _u8 Padding;
- -
490 
-
491 
-
496 /* -- 56 byte */
-
497 typedef union SlrxFilterRule_t
-
498 {
-
499  /* ! Header type rule , see explanation on the ::SlrxFilterHeaderType_t structure */
-
500  /* -- 56 byte */
-
501  SlrxFilterHeaderType_t HeaderType;
-
502  /* ! Payload rule, not supported in current release */
-
503  /* -- 40 byte */
-
504  SlrxFilterPayloadType_t PayLoadHeaderType; /* future for exact pattern or like hood pattern */
-
505  /* ! Combined type rule , see explanation in ::SlrxFilterCombinationType_t structure */
-
506  /* -- 4 byte */
-
507  SlrxFilterCombinationType_t CombinationType;
- -
509 
-
514 #define RX_FILTER_ROLE_AP (1)
-
515 #define RX_FILTER_ROLE_STA (2)
-
516 #define RX_FILTER_ROLE_PROMISCUOUS (4)
-
517 #define RX_FILTER_ROLE_NULL (0)
-
518 
- -
520 {
-
521 /* struct */
-
522 /* { */
-
523 /* _u8 RoleAP :1; */
-
524 /* _u8 RoleStation :1; */
-
525  /* The filter is activated only in Promiscuous mode */
-
526 /* _u8 PromiscuousMode :1; */
-
527 /* _u8 RoleReserved :5; */
-
528 /* }; */
-
529  /* ! Bit fiels of the Filter role */
-
530  _u8 IntRepresentation;
-
531 
- -
533 
-
538 #define RX_FILTER_CONNECTION_STATE_STA_CONNECTED (1)
-
539 #define RX_FILTER_CONNECTION_STATE_STA_NOT_CONNECTED (2)
-
540 #define RX_FILTER_CONNECTION_STATE_STA_HAS_IP (4)
-
541 #define RX_FILTER_CONNECTION_STATE_STA_HAS_NO_IP (8)
-
542 
- -
544 {
-
545 /* struct */
-
546 /* { */
-
547 /* _u8 RoleStationWiFiConnected :1; */
-
548 /* _u8 RoleStationWiFiDisconneted:1; */
-
549 /* _u8 RoleStationWiFiHasIp:1; */
-
550 /* _u8 RoleStationWiFiHasNoIp:1; */
-
551 /* _u8 RoleStationWiFiSocketOpened:1; */
-
552 /* _u8 RoleStationWiFiSocketclosed:1; */
-
553 /* }; */
-
554 /* */
-
555  /* ! */
-
556  _u8 IntRepresentation;
-
557 
- -
559 
-
567 typedef _u32 SlrxFilterDBTriggerArg_t;
-
568 
-
569 
-
570 
-
574 typedef _u8 SlrxFilterCounterId_t;
-
575 /* Possible values for SlrxFilterCounterId_t */
-
576 #define NO_TRIGGER (0)
-
577 #define RX_FILTER_COUNTER1 (1)
-
578 #define RX_FILTER_COUNTER2 (2)
-
579 #define RX_FILTER_COUNTER3 (3)
-
580 #define RX_FILTER_COUNTER4 (4)
-
581 #define RX_FILTER_COUNTER5 (5)
-
582 #define RX_FILTER_COUNTER6 (6)
-
583 #define RX_FILTER_COUNTER7 (7)
-
584 #define RX_FILTER_COUNTER8 (8)
-
585 #define MAX_RX_FILTER_COUNTER (9)
-
586 
-
587 
-
588 
-
594 typedef _u8 SlrxFilterActionArgs_t;
-
595 /* Possible values for SlrxFilterActionArgs_t */
-
596 #define ACTION_ARG_REG_1_4 (0)
-
597  /* ! Can be use as counter */
-
598 #define ACTION_ARG_TEMPLATE (1)
-
599  /* ! Can be use as counter */
-
600 #define ACTION_ARG_EVENT (2)
-
601 
-
602 /* ! GPIO number */
-
603 #define ACTION_ARG_GPIO (4)
-
604 
-
608 #define SL_RX_FILTER_NUM_OF_BYTES_FOR_ACTIONS_ARGS (5)
-
609 
-
610 
-
611 
-
612 
-
621 /* -- 12 byte */
-
622 typedef struct SlrxFilterTrigger_t
-
623 {
-
625  /* NULL value means tree root.
-
626  */
-
627  /* -- 1 byte */
-
628  SlrxFilterID_t ParentFilterID;
-
629  /* ! See ::SlrxFilterCounterId_t explanation */
-
630  /* -- 1 byte */
-
631  SlrxFilterCounterId_t Trigger;
-
632  /* ! See :: SlrxFilterTriggerConnectionStates_t */
-
633  /* -- 1 byte */
-
634  SlrxFilterTriggerConnectionStates_t TriggerArgConnectionState;
-
635  /* ! See ::SlrxFilterTriggerRoles_t */
-
636  /* -- 1 byte */
-
637  SlrxFilterTriggerRoles_t TriggerArgRoleStatus;
-
638  /* ! The Trigger arguments are in the same order as the Trigger bit field order. */
-
639  /* -- 4 byte */
-
640  SlrxFilterDBTriggerArg_t TriggerArg;
-
645  /* -- 1 byte */
-
646  SlrxTriggerCompareFunction_t TriggerCompareFunction;
-
647 
-
648  /* ! padding */
-
649  /* -- 3 byte */
-
650  _u8 Padding[3];
- -
652 
-
660 #define RX_FILTER_ACTION_NULL (0x0)
-
661 #define RX_FILTER_ACTION_DROP (0x1)
-
662 #define RX_FILTER_ACTION_GPIO (0x2)
-
663 #define RX_FILTER_ACTION_ON_REG_INCREASE (0x4)
-
664 #define RX_FILTER_ACTION_ON_REG_DECREASE (0x8)
-
665 #define RX_FILTER_ACTION_ON_REG_RESET (0x10)
-
666 #define RX_FILTER_ACTION_SEND_TEMPLATE (0x20) /* unsupported */
-
667 #define RX_FILTER_ACTION_EVENT_TO_HOST (0x40) /* unsupported */
-
668 
- -
670 {
-
671 /* struct */
-
672 /* { */
-
673  /* ! No action to execute the packet is dropped,drop is always on leaf. */
-
674  /* ! If not dropped ,The packet is passed to the next filter or in case it is the last filter to the host */
-
675 /* _u8 ActionDrop : 1; */
-
676  /* ! Not Supported in the current release */
-
677 /* _u8 ActionGpio : 1; */
-
683 /* _u8 ActionOnREGIncrease : 1; */
-
684 /* _u8 ActionOnREGDecrease : 1; */
-
685 /* _u8 ActionOnREGReset : 1; */
-
686 
-
687  /* ! Not Supported in the current release */
-
688 /* _u8 ActionSendTemplate : 1; */
-
689  /* ! Not Supported in the current release */
-
690 /* _u8 ActionEventToHost: 1; */
-
691 /* _u8 padding: 1; */
-
692 /* }; */
-
693 
- -
695 
- -
697 
-
702 /* -- 8 byte */
-
703 typedef struct SlrxFilterAction_t
-
704 {
-
705  /* -- 1 byte */
-
706  /* ! Determine which actions are supported */
-
707  SlrxFilterActionType_t ActionType;
-
708  /* ! Buffer for the action arguments */
-
717  /* -- 5 byte */
-
718  SlrxFilterActionArg_t ActionArg[SL_RX_FILTER_NUM_OF_BYTES_FOR_ACTIONS_ARGS];
-
719 
-
720  /* ! Padding */
-
721  /* - 2 Bytes */
-
722  _u8 Padding[2];
-
723 
- -
725 
-
726 
-
734 /* 20 bytes */
- -
736 {
-
737  /* -- 16 bytes */
-
738  SlrxFilterIdMask_t FilterIdMask;
-
739  /* 4 bytes */
-
740  _u8 Padding[4];
- -
742 
-
743 
-
744 
-
745 /* -- 56 bytes */
- -
747 {
-
748  /* -- 1 bytes */
-
749  _u8 FilterId;
-
750 
-
751  /* -- 1 bytes */
-
752  /* ! the args representation */
-
753  _u8 BinaryRepresentation;
-
754 
-
755  /* -- 52 byte */
-
756  SlrxFilterRuleHeaderArgsAndMask_t FilterRuleHeaderArgsAndMask;
-
757 
-
758  /* -- 2 bytes */
-
759  _u8 Padding[2];
- -
761 
-
762 
-
767 /* -- 16 bytes */
- -
769 {
-
770 
-
771  /* ! the filter set bit map */
-
772  /* -- 16 bytes */
-
773  SlrxFilterIdMask_t FilterIdMask;
-
774 
- -
776 
-
777 
- -
783 {
-
784  /* ! the filter set bit map */
-
785  /* -- 4 bytes */
-
786  SlrxFilterPrePreparedFiltersMask_t FilterPrePreparedFiltersMask;
-
787 
- -
789 
-
790 
-
794 /*-- 4 bytes */
- -
796 {
-
797  /* -- 4 bytes */
-
798  /* ! the filter set bit map */
-
799  SlrxFilterPrePreparedFiltersMask_t FilterPrePreparedFiltersMask;
-
800 
- -
802 
-
803 
-
804 
-
805 typedef _u8 SLrxFilterOperation_t;
-
806 #define SL_ENABLE_DISABLE_RX_FILTER (0)
-
807 #define SL_REMOVE_RX_FILTER (1)
-
808 #define SL_STORE_RX_FILTERS (2)
-
809 #define SL_UPDATE_RX_FILTER_ARGS (3)
-
810 #define SL_FILTER_RETRIEVE_ENABLE_STATE (4)
-
811 #define SL_FILTER_PRE_PREPARED_RETRIEVE_CREATE_REMOVE_STATE (5)
-
812 #define SL_FILTER_PRE_PREPARED_SET_CREATE_REMOVE_STATE (6)
-
813 
-
814 
-
815 /* Bit manipulation for 8 bit */
-
816 #define ISBITSET8(x,i) ((x[i>>3] & (0x80>>(i&7)))!=0) /* < Is bit set, 8 bit unsigned numbers = x , location = i */
-
817 #define SETBIT8(x,i) x[i>>3]|=(0x80>>(i&7)); /* < Set bit,8 bit unsigned numbers = x , location = i */
-
818 #define CLEARBIT8(x,i) x[i>>3]&=(0x80>>(i&7))^0xFF; /* < Clear bit,8 bit unsigned numbers = x , location = i */
-
819 
-
820 
-
821 /*********************************************************************************************/
-
822 /* Function prototypes */
-
823 /*********************************************************************************************/
-
824 
-
845 #if _SL_INCLUDE_FUNC(sl_WlanRxFilterAdd)
-
846 SlrxFilterID_t sl_WlanRxFilterAdd( SlrxFilterRuleType_t RuleType,
-
847  SlrxFilterFlags_t FilterFlags,
-
848  const SlrxFilterRule_t* const Rule,
-
849  const SlrxFilterTrigger_t* const Trigger,
-
850  const SlrxFilterAction_t* const Action,
-
851  SlrxFilterID_t* pFilterId);
-
852 
-
853 #endif
-
854 
-
855 
-
856 
-
857 
-
858 
-
885 #if _SL_INCLUDE_FUNC(sl_WlanRxFilterSet)
-
886 _i16 sl_WlanRxFilterSet( const SLrxFilterOperation_t RxFilterOperation,
-
887  const _u8* const pInputBuffer,
-
888  _u16 InputbufferLength);
-
889 #endif
-
890 
-
910 #if _SL_INCLUDE_FUNC(sl_WlanRxFilterGet)
-
911 _i16 sl_WlanRxFilterGet(const SLrxFilterOperation_t RxFilterOperation,
-
912  _u8* pOutputBuffer,
-
913  _u16 OutputbufferLength);
-
914 #endif
-
915 
-
916 
-
924 #ifdef __cplusplus
-
925 }
-
926 #endif /* __cplusplus */
-
927 
-
928 #endif /* RX_FILTERS_PREPROCESSOR_CLI_IF_H_ */
-
929 
-
930 
-
Definition: wlan_rx_filters.h:397
-
SlrxFilterRegxPattern_t RegxPattern
Definition: wlan_rx_filters.h:449
-
Definition: wlan_rx_filters.h:497
- -
SlrxFilterHeaderArg_t RuleHeaderArgs
Definition: wlan_rx_filters.h:401
-
Definition: wlan_rx_filters.h:782
-
SlrxFilterCompareFunction_t RuleCompareFunc
Definition: wlan_rx_filters.h:432
-
Definition: wlan_rx_filters.h:519
-
SlrxFilterActionArg_t ActionArg[SL_RX_FILTER_NUM_OF_BYTES_FOR_ACTIONS_ARGS]
Definition: wlan_rx_filters.h:718
-
SlrxFilterBinaryArg_t RxFilterDB1BytesRuleArgs[SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][1]
Definition: wlan_rx_filters.h:388
-
Definition: wlan_rx_filters.h:247
-
_u8 IntRepresentation
Definition: wlan_rx_filters.h:694
-
SlrxFilterOffset_t LowerOffset
Definition: wlan_rx_filters.h:452
-
SlrxFilterID_t sl_WlanRxFilterAdd(SlrxFilterRuleType_t RuleType, SlrxFilterFlags_t FilterFlags, const SlrxFilterRule_t *const Rule, const SlrxFilterTrigger_t *const Trigger, const SlrxFilterAction_t *const Action, SlrxFilterID_t *pFilterId)
Adds new filter rule to the system.
-
Definition: wlan_rx_filters.h:418
-
Definition: wlan_rx_filters.h:669
-
Definition: wlan_rx_filters.h:735
-
SlrxFilterBinaryArg_t RxFilterDB4BytesRuleArgs[SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][4]
Definition: wlan_rx_filters.h:380
-
SlrxFilterAsciiArg_t RxFilterDB18BytesAsciiRuleArgs[SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][18]
Definition: wlan_rx_filters.h:374
-
SlrxFilterCompareMask_t RuleHeaderArgsMask[16]
Definition: wlan_rx_filters.h:407
-
Definition: wlan_rx_filters.h:746
-
SlrxTriggerCompareFunction_t TriggerCompareFunction
Definition: wlan_rx_filters.h:646
-
_u8 IntRepresentation
Definition: wlan_rx_filters.h:273
-
SlrxFilterRuleHeaderArgsAndMask_t RuleHeaderArgsAndMask
Definition: wlan_rx_filters.h:422
-
_i16 sl_WlanRxFilterSet(const SLrxFilterOperation_t RxFilterOperation, const _u8 *const pInputBuffer, _u16 InputbufferLength)
Sets parameters to Rx filters.
-
Definition: wlan_rx_filters.h:350
-
SlrxFilterHdrField_t RuleHeaderfield
Definition: wlan_rx_filters.h:426
-
Definition: wlan_rx_filters.h:478
-
Definition: wlan_rx_filters.h:445
-
Definition: wlan_rx_filters.h:703
-
Definition: wlan_rx_filters.h:187
- -
Definition: wlan_rx_filters.h:543
-
SlrxFilterOffset_t UpperOffset
Definition: wlan_rx_filters.h:455
-
_i16 sl_WlanRxFilterGet(const SLrxFilterOperation_t RxFilterOperation, _u8 *pOutputBuffer, _u16 OutputbufferLength)
Gets parameters of Rx filters.
-
SlrxFilterBinaryArg_t RxFilterDB6BytesRuleArgs[SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][6]
Definition: wlan_rx_filters.h:368
-
_u8 RulePadding[2]
Definition: wlan_rx_filters.h:436
-
Definition: wlan_rx_filters.h:622
-
SlrxFilterID_t ParentFilterID
Definition: wlan_rx_filters.h:628
-
SlrxFilterAsciiArg_t RxFilterDB5BytesRuleAsciiArgs[SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][5]
Definition: wlan_rx_filters.h:384
-
SlrxFilterBinaryArg_t RxFilterDB16BytesRuleArgs[SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][16]
Definition: wlan_rx_filters.h:358
-
-
- - - - + + + + + + +CC32XX SimpleLink Host Driver: wlan_rx_filters.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
CC32XX SimpleLink Host Driver +  1.0.0.10 +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
wlan_rx_filters.h
+
+
+
1 /*
+
2  * wlan_rx_filters.h - CC31xx/CC32xx Host Driver Implementation
+
3  *
+
4  * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
+
5  *
+
6  *
+
7  * Redistribution and use in source and binary forms, with or without
+
8  * modification, are permitted provided that the following conditions
+
9  * are met:
+
10  *
+
11  * Redistributions of source code must retain the above copyright
+
12  * notice, this list of conditions and the following disclaimer.
+
13  *
+
14  * Redistributions in binary form must reproduce the above copyright
+
15  * notice, this list of conditions and the following disclaimer in the
+
16  * documentation and/or other materials provided with the
+
17  * distribution.
+
18  *
+
19  * Neither the name of Texas Instruments Incorporated nor the names of
+
20  * its contributors may be used to endorse or promote products derived
+
21  * from this software without specific prior written permission.
+
22  *
+
23  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+
24  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+
25  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+
26  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+
27  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+
28  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+
29  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+
30  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+
31  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+
32  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+
33  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
34  *
+
35 */
+
36 
+
37 
+
38 /*****************************************************************************/
+
39 /* Include files */
+
40 /*****************************************************************************/
+
41 #include "simplelink.h"
+
42 
+
43 #ifndef RX_FILTERS_PREPROCESSOR_CLI_IF_H_
+
44 #define RX_FILTERS_PREPROCESSOR_CLI_IF_H_
+
45 
+
46 
+
47 
+
48 #ifdef __cplusplus
+
49 extern "C" {
+
50 #endif
+
51 
+
52 
+
53 /*****************************************************************************/
+
54 /* Macro declarations */
+
55 /*****************************************************************************/
+
56 
+
61 #define SL_RX_FILTER_MAX_FILTERS 64
+
62 
+
67 #define SL_RX_FILTER_MAX_PRE_PREPARED_FILTERS_SETS (32)
+
68 
+
72 #define SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS (2)
+
73 
+
77 #define SL_RX_FILTER_NUM_OF_FILTER_PAYLOAD_ARGS (2)
+
78 
+
82 #define SL_RX_FILTER_NUM_OF_COMBINATION_TYPE_ARGS (2)
+
83 
+
87 #define SL_RX_FILTER_LENGTH_OF_REGX_PATTERN_LENGTH (32)
+
88 
+
89 
+
90 /* List of possible error numbers */
+
91 #define RXFL_OK (0) /* O.K */
+
92 #define RXFL_OUTPUT_OR_INPUT_BUFFER_LENGTH_TOO_SMALL (76) /* ! The output buffer length is smaller than required for that operation */
+
93 #define RXFL_DEPENDENT_FILTER_SOFTWARE_FILTER_NOT_FIT (75) /* Node filter can't be child of software filter and vice_versa */
+
94 #define RXFL_DEPENDENCY_IS_NOT_PERSISTENT (74) /* Dependency filter is not persistent */
+
95 #define RXFL_SYSTEM_STATE_NOT_SUPPORTED_FOR_THIS_FILTER (72) /* System state is not supported */
+
96 #define RXFL_TRIGGER_USE_REG5_TO_REG8 (71) /* Only counters 5 - 8 are allowed, for Tigger */
+
97 #define RXFL_TRIGGER_USE_REG1_TO_REG4 (70) /* Only counters 1 - 4 are allowed, for trigger */
+
98 #define RXFL_ACTION_USE_REG5_TO_REG8 (69) /* Only counters 5 - 8 are allowed, for action */
+
99 #define RXFL_ACTION_USE_REG1_TO_REG4 (68) /* Only counters 1 - 4 are allowed, for action */
+
100 #define RXFL_FIELD_SUPPORT_ONLY_EQUAL_AND_NOTEQUAL (67) /* Rule compare function Id is out of range */
+
101 #define RXFL_WRONG_MULTICAST_BROADCAST_ADDRESS (66) /* The address should be of type mutlicast or broadcast */
+
102 #define RXFL_THE_FILTER_IS_NOT_OF_HEADER_TYPE (65) /* The filter should be of header type */
+
103 #define RXFL_WRONG_COMPARE_FUNC_FOR_BROADCAST_ADDRESS (64) /* The compare funcion is not suitable for broadcast address */
+
104 #define RXFL_WRONG_MULTICAST_ADDRESS (63) /* The address should be of muticast type */
+
105 #define RXFL_DEPENDENT_FILTER_IS_NOT_PERSISTENT (62) /* The dependency filter is not persistent */
+
106 #define RXFL_DEPENDENT_FILTER_IS_NOT_ENABLED (61) /* The dependency filter is not enabled */
+
107 #define RXFL_FILTER_HAS_CHILDS (60) /* The filter has childs and can't be removed */
+
108 #define RXFL_CHILD_IS_ENABLED (59) /* Can't disable filter while the child is enabled */
+
109 #define RXFL_DEPENDENCY_IS_DISABLED (58) /* Can't enable filetr in case its depndency filter is disabled */
+
110 #define RXFL_NUMBER_OF_CONNECTION_POINTS_EXCEEDED (52) /* Number of connection points exceeded */
+
111 #define RXFL_DEPENDENT_FILTER_DEPENDENCY_ACTION_IS_DROP (51) /* The dependent filter has Drop action, thus the filter can't be created */
+
112 #define RXFL_FILTER_DO_NOT_EXISTS (50) /* The filter doesn't exists */
+
113 #define RXFL_DEPEDENCY_NOT_ON_THE_SAME_LAYER (49) /* The filter and its dependency must be on the same layer */
+
114 #define RXFL_NUMBER_OF_ARGS_EXCEEDED (48) /* Number of arguments excceded */
+
115 #define RXFL_ACTION_NO_REG_NUMBER (47) /* Action require counter number */
+
116 #define RXFL_DEPENDENT_FILTER_LAYER_DO_NOT_FIT (46) /* the filter and its dependency should be from the same layer */
+
117 #define RXFL_DEPENDENT_FILTER_SYSTEM_STATE_DO_NOT_FIT (45) /* The filter and its dependency system state don't fit */
+
118 #define RXFL_DEPENDENT_FILTER_DO_NOT_EXIST_2 (44) /* The parent filter don't exist */
+
119 #define RXFL_DEPENDENT_FILTER_DO_NOT_EXIST_1 (43) /* The parent filter is null */
+
120 #define RXFL_RULE_HEADER_ACTION_TYPE_NOT_SUPPORTED (42) /* The action type is not supported */
+
121 #define RXFL_RULE_HEADER_TRIGGER_COMPARE_FUNC_OUT_OF_RANGE (41) /* The Trigger comparision function is out of range */
+
122 #define RXFL_RULE_HEADER_TRIGGER_OUT_OF_RANGE (40) /* The Trigger is out of range */
+
123 #define RXFL_RULE_HEADER_COMPARE_FUNC_OUT_OF_RANGE (39) /* The rule compare function is out of range */
+
124 #define RXFL_FRAME_TYPE_NOT_SUPPORTED (38) /* ASCII frame type string is illegal */
+
125 #define RXFL_RULE_FIELD_ID_NOT_SUPPORTED (37) /* Rule field ID is out of range */
+
126 #define RXFL_RULE_HEADER_FIELD_ID_ASCII_NOT_SUPPORTED (36) /* This ASCII field ID is not supported */
+
127 #define RXFL_RULE_HEADER_NOT_SUPPORTED (35) /* The header rule is not supported on current release */
+
128 #define RXFL_RULE_HEADER_OUT_OF_RANGE (34) /* The header rule is out of range */
+
129 #define RXFL_RULE_HEADER_COMBINATION_OPERATOR_OUT_OF_RANGE (33) /* Combination function Id is out of ramge */
+
130 #define RXFL_RULE_HEADER_FIELD_ID_OUT_OF_RANGE (32) /* rule field Id is out of range */
+
131 #define RXFL_UPDATE_NOT_SUPPORTED (31) /* Update not supported */
+
132 #define RXFL_NO_FILTERS_ARE_DEFINED (24) /* No filters are defined in the system */
+
133 #define RXFL_NUMBER_OF_FILTER_EXCEEDED (23) /* Number of max filters excceded */
+
134 
+
135 
+
136 /******************************************************************************/
+
137 /* Type declarations */
+
138 /******************************************************************************/
+
139 
+
146 typedef _i8 SlrxFilterID_t;
+
147 
+
148 
+
153 typedef _u8 SlrxFilterCompareMask_t;
+
154 
+
162 typedef _u8 SlrxFilterIdMask_t[128/8];
+
163 
+
168 typedef _u8 SlrxFilterPrePreparedFilters_t;
+
169 #define SL_ARP_AUTO_REPLY_PRE_PREPARED_FILTERS (0)
+
170 #define SL_MULTICASTSIPV4_DROP_PREPREPARED_FILTERS (1)
+
171 #define SL_MULTICASTSIPV6_DROP_PREPREPARED_FILTERS (2)
+
172 #define SL_MULTICASTSWIFI_DROP_PREPREPARED_FILTERS (3)
+
173 
+
174 
+
175 
+
182 typedef _u8 SlrxFilterPrePreparedFiltersMask_t[SL_RX_FILTER_MAX_PRE_PREPARED_FILTERS_SETS/8];
+
183 
+
184 
+ +
190 {
+
191  _u8 x[SL_RX_FILTER_LENGTH_OF_REGX_PATTERN_LENGTH];
+ +
193 
+
194 
+
199 typedef _u8 SlrxFilterAsciiArg_t;
+
200 
+
201 
+
205 typedef _u8 SlrxFilterBinaryArg_t ;
+
206 
+
207 
+
214 typedef _u8 SlrxFilterActionArg_t ;
+
215 
+
216 
+
217 
+
222 typedef _u32 SlrxFilterOffset_t;
+
223 
+
224 
+
225 
+
230 typedef _u8 SlrxFilterRuleType_t;
+
231 /* possible values for SlrxFilterRuleType_t */
+
232 #define HEADER (0)
+
233 #define COMBINATION (1)
+
234 #define EXACT_PATTERN (2)
+
235 #define LIKELIHOOD_PATTERN (3)
+
236 #define ALWAYS_TRUE (4)
+
237 #define NUM_OF_FILTER_TYPES (5)
+
238 
+
239 
+
245 #define RX_FILTER_BINARY (0x1)
+
246 #define RX_FILTER_PERSISTENT (0x8)
+
247 #define RX_FILTER_ENABLE (0x10)
+
248 
+
249 typedef union SlrxFilterFlags_t
+
250 {
+
251 
+
252  /* struct
+
253  { */
+
258  /* _u8 Binary: 1; */
+
262  /* _u8 AutoSort : 1; */
+
266  /* _u8 AutoFaultDetect : 1; */
+
270  /* _u8 Enabled : 1; */
+
271  /* _u8 padding : 3; */
+
272  /*
+
273  };*/
+
274 
+ +
276 
+ +
278 
+
283 typedef _u8 SlrxFilterCompareFunction_t;
+
284 /* Possible values for SlrxFilterCompareFunction_t */
+
285 #define COMPARE_FUNC_IN_BETWEEN (0)
+
286 #define COMPARE_FUNC_EQUAL (1)
+
287 #define COMPARE_FUNC_NOT_EQUAL_TO (2)
+
288 #define COMPARE_FUNC_NOT_IN_BETWEEN (3)
+
289 #define COMPARE_FUNC_NUM_OF_FILTER_COMPARE_FUNC (4)
+
290 
+
295 typedef _u8 SlrxTriggerCompareFunction_t;
+
296 /* Possible values for SlrxTriggerCompareFunction_t */
+
297 #define TRIGGER_COMPARE_FUNC_EQUAL (0)
+
298 /* arg1 == protocolVal ,not supported in current release */
+
299 #define TRIGGER_COMPARE_FUNC_NOT_EQUAL_TO (1)
+
300 /* arg1 == protocolVal */
+
301 #define TRIGGER_COMPARE_FUNC_SMALLER_THAN (2)
+
302 /* arg1 == protocolVal */
+
303 #define TRIGGER_COMPARE_FUNC_BIGGER_THAN (3)
+
304 /* definition */
+
305 #define TRIGGER_COMPARE_FUNC_NUM_OF_FILTER_COMPARE_FUNC (4)
+
306 
+
307 
+
312 typedef _u8 SlrxFilterHdrField_t;
+
313 /* Possible values for SlrxFilterHdrField_t */
+
314 #define NULL_FIELD_ID_TYPE (0)
+
315 /* 802.11 control\data\management */
+
316 #define FRAME_TYPE_FIELD (1)
+
317 /* 802.11 beacon\probe\.. */
+
318 #define FRAME_SUBTYPE_FIELD (2)
+
319  /* 802.11 bssid type */
+
320 #define BSSID_FIELD (3)
+
321  /* */
+
322 #define MAC_SRC_ADDRESS_FIELD (4)
+
323  /* */
+
324 #define MAC_DST_ADDRESS_FIELD (5)
+
325 /* */
+
326 #define FRAME_LENGTH_FIELD (6)
+
327 /* */
+
328 #define PROTOCOL_TYPE_FIELD (7)
+
329  /* */
+
330 #define IP_VERSION_FIELD (8)
+
331  /* TCP / UDP */
+
332 #define IP_PROTOCOL_FIELD (9)
+
333  /* */
+
334 #define IPV4_SRC_ADRRESS_FIELD (10)
+
335 /* */
+
336 #define IPV4_DST_ADDRESS_FIELD (11)
+
337 /* */
+
338 #define IPV6_SRC_ADRRESS_FIELD (12)
+
339 /* */
+
340 #define IPV6_DST_ADDRESS_FIELD (13)
+
341  /* */
+
342 #define SRC_PORT_FIELD (14)
+
343  /* */
+
344 #define DST_PORT_FIELD (15)
+
345  /* Definition */
+
346 #define NUM_OF_FIELD_NAME_FIELD (16)
+
347 
+
351 /* -- 36 bytes */
+ +
353 {
+
354  /*----------------------------- Large size ---------------------------------*/
+
360  SlrxFilterBinaryArg_t RxFilterDB16BytesRuleArgs[SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][16 ]; /* Binary Values for comparition */
+
366  /*----------------------------- Medium size ---------------------------------*/
+
370  SlrxFilterBinaryArg_t RxFilterDB6BytesRuleArgs[SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][6]; /* Binary Values for comparition */
+
376  SlrxFilterAsciiArg_t RxFilterDB18BytesAsciiRuleArgs[SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][18]; /* Ascii Values for comparison */
+
377  /*----------------------------- Small size ---------------------------------*/
+
382  SlrxFilterBinaryArg_t RxFilterDB4BytesRuleArgs[SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][4]; /* Binary Values for comparison */
+
386  SlrxFilterAsciiArg_t RxFilterDB5BytesRuleAsciiArgs[SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][5]; /* Ascii Values for comparison */
+
387  /*----------------------------- 1 byte size ---------------------------------*/
+
390  SlrxFilterBinaryArg_t RxFilterDB1BytesRuleArgs[SL_RX_FILTER_NUM_OF_FILTER_HEADER_ARGS][1]; /* Binary Values for comparison */
+ +
392 
+
393 
+
394 
+
398 /* -- 52 bytes */
+ +
400 {
+
402  /* -- 36 byte */
+ +
404 
+
408  /* -- 16 bytes */
+
409  SlrxFilterCompareMask_t RuleHeaderArgsMask[16];
+
410 
+ +
412 
+
419 /* -- 56 byte */
+ +
421 {
+
423  /* -- 52 bytes */
+ +
425 
+
427  /* -- 1 byte */
+
428  SlrxFilterHdrField_t RuleHeaderfield;
+
429 
+
430  /* -- 1 byte */
+
434  SlrxFilterCompareFunction_t RuleCompareFunc;
+
435 
+
437  /* -- 2 bytes */
+
438  _u8 RulePadding[2];
+
439 
+ +
441 
+
446 /* -- 40 byte */
+ +
448 {
+
450  /* -- 32 byte */
+ +
453  /* -- 4 byte */
+
454  SlrxFilterOffset_t LowerOffset;
+
456  /* -- 4 byte */
+
457  SlrxFilterOffset_t UpperOffset;
+ +
459 
+
464 typedef _u8 SlrxFilterCombinationTypeOperator_t;
+
465 /* Possible values for SlrxFilterCombinationTypeOperator_t */
+
467 #define COMBINED_FUNC_NOT (0)
+
468 
+
469 #define COMBINED_FUNC_AND (1)
+
470 
+
471 #define COMBINED_FUNC_OR (2)
+
472 
+
479 /* -- 4 byte */
+ +
481 {
+
482  /* ! combination operator */
+
483  /* -- 1 byte */
+
484  SlrxFilterCombinationTypeOperator_t CombinationTypeOperator;
+
485  /* ! filterID, may be one or two depends on the combination operator type */
+
486  /* -- 2 byte */
+
487  SlrxFilterID_t CombinationFilterId[SL_RX_FILTER_NUM_OF_COMBINATION_TYPE_ARGS];
+
488  /* ! Padding */
+
489  /* -- 1 byte */
+
490  _u8 Padding;
+ +
492 
+
493 
+
498 /* -- 56 byte */
+
499 typedef union SlrxFilterRule_t
+
500 {
+
501  /* ! Header type rule , see explanation on the ::SlrxFilterHeaderType_t structure */
+
502  /* -- 56 byte */
+
503  SlrxFilterHeaderType_t HeaderType;
+
504  /* ! Payload rule, not supported in current release */
+
505  /* -- 40 byte */
+
506  SlrxFilterPayloadType_t PayLoadHeaderType; /* future for exact pattern or like hood pattern */
+
507  /* ! Combined type rule , see explanation in ::SlrxFilterCombinationType_t structure */
+
508  /* -- 4 byte */
+
509  SlrxFilterCombinationType_t CombinationType;
+ +
511 
+
516 #define RX_FILTER_ROLE_AP (1)
+
517 #define RX_FILTER_ROLE_STA (2)
+
518 #define RX_FILTER_ROLE_PROMISCUOUS (4)
+
519 #define RX_FILTER_ROLE_NULL (0)
+
520 
+ +
522 {
+
523 /* struct */
+
524 /* { */
+
525 /* _u8 RoleAP :1; */
+
526 /* _u8 RoleStation :1; */
+
527  /* The filter is activated only in Promiscuous mode */
+
528 /* _u8 PromiscuousMode :1; */
+
529 /* _u8 RoleReserved :5; */
+
530 /* }; */
+
531  /* ! Bit fiels of the Filter role */
+
532  _u8 IntRepresentation;
+
533 
+ +
535 
+
540 #define RX_FILTER_CONNECTION_STATE_STA_CONNECTED (1)
+
541 #define RX_FILTER_CONNECTION_STATE_STA_NOT_CONNECTED (2)
+
542 #define RX_FILTER_CONNECTION_STATE_STA_HAS_IP (4)
+
543 #define RX_FILTER_CONNECTION_STATE_STA_HAS_NO_IP (8)
+
544 
+ +
546 {
+
547 /* struct */
+
548 /* { */
+
549 /* _u8 RoleStationWiFiConnected :1; */
+
550 /* _u8 RoleStationWiFiDisconneted:1; */
+
551 /* _u8 RoleStationWiFiHasIp:1; */
+
552 /* _u8 RoleStationWiFiHasNoIp:1; */
+
553 /* _u8 RoleStationWiFiSocketOpened:1; */
+
554 /* _u8 RoleStationWiFiSocketclosed:1; */
+
555 /* }; */
+
556 /* */
+
557  /* ! */
+
558  _u8 IntRepresentation;
+
559 
+ +
561 
+
569 typedef _u32 SlrxFilterDBTriggerArg_t;
+
570 
+
571 
+
572 
+
576 typedef _u8 SlrxFilterCounterId_t;
+
577 /* Possible values for SlrxFilterCounterId_t */
+
578 #define NO_TRIGGER (0)
+
579 #define RX_FILTER_COUNTER1 (1)
+
580 #define RX_FILTER_COUNTER2 (2)
+
581 #define RX_FILTER_COUNTER3 (3)
+
582 #define RX_FILTER_COUNTER4 (4)
+
583 #define RX_FILTER_COUNTER5 (5)
+
584 #define RX_FILTER_COUNTER6 (6)
+
585 #define RX_FILTER_COUNTER7 (7)
+
586 #define RX_FILTER_COUNTER8 (8)
+
587 #define MAX_RX_FILTER_COUNTER (9)
+
588 
+
589 
+
590 
+
596 typedef _u8 SlrxFilterActionArgs_t;
+
597 /* Possible values for SlrxFilterActionArgs_t */
+
598 #define ACTION_ARG_REG_1_4 (0)
+
599  /* ! Can be use as counter */
+
600 #define ACTION_ARG_TEMPLATE (1)
+
601  /* ! Can be use as counter */
+
602 #define ACTION_ARG_EVENT (2)
+
603 
+
604 /* ! GPIO number */
+
605 #define ACTION_ARG_GPIO (4)
+
606 
+
610 #define SL_RX_FILTER_NUM_OF_BYTES_FOR_ACTIONS_ARGS (5)
+
611 
+
612 
+
613 
+
614 
+
623 /* -- 12 byte */
+
624 typedef struct SlrxFilterTrigger_t
+
625 {
+
627  /* NULL value means tree root.
+
628  */
+
629  /* -- 1 byte */
+
630  SlrxFilterID_t ParentFilterID;
+
631  /* ! See ::SlrxFilterCounterId_t explanation */
+
632  /* -- 1 byte */
+
633  SlrxFilterCounterId_t Trigger;
+
634  /* ! See :: SlrxFilterTriggerConnectionStates_t */
+
635  /* -- 1 byte */
+
636  SlrxFilterTriggerConnectionStates_t TriggerArgConnectionState;
+
637  /* ! See ::SlrxFilterTriggerRoles_t */
+
638  /* -- 1 byte */
+
639  SlrxFilterTriggerRoles_t TriggerArgRoleStatus;
+
640  /* ! The Trigger arguments are in the same order as the Trigger bit field order. */
+
641  /* -- 4 byte */
+
642  SlrxFilterDBTriggerArg_t TriggerArg;
+
647  /* -- 1 byte */
+
648  SlrxTriggerCompareFunction_t TriggerCompareFunction;
+
649 
+
650  /* ! padding */
+
651  /* -- 3 byte */
+
652  _u8 Padding[3];
+ +
654 
+
662 #define RX_FILTER_ACTION_NULL (0x0)
+
663 #define RX_FILTER_ACTION_DROP (0x1)
+
664 #define RX_FILTER_ACTION_GPIO (0x2)
+
665 #define RX_FILTER_ACTION_ON_REG_INCREASE (0x4)
+
666 #define RX_FILTER_ACTION_ON_REG_DECREASE (0x8)
+
667 #define RX_FILTER_ACTION_ON_REG_RESET (0x10)
+
668 #define RX_FILTER_ACTION_SEND_TEMPLATE (0x20) /* unsupported */
+
669 #define RX_FILTER_ACTION_EVENT_TO_HOST (0x40) /* unsupported */
+
670 
+ +
672 {
+
673 /* struct */
+
674 /* { */
+
675  /* ! No action to execute the packet is dropped,drop is always on leaf. */
+
676  /* ! If not dropped ,The packet is passed to the next filter or in case it is the last filter to the host */
+
677 /* _u8 ActionDrop : 1; */
+
678  /* ! Not Supported in the current release */
+
679 /* _u8 ActionGpio : 1; */
+
685 /* _u8 ActionOnREGIncrease : 1; */
+
686 /* _u8 ActionOnREGDecrease : 1; */
+
687 /* _u8 ActionOnREGReset : 1; */
+
688 
+
689  /* ! Not Supported in the current release */
+
690 /* _u8 ActionSendTemplate : 1; */
+
691  /* ! Not Supported in the current release */
+
692 /* _u8 ActionEventToHost: 1; */
+
693 /* _u8 padding: 1; */
+
694 /* }; */
+
695 
+ +
697 
+ +
699 
+
704 /* -- 8 byte */
+
705 typedef struct SlrxFilterAction_t
+
706 {
+
707  /* -- 1 byte */
+
708  /* ! Determine which actions are supported */
+
709  SlrxFilterActionType_t ActionType;
+
710  /* ! Buffer for the action arguments */
+
719  /* -- 5 byte */
+
720  SlrxFilterActionArg_t ActionArg[SL_RX_FILTER_NUM_OF_BYTES_FOR_ACTIONS_ARGS];
+
721 
+
722  /* ! Padding */
+
723  /* - 2 Bytes */
+
724  _u8 Padding[2];
+
725 
+ +
727 
+
728 
+
736 /* 20 bytes */
+ +
738 {
+
739  /* -- 16 bytes */
+
740  SlrxFilterIdMask_t FilterIdMask;
+
741  /* 4 bytes */
+
742  _u8 Padding[4];
+ +
744 
+
745 
+
746 
+
747 /* -- 56 bytes */
+ +
749 {
+
750  /* -- 1 bytes */
+
751  _u8 FilterId;
+
752 
+
753  /* -- 1 bytes */
+
754  /* ! the args representation */
+
755  _u8 BinaryRepresentation;
+
756 
+
757  /* -- 52 byte */
+
758  SlrxFilterRuleHeaderArgsAndMask_t FilterRuleHeaderArgsAndMask;
+
759 
+
760  /* -- 2 bytes */
+
761  _u8 Padding[2];
+ +
763 
+
764 
+
769 /* -- 16 bytes */
+ +
771 {
+
772 
+
773  /* ! the filter set bit map */
+
774  /* -- 16 bytes */
+
775  SlrxFilterIdMask_t FilterIdMask;
+
776 
+ +
778 
+
779 
+ +
785 {
+
786  /* ! the filter set bit map */
+
787  /* -- 4 bytes */
+
788  SlrxFilterPrePreparedFiltersMask_t FilterPrePreparedFiltersMask;
+
789 
+ +
791 
+
792 
+
796 /*-- 4 bytes */
+ +
798 {
+
799  /* -- 4 bytes */
+
800  /* ! the filter set bit map */
+
801  SlrxFilterPrePreparedFiltersMask_t FilterPrePreparedFiltersMask;
+
802 
+ +
804 
+
805 
+
806 
+
807 typedef _u8 SLrxFilterOperation_t;
+
808 #define SL_ENABLE_DISABLE_RX_FILTER (0)
+
809 #define SL_REMOVE_RX_FILTER (1)
+
810 #define SL_STORE_RX_FILTERS (2)
+
811 #define SL_UPDATE_RX_FILTER_ARGS (3)
+
812 #define SL_FILTER_RETRIEVE_ENABLE_STATE (4)
+
813 #define SL_FILTER_PRE_PREPARED_RETRIEVE_CREATE_REMOVE_STATE (5)
+
814 #define SL_FILTER_PRE_PREPARED_SET_CREATE_REMOVE_STATE (6)
+
815 
+
816 
+
817 /* Bit manipulation for 8 bit */
+
818 #define ISBITSET8(x,i) ((x[i>>3] & (0x80>>(i&7)))!=0) /* < Is bit set, 8 bit unsigned numbers = x , location = i */
+
819 #define SETBIT8(x,i) x[i>>3]|=(0x80>>(i&7)); /* < Set bit,8 bit unsigned numbers = x , location = i */
+
820 #define CLEARBIT8(x,i) x[i>>3]&=(0x80>>(i&7))^0xFF; /* < Clear bit,8 bit unsigned numbers = x , location = i */
+
821 
+
822 
+
823 /*********************************************************************************************/
+
824 /* Function prototypes */
+
825 /*********************************************************************************************/
+
826 
+
847 #if _SL_INCLUDE_FUNC(sl_WlanRxFilterAdd)
+
848 SlrxFilterID_t sl_WlanRxFilterAdd( SlrxFilterRuleType_t RuleType,
+
849  SlrxFilterFlags_t FilterFlags,
+
850  const SlrxFilterRule_t* const Rule,
+
851  const SlrxFilterTrigger_t* const Trigger,
+
852  const SlrxFilterAction_t* const Action,
+
853  SlrxFilterID_t* pFilterId);
+
854 
+
855 #endif
+
856 
+
857 
+
858 
+
859 
+
860 
+
887 #if _SL_INCLUDE_FUNC(sl_WlanRxFilterSet)
+
888 _i16 sl_WlanRxFilterSet( const SLrxFilterOperation_t RxFilterOperation,
+
889  const _u8* const pInputBuffer,
+
890  _u16 InputbufferLength);
+
891 #endif
+
892 
+
912 #if _SL_INCLUDE_FUNC(sl_WlanRxFilterGet)
+
913 _i16 sl_WlanRxFilterGet(const SLrxFilterOperation_t RxFilterOperation,
+
914  _u8* pOutputBuffer,
+
915  _u16 OutputbufferLength);
+
916 #endif
+
917 
+
918 
+
926 #ifdef __cplusplus
+
927 }
+
928 #endif /* __cplusplus */
+
929 
+
930 #endif /* RX_FILTERS_PREPROCESSOR_CLI_IF_H_ */
+
931 
+
932 
+
+
+ + + + diff --git a/examples/.cproject b/examples/.cproject new file mode 100644 index 0000000..4481f1a --- /dev/null +++ b/examples/.cproject @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/.project b/examples/.project new file mode 100644 index 0000000..fcc76ac --- /dev/null +++ b/examples/.project @@ -0,0 +1,26 @@ + + + Dynamic Lib Loader + + + + + + org.eclipse.cdt.managedbuilder.core.genmakebuilder + clean,full,incremental, + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + org.eclipse.cdt.core.cnature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + + diff --git a/examples/.settings/language.settings.xml b/examples/.settings/language.settings.xml new file mode 100644 index 0000000..2783664 --- /dev/null +++ b/examples/.settings/language.settings.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/AES/.cproject b/examples/AES/.cproject index 29ca009..54547f6 100644 --- a/examples/AES/.cproject +++ b/examples/AES/.cproject @@ -47,28 +47,26 @@ @@ -84,7 +82,6 @@ @@ -96,7 +93,7 @@ - +