'Return the state of GPSD.'

@property
def state(self):

    if (self.agps_thread.data_stream.mode == 3):
        return '3D    Fix'
    elif (self.agps_thread.data_stream.mode == 2):
        return '2D    Fix'
    return STATE_UNKNOWN
