Skip to main content

pamoja_lorawan_device_dev_eui

Function pamoja_lorawan_device_dev_eui 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_lorawan_device_dev_eui( device: *const PamojaLorawanDevice, out_dev_eui: *mut u8, ) -> bool
Expand description

Copies the device EUI a device was created with.

§Arguments

§Returns

true when the identifier was written, or false if either pointer is null.

§Safety

device must be a live handle from pamoja_lorawan_device_new, or null, and out_dev_eui must point to at least PAMOJA_LORAWAN_EUI_LEN writable bytes.