<?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>Publish Period format not aligned with mesh standard definition</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/53132/publish-period-format-not-aligned-with-mesh-standard-definition</link><description>In acces.h there is the publish period format definition, which is 
 /** * Model publish period structure. */ typedef struct { /** Step resolution. */ uint8_t step_res : ACCESS_PUBLISH_STEP_RES_BITS; /** Number of steps. */ uint8_t step_num : ACCESS_PUBLISH_STEP_NUM_BITS;</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 15 Oct 2019 08:32:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/53132/publish-period-format-not-aligned-with-mesh-standard-definition" /><item><title>RE: Publish Period format not aligned with mesh standard definition</title><link>https://devzone.nordicsemi.com/thread/214992?ContentTypeID=1</link><pubDate>Tue, 15 Oct 2019 08:32:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5711a71e-67c7-4ce0-ab9a-8349e8ed3aaf</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The mesh team had a look at the matter, and the structure you mentioned is only used internally. For communication over the Bluetooth mesh network, we use the usual patterns of masks, bitshifts and other bit operations to put the fields in the correct location and to read from the correct locations within the packets. Bitfields cannot be used for that, as implementation differs between toolchains.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Publish Period format not aligned with mesh standard definition</title><link>https://devzone.nordicsemi.com/thread/214641?ContentTypeID=1</link><pubDate>Fri, 11 Oct 2019 15:52:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8bc1df6-af17-4ad9-94f1-5cfa174f23ae</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for raising concerns regarding the bit ordering of the bit fields. I have reported it to the developers for them to have a look into it.&lt;/p&gt;
&lt;p&gt;The internal representation used by our SDK is not necessarily the same as what is sent over the air, even though the structure is similar. That means this is not necessarily an error, but it is good to have it checked anyway.&lt;/p&gt;
&lt;p&gt;Have you experienced any compatibility issues when connecting nRF based Bluetooth mesh devices with other devices, that can be tracked down to different interpretation of the Access Publish Period structure?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>