Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ To bring up the network interface:

This example establishes connection with the cellular network using Mbed OS CellularInterface.

[![View code](https://www.mbed.com/embed/?url=https://github.com/ARMmbed/mbed-os-example-cellular)](https://github.com/ARMmbed/mbed-os-example-cellular/blob/mbed-os-6.7.0/main.cpp)
[![View code](https://www.mbed.com/embed/?url=https://github.com/ARMmbed/mbed-os-example-cellular)](https://github.com/ARMmbed/mbed-os-example-cellular/blob/mbed-os-6.7.0/source/main.cpp)

## Related content

Expand Down
7 changes: 4 additions & 3 deletions docs/api/connectivity/networksocket/socket.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,13 @@ Not all protocols implement every function from the Socket API. For example, UDP

## Socket example

Here is a client example of HTTP transaction over TCPSocket:
Here is a client example of HTTP transaction over TCPSocket or TLSSocket:

[![View code](https://www.mbed.com/embed/?url=https://github.com/ARMmbed/mbed-os-example-sockets)](https://github.com/ARMmbed/mbed-os-example-tls-socket/blob/mbed-os-6.7.0/main.cpp)
[![View code](https://www.mbed.com/embed/?url=https://github.com/ARMmbed/mbed-os-example-sockets)](https://github.com/ARMmbed/mbed-os-example-sockets/blob/mbed-os-6.7.0/source/main.cpp)

## Related content

- [TCPSocket](tcpsocket.html) API reference.
- [UDPSocket](tcpsocket.html) API reference.
- [UDPSocket](udpsocket.html) API reference.
- [TLSSocket](../secure-socket/tlssocket.html) API reference.
- [Socket](../apis/connectivity-architecture.html#socket-api) architecture.
4 changes: 2 additions & 2 deletions docs/api/connectivity/secure-socket/DTLSSocket.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ To use secure DTLS connections, application use the `DTLSSocketWrapper` through

## DTLSSocket example

Please see the TLSSocket example:
Please see the sockets example which can be configured to use a TLSSocket:

[![View code](https://www.mbed.com/embed/?url=https://github.com/ARMmbed/mbed-os-example-tls-socket/blob/mbed-os-6.7.0/)](https://github.com/ARMmbed/mbed-os-example-tls-socket/blob/mbed-os-6.7.0/main.cpp)
[![View code](https://github.com/ARMmbed/mbed-os-example-sockets/blob/mbed-os-6.7.0/source/main.cpp)](https://github.com/ARMmbed/mbed-os-example-sockets/blob/mbed-os-6.7.0/source/main.cpp)

## Related content

Expand Down
11 changes: 9 additions & 2 deletions docs/api/connectivity/secure-socket/TLSSocket.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,16 @@ To use secure TLS connections, the application uses the `TLSSocketWrapper` throu

## TLSSocket example

The TLSSocket example creates TLS connection to the HTTPS server and receives a simple response from the server:
The sockets example creates a TLS connection to the HTTPS server and receives a simple response from the server.

[![View code](https://www.mbed.com/embed/?url=https://github.com/ARMmbed/mbed-os-example-tls-socket/blob/mbed-os-6.7.0/)](https://github.com/ARMmbed/mbed-os-example-tls-socket/blob/mbed-os-6.7.0/main.cpp)
Please make sure to enable TLS by configuring:
```
"use-tls-socket": {
"value": true
}
```

[![View code](https://www.mbed.com/embed/?url=https://github.com/ARMmbed/mbed-os-example-sockets/blob/mbed-os-6.7.0/source/main.cpp)](https://github.com/ARMmbed/mbed-os-example-sockets/blob/mbed-os-6.7.0/source/main.cpp)

## Related content

Expand Down
4 changes: 2 additions & 2 deletions docs/api/connectivity/tutorials/tls_tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ With everything in place, you can now set up a TLS socket connection. On the Mbe

### Setting up a TLS socket

<span class="notes">**Note:** There is an [example TLS Socket project](https://github.com/ARMmbed/mbed-os-example-tls-socket) available.</span>
<span class="notes">**Note:** The [sockets example](https://github.com/ARMmbed/mbed-os-example-sockets) demonstrates using a TLS socket.</span>

You set up a TLS socket in the same way as you set up a TCP socket, except you call `set_root_ca_cert` with the root CA string.

Expand All @@ -112,7 +112,7 @@ This now makes the request and returns the content of the file.
[INFO][TLSW]: Certificate verification passed
```

You can also look at the [complete example](https://github.com/ARMmbed/mbed-os-example-tls-socket/blob/master/main.cpp) for more details.
You can also look at the [complete example](https://github.com/ARMmbed/mbed-os-example-sockets/blob/mbed-os-6.7.0/source/main.cpp) for more details.

<span class="notes">**Note:** If you come across a message saying the signature's algorithm is missing: <br>
```
Expand Down
3 changes: 1 addition & 2 deletions docs/introduction/tutorials_intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ This page is an index of all tutorials and official examples.
| BLE | | - [Advertising](https://github.com/ARMmbed/mbed-os-example-ble/tree/master/BLE_Advertising) <br/> - [GAP](https://github.com/ARMmbed/mbed-os-example-ble/tree/master/BLE_GAP) <br/> - [Gatt Client - Characteristic Updates](https://github.com/ARMmbed/mbed-os-example-ble/tree/master/BLE_GattClient_CharacteristicUpdates) <br/> - [Gatt Client - Characteristic Write](https://github.com/ARMmbed/mbed-os-example-ble/tree/master/BLE_GattClient_CharacteristicWrite) <br/> - [Gatt Server - Add Service](https://github.com/ARMmbed/mbed-os-example-ble/tree/master/BLE_GattServer_AddService) <br/> - [Gatt Server - Characteristic Updates](https://github.com/ARMmbed/mbed-os-example-ble/tree/master/BLE_GattServer_CharacteristicUpdates) <br/> - [Gatt Server - Characteristic Write](https://github.com/ARMmbed/mbed-os-example-ble/tree/master/BLE_GattServer_CharacteristicWrite) <br/> - [Periodic advertising](https://github.com/ARMmbed/mbed-os-example-ble/tree/master/BLE_PeriodicAdvertising) <br/> - [Security & Privacy](https://github.com/ARMmbed/mbed-os-example-ble/tree/master/BLE_SecurityAndPrivacy) |
| Drivers | [Alarm](../apis/drivers-tutorials.html) | |
| Network interfaces | - [Mesh tutorial](../apis/connectivity-tutorials.html) <br/> - [LoRaWAN usage](../apis/lorawan-usage.html) <br/> - [Building a private loRa network](../apis/LoRa-tutorial.html) <br/> - [Nanostack border router](https://github.com/ARMmbed/nanostack-border-router) | - [Cellular](https://github.com/ARMmbed/mbed-os-example-cellular) <br/> - [LoRaWAN](https://github.com/ARMmbed/mbed-os-example-lorawan) <br/> - [Mesh minimal](https://github.com/ARMmbed/mbed-os-example-mesh-minimal) (also available in the [light control tutorial](../apis/light-control.html)) <br/> - [Wi-Fi ](https://github.com/ARMmbed/mbed-os-example-wifi) |
| Network socket | | - [Sockets](https://github.com/ARMmbed/mbed-os-example-sockets) <br/> - [Socket statistics](https://github.com/ARMmbed/mbed-os-example-socket-stats) |
| Network socket | | - [Sockets (including TLS sockets)](https://github.com/ARMmbed/mbed-os-example-sockets) <br/> - [Socket statistics](https://github.com/ARMmbed/mbed-os-example-socket-stats) |
| NFC | | - [Smart Poster](https://github.com/ARMmbed/mbed-os-example-nfc/blob/master/NFC_SmartPoster/README.md) <br/> - [EEPROM](https://github.com/ARMmbed/mbed-os-example-nfc/blob/master/NFC_EEPROM/README.md)|
| Network secure socket | | [TLS socket](https://github.com/ARMmbed/mbed-os-example-tls-socket) |
| Platform | - [Application flow control](../apis/platform-tutorials.html) <br/> - [Power optimization](../apis/power-optimization.html) | - [Thread statistics](https://github.com/ARMmbed/mbed-os-example-thread-statistics) <br/> - [CPU statistics](https://github.com/ARMmbed/mbed-os-example-cpu-stats) <br/> - [Error handling](https://github.com/ARMmbed/mbed-os-example-error-handling) <br/> - [System information](https://github.com/ARMmbed/mbed-os-example-sys-info) <br/> - [Link time optimization](../apis/link-time-optimization.html) |
| Scheduling | [EventQueue](../apis/scheduling-tutorials.html) | |
| Security | [Secure communication](../apis/tls-tutorial.html) | - [ATECC608A secure element](https://github.com/ARMmbed/mbed-os-example-atecc608a) <br/> - [DeviceKey](https://github.com/ARMmbed/mbed-os-example-devicekey) <br/> - [Mbed Crypto](https://github.com/ARMmbed/mbed-os-example-mbed-crypto) <br/> - [Mbed TLS: Authenticated encryption](https://github.com/ARMmbed/mbed-os-example-tls/blob/master/authcrypt) <br/> - [Mbed TLS: Benchmark](https://github.com/ARMmbed/mbed-os-example-tls/blob/master/benchmark) <br/> - [Mbed TLS: Hashing](https://github.com/ARMmbed/mbed-os-example-tls/blob/master/hashing) <br/> - [Mbed TLS: TLS client](https://github.com/ARMmbed/mbed-os-example-tls/blob/master/tls-client) <br/> - [PSA](https://github.com/ARMmbed/mbed-os-example-psa/) <br> - [PSA attestation](https://github.com/ARMmbed/mbed-os-example-attestation) |
Expand Down