Netlink interface to provide sensor temperature notifications to the user space.
User space applications can use the thermal Netlink library to receive sensor temperature notifications and take the appropriate action.
Receive notifications
- Define callbacks for the thermal events that the application needs to handle, such as thermal zone, trip point, cooling device, and temperature events.
- Initialize the thermal Netlink library with the callbacks.
- Subscribe to the required thermal multicast event groups.
- Run the event loop and process each notification in the appropriate callback.
- Release the thermal Netlink library resources when the application exits.

