Skip to content

Commit b3b3c44

Browse files
author
Teemu Kultala
committed
cellular update
1 parent 4a0212e commit b3b3c44

File tree

1 file changed

+25
-24
lines changed

1 file changed

+25
-24
lines changed

docs/reference/api/connectivity/networksocket/networksocket.md

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -89,30 +89,11 @@ Here is an example of an HTTP client program. The program brings up Ethernet as
8989

9090
[![View code](https://www.mbed.com/embed/?url=https://os.mbed.com/teams/mbed_example/code/TCPSocket_Example/)](https://os.mbed.com/teams/mbed_example/code/TCPSocket_Example/file/6b383744246e/main.cpp)
9191

92-
#### Arm Mbed Mesh
93-
94-
The Arm Mbed Mesh API allows the application to use the IPv6 mesh network topologies through the [Nanostack](/docs/v5.7/tutorials/mesh.html#nanostack) networking stack.
95-
96-
Mbed OS provides two types of IPv6 based mesh networks:
97-
98-
* 6LoWPAN_ND, loosely following the Zigbee-IP specification.
99-
* Thread, following the specification from Thread Group.
100-
101-
Nanostack is the networking stack which provides both of these protocols. For more information on the stack internals, refer to [Nanostack documentation](/docs/v5.7/tutorials/mesh.html#nanostack). Application developers use Nanostack through Mbed Mesh API.
102-
103-
The application can use the `LoWPANNDInterface` or `ThreadInterface` object for connecting to the mesh network and when successfully connected, the application can use the Mbed C++ socket APIs to create a socket to start communication with a remote peer.
104-
105-
The `NanostackEthernetInterface` is provided for Ethernet.
106-
107-
##### Supported mesh networking modes
108-
109-
Currently, 6LoWPAN-ND (neighbor discovery) and Thread bootstrap modes are supported.
110-
11192
#### Cellular
11293

11394
The [CellularBase](/docs/v5.7/mbed-os-api-doxy/class_cellular_base.html) provides a C++ API for connecting to the internet over a Cellular device.
11495

115-
Arm Mbed OS provides a [reference implementation of CellularBase](https://github.com/ARMmbed/mbed-os/tree/master/features/netsocket/cellular/generic_modem_driver).
96+
Arm Mbed OS provides a [reference implementation of CellularBase](https://github.com/ARMmbed/mbed-os/tree/master/features/cellular/easy_cellular).
11697

11798
##### Getting started
11899

@@ -151,11 +132,31 @@ You can use and extend a cellular interface in various different ways. For examp
151132

152133
<span class="images">![](https://s3-us-west-2.amazonaws.com/mbed-os-docs-images/Cell_PPP.png)</span>
153134

154-
[`mbed-os-example-cellular`](https://github.com/ARMmbed/mbed-os-example-cellular) uses [a generic modem driver](https://github.com/ARMmbed/mbed-os/tree/master/features/netsocket/cellular/generic_modem_driver). In other words, CellularInterface uses PPP. We can summarize this particular design as follows:
135+
[`mbed-os-example-cellular`](https://github.com/ARMmbed/mbed-os-example-cellular) uses [an easy cellular connection](https://github.com/ARMmbed/mbed-os/tree/master/features/cellular/easy_cellular). It depends on the modem whether the application uses PPP or AT mode. We can summarize this particular design as follows:
155136

156-
- It uses an external IP stack (for example, LWIP) instead of on-chip network stacks.
157-
- The generic modem driver uses standard 3GPP AT 27.007 AT commands to set up the cellular modem and registers to the network.
158-
- After registration, the driver opens up a PPP (Point-to-Point Protocol) pipe using LWIP with the cellular modem and connects to the internet.
137+
- It uses an external IP stack (for example, LWIP), or on-chip network stacks for example in case of PPP is not supported by the modem.
138+
- The easy cellular connection uses standard 3GPP AT 27.007 AT commands to set up the cellular modem and to register to the network.
139+
- After registration, the driver opens up a PPP (Point-to-Point Protocol) pipe using LWIP with the cellular modem and connects to the internet,
140+
or if AT only mode is in use, then modem specific AT commands are used for socket data control.
141+
142+
#### Arm Mbed Mesh
143+
144+
The Arm Mbed Mesh API allows the application to use the IPv6 mesh network topologies through the [Nanostack](/docs/v5.7/tutorials/mesh.html#nanostack) networking stack.
145+
146+
Mbed OS provides two types of IPv6 based mesh networks:
147+
148+
* 6LoWPAN_ND, loosely following the Zigbee-IP specification.
149+
* Thread, following the specification from Thread Group.
150+
151+
Nanostack is the networking stack which provides both of these protocols. For more information on the stack internals, refer to [Nanostack documentation](/docs/v5.7/tutorials/mesh.html#nanostack). Application developers use Nanostack through Mbed Mesh API.
152+
153+
The application can use the `LoWPANNDInterface` or `ThreadInterface` object for connecting to the mesh network and when successfully connected, the application can use the Mbed C++ socket APIs to create a socket to start communication with a remote peer.
154+
155+
The `NanostackEthernetInterface` is provided for Ethernet.
156+
157+
##### Supported mesh networking modes
158+
159+
Currently, 6LoWPAN-ND (neighbor discovery) and Thread bootstrap modes are supported.
159160

160161
##### Module configuration
161162

0 commit comments

Comments
 (0)