Skip to main content

pamoja_can_bus_join

Function pamoja_can_bus_join 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_can_bus_join( bus: *const PamojaCanBus, out_bus: *mut *mut PamojaCanBus, ) -> PamojaStatus
Expand description

Puts another node on the same bus: another socket on the same interface, or another node on the same simulated bus.

§Arguments

  • bus - a node on the bus.
  • out_bus - receives the new node.

§Returns

As pamoja_can_bus_open.

§Safety

bus must be a live handle or null, and out_bus a writable pointer or null.