ros2 interface package sensor_msgs
ros2 node list ros2 node info {/hardware_status_publisher}
Likewise for topic,
ros2 topic list ros2 topic info /hardware_status ros2 interface show hexa_robot_interfaces/msg/HardwareStatus