Skip to content

Commit cd7ae3f

Browse files
KariHaapalehtoArto Kinnunen
authored andcommitted
(via Mbed OS) Review changes corrected
1 parent 4f23008 commit cd7ae3f

File tree

2 files changed

+1
-262
lines changed

2 files changed

+1
-262
lines changed

nanostack/ws_management_api.h

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018-2019, Arm Limited and affiliates.
2+
* Copyright (c) 2018, Arm Limited and affiliates.
33
* SPDX-License-Identifier: Apache-2.0
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -75,10 +75,6 @@ extern "C" {
7575
#define CHANNEL_SPACING_100 0x03 // 100 khz
7676
#define CHANNEL_SPACING_250 0x04 // 250 khz
7777

78-
#define NETWORK_SIZE_AUTOMATIC 0x00
79-
#define NETWORK_SIZE_SMALL 0x01
80-
#define NETWORK_SIZE_LARGE 0x10
81-
8278

8379
/** Temporary API change flag. this will be removed when new version of API is implemented on applications
8480
*
@@ -130,27 +126,6 @@ int ws_management_regulatory_domain_set(
130126
uint8_t operating_class,
131127
uint8_t operating_mode);
132128

133-
/**
134-
* Set timing parameters related to network size.
135-
*
136-
* timing parameters follows the specification example from Wi-SUN specification
137-
*
138-
* Default value: automatic
139-
* small network size: hundreds of devices
140-
* Large network size: thousands of devices
141-
* automatic: when discovering the network network size is learned
142-
* from advertisements and timings adjusted accordingly
143-
*
144-
* \param interface_id Network interface ID.
145-
* \param network_size define from NETWORK_SIZE_*.
146-
*
147-
* \return 0, Init OK.
148-
* \return <0 Init fail.
149-
*/
150-
int ws_management_network_size_set(
151-
int8_t interface_id,
152-
uint8_t network_size);
153-
154129
/**
155130
* Set channel mask for FHSS operation.
156131
*
@@ -255,7 +230,4 @@ int ws_management_fhss_broadcast_channel_function_configure(
255230
uint8_t dwell_interval,
256231
uint32_t broadcast_interval);
257232

258-
#ifdef __cplusplus
259-
}
260-
#endif
261233
#endif /* WS_MANAGEMENT_API_H_ */

source/6LoWPAN/ws/ws_management_api.h

Lines changed: 0 additions & 233 deletions
This file was deleted.

0 commit comments

Comments
 (0)