Hello,
I am trying to retrieve the GPS position of a Starlink antenna in a file using this type of command.
I am looking for an alternative to JQ to retrieve the response in a file. Could you help me?
Thank you for your help.
grpcurl -plaintext -d {\“get_location\”:{}} 192.168.100.1:9200 SpaceX.API.Device.Device/Handle | jq -r . > “/usr/local/response_$(date +‘%Y%m%d_%H%M%S’).json”
Response gprc:
{
“status”: {},
“apiVersion”: “40”,
“getLocation”: {
“lla”: {
“lat”: 48.38045822626718,
“lon”: -4.486677788247141,
“alt”: 49.86233211577027
},
“source”: “GNC_FUSED”
}
}