mirror of git://git.sysmocom.de/ofono
Add some extra special handling to list-modem test script
This commit is contained in:
parent
427224e9f8
commit
8864778c02
|
@ -44,12 +44,15 @@ for path in properties["Modems"]:
|
|||
"SubscriberNumbers",
|
||||
"ServiceDiallingNumbers",
|
||||
"PreferredLanguages",
|
||||
"PrimaryContexts",
|
||||
"LockedPins"]:
|
||||
val = ""
|
||||
for i in properties[key]:
|
||||
val += i + " "
|
||||
elif key in ["MobileNetworkCodeLength",
|
||||
"VoicemailMessageCount"]:
|
||||
"VoicemailMessageCount",
|
||||
"MicrophoneVolume",
|
||||
"SpeakerVolume"]:
|
||||
val = int(properties[key])
|
||||
else:
|
||||
val = str(properties[key])
|
||||
|
|
Loading…
Reference in New Issue