Skip to content

Commit 9eb0c9b

Browse files
author
Wajahat Abbas
committed
Added readme file
1 parent 2f5706b commit 9eb0c9b

File tree

1 file changed

+27
-0
lines changed
  • features/cellular/framework/targets/UBLOX

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
## Configuring Ublox Cellular Modems for custom targets
2+
3+
In order to use cellular APIs with custom targets, user needs to define ublox modem macros in `mbed_app.json` configuration file:
4+
```
5+
"target_overrides": {
6+
"*": {
7+
"mbed-trace.enable": true,
8+
"platform.stdio-convert-newlines": true,
9+
"platform.stdio-baud-rate": 115200,
10+
"platform.default-serial-baud-rate": 115200
11+
},
12+
"K64F": {
13+
"target.macros_add": ["UBX_MDM_SARA_R41XM", "UBX_MDM_SARA_R412M"]
14+
}
15+
}
16+
```
17+
18+
19+
List of supported ublox modems and their respective macros are as follow:
20+
21+
| Ublox mbed board | Modem Name | Family Macro | Modem Macro |
22+
| ----------- | :-----------: | :-------------: | :-------------: |
23+
| UBLOX_C027 | SARA-G350 | `UBX_MDM_SARA_G3XX` | `UBX_MDM_SARA_G350` |
24+
| UBLOX_C030_N211 | SARA-N211 | `UBX_MDM_SARA_N2XX` | `UBX_MDM_SARA_N211` |
25+
| UBLOX_C030_U201 | SARA-U201 | `UBX_MDM_SARA_U2XX` | `UBX_MDM_SARA_U201` |
26+
| UBLOX_C030_R410M | SARA-R410M | `UBX_MDM_SARA_R41XM` | `UBX_MDM_SARA_R410M` |
27+
| UBLOX_C030_R412M | SARA-R412M | `UBX_MDM_SARA_R41XM` | `UBX_MDM_SARA_R412M` |

0 commit comments

Comments
 (0)