<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Payload</title><link>https://sourceforge.net/p/coronissdk/wiki/Payload/</link><description>Recent changes to Payload</description><atom:link href="https://sourceforge.net/p/coronissdk/wiki/Payload/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 30 Jun 2012 21:39:36 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/coronissdk/wiki/Payload/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage Payload modified by Thierry CHOMAUD</title><link>https://sourceforge.net/p/coronissdk/wiki/Payload/</link><description>**Payload**

Declaration of protocol types that are used for Coronis implementation of Protocol implementation.

    /**
     * Length used for buffering the payload information
     * over Coronis Protocol implementation
     * 2560 bytes for data storage + 4 for length
     */
    #define PAYLOAD_BUFFER_LEN  2564
    
    /**
     * Length used for buffering the radioAddress information
     * over Coronis Protocol implementation
     * 12 bytes + 1 byte for null terminated C string
     */
    #define RADIOADDRESS_BUFFER_LEN  13
    
    /**
     * Structure used to store payload information
     * for Coronis Protocol implementation usage.
     * 		frame: data that contains the payload in byte[] format
     * 		len: length of the data that contains in the payload value
     */
    typedef struct tagIPayload {
    	byte         frame[PAYLOAD_BUFFER_LEN - 4];
    	unsigned int len;
    } Payload;
    
    /**
     * This interface describes radio address methods available to manipulate RadioAddress content.
     * Address is stored as hex string
     * 		addressValue: data that contains the radio address value
     */
    typedef struct tagIRadioAddress {
    	char addressValue[RADIOADDRESS_BUFFER_LEN];
    } RadioAddress;
    
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thierry CHOMAUD</dc:creator><pubDate>Sat, 30 Jun 2012 21:39:36 -0000</pubDate><guid>https://sourceforge.net7dbdd4f7690b71018262543e0490b2a8bed1aeef</guid></item></channel></rss>