Squawk codes are what air traffic control (ATC) use to identify aircraft when they are flying. They are unique four-digit numbers and range from 0000 to 7777; some of which are fixed values signifying specific scenarios (see below), others being randomly generated by ATC.