示例#1
0
  def to_binary(self):
    """Produce a framed/packed SBP message.

    """
    c = containerize(exclude_fields(self))
    self.payload = MsgBootloaderJumpToApp._parser.build(c)
    return self.pack()
示例#2
0
文件: settings.py 项目: wltr/libsbp
  def to_binary(self):
    """Produce a framed/packed SBP message.

    """
    c = containerize(exclude_fields(self))
    self.payload = MsgSettingsReadByIndexResp._parser.build(c)
    return self.pack()
示例#3
0
文件: file_io.py 项目: edacat/libsbp
    def to_binary(self):
        """Produce a framed/packed SBP message.

    """
        c = containerize(exclude_fields(self))
        self.payload = MsgFileioReadResp._parser.build(c)
        return self.pack()
示例#4
0
    def to_binary(self):
        """Produce a framed/packed SBP message.

    """
        c = containerize(exclude_fields(self))
        self.payload = MsgSsrOrbitClockDepA._parser.build(c)
        return self.pack()
示例#5
0
文件: flash.py 项目: mfueller/libsbp
  def to_binary(self):
    """Produce a framed/packed SBP message.

    """
    c = containerize(exclude_fields(self))
    self.payload = MsgStmFlashUnlockSector._parser.build(c)
    return self.pack()
示例#6
0
文件: flash.py 项目: mfueller/libsbp
  def to_binary(self):
    """Produce a framed/packed SBP message.

    """
    c = containerize(exclude_fields(self))
    self.payload = MsgM25FlashWriteStatus._parser.build(c)
    return self.pack()
示例#7
0
  def to_binary(self):
    """Produce a framed/packed SBP message.

    """
    c = containerize(exclude_fields(self))
    self.payload = MsgMeasurementState._parser.build(c)
    return self.pack()
示例#8
0
    def to_binary(self):
        """Produce a framed/packed SBP message.

    """
        c = containerize(exclude_fields(self))
        self.payload = MsgLinuxProcessFdSummary._parser.build(c)
        return self.pack()
示例#9
0
  def to_binary(self):
    """Produce a framed/packed SBP message.

    """
    c = containerize(exclude_fields(self))
    self.payload = MsgTrackingStateDetailedDep._parser.build(c)
    return self.pack()
示例#10
0
  def to_binary(self):
    """Produce a framed/packed SBP message.

    """
    c = containerize(exclude_fields(self))
    self.payload = MsgBootloaderHandshakeDepA._parser.build(c)
    return self.pack()
示例#11
0
文件: settings.py 项目: renrensd/ppz
    def to_binary(self):
        """Produce a framed/packed SBP message.

    """
        c = containerize(exclude_fields(self))
        self.payload = MsgSettingsReadByIndexReq._parser.build(c)
        return self.pack()
示例#12
0
  def to_binary(self):
    """Produce a framed/packed SBP message.

    """
    c = containerize(exclude_fields(self))
    self.payload = MsgFileioConfigResp._parser.build(c)
    return self.pack()
示例#13
0
  def to_binary(self):
    """Produce a framed/packed SBP message.

    """
    c = containerize(exclude_fields(self))
    self.payload = MsgCsacTelemetryLabels._parser.build(c)
    return self.pack()
示例#14
0
  def to_binary(self):
    """Produce a framed/packed SBP message.

    """
    c = containerize(exclude_fields(self))
    self.payload = MsgEphemerisDepA._parser.build(c)
    return self.pack()
示例#15
0
  def to_binary(self):
    """Produce a framed/packed SBP message.

    """
    c = containerize(exclude_fields(self))
    self.payload = MsgCsacTelemetryLabels._parser.build(c)
    return self.pack()
示例#16
0
文件: flash.py 项目: namhh/libsbp
  def to_binary(self):
    """Produce a framed/packed SBP message.

    """
    c = containerize(exclude_fields(self))
    self.payload = MsgM25FlashWriteStatus._parser.build(c)
    return self.pack()
示例#17
0
文件: flash.py 项目: namhh/libsbp
  def to_binary(self):
    """Produce a framed/packed SBP message.

    """
    c = containerize(exclude_fields(self))
    self.payload = MsgStmFlashUnlockSector._parser.build(c)
    return self.pack()
示例#18
0
  def into_buffer(self, buf, offset):
    """Produce a framed/packed SBP message into the provided buffer and offset.

    """
    self.payload = containerize(exclude_fields(self))
    self.parser = MsgTrackingIq._parser
    self.stream_payload.reset(buf, offset)
    return self.pack_into(buf, offset, self._build_payload)
示例#19
0
    def into_buffer(self, buf, offset):
        """Produce a framed/packed SBP message into the provided buffer and offset.

    """
        self.payload = containerize(exclude_fields(self))
        self.parser = MsgInsUpdates._parser
        self.stream_payload.reset(buf, offset)
        return self.pack_into(buf, offset, self._build_payload)
示例#20
-1
  def to_binary(self):
    """Produce a framed/packed SBP message.

    """
    c = containerize(exclude_fields(self))
    self.payload = MsgTrackingStateDetailedDep._parser.build(c)
    return self.pack()