Mbed OS Reference
Loading...
Searching...
No Matches
nsapi.h
1
2/** \addtogroup NetSocket */
3/** @{*/
4/* nsapi.h - The network socket API
5 * Copyright (c) 2015 ARM Limited
6 * SPDX-License-Identifier: Apache-2.0
7 *
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 */
20
21#ifndef NSAPI_H
22#define NSAPI_H
23
24
25// entry point for nsapi types
26#include "nsapi_types.h"
27
28#ifdef __cplusplus
29
30// entry point for C++ api
33
35#include "netsocket/EthInterface.h"
37#if MBED_CONF_CELLULAR_PRESENT
38#include "netsocket/CellularInterface.h"
39#endif
40#include "netsocket/MeshInterface.h"
41
42#include "netsocket/Socket.h"
43#include "netsocket/UDPSocket.h"
44#include "netsocket/TCPSocket.h"
47#include "netsocket/TLSSocket.h"
49
50#endif // __cplusplus
51
52
53#endif
54
55/** @}*/
DTLSSocket.
DTLSSocketWrapper.
Network Interface base class.
NetworkStack class.
Abstract Socket interface.
SocketAddress class.
TCPSocket class.
TLSSocket.
TLSSocketWrapper.
Common interface between Wi-Fi devices.