Skip to main content

pamoja_lorawan_join_request_app_eui

Function pamoja_lorawan_join_request_app_eui 

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

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

§Arguments

  • request - the verified request.
  • out_app_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_app_eui must point to at least PAMOJA_LORAWAN_EUI_LEN writable bytes.