Lenz
Lenz
``` for _, modem := range modems { location, err := modem.GetLocation() if err != nil { panic(err) } gpsraw, err := location.GetCurrentLocation() if err != nil { panic(err) }...
location.GetLocation() --- get empty response. But if i request location via DBUS i recieve normal and full answer
Code entered here https://github.com/maltegrosse/go-modemmanager/blob/master/ModemLocation.go#L342 but ok false and tmpMap empty
Where i can see DBUS PATCH? 
it's true
Issue here. https://github.com/maltegrosse/go-modemmanager/blob/master/ModemLocation.go#L342 i added ``` fmt.Println(" GPSRAW_CHECK ", element.String()) ``` for view dbus.element and recieved ``` GPSRAW_CHECK {"altitude": , "latitude": , "longitude": , "utc-time": } ```
element.Value return ``` map[altitude:@d 151.3 latitude:@d 35.75437328333334 longitude:@d 32.01384675 utc-t ime:"095457.0"] ```
Value is not a map[string]interface{}
i realy dont now why it's not cast to map. I realised it without map... ``` re := regexp.MustCompile(``) processedInput := re.ReplaceAllString(element.String(), "$1") processedInput = strings.ReplaceAll(processedInput, "