<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>how to increse the packet length of gzll</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66257/how-to-increse-the-packet-length-of-gzll</link><description>hi 
 im use nrf52840 as a gazell device which run the demo \nRF5_SDK_16.0.0_98a08e2\examples\proprietary_rf\gzll\gzp_desktop_emulator\pca10056 ,and use nrf24lu1p 
 (\nrfready_desktop_2_v3.0.0\source_code\nrfready_desktop_dongle\projects\nrfready_desktop</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 23 Sep 2020 12:06:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66257/how-to-increse-the-packet-length-of-gzll" /><item><title>RE: how to increse the packet length of gzll</title><link>https://devzone.nordicsemi.com/thread/271079?ContentTypeID=1</link><pubDate>Wed, 23 Sep 2020 12:06:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31aae0d2-0168-4a47-b4cc-e8ac9186fbad</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;From gzp.h I can find that:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define GZP_CMD_ENCRYPTED_USER_DATA_VALIDATION_ID 1  ///&amp;lt; &amp;quot;Encrypted user data&amp;quot; packet, validation ID position
#define GZP_CMD_ENCRYPTED_USER_DATA_PAYLOAD ((GZP_CMD_ENCRYPTED_USER_DATA_VALIDATION_ID + GZP_VALIDATION_ID_LENGTH)) ///&amp;lt; &amp;quot;Encrypted user data&amp;quot; packet, user data position
#define GZP_ENCRYPTED_USER_DATA_PACKET_OVERHEAD ( GZP_CMD_ENCRYPTED_USER_DATA_VALIDATION_ID + GZP_VALIDATION_ID_LENGTH)        ///&amp;lt; &amp;quot;Encrypted user data&amp;quot; packet, packet overhead length
#define GZP_ENCRYPTED_USER_DATA_MAX_LENGTH (17 - GZP_ENCRYPTED_USER_DATA_PACKET_OVERHEAD) ///&amp;lt; &amp;quot;Encrypted user data&amp;quot; packet, max payload length
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This should mean that you can send 17 - 1 - 3 = 14 bytes encrypted packet using&amp;nbsp;for instance&amp;nbsp;gzp_crypt_data_send(payload, GZP_ENCRYPTED_USER_DATA_MAX_LENGTH).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>