Back to the catalog

Software — free catalog

The Bundle Protocol Library

A NASA software catalog entry available for reuse or request.

About this technology

Overview

The Bundle Protocol Library (bplib) implements a subset of the RFC5050 Bundle Protocol necessary for embedded space flight applications. The library uses the concept of a bundle channel to manage the process of encapsulating application data in bundles, and extracting application data out of bundles. A channel specifies how the bundles are created (e.g. primary block fields), and how bundles are processed. Bplib contains no threads and relies entirely on the calling application for its execution context, and implements a thread-safe synchronous I/O model where no call-backs are necessary and requested operations will either block according to the provided timeout, or return an error code immediately if the operation cannot be performed.