Skip to main content

pamoja_gateway_station_id6

Function pamoja_gateway_station_id6 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_gateway_station_id6( eui: *const u8, out_text: *mut *mut PamojaBuffer, ) -> PamojaStatus
Expand description

Writes an identifier in the ID6 form the protocol prefers.

§Arguments

  • eui - the identifier, eight bytes.
  • out_text - receives the text, which the caller releases with pamoja_buffer_free.

§Returns

PamojaStatus::Ok once written.

§Safety

eui must point to eight readable bytes, and out_text to writable storage.