#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_can_bus_send(
bus: *const PamojaCanBus,
frame: *const PamojaCanFrame,
) -> PamojaStatusExpand description
Sends a frame to every other node on the bus.
§Arguments
bus- the node.frame- the frame, which stays the caller’s.
§Returns
PamojaStatus::Ok; PamojaStatus::InvalidArgument for a null argument; or
PamojaStatus::Io when the kernel refuses the frame, with the reason in the last error
message.
§Safety
bus and frame must be live handles or null.