def automated_docking_handler(context, message): context['team'].DOK(message['data'], context['logfile']) return formatter.format("TDDOK,{},Success".format( timeutil.nmea_timestamp()))
def raise_the_flag_handler(context, message): context['team'].FLG(message['data'], context['logfile']) return formatter.format("TDFLG,{},Success".format( timeutil.nmea_timestamp()))
def heartbeat_handler(context, message): context['team'].HRB(message['data'], context['logfile']) return formatter.format("TDHRB,{},Success".format( timeutil.nmea_timestamp()))