lorawan::parser
pub fn parse_with_factory<'a, T, F>( data: T, factory: F) -> Result<PhyPayload<T, F>, &'a str> where T: AsRef<[u8]> + AsMut<[u8]>, F: CryptoFactory,
Parses a payload as LoRaWAN physical payload.
Check out parse if you do not need custom crypto factory.