Skip to content

Commit e0da19d

Browse files
author
Arto Kinnunen
authored
Add Wi-SUN host configuration (ARMmbed#2690)
1 parent 50ecc3d commit e0da19d

File tree

3 files changed

+52
-10
lines changed

3 files changed

+52
-10
lines changed

source/configs/base/cfg_ws_host.h

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/*
2+
* Copyright (c) 2021, Pelion and affiliates.
3+
* SPDX-License-Identifier: Apache-2.0
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
18+
#define HAVE_WS
19+
#define HAVE_WS_HOST
20+
#define HAVE_WS_VERSION_1_1
21+
#define HAVE_RPL
22+
#define HAVE_MPL
23+
#define HAVE_6LOWPAN_ND
24+
#define HAVE_IPV6_ND
25+
#define HAVE_PAE_SUPP
26+
#define HAVE_6LOWPAN_ROUTER

source/configs/base/cfg_ws_router.h

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2019, Pelion and affiliates.
2+
* Copyright (c) 2019-2021, Pelion and affiliates.
33
* SPDX-License-Identifier: Apache-2.0
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,14 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
#define HAVE_6LOWPAN_ROUTER
19-
#define HAVE_RPL
20-
#define HAVE_IPV6_ND
21-
#define HAVE_6LOWPAN_ND
22-
#define HAVE_MPL
23-
#define HAVE_WS
24-
#define HAVE_WS_HOST
18+
#include "cfg_ws_host.h"
19+
2520
#define HAVE_WS_ROUTER
26-
#define HAVE_WS_VERSION_1_1
27-
#define HAVE_PAE_SUPP
2821
#define HAVE_EAPOL_RELAY

source/configs/cfg_ws_host.h

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
* Copyright (c) 2021, Pelion and affiliates.
3+
* SPDX-License-Identifier: Apache-2.0
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
18+
19+
#include "base/cfg_ws_host.h"
20+
21+
#define FEA_TRACE_SUPPORT
22+
#define EXTRA_CONSISTENCY_CHECKS
23+

0 commit comments

Comments
 (0)