Skip to content
This repository was archived by the owner on Apr 24, 2019. It is now read-only.

Commit 1bae182

Browse files
authored
Merge branch 'oob_test_mbed-os-5.4' into oob_update
2 parents 1648769 + f90f30d commit 1bae182

File tree

8 files changed

+19
-26
lines changed

8 files changed

+19
-26
lines changed

GW_Binary/gateway6LoWPANDynamic.bin

100644100755
10.2 KB
Binary file not shown.

GW_Binary/gateway6LoWPANStatic.bin

100644100755
10.2 KB
Binary file not shown.

GW_Binary/gatewayThreadDynamic.bin

100755100644
13.6 KB
Binary file not shown.

GW_Binary/gatewayThreadStatic.bin

100755100644
13.6 KB
Binary file not shown.

README.md

Lines changed: 15 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -110,27 +110,17 @@ If your connection type is `MESH_THREAD` then you may want to use the THREAD_ROU
110110

111111
6LoWPAN ND and Thread use IPv6 for connectivity. Therefore, you need to verify first that you have a working IPv6 connection. To do that, ping the Connector IPv6 address `2607:f0d0:2601:52::20` from your network.
112112

113-
<span class="notes">**Note:** If you are using the [k64f-border-router](https://github.com/ARMmbed/k64f-border-router) (that can be used only as a 6LoWPAN BR and only with FRDM-K64F), you need to enable another security feature. By default, the `k64f-border-router` uses `PSK` as security.</span>
113+
#### Border router
114114

115-
You can enable the security here on your mbed-os-example-client application, for example:
115+
There are two options for border router.
116116

117-
```json
118-
"target_overrides": {
119-
"*": {
120-
"mbed-mesh-api.6lowpan-nd-security-mode": "PSK",
121-
}
122-
}
123-
```
117+
##### Nanostack-border-router
124118

125-
Alternatively, you can remove the link layer security from the `k64f-border-router`. To do that, change the [mbed_app.json](https://github.com/ARMmbed/k64f-border-router/blob/master/mbed_app.json) fetched from the `k64f-border-router` repository, for example:
119+
The [Nanostack-border-router](https://github.com/ARMmbed/nanostack-border-router-private) can be configured and built for the 6LoWPAN ND or Thread mode.
126120

127-
```json
128-
"config": {
129-
"security-mode": "NONE",
130-
}
131-
```
121+
##### mbed gateway
132122

133-
#### mbed gateway
123+
The mbed gateway is a binary release only.
134124

135125
To connect the example application in 6LoWPAN ND or Thread mode to Connector, you need to set up an mbed 6LoWPAN gateway router as follows:
136126

@@ -285,13 +275,12 @@ To build the example using mbed CLI:
285275
mbed import mbed-os-example-client
286276
```
287277
288-
3. Copy the relevant example configuration file from configs/xxx.json to mbed_app.json and
289-
[Configure](#application-setup) the client application.
290-
291278
4. To build the application, select the hardware board and build the toolchain using the command:
292279
293-
```
294-
mbed compile -m K64F -t GCC_ARM -c
280+
Specify the config file in the build command, for example for 6LoWPAN
281+
282+
```
283+
mbed compile -m K64F -t GCC_ARM -c --app-config configs/6lowpan_Atmel_RF.json
295284
```
296285
297286
mbed CLI builds a binary file under the project’s `BUILD/` directory.
@@ -409,4 +398,8 @@ This should resolve the issue:
409398
```
410399
cp configs/eth-wifi-mbedignore ./.mbedignore
411400
```
412-
401+
402+
#### Linking problems?
403+
404+
Due to re-structuring of mbed-client-c the CoAP library might exist twice in your directory tree, if you updated to the latest version of this repository. If moving from an older mbedOS version mbedOS 5.4 based release, please run `mbed deploy` to ensure all repos get updated.
405+

configs/mesh_thread.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"target.features_add": ["NANOSTACK", "THREAD_ROUTER", "COMMON_PAL"],
1616
"platform.stdio-baud-rate": 115200,
1717
"platform.stdio-convert-newlines": true,
18-
"mbed-mesh-api.thread-config-channel": 12,
19-
"mbed-mesh-api.thread-config-panid": "0xDEFA",
18+
"mbed-mesh-api.thread-config-channel": 22,
19+
"mbed-mesh-api.thread-config-panid": "0x0700",
2020
"mbed-trace.enable": 0
2121
}
2222
}

mbed-client.lib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
https://github.com/ARMmbed/mbed-client/#d41459d8b514d72d525e761fb4e34031e09f76e7
1+
https://github.com/ARMmbed/mbed-client/#52e65b46dff7935024e91ed045eadaab298149b6
22

mbed-os.lib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
https://github.com/ARMmbed/mbed-os/#305f5c491e34d86098e9da91b322017549c189ff
1+
https://github.com/ARMmbed/mbed-os/#305f5c491e34d86098e9da91b322017549c189ff

0 commit comments

Comments
 (0)