packs all the states into a byte . this byte is to be sent towards the dline controller device thru the serial interface . concode_field_sep byte TRUE concode_elem_sep byte bit2 concode_elem_sep AntennaDirections antennaDirection concode_elem_sep byte bit3 concode_elem_sep byte FALSE concode_elem_sep byte bit4 concode_elem_sep byte bit5 concode_elem_sep byte bit6 concode_elem_sep byte bit7 concode_elem_sep AntennaModes antennaMode concode_elem_sep AntennaTypes antennaType concode_elem_sep byte bit0 concode_elem_sep byte bit1 concode_elem_sep DLineHardwareState hardwareState concode_field_sep AntennaTypes getAntennaType concode_elem_sep void setBit6 concode_elem_sep byte getBit0 concode_elem_sep AntennaDirections getAntennaDirection concode_elem_sep void setSingleElementMode concode_elem_sep void setLoop concode_elem_sep void setAntennaDirection concode_elem_sep void setAntennaMode concode_elem_sep void setBit0 concode_elem_sep void setBit1 concode_elem_sep void setBit2 concode_elem_sep void setDipole concode_elem_sep AntennaModes getAntennaMode concode_elem_sep void setAntennaType
byte function ( ) { byte loc0 ; loc0 = ( byte ) ( bit0 | bit1 << 1 | bit2 << 2 | bit3 << 3 | bit4 << 4 | bit5 << 5 | bit6 << 6 | bit7 << 7 ) ; return loc0 ; }