code: def mavlink_packet(self, m):
          '''handle an incoming mavlink packet'''
          if m.get_type() == 'LOG_ENTRY':
              self.handle_log_entry(m)
          elif m.get_type() == 'LOG_DATA':
              self.handle_log_data(mf mavlink_packet(self, m):
          '''handle an incoming mavlink packet'''
          if m.get_type() == 'LOG_ENTRY':
              self.handle_log_entry(m)
          elif m.get_type() == 'LOG_DATA':
              self.handle_log_data(m)
docs: handle an incoming mavlink packet