# nsx-nanopb

<!-- nsx:facts -->
Vendored nanopb v0.4.9.1 — a small, zero-dynamic-memory Protocol Buffers implementation in ANSI C. Provides pb_encode / pb_decode for structured message serialisation over any transport (USB, UART, SPI, etc.). Pre-generated .pb.c/.pb.h files produced from .proto schemas are compiled into the application target; this module supplies only the runtime library.


- Type: Library / service
- Version: 0.1.1
- Project: nsx-nanopb
- Revision: v0.1.1
- Source: https://github.com/AmbiqAI/nsx-nanopb/tree/v0.1.1
- Capabilities: protobuf, serialisation, rpc_framing, zero_dynamic_memory
<!-- /nsx:facts -->

## Add it to an app

```bash
nsx module add nsx-nanopb
```

## Capabilities

- protobuf
- serialisation
- rpc_framing
- zero_dynamic_memory

## Use cases

- structured USB RPC messages
- sensor data serialisation
- host-device binary protocol
- AI demo structured inference requests/responses

## Compatibility

:::note[How compatibility is declared]
The boards, SoCs and toolchains listed here are the ones the module manifest declares.
That is the module author's statement of intent, not evidence from hardware. Confirm on your
own target before you depend on it.
:::

| Kind | Declared |
| --- | --- |
| Boards | * |
| SoCs | * |
| Toolchains | * |

## Agent keywords

`nanopb`, `protobuf`, `proto`, `rpc`, `serialisation` , `encoding`, `binary protocol`

## Source

| Field | Value |
| --- | --- |
| Type | Library / service |
| Version | 0.1.1 |
| Project | nsx-nanopb |
| Revision | `v0.1.1` |
| Manifest | `modules/nsx-nanopb/nsx-module.yaml` |
| Repository | [nsx-nanopb](https://github.com/AmbiqAI/nsx-nanopb/tree/v0.1.1) |

Back to the [module catalog](https://ambiqai.github.io/neuralspotx/modules/catalog/).
