What is the format for using the writeSer() command?
https://wiki.autosportlabs.com/RaceCapt ... C_data_.29
writeSer( port, data )
How is data configured? with "", {}, ??
So for example, if I want to send this JSON command, how is it written?
{"command":"startRecording"}
writeSer( port,{"command":"startRecording"})
Looking at the Garmin Virb Ultra 30 API, the commands look similar to what I see in the logfile, e.g.
[USB] Received CMD: {"getLogfile":null}
So if the above StartRecording was successful, the response would be:
{"result":1}
So I think getting the Garmin Virb Ultra 30 to work is a matter of figuring out which port is the WiFi connection on the RCTrack2, and then getting the data portion of the writeSer command correctly formatted.