#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_gateway_station_message_data_rate(
message: *const PamojaGatewayStationMessage,
index: usize,
out_rate: *mut PamojaGatewayStationDataRate,
) -> PamojaStatusExpand description
Reads one number of a configuration’s data-rate table.
§Arguments
message- the configuration.index- the data-rate number, below thedata_rate_countits fields report.out_rate- receives the data rate, withdefinedfalse for a number the table leaves undefined.
§Returns
PamojaStatus::Ok once read, or PamojaStatus::InvalidArgument for an index past the
table or a message that is not a configuration.
§Safety
message must be a live handle, and out_rate must point to writable storage.