<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Wireless MCUのトピックRe: Beacon question at KW40</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/Beacon-question-at-KW40/m-p/495689#M1031</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;All beacon applications use a NON-CONNECTABLE advertising. That means they will never accept connections.&lt;/P&gt;&lt;P&gt;The ByteRealDa exposes data by being in a connection through a GATT service. That is not the philosophy of a Bluetooth Low Energy beacon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you will need is a package on Linux that decodes advertising data while scanning. &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;hcitool lescan is not powerful enough.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 May 2016 13:03:56 GMT</pubDate>
    <dc:creator>alexandruandree</dc:creator>
    <dc:date>2016-05-05T13:03:56Z</dc:date>
    <item>
      <title>Beacon question at KW40</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Beacon-question-at-KW40/m-p/495687#M1029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one question when running kw40 beacon application. The&amp;nbsp; details as below.&lt;/P&gt;&lt;P&gt; 1. download beacon application to kw40 FRDM board from&lt;/P&gt;&lt;P&gt;C:\Freescale\KW40Z_Connectivity_Software_1.0.1\ConnSw\examples\bluetooth\beacon\frdmkw40z\bare_metal\build\iar&lt;/P&gt;&lt;P&gt;2. kw40 beacon can connect to Kinetis BLE&lt;BR /&gt;Toolbox on smart phone without any problem&lt;/P&gt;&lt;P&gt;3. However kw40 beacon can NOT connect to&lt;BR /&gt;CSR 4.0 dongle, why ?????&lt;/P&gt;&lt;P&gt;4. the other beacon can connect to CSR 4.0&lt;BR /&gt;dongle without any problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the logs captured from linux side&lt;/P&gt;&lt;P&gt;the example shows CSR 4.0 dongle connect to the other beacon device but cannot connect to kw40 EVB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: red;"&gt;[CSR 4.0 dongle is connected to linux]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;root@OpenWrt:/# hcitool lescan &lt;SPAN style="color: red;"&gt;[at this moment, both kw40 and the other beacon device are power on]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LE Scan ...&lt;/P&gt;&lt;P&gt;00:04:9F:00:00:0E (unknown) &lt;SPAN style="color: red;"&gt;[found kw40]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;00:04:9F:00:00:0E (unknown)&lt;/P&gt;&lt;P&gt;8D:CD:C3:AC:22:D3 (unknown)&lt;/P&gt;&lt;P&gt;8D:CD:C3:AC:22:D3 ByterealDA &lt;SPAN style="color: red;"&gt;[found the other beacon device which is name ByterealDA]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;8D:CD:C3:AC:22:D3 (unknown)&lt;/P&gt;&lt;P&gt;8D:CD:C3:AC:22:D3 ByterealDA&lt;/P&gt;&lt;P&gt;00:04:9F:00:00:0E (unknown)&lt;/P&gt;&lt;P&gt;00:04:9F:00:00:0E (unknown)&lt;/P&gt;&lt;P&gt;8D:CD:C3:AC:22:D3 (unknown)&lt;/P&gt;&lt;P&gt;8D:CD:C3:AC:22:D3 ByterealDA&lt;/P&gt;&lt;P&gt;00:04:9F:00:00:0E (unknown)&lt;/P&gt;&lt;P&gt;8D:CD:C3:AC:22:D3 (unknown)&lt;/P&gt;&lt;P&gt;8D:CD:C3:AC:22:D3 ByterealDA&lt;/P&gt;&lt;P&gt;^Croot@OpenWrt:/#&lt;/P&gt;&lt;P&gt;root@OpenWrt:/# hcitool lescan &lt;SPAN style="color: red;"&gt;[power off kw40, so only found ByterealDA]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LE Scan ...&lt;/P&gt;&lt;P&gt;8D:CD:C3:AC:22:D3 (unknown)&lt;/P&gt;&lt;P&gt;8D:CD:C3:AC:22:D3 ByterealDA&lt;/P&gt;&lt;P&gt;8D:CD:C3:AC:22:D3 (unknown)&lt;/P&gt;&lt;P&gt;8D:CD:C3:AC:22:D3 (unknown)&lt;/P&gt;&lt;P&gt;8D:CD:C3:AC:22:D3 ByterealDA&lt;/P&gt;&lt;P&gt;^Croot@OpenWrt:/#&lt;/P&gt;&lt;P&gt;root@OpenWrt:/# gatttool -b&lt;BR /&gt;8D:CD:C3:AC:22:D3 --interactive&lt;/P&gt;&lt;P&gt;[8D:CD:C3:AC:22:D3][LE]&amp;gt; connect&lt;/P&gt;&lt;P&gt;Attempting to connect to 8D:CD:C3:AC:22:D3&lt;SPAN style="color: red;"&gt; [connect to ByterealDA successfully]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Connection successful&lt;/P&gt;&lt;P&gt;[8D:CD:C3:AC:22:D3][LE]&amp;gt; char-desc&lt;BR /&gt;0x0028 0x0028&lt;/P&gt;&lt;P&gt;handle: 0x0028, uuid:&lt;BR /&gt;00002901-0000-1000-8000-00805f9b34fb&lt;SPAN style="color: red;"&gt; [got ByterealDA uuid]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[8D:CD:C3:AC:22:D3][LE]&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(gatttool:3290): GLib-WARNING **: Invalid&lt;BR /&gt;file descriptor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;root@OpenWrt:/#&lt;/P&gt;&lt;P&gt;root@OpenWrt:/# hcitool lescan &lt;SPAN style="color: red;"&gt;[power off ByterealDA and power on kw40]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LE Scan ...&lt;/P&gt;&lt;P&gt;00:04:9F:00:00:0E (unknown) &lt;SPAN style="color: red;"&gt;[found kw40]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;00:04:9F:00:00:0E (unknown)&lt;/P&gt;&lt;P&gt;00:04:9F:00:00:0E (unknown)&lt;/P&gt;&lt;P&gt;00:04:9F:00:00:0E (unknown)&lt;/P&gt;&lt;P&gt;^Croot@OpenWrt:/#&lt;/P&gt;&lt;P&gt;root@OpenWrt:/# gatttool -b&lt;BR /&gt;00:04:9F:00:00:0E --interactive&lt;/P&gt;&lt;P&gt;[00:04:9F:00:00:0E][LE]&amp;gt; connect&lt;/P&gt;&lt;P&gt;Attempting to connect to 00:04:9F:00:00:0E&lt;SPAN style="color: red;"&gt; [tried to connect to kw40 but fails]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: red;"&gt;Error: connect error:&lt;BR /&gt;Transport endpoint is not connected (107)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[00:04:9F:00:00:0E][LE]&amp;gt; [ 538.560571] usb 3-1: USB disconnect, device number 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anything need to pay attention ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached picture for your reference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 12:24:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Beacon-question-at-KW40/m-p/495687#M1029</guid>
      <dc:creator>jasonchiang</dc:creator>
      <dc:date>2016-05-03T12:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Beacon question at KW40</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Beacon-question-at-KW40/m-p/495688#M1030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jasonchiang"&gt;jasonchiang&lt;/A&gt;​,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are different beacons in the market. The most popular ones are iBeacon and AltBeacon, however, there are others proprietary beacons. For the NXP Beacon demo, it uses a proprietary NXP Beacon, hence, it will be only discovered using Kinetis BLE Toolbox. Probably, the application you are using to discover beacon only support iBeacon or AltBeacon. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the end, the main difference is the structure of the ADV packets that will be sent over the air. For more details, I recommend to read the next posts:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-328594"&gt;What is a BLE Beacon?&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-329201"&gt;Implementing Bluetooth® LE Beacons on the KW40Z Wireless Microcontroller &lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if you want to discover beacons generated from the FRDM-KW40Z, you need to change the format of the ADV packets built in the beacon application. Please, read the above post to see how you can easily implement this using NXP BLE stack. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;:smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 02:46:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Beacon-question-at-KW40/m-p/495688#M1030</guid>
      <dc:creator>miguel_reyes</dc:creator>
      <dc:date>2016-05-04T02:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Beacon question at KW40</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Beacon-question-at-KW40/m-p/495689#M1031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;All beacon applications use a NON-CONNECTABLE advertising. That means they will never accept connections.&lt;/P&gt;&lt;P&gt;The ByteRealDa exposes data by being in a connection through a GATT service. That is not the philosophy of a Bluetooth Low Energy beacon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you will need is a package on Linux that decodes advertising data while scanning. &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;hcitool lescan is not powerful enough.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 13:03:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Beacon-question-at-KW40/m-p/495689#M1031</guid>
      <dc:creator>alexandruandree</dc:creator>
      <dc:date>2016-05-05T13:03:56Z</dc:date>
    </item>
  </channel>
</rss>

