USP TR-369: Making Broadband Device Software Lean and Extensible
JUMP TO
Broadband device software has become unnecessarily complicated. Years of embedding operator features and vendor-specific integrations into what should have been generic middleware has left us with complex, bloated software stacks that are memory-intensive, expensive to maintain, and impossible to evolve.
Every new chipset, software feature, and bug fix introduces more code. And every new generation of hardware inherits all the complexities of the last, without any real way to reset the baseline.
The new TR-369 USP (User Services Platform) specification from the Broadband Forum (BBF) gives us an opportunity to break this cycle. Not by bolting on USP as another layer of complexity, but by rethinking the architecture of broadband device software from the ground up.
1. What is USP?
The USP specification defines a few things:
- A standardised remote management solution with Controller/Agent discovery, authentication, authorisation, access controls, secure messaging, data model subscriptions, and asynchronous notifications/events.
- A new specification for Applications (Apps) and App Lifecycle Management.
- A standardised Message Transfer Protocol (MTP) so operators aren't reliant on custom remote management or inter-process communication protocols.
- Supported MTP transport protocols are WebSockets, MQTT, STOMP for remote connections, and Unix Domain Sockets (UDS) for local inter-process communication (relevant to Apps).
What this means is that critical operator features like Remote Management, Data Transport, and App Lifecycle Management no longer require bespoke solutions.
2. Defining a Lean USP-Certified Core with Extensibility Baked In, Not Bolted On
Most broadband software solutions today initialise every imaginable operator service at boot, regardless of whether the service is actually needed or if the device even has a working Internet connection.
Over time, this has resulted in increasingly large firmware images, tightly coupled software dependencies, and services competing for increasingly scarce memory and processing resources.
If we really want to build a software stack that is as lean as can be, we need to rethink what should actually belong in the base firmware.
At its core, a broadband device (or any embedded device of any sort) only needs to do three things:
- Establish Internet Connectivity. The device needs to bring up its WAN connection and connect to the operator's cloud for provisioning and management.
- Upgrade its Firmware. It needs a reliable mechanism to install new firmware images, allowing the platform itself to be maintained and updated.
- Manage its Applications. It needs the ability to download, install, launch, and manage Operator and Customer Experience Apps on-demand and as required.
That's it. Everything else can be optionally added as required by the operator, the customer, or the device type.
With USP, we now have the opportunity to reduce our bloated monolithic software stacks into a lightweight, minimally operable core whose capabilities can be extended freely, and quickly, with Apps.
But there's a problem. USP establishes the TR-181 data model as a device's standardised northbound interface for management and telemetry, yet our three core functions only expose a tiny subset of the available TR-181 data model. How do we expose the rest? We can't practically deliver every device capability as an App, especially low-level, often vendor-proprietary capabilities such as Wi-Fi Radio configurations, Ethernet and Switch management, or hardware acceleration features.
This is where we need something new: USP Plugins.
USP Plugins are not a part of the TR-369 specification, but they're not a new concept either. A Plugin can independently map one or more TR-181 Data Model objects to the corresponding low-level device capabilities. And by designing these as pluggable modules for the USP Agent, we enable the core minimal firmware to become fully extensible.
The architecture diagram below shows how it all comes together through a lean USP Agent, a core set of USP Plugins, and a native ability to add Apps and further Plugins as required.
USP Agent
USP Compliance · TR-181 Northbound Interface · MTP Protocol · Loadable Plugins · Request Dispatching
USP Plugins
The architecture has three fundamental building blocks: a standardised northbound contract, a lightweight USP management core, and an extensible plugin and application layer.
Let's look at how each piece fits together.
3. Building on the USP Standard
The Broadband Forum USP TR-369 specification and TR-181 Data Model definition provide a solid foundation for us to build upon. Together, they provide much of what modern embedded device software needs:
- A vendor-agnostic data model so operators can manage devices consistently across differing OEM software and hardware implementations.
- Standardised, secure, and scalable communication between devices and operator controllers through USP's Message Transfer Protocol (MTP).
- Device Capability Discovery through data model registrations and availability.
- Remote control and command through standardised operations and data model interactions.
- Data collection and telemetry through standardised access to device state, statistics, and events.
- Firmware and App Lifecycle Management through the Device.SoftwareModules data model.
The result is a standardised, vendor-agnostic operations interface over any device hardware running any software stack.
4. USP Plugins: Delivering Device Capabilities as Pluggable Modules
USP Plugins are not a part of the TR-369 specification. They are a design decision to break apart the huge TR-181 data model and capability set into smaller pluggable modules with clearly-scoped, non-overlapping responsibilities.
Let's take a look at Wi-Fi as an example.
The TR-181 data model defines Device.WiFi to manage an available Wi-Fi subsystem. That subsystem would typically be in charge of: interacting with low-level utilities, interfaces, or drivers; orchestrating Wi-Fi management such as SSID and passphrase changes; Radio configurations such as channel and band control; and exposing diagnostics and telemetry up to the operator controller.
A Wi-Fi USP Plugin enables us to deliver this subsystem as a loadable module. The core USP Agent would never need to be hardcoded to support Wi-Fi features. Neither would the firmware. The plugin encapsulates all Wi-Fi logic, features, and settings, and dynamically registers itself with the USP Agent as a provider of the Device.WiFi data model and capability set.
Plugins allow the USP Agent to dynamically discover capabilities and supported data models, expose those data models to an operator controller, and be able to dispatch commands or configurations from the operator to the corresponding provider plugin.
In the case of an operator triggering an SSID change for a given Wi-Fi Access Point, the Wi-Fi Plugin would receive the request from the USP Agent, would validate the request against the current configured state, would interface directly with the underlying Wi-Fi stack (e.g. hostapd) to action the SSID change along with orchestrating any other necessary actions, and would report the new state back to the USP Agent, which the agent would deliver to the operator controller through its established MTP connection.
This applies to other device capabilities too: Ethernet, routing, switching, hardware acceleration, and other peripherals can each have their own USP Plugins to implement the relevant TR-181 objects and manage their underlying functionality.
This gives us independently managed components with clear responsibilities, without tightly coupling every device capability to the USP Agent or to the rest of the software stack.
5. Delivering Operator Experiences as Apps with Independent Release Cadences
While USP Plugins are inherently tied to the USP Agent and device capabilities (and therefore tied to the core firmware), Apps are designed to be deployed and launched independently of the firmware lifecycle.
Here's how Apps fit in:
| Component | Responsibility |
|---|---|
| USP Agent | Management, communication, access permissions, and the TR-181 interface |
| USP Plugins | Implement device capabilities and register any provided TR-181 objects |
| Apps | Consume device capabilities to deliver Operator and Customer Experiences |
This is where USP's Device.SoftwareModules data model becomes particularly important. It provides standardised mechanisms for installing, configuring, operating, and removing Apps completely independently of the base firmware's lifecycle.
Experiences such as parental controls, digital security, Wi-Fi optimisation, and other operator-specific features can all be delivered as Apps rather than being permanently embedded in the device firmware.
A Note on Containerised Apps and Memory Constraints
When we talk about running Apps on broadband devices, this doesn't necessarily mean running memory-intensive Linux containers. Applications can be implemented using much lighter-weight execution models without the overhead of container runtimes.
With the MTP protocol suppporting remote connections (via MQTT, WebSockets, STOMP) as well as internal connections (via Unix Domain Sockets), operators have the choice of running Apps either locally on the device, or entirely in the Cloud.
Regardless of where an App is running, the interface remains the same: TR-181 data models over a standardised MTP communication protocol, which works the same on any device hardware running any software stack.
Device firmware no longer needs to anticipate every service an operator might eventually want. It provides the foundation, and the operator decides what runs on top.
6. A Different Way to Build Broadband Device Software
With the USP standard, we have the opportunity to change how we approach embedded software architecture.
Instead of building increasingly complex software stacks that try to accommodate every possible operator requirement or device capability, we can now start with a minimal, standards-based foundation which can be extended independently as required.
- TR-369 provides a standard, certifiable management framework.
- TR-181 provides a vendor-agnostic data model interface.
- A USP Agent provides the lean and extensible management core.
- USP Plugins deliver modular device capabilities.
- And Apps provide operator and customer experiences with independent release cadences.
For device manufacturers, this means smaller firmware images, fewer dependencies, and less code to maintain across hardware generations.
For operators, it means a consistent, vendor-agnostic management interface, and the freedom to introduce new experiences without having to plan around slow firmware releases.
For App developers, it means a standardised way to build and deploy services across different device hardware and software.
Most importantly, it gives us a way to stop treating broadband device software as large, bloated monoliths, and instead as extensible experience platforms.