SimpleLink CC3120/CC3220 Host Driver
Version 2.0.1.15
Simplifies the implementation of Internet connectivity
Main Page
Modules
Data Structures
Files
File List
objInclusion.h
1
/*
2
* Copyright (C) 2016 Texas Instruments Incorporated
3
*
4
* All rights reserved. Property of Texas Instruments Incorporated.
5
* Restricted rights to use, duplicate or disclose this code are
6
* granted through contract.
7
*
8
* The program may not be used without the written permission of
9
* Texas Instruments Incorporated or against the terms and conditions
10
* stipulated in the agreement under which this program has been supplied,
11
* and under no circumstances can it be used with non-TI connectivity device.
12
*
13
*/
14
15
16
#include <ti/drivers/net/wifi/simplelink.h>
17
18
19
#ifndef OBJINCLUSION_H_
20
#define OBJINCLUSION_H_
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
26
/******************************************************************************
27
28
For future use
29
30
*******************************************************************************/
31
32
#define __inln
/* if inline functions requiered: #define __inln inline */
33
34
#define SL_DEVICE
/* Device silo is currently always mandatory */
35
36
37
38
/******************************************************************************
39
40
Qualifiers for package customizations
41
42
*******************************************************************************/
43
44
#if defined (SL_DEVICE)
45
#define __dev 1
46
#else
47
#define __dev 0
48
#endif
49
50
#if defined (SL_DEVICE) && defined (SL_INC_EXT_API)
51
#define __dev__ext 1
52
#else
53
#define __dev__ext 0
54
#endif
55
56
57
#if (!defined (SL_PLATFORM_MULTI_THREADED)) || (!defined (SL_PLATFORM_EXTERNAL_SPAWN))
58
#define __int__spwn 1
59
#else
60
#define __int__spwn 0
61
#endif
62
63
#if defined (SL_INC_NET_APP_PKG)
64
#define __nap 1
65
#else
66
#define __nap 0
67
#endif
68
69
#if defined (SL_INC_NET_APP_PKG) && defined (SL_INC_SOCK_CLIENT_SIDE_API)
70
#define __nap__clt 1
71
#else
72
#define __nap__clt 0
73
#endif
74
75
#if defined (SL_INC_NET_APP_PKG) && defined (SL_INC_EXT_API)
76
#define __nap__ext 1
77
#else
78
#define __nap__ext 0
79
#endif
80
81
#if defined (SL_INC_NET_CFG_PKG)
82
#define __ncg 1
83
#else
84
#define __ncg 0
85
#endif
86
87
#if defined (SL_INC_NET_CFG_PKG) && defined (SL_INC_EXT_API)
88
#define __ncg__ext 1
89
#else
90
#define __ncg__ext 0
91
#endif
92
93
#if defined (SL_INC_NVMEM_PKG)
94
#define __nvm 1
95
#else
96
#define __nvm 0
97
#endif
98
99
#if defined (SL_INC_NVMEM_EXT_PKG) && defined (SL_INC_EXT_API)
100
#define __nvm__ext 1
101
#else
102
#define __nvm__ext 0
103
#endif
104
105
#if defined (SL_INC_SOCKET_PKG)
106
#define __sck 1
107
#else
108
#define __sck 0
109
#endif
110
111
#if defined (SL_INC_SOCKET_PKG) && defined (SL_INC_EXT_API)
112
#define __sck__ext 1
113
#else
114
#define __sck__ext 0
115
#endif
116
117
#if defined (SL_INC_SOCKET_PKG) && defined (SL_INC_SOCK_SERVER_SIDE_API)
118
#define __sck__srv 1
119
#else
120
#define __sck__srv 0
121
#endif
122
123
#if defined (SL_INC_SOCKET_PKG) && defined (SL_INC_SOCK_CLIENT_SIDE_API)
124
#define __sck__clt 1
125
#else
126
#define __sck__clt 0
127
#endif
128
129
#if defined (SL_INC_SOCKET_PKG) && defined (SL_INC_SOCK_RECV_API)
130
#define __sck__rcv 1
131
#else
132
#define __sck__rcv 0
133
#endif
134
135
#if defined (SL_INC_SOCKET_PKG) && defined (SL_INC_SOCK_SEND_API)
136
#define __sck__snd 1
137
#else
138
#define __sck__snd 0
139
#endif
140
141
#if defined (SL_INC_WLAN_PKG)
142
#define __wln 1
143
#else
144
#define __wln 0
145
#endif
146
147
#if defined (SL_INC_WLAN_PKG) && defined (SL_INC_EXT_API)
148
#define __wln__ext 1
149
#else
150
#define __wln__ext 0
151
#endif
152
153
/* The return 1 is the function need to be included in the output */
154
#define _SL_INCLUDE_FUNC(Name) (_SL_INC_##Name)
155
156
/* Driver */
157
#define _SL_INC_sl_NetAppStart __nap__ext
158
#define _SL_INC_sl_NetAppStop __nap__ext
159
160
#define _SL_INC_sl_NetAppDnsGetHostByName __nap__clt
161
162
163
#define _SL_INC_sl_NetAppDnsGetHostByService __nap__ext
164
#define _SL_INC_sl_NetAppMDNSRegisterService __nap__ext
165
#define _SL_INC_sl_NetAppMDNSUnRegisterService __nap__ext
166
#define _SL_INC_sl_NetAppGetServiceList __nap__ext
167
168
169
#define _SL_INC_sl_DnsGetHostByAddr __nap__ext
170
#define _SL_INC_sl_NetAppPing __nap__ext
171
#define _SL_INC_sl_NetAppSet __nap__ext
172
#define _SL_INC_sl_NetAppGet __nap__ext
173
#define _SL_INC_sl_NetAppRecv __nap__ext
174
175
#define _SL_INC_sl_NetAppSend __nap__ext
176
177
/* FS */
178
#define _SL_INC_sl_FsOpen __nvm
179
180
#define _SL_INC_sl_FsClose __nvm
181
182
#define _SL_INC_sl_FsRead __nvm
183
184
#define _SL_INC_sl_FsWrite __nvm
185
186
#define _SL_INC_sl_FsGetInfo __nvm
187
188
#define _SL_INC_sl_FsDel __nvm
189
190
#define _SL_INC_sl_FsCtl __nvm__ext
191
192
#define _SL_INC_sl_FsProgram __nvm__ext
193
194
#define _SL_INC_sl_FsGetFileList __nvm__ext
195
196
/* netcfg */
197
#define _SL_INC_sl_MacAdrrSet __ncg
198
199
#define _SL_INC_sl_MacAdrrGet __ncg
200
201
#define _SL_INC_sl_NetCfgGet __ncg
202
203
#define _SL_INC_sl_NetCfgSet __ncg
204
205
206
/* socket */
207
#define _SL_INC_sl_Socket __sck
208
209
#define _SL_INC_sl_Close __sck
210
211
#define _SL_INC_sl_Accept __sck__srv
212
213
#define _SL_INC_sl_Bind __sck
214
215
#define _SL_INC_sl_Listen __sck__srv
216
217
#define _SL_INC_sl_Connect __sck__clt
218
219
#define _SL_INC_sl_Select __sck
220
221
#define _SL_INC_sl_SetSockOpt __sck
222
223
#define _SL_INC_sl_GetSockOpt __sck__ext
224
225
#define _SL_INC_sl_Recv __sck__rcv
226
227
#define _SL_INC_sl_RecvFrom __sck__rcv
228
229
#define _SL_INC_sl_Write __sck__snd
230
231
#define _SL_INC_sl_Send __sck__snd
232
233
#define _SL_INC_sl_SendTo __sck__snd
234
235
#define _SL_INC_sl_Htonl __sck
236
237
#define _SL_INC_sl_Htons __sck
238
239
/* wlan */
240
#define _SL_INC_sl_WlanConnect __wln__ext
241
242
#define _SL_INC_sl_WlanDisconnect __wln__ext
243
244
#define _SL_INC_sl_WlanProfileAdd __wln__ext
245
246
#define _SL_INC_sl_WlanProfileGet __wln__ext
247
248
#define _SL_INC_sl_WlanProfileDel __wln__ext
249
250
#define _SL_INC_sl_WlanPolicySet __wln__ext
251
252
#define _SL_INC_sl_WlanPolicyGet __wln__ext
253
254
#define _SL_INC_sl_WlanGetNetworkList __wln__ext
255
256
#define _SL_INC_sl_WlanRxFilterAdd __wln__ext
257
258
#define _SL_INC_sl_WlanRxFilterSet __wln__ext
259
260
#define _SL_INC_sl_WlanRxFilterGet __wln__ext
261
262
#define _SL_INC_sl_SmartConfigStart __wln
263
264
#define _SL_INC_sl_SmartConfigOptSet __wln__ext
265
266
#define _SL_INC_sl_WlanProvisioning __wln
267
268
#define _SL_INC_sl_WlanSetMode __wln
269
270
#define _SL_INC_sl_WlanSet __wln
271
272
#define _SL_INC_sl_WlanGet __wln
273
274
#define _SL_INC_sl_SmartConfigOptSet __wln__ext
275
276
#define _SL_INC_sl_SmartConfigOptGet __wln__ext
277
278
#define _SL_INC_sl_WlanRxStatStart __wln__ext
279
280
#define _SL_INC_sl_WlanRxStatStop __wln__ext
281
282
#define _SL_INC_sl_WlanRxStatGet __wln__ext
283
284
285
/* device */
286
#define _SL_INC_sl_Task __int__spwn
287
288
#define _SL_INC_sl_Start __dev
289
290
#define _SL_INC_sl_Stop __dev
291
292
#define _SL_INC_sl_StatusGet __dev
293
294
#ifdef SL_IF_TYPE_UART
295
#define _SL_INC_sl_DeviceUartSetMode __dev__ext
296
#endif
297
298
#define _SL_INC_sl_DeviceEventMaskGet __dev__ext
299
300
#define _SL_INC_sl_DeviceEventMaskSet __dev__ext
301
302
#define _SL_INC_sl_DeviceGet __dev__ext
303
304
#define _SL_INC_sl_DeviceSet __dev__ext
305
306
/* netutil */
307
#define _SL_INC_sl_NetUtilGet __dev__ext
308
309
#define _SL_INC_sl_NetUtilSet __dev__ext
310
311
#define _SL_INC_sl_NetUtilCmd __dev__ext
312
313
314
315
#ifdef __cplusplus
316
}
317
#endif
/* __cplusplus */
318
319
#endif
/*OBJINCLUSION_H_ */
source
ti
drivers
net
wifi
source
objInclusion.h
Generated by
1.8.10