As I've responded to you in an earlier post
New version of .DAT converter | Page 3 | DJI Phantom Forum there are 3 independent columns used to represent the flyState. They are flightMode, flightRegime, and navMode. There is also the text representation of these columns. These values come out of the .DAT event log. Additionally, a single flyState (like what occurs in the .txt) doesn't make sense to me, e.g. auto takeoff can occur in both atti and gps_atti flight modes.
Using the text representations the possible values are:
flightMode = {Atti, GPS_Atti}
flightRegime = {engineStart, asstTakeOff, autoTakeOff, autoLanding}
navMode = {goHome, waypoint, followMe, hotpoint}
Combining these fields will yield the flyState ,e.g. {Atti, autoLanding,} is autoLanding in Atti mode, {GPS_Atti, autoLanding, goHome} is autoLanding in GPSMode during a goHome.
@Fredz I implemented this stuff at your request. But, you have refused, at least twice, to look at it and discuss it. Do you not like the answer or is there otherwise a problem?