You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/api.md
+93-20Lines changed: 93 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -1,30 +1,41 @@
1
1
# Full API list
2
2
<!--these are now just the APIs - do I want to add the tutorials?-->
3
3
4
+
This document lists Mbed OS components supported APIs. In general, it lists both common APIs (RTOS and the bare metal profile supported), and RTOS only supported APIs, but occasionally, It has either one.
5
+
4
6
## RTOS and event handling
5
7
6
8
The Mbed OS RTOS capabilities include managing objects such as threads, synchronization objects and timers. It also provides interfaces for attaching an application-specific idle hook function, reads the OS tick count and implements functionality to report RTOS errors.
7
9
10
+
Most of the Mbed OS APIs are also supported with the Mbed OS bare metal profile.
Network interfaces are the application level APIs where users choose the driver, connectivity method and IP stack. These include ethernet, Wi-Fi, cellular and mesh interfaces.
137
179
@@ -153,7 +195,7 @@ Network interfaces are the application level APIs where users choose the driver,
153
195
</tbody>
154
196
</table>
155
197
156
-
### Socket
198
+
####Socket
157
199
158
200
Socket APIs include the application programming interface for IP networking. In Mbed OS, this API supports both TCP and UDP protocols.
159
201
@@ -169,7 +211,7 @@ Socket APIs include the application programming interface for IP networking. In
169
211
</tbody>
170
212
</table>
171
213
172
-
### Secure socket
214
+
####Secure socket
173
215
174
216
<table>
175
217
<tbody>
@@ -180,7 +222,7 @@ Socket APIs include the application programming interface for IP networking. In
180
222
</tbody>
181
223
</table>
182
224
183
-
### DNS
225
+
####DNS
184
226
185
227
<table>
186
228
<tbody>
@@ -190,7 +232,7 @@ Socket APIs include the application programming interface for IP networking. In
190
232
</tbody>
191
233
</table>
192
234
193
-
### BLE
235
+
####BLE
194
236
195
237
Bluetooth low energy (BLE) is a low power wireless technology standard for building personal area networks. Typical applications of BLE are health care, fitness trackers, beacons, smart home, security, entertainment, proximity sensors, industrial and automotive.
196
238
@@ -210,7 +252,7 @@ Bluetooth low energy (BLE) is a low power wireless technology standard for build
210
252
</tbody>
211
253
</table>
212
254
213
-
### NFC
255
+
####NFC
214
256
215
257
You can use Near-Field Communication (NFC), a short-range radio technology, for use cases such as contactless payments, access control and device pairing.
216
258
@@ -223,7 +265,7 @@ You can use Near-Field Communication (NFC), a short-range radio technology, for
223
265
</tbody>
224
266
</table>
225
267
226
-
### LoRaWAN
268
+
####LoRaWAN
227
269
228
270
Arm Mbed OS provides a native network stack for LoRaWAN. LoRaWAN is a technology designed for low-power battery-powered devices. These devices operate in an unlicensed spectrum, creating high density wide-area networks.
229
271
@@ -247,10 +289,9 @@ The Mbed OS classes providing USB peripheral functionality, also known as USB co
@@ -4,19 +4,125 @@ There are many use cases for IoT devices. Different use cases require different
4
4
5
5
<spanclass="images"><span>Mbed OS bare metal profile block digram</span></span>
6
6
7
-
The Mbed OS bare metal profile is a compact profile of Mbed OS without an RTOS. The Mbed OS bare metal profile is API compatible with Mbed OS and supports a subset of Mbed OS features, such as analog I/O, digital I/O, timers and digital interfaces, such as SPI, I2C, Serial and CAN. Mbed Studio, Mbed CLI and the Mbed Online Compiler all support the Mbed OS bare metal profile.
7
+
The Mbed OS bare metal profile is a compact profile of Mbed OS without an RTOS. Most of the Mbed OS APIs are compatible with bare metal profile and below table shows the availability of various Mbed OS features and components on bare metal profile.
8
8
9
-
| Features | Mbed OS bare metal | Mbed OS |
10
-
| --- | --- | --- |
11
-
| Analog I/O | Available | Available |
12
-
| Digital I/O | Available | Available |
13
-
| Digital interfaces | Available | Available |
14
-
| Timers | Available | Available |
15
-
| Development tools<br> (For example, Mbed CLI, Mbed Studio, Mbed Online Compiler, GCC, Arm Compiler 6 and so on) | Available | Available |
16
-
| Support for Mbed Enabled development boards | Available | Available |
17
-
| RTOS | Not available | Available |
18
-
| Storage | Ecosystem libraries | Available |
19
-
| Mbed TLS | Not available | Available |
20
-
| Mbed PSA | Not available | Available |
21
-
22
-
To begin using the Mbed OS bare metal profile from Mbed OS 2, please follow our [instructions](../tutorials/migrating-to-mbed-os-5.html).
0 commit comments