mirror of https://github.com/ARMmbed/mbed-os.git
Update header reference
parent
f745224c63
commit
354bfaa840
|
|
@ -22,7 +22,7 @@
|
|||
#include "platform/mbed_chrono.h"
|
||||
|
||||
#include "events/EventQueue.h"
|
||||
#include "nsapi_types.h"
|
||||
#include "netsocket/nsapi_types.h"
|
||||
|
||||
#include "Callback.h"
|
||||
#include "rtos/Kernel.h"
|
||||
|
|
|
|||
|
|
@ -17,11 +17,11 @@
|
|||
#ifndef _CELLULARCONTEXT_H_
|
||||
#define _CELLULARCONTEXT_H_
|
||||
|
||||
#include "NetworkStack.h"
|
||||
#include "CellularInterface.h"
|
||||
#include "netsocket/NetworkStack.h"
|
||||
#include "netsocket/CellularInterface.h"
|
||||
#include "CellularDevice.h"
|
||||
#include "CellularUtil.h"
|
||||
#include "ControlPlane_netif.h"
|
||||
#include "netsocket/ControlPlane_netif.h"
|
||||
#include "PinNames.h"
|
||||
|
||||
/** @file CellularContext.h
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
#define CELLULAR_INFORMATION_H_
|
||||
|
||||
#include <stddef.h>
|
||||
#include "nsapi_types.h"
|
||||
#include "netsocket/nsapi_types.h"
|
||||
|
||||
const int MAX_IMSI_LENGTH = 15;
|
||||
const int MAX_ICCID_LENGTH = 20 + 1; // +1 for zero termination
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
#include "CellularList.h"
|
||||
#include "Callback.h"
|
||||
#include "nsapi_types.h"
|
||||
#include "netsocket/nsapi_types.h"
|
||||
|
||||
namespace mbed {
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
#if MBED_CONF_CELLULAR_USE_SMS
|
||||
|
||||
#include "Callback.h"
|
||||
#include "nsapi_types.h"
|
||||
#include "netsocket/nsapi_types.h"
|
||||
|
||||
namespace mbed {
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
#define AT_CELLULAR_STACK_H_
|
||||
|
||||
#include "ATHandler.h"
|
||||
#include "NetworkStack.h"
|
||||
#include "netsocket/NetworkStack.h"
|
||||
#include "PlatformMutex.h"
|
||||
#include "AT_CellularDevice.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
|
||||
#include "CellularList.h"
|
||||
#include "ControlPlane_netif.h"
|
||||
#include "netsocket/ControlPlane_netif.h"
|
||||
#include "ATHandler.h"
|
||||
#include "AT_CellularDevice.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
#define CELLULAR_COMMON_
|
||||
|
||||
#include <stdint.h>
|
||||
#include "nsapi_types.h"
|
||||
#include "netsocket/nsapi_types.h"
|
||||
|
||||
const int CELLULAR_RETRY_ARRAY_SIZE = 10;
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
#include <stddef.h>
|
||||
#include <inttypes.h>
|
||||
#include "nsapi_types.h"
|
||||
#include "netsocket/nsapi_types.h"
|
||||
|
||||
namespace mbed_cellular_util {
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
#include <stdlib.h>
|
||||
|
||||
#include "ESP8266.h"
|
||||
#include "features/netsocket/nsapi_types.h"
|
||||
#include "netsocket/nsapi_types.h"
|
||||
#include "mbed_trace.h"
|
||||
#include "PinNames.h"
|
||||
#include "platform/Callback.h"
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@
|
|||
#include <ctime>
|
||||
|
||||
#include "drivers/BufferedSerial.h"
|
||||
#include "features/netsocket/nsapi_types.h"
|
||||
#include "features/netsocket/WiFiAccessPoint.h"
|
||||
#include "netsocket/nsapi_types.h"
|
||||
#include "netsocket/WiFiAccessPoint.h"
|
||||
#include "PinNames.h"
|
||||
#include "platform/ATCmdParser.h"
|
||||
#include "platform/Callback.h"
|
||||
|
|
@ -32,7 +32,7 @@
|
|||
#include "platform/mbed_error.h"
|
||||
#include "rtos/Mutex.h"
|
||||
#include "rtos/ThisThread.h"
|
||||
#include "features/netsocket/SocketAddress.h"
|
||||
#include "netsocket/SocketAddress.h"
|
||||
|
||||
// Various timeouts for different ESP8266 operations
|
||||
// (some of these can't use literal form as they're needed for defaults in this header, where
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
#include "ESP8266Interface.h"
|
||||
#include "events/EventQueue.h"
|
||||
#include "events/mbed_shared_queues.h"
|
||||
#include "features/netsocket/nsapi_types.h"
|
||||
#include "netsocket/nsapi_types.h"
|
||||
#include "mbed_trace.h"
|
||||
#include "platform/Callback.h"
|
||||
#include "platform/mbed_atomic.h"
|
||||
|
|
|
|||
|
|
@ -24,12 +24,12 @@
|
|||
#include "ESP8266/ESP8266.h"
|
||||
#include "events/EventQueue.h"
|
||||
#include "events/mbed_shared_queues.h"
|
||||
#include "features/netsocket/NetworkInterface.h"
|
||||
#include "features/netsocket/NetworkStack.h"
|
||||
#include "features/netsocket/nsapi_types.h"
|
||||
#include "features/netsocket/SocketAddress.h"
|
||||
#include "features/netsocket/WiFiAccessPoint.h"
|
||||
#include "features/netsocket/WiFiInterface.h"
|
||||
#include "netsocket/NetworkInterface.h"
|
||||
#include "netsocket/NetworkStack.h"
|
||||
#include "netsocket/nsapi_types.h"
|
||||
#include "netsocket/SocketAddress.h"
|
||||
#include "netsocket/WiFiAccessPoint.h"
|
||||
#include "netsocket/WiFiInterface.h"
|
||||
#include "platform/Callback.h"
|
||||
#include "platform/mbed_chrono.h"
|
||||
#if MBED_CONF_RTOS_PRESENT
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ Also, configuration structures can be shared between sockets, which leads to RAM
|
|||
|
||||
## Detailed design for abstract socket API
|
||||
|
||||
The Mbed OS [Socket interface](https://github.com/ARMmbed/mbed-os/blob/master/features/netsocket/Socket.h) is an abstract C++ inteface that follows the POSIX socket API.
|
||||
The Mbed OS [Socket interface](https://github.com/ARMmbed/mbed-os/blob/master/connectivity/netsocket/Socket.h) is an abstract C++ inteface that follows the POSIX socket API.
|
||||
|
||||
### Receiving and sending data from Mbed TLS
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue