Skip to main content

pamoja_gateway_packet_tx_status

Function pamoja_gateway_packet_tx_status 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_gateway_packet_tx_status( packet: *const PamojaGatewayPacket, ) -> u8
Expand description

Returns what a TX_ACK reports.

§Arguments

  • packet - the packet.

§Returns

One of PAMOJA_GATEWAY_TX_NONE through PAMOJA_GATEWAY_TX_GPS_UNLOCKED, or 255 when the packet is not a TX_ACK.

§Safety

packet must be a live handle, or null.