[aprssig] Encapsulated Packets in FAP

Bryan Hoyer bhhoyer at gmail.com
Sat Feb 16 16:47:05 CST 2013


Basil recently sent this to Tapio but hasn't received a response.

Is FAP still active?

Anyone else dealing with encapsulated packets?

Thanks,
Bryan K7UDR

Begin forwarded message:

> From: Basil Gunn <basil at pacabunga.com>
> Subject: Patch request for fap.c - third party packets
> Date: February 1, 2013 12:10:46 PM PST
> To: oh2gve at pakettiradio.net
> 
> Hi Tapio,
> 
> I was wondering if you would consider the following patch to fap.c.
> The following patch allows me to detect encapsulated third party
> packets in my app.  I can then parse off the encapsulated address
> & resubmit the packet to fap. I am currently doing this with Dan
> Smith's APRS client.
> 
> 
> @@ -450,6 +450,9 @@
> 	else if ( typechar == '}' )
> 	{
> 		/* Come here to avoid the "when all else fails" option. */
> +		result->type = malloc(sizeof(fap_packet_type_t));
> +		if ( !result->type ) return result;
> +		*result->type = fapTHIRD_PARTY;
> 	}
> 	/* When all else fails, try to look for a !-position that can occur
> 	   anywhere within the 40 first characters according to the spec. */
> 
> 
> Thank you for making the fap C library open source.
> 
> /Basil N7NIX

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tapr.org/pipermail/aprssig/attachments/20130216/1eba345d/attachment.html>


More information about the aprssig mailing list