We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fee2b6c + 942ce11 commit 1c9cf37Copy full SHA for 1c9cf37
1 file changed
meshtastic/node.py
@@ -170,11 +170,10 @@ def requestConfig(self, configType):
170
p.get_config_request = configType
171
172
else:
173
- msgIndex = configType.index
174
if configType.containing_type.name == "LocalConfig":
175
- p.get_config_request = msgIndex
+ p.get_config_request = admin_pb2.AdminMessage.ConfigType.Value(configType.name.upper() + "_CONFIG")
176
177
- p.get_module_config_request = msgIndex
+ p.get_module_config_request = configType.index
178
179
self._sendAdmin(p, wantResponse=True, onResponse=onResponse)
180
if onResponse:
0 commit comments