Astro~/0.3
** CLI / astro bp * PAGE 21 / 22
** Astro * CLI
** /cli/bp

astro bp

Bundle Protocol v6, decode bundles and administrative records.

Decode Bundle Protocol bundles and administrative records (CCSDS 734.2-B-1, RFC 5050).

This is version 6, which is what CCSDS profiles. BPv7 (RFC 9171) encodes bundles in CBOR and is wire-incompatible; it is not implemented, and a BPv7 bundle will not decode here.

Subcommands

CommandDescription
astro bp decodeDecode a bundle: the primary block, then each canonical block
astro bp adminDecode an administrative record

astro bp decode

Decode one bundle: the primary block, then each canonical block it carries.

astro bp decode [file] [flags]

Flags

FlagDefaultDescription
--inputhexInput format: hex or bin
--formattextOutput format: text or json

Examples

astro bp decode --input hex < bundle.hex

astro bp admin

Decode an administrative record. A status report or a custody signal. This is what a bundle's payload holds when the bundle is an administrative one, so feed it the payload rather than the whole bundle.

astro bp admin [file] [flags]

Flags

Same as decode.

Examples

astro bp admin --input hex < record.hex

See also: the protocol page for the standard and the Go API, and the conformance statement for what is and is not implemented.

** Conformance-tested CCSDS and ECSS protocols for building spacecraft and ground software. **PAGE 21 / 22