api: Expose device paths hex-encoded
api::listen: Add missing error handling