Skip to content

Commit

Permalink
Add Wi-SUN host configuration (ARMmbed#2690)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arto Kinnunen committed Sep 10, 2021
1 parent 50ecc3d commit e0da19d
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 10 deletions.
26 changes: 26 additions & 0 deletions source/configs/base/cfg_ws_host.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/*
* Copyright (c) 2021, Pelion and affiliates.
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#define HAVE_WS
#define HAVE_WS_HOST
#define HAVE_WS_VERSION_1_1
#define HAVE_RPL
#define HAVE_MPL
#define HAVE_6LOWPAN_ND
#define HAVE_IPV6_ND
#define HAVE_PAE_SUPP
#define HAVE_6LOWPAN_ROUTER
13 changes: 3 additions & 10 deletions source/configs/base/cfg_ws_router.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019, Pelion and affiliates.
* Copyright (c) 2019-2021, Pelion and affiliates.
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -15,14 +15,7 @@
* limitations under the License.
*/

#define HAVE_6LOWPAN_ROUTER
#define HAVE_RPL
#define HAVE_IPV6_ND
#define HAVE_6LOWPAN_ND
#define HAVE_MPL
#define HAVE_WS
#define HAVE_WS_HOST
#include "cfg_ws_host.h"

#define HAVE_WS_ROUTER
#define HAVE_WS_VERSION_1_1
#define HAVE_PAE_SUPP
#define HAVE_EAPOL_RELAY
23 changes: 23 additions & 0 deletions source/configs/cfg_ws_host.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*
* Copyright (c) 2021, Pelion and affiliates.
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/


#include "base/cfg_ws_host.h"

#define FEA_TRACE_SUPPORT
#define EXTRA_CONSISTENCY_CHECKS

0 comments on commit e0da19d

Please sign in to comment.