Astro~/0.4
** CLI
** Astro * CLI
** /cli/bp

astro bp

Bundle Protocol v7, decode bundles and status reports.

Decode Bundle Protocol bundles and administrative records (RFC 9171).

This is version 7, the one live implementations speak. Version 6 (RFC 5050, profiled by CCSDS 734.2-B-1) is a different wire format, not an earlier revision: it encodes with SDNV where version 7 encodes with CBOR. A version 6 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, which for version 7 means a bundle status report

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. Version 7 defines one kind, the bundle status report. This is what a bundle's payload holds when its administrative record flag is set, 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.