<?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>Sending 802.15.4 command frames</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47159/sending-802-15-4-command-frames</link><description>I&amp;#39;m using the nRF52840 to interface with an existing 802.15.4 network. For reasons decided long before I became involved, the messages exchanged are MAC command frames, not MAC data frames. While the Wireless UART example in the SDK demonstrates how to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 May 2019 07:22:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47159/sending-802-15-4-command-frames" /><item><title>RE: Sending 802.15.4 command frames</title><link>https://devzone.nordicsemi.com/thread/187132?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 07:22:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec34c293-3433-4c7b-bcc4-8df6cdbbf50c</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi again.&lt;/p&gt;
&lt;p&gt;Glad to hear that you got that working.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure that the 802.15.4-2006 specification which the radio driver attached to SDK 15.3 is built upon allows you to add application payload to the MAC command frames.&lt;/p&gt;
&lt;p&gt;The 802.15.4 driver from &lt;a href="https://github.com/NordicSemiconductor/nRF-IEEE-802.15.4-radio-driver"&gt;GitHub &lt;/a&gt;is more flexible, as this has some parts from the 802.15.4-2015 specification implemented. You can use that driver to create a MAC comand frame with the help of your Wireshark snippet or the specification. &lt;/p&gt;
&lt;p&gt;Here is an example that transmits a data frame: ttps://github.com/NordicSemiconductor/nRF-IEEE-802.15.4-radio-driver/wiki/Sample-application&lt;/p&gt;
&lt;p&gt;Note that you have to compile this driver yourself and include what you need of source files.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/dpiegdon/nordic-template/tree/example-802.15.4"&gt;Here &lt;/a&gt;is an example of a build system, note that this is not made or maintained by Nordic.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Hope this helps you :-) &lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending 802.15.4 command frames</title><link>https://devzone.nordicsemi.com/thread/187054?ContentTypeID=1</link><pubDate>Tue, 14 May 2019 15:28:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f34ec2c-724f-48b6-a858-c21a9f3bdd42</guid><dc:creator>dwanninger</dc:creator><description>&lt;p&gt;Hi Andreas,&lt;/p&gt;
&lt;p&gt;Thanks for the help - you got me a little bit further.&lt;/p&gt;
&lt;p&gt;The specific command frames I&amp;#39;m trying to send are data requests, so I was able to get those working with the MLME-POLL.request primitive in mac_mlme_poll.h.&amp;nbsp; However,&amp;nbsp; I also need to add a command payload.&amp;nbsp; Is this possible?&amp;nbsp; I&amp;#39;ve attached a wireshark screenhot of the message I need to mimic that shows the FCF and payload.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/802154-screenshot.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending 802.15.4 command frames</title><link>https://devzone.nordicsemi.com/thread/186612?ContentTypeID=1</link><pubDate>Mon, 13 May 2019 09:17:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33add3be-7f4f-47e6-99f2-569a9b5ec6b0</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;At the moment we don&amp;#39;t have any examples for sending MAC command frames.&lt;/p&gt;
&lt;p&gt;But I will try to help you.&lt;/p&gt;
&lt;p&gt;First, you have to select one of the MAC services in the 802.15.4 specification.&lt;/p&gt;
&lt;p&gt;In the 2006 specification this is found under chapter 7.1&lt;/p&gt;
&lt;p&gt;In the 2015 specification this is found under chapter 8.2&lt;/p&gt;
&lt;p&gt;When you have selected a service you should find the service in the header files provided with the library, for example if i look for this:&lt;/p&gt;
&lt;p&gt;I would like to use the MLME-ASSOCIATE.request service, then i find the header file for this service called &lt;strong&gt;mac_mlme_associate.h&lt;/strong&gt; in the folder&amp;nbsp;&lt;strong&gt;components\802_15_4\api\MAC&lt;/strong&gt; by searching for &lt;strong&gt;MLME-ASSOCIATE&lt;/strong&gt; in the SDK.&lt;/p&gt;
&lt;p&gt;You should then use that header file according to the specification.&lt;/p&gt;
&lt;p&gt;I hope this helps you.&lt;/p&gt;
&lt;p&gt;Just ask if you want more information :-)&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>