Page 1 of 1

[answered] Which serial port is WiFi on RCTrack/2?

Posted: Thu Apr 23, 2020 9:39 pm
by GTIspirit
If a device is connected to the WiFi of the Race Capture Track Mk2, which port is it? 5?

https://wiki.autosportlabs.com/RaceCapt ... t_mappings

Posted: Tue May 12, 2020 8:31 pm
by brentp
Hi, it should be 5. You should be able to test the current manual GoPro control by changing the port to 5 (and make sure to turn off WiFi under settings)
https://wiki.autosportlabs.com/AutomaticCameraControl

Posted: Thu May 14, 2020 2:08 pm
by GTIspirit
I tried that, changed the password and SSID to that of my Virb Ultra 30 and no luck. I can't confirm the WiFi connection. The read serial port doesn't return anything.

This is similar to what I reported in that the read serial port doesn't seem to be working. :?:

viewtopic.php?t=6265&highlight=

Posted: Thu May 14, 2020 2:44 pm
by GTIspirit
Well, this is interesting. After trying all the ports, and still no serial port response, I decided to add an initSer command to the configuration. (Not sure why this didn't work for me before, when I tried simple commands to read the serial port, expecting to see NMEA messages or something like that.)

And, after reviewing the ESP8266 instruction set I modified the automatic camera control script slightly to also have it look for the string "WIFI CONNECTED"

Code: Select all

if string.match(line, 'WIFI GOT IP') or string.match(line, 'WIFI CONNECTED') then 
    wifiStatus = 2
  
Interestingly enough, after reviewing the Poll Log, I never saw the response "WIFI GOT IP" but I did see the response "WIFI CONNECTED"

Now that I've got a confirmed WiFi connection I can start figuring out how to send the POST commands.

Posted: Fri May 15, 2020 3:15 pm
by GTIspirit
Confirmed what @brentp said above, WiFi is on Port 5 of the RC Track 2.