Skip to main content

pamoja_lorawan_join_request_dev_eui

Function pamoja_lorawan_join_request_dev_eui 

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

Copies the device identifier out of a verified join-request.

§Arguments

  • request - the verified request.
  • out_dev_eui - receives PAMOJA_LORAWAN_EUI_LEN bytes, most-significant byte first.

§Returns

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

§Safety

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