Skip to content

Commit 92eb309

Browse files
simensrostadcarlescufi
authored andcommitted
net: lib: lwm2m: Give Kconfig choices symbol names
Give Kconfig choices symbols names so that they can be redefined in applications that wants to alter the choice's default value without setting it in the project configuration. Signed-off-by: Simen S. Røstad <[email protected]>
1 parent 815ebc3 commit 92eb309

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

subsys/net/lib/lwm2m/Kconfig.ipso

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ config LWM2M_IPSO_TEMP_SENSOR_INSTANCE_COUNT
2424
This setting establishes the total count of IPSO Temperature
2525
Sensor instances available to the LWM2M client.
2626

27-
choice
27+
choice LWM2M_IPSO_TEMP_SENSOR_VERSION
2828
prompt "IPSO Temperature object version"
2929
depends on LWM2M_IPSO_TEMP_SENSOR
3030
default LWM2M_IPSO_TEMP_SENSOR_VERSION_1_0
@@ -53,7 +53,7 @@ config LWM2M_IPSO_GENERIC_SENSOR_INSTANCE_COUNT
5353
This setting establishes the total count of IPSO Generic
5454
Sensor instances available to the LWM2M client.
5555

56-
choice
56+
choice LWM2M_IPSO_GENERIC_SENSOR_VERSION
5757
prompt "IPSO Generic Sensor object version"
5858
default LWM2M_IPSO_GENERIC_SENSOR_VERSION_1_0
5959
help
@@ -93,7 +93,7 @@ config LWM2M_IPSO_HUMIDITY_SENSOR_INSTANCE_COUNT
9393
This setting establishes the total count of IPSO Humidity
9494
Sensor instances available to the LWM2M client.
9595

96-
choice
96+
choice LWM2M_IPSO_HUMIDITY_SENSOR_VERSION
9797
prompt "IPSO Humidity Sensor object version"
9898
default LWM2M_IPSO_HUMIDITY_SENSOR_VERSION_1_0
9999
help
@@ -124,7 +124,7 @@ config LWM2M_IPSO_PRESSURE_SENSOR_INSTANCE_COUNT
124124
This setting establishes the total count of IPSO Pressure
125125
Sensor instances available to the LWM2M client.
126126

127-
choice
127+
choice LWM2M_IPSO_PRESSURE_SENSOR_VERSION
128128
prompt "IPSO Pressure Sensor object version"
129129
default LWM2M_IPSO_PRESSURE_SENSOR_VERSION_1_0
130130
help
@@ -170,7 +170,7 @@ config LWM2M_IPSO_ACCELEROMETER_INSTANCE_COUNT
170170
This setting establishes the total count of IPSO Accelerometer
171171
instances available to the LWM2M client.
172172

173-
choice
173+
choice LWM2M_IPSO_ACCELEROMETER_VERSION
174174
prompt "IPSO Accelerometer object version"
175175
depends on LWM2M_IPSO_ACCELEROMETER
176176
default LWM2M_IPSO_ACCELEROMETER_VERSION_1_0
@@ -199,7 +199,7 @@ config LWM2M_IPSO_BUZZER_INSTANCE_COUNT
199199
This setting establishes the total count of IPSO Buzzer
200200
instances available to the LWM2M client.
201201

202-
choice
202+
choice LWM2M_IPSO_BUZZER_VERSION
203203
prompt "IPSO Buzzer object version"
204204
depends on LWM2M_IPSO_BUZZER
205205
default LWM2M_IPSO_BUZZER_VERSION_1_0
@@ -240,7 +240,7 @@ config LWM2M_IPSO_ONOFF_SWITCH_INSTANCE_COUNT
240240
This setting establishes the total count of IPSO On/Off Switch
241241
instances available to the LWM2M client.
242242

243-
choice
243+
choice LWM2M_IPSO_ONOFF_SWITCH_VERSION
244244
prompt "IPSO On/Off Switch object version"
245245
depends on LWM2M_IPSO_ONOFF_SWITCH
246246
default LWM2M_IPSO_ONOFF_SWITCH_VERSION_1_0
@@ -270,7 +270,7 @@ config LWM2M_IPSO_PUSH_BUTTON_INSTANCE_COUNT
270270
This setting establishes the total count of IPSO Push Button
271271
instances available to the LWM2M client.
272272

273-
choice
273+
choice LWM2M_IPSO_PUSH_BUTTON_VERSION
274274
prompt "IPSO Push Button object version"
275275
depends on LWM2M_IPSO_PUSH_BUTTON
276276
default LWM2M_IPSO_PUSH_BUTTON_VERSION_1_0
@@ -301,7 +301,7 @@ config LWM2M_IPSO_CURRENT_SENSOR_INSTANCE_COUNT
301301
This setting establishes the total count of IPSO Current
302302
Sensor instances available to the LWM2M client.
303303

304-
choice
304+
choice LWM2M_IPSO_CURRENT_SENSOR_VERSION
305305
prompt "IPSO Current object version"
306306
default LWM2M_IPSO_CURRENT_SENSOR_VERSION_1_0
307307
depends on LWM2M_IPSO_CURRENT_SENSOR

0 commit comments

Comments
 (0)