<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0"
 xmlns:blogChannel="http://backend.userland.com/blogChannelModule"
>

<channel>
<title><![CDATA[Dobrica Pavlinušić's random unstructured stuff: BLE]]></title>
<link>https://saturn.ffzg.hr/rot13/index.cgi?ble</link>
<description></description>
<pubDate>Sun, 24 Jul 2016 11:04:33 -0000</pubDate>
<webMaster>root@saturn.ffzg.hr</webMaster>
<generator>Socialtext Workspace v2.19.0.2</generator>

<item>
<title><![CDATA[BLE]]></title>
<link>https://saturn.ffzg.hr/rot13/index.cgi?ble</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div class="wiki">
<div class="nlw_phrase"><table class="wafl_container">
  <tr>
    <td>
      <div class="wafl_box">
        
          <div class="wafl_titlebox">
            <div class="wafl_title">
              
                Contents: [Dobrica Pavlinušić's random unstructured stuff]
              
            </div>
          </div>
          <div class="wafl_items">
            
              <div class="wiki">
<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#raspberrypi_3">Dobrica Pavlinušić's random unstructured stuff (RaspberryPi 3)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] RaspberryPi 3} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#gatt">Dobrica Pavlinušić's random unstructured stuff (GATT)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] GATT} --></span></li>
</ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#nrf24l01">Dobrica Pavlinušić's random unstructured stuff (nRF24L01+)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] nRF24L01+} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#quintic_ble">Dobrica Pavlinušić's random unstructured stuff (Quintic BLE)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Quintic BLE} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#raspberrypi_3">Dobrica Pavlinušić's random unstructured stuff (RaspberryPi 3)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] RaspberryPi 3} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#android">Dobrica Pavlinušić's random unstructured stuff (Android)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Android} --></span></li>
</ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#nrf51822">Dobrica Pavlinušić's random unstructured stuff (nRF51822)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] nRF51822} --></span></li>
</ul>
</div>

            
            
          </div>
        
      </div>
    </td>
  </tr>
</table>
<!-- wiki: {toc: }
--></div><br /><br /><h1 id="raspberrypi_3"><a href="https://saturn.ffzg.hr/rot13/index.cgi?raspberrypi" title="(91 months)  file mount-rpi-image.sh toc tag_list raspberrypi Interestring projects TODO test them out and write...">RaspberryPi</a> 3</h1>
<h2 id="gatt">GATT</h2>
<ul>
<li>doesn't really compile for me -- <a target="_blank" title="(external link)" href="https://github.com/comarius/bunget">https://github.com/comarius/bunget</a></li>

<ul>
<li><a target="_blank" title="(external link)" href="https://www.raspberrypi.org/forums/viewtopic.php?uid=25856&amp;f=41&amp;t=148449&amp;start=0">https://www.raspberrypi.org/forums/viewtopic.php?uid=25856&amp;f=41&amp;t=148449&amp;start=0</a></li>
</ul>
<li><a target="_blank" title="(external link)" href="https://github.com/msaunby/ble-sensor-pi">https://github.com/msaunby/ble-sensor-pi</a></li>
<li><a target="_blank" title="(external link)" href="https://github.com/ecc1/ble">https://github.com/ecc1/ble</a></li>
</ul>
<h1 id="nrf24l01">nRF24L01+</h1>
<ul>
<li><a target="_blank" title="(external link)" href="http://dmitry.gr/index.php?r=05.Projects&amp;proj=11.%20Bluetooth%20LE%20fakery">http://dmitry.gr/index.php?r=05.Projects&amp;proj=11.%20Bluetooth%20LE%20fakery</a></li>
<li><a target="_blank" title="(external link)" href="https://github.com/sandeepmistry/arduino-nRF24L01-BLE">https://github.com/sandeepmistry/arduino-nRF24L01-BLE</a></li>
<li><a target="_blank" title="(external link)" href="http://simonebaracchi.eu/posts/temperature-beacon/">http://simonebaracchi.eu/posts/temperature-beacon/</a></li>
</ul>
<h1 id="quintic_ble">Quintic BLE</h1>
<p>
Quintic Private Profile Guide <a target="_blank" title="(external link)" href="http://www.nxp.com/documents/application_note/AN11846.pdf">http://www.nxp.com/documents/application_note/AN11846.pdf</a><br />
Q 9021 <a target="_blank" title="(external link)" href="http://cache.nxp.com/documents/data_sheet/QN902X.pdf?pspll=1">http://cache.nxp.com/documents/data_sheet/QN902X.pdf?pspll=1</a></p>
<ul>
<li>serial port tools: <a target="_blank" title="(external link)" href="https://github.com/Informatic/qn902x-tools">https://github.com/Informatic/qn902x-tools</a></li>
<li>BLE pyhton lib <a target="_blank" title="(external link)" href="https://github.com/IanHarvey/bluepy">https://github.com/IanHarvey/bluepy</a></li>
<li><a target="_blank" title="(external link)" href="https://github.com/dpavlin/quintic-ble">https://github.com/dpavlin/quintic-ble</a></li>
</ul>
<h2 id="raspberrypi_3"><a href="https://saturn.ffzg.hr/rot13/index.cgi?raspberrypi" title="(91 months)  file mount-rpi-image.sh toc tag_list raspberrypi Interestring projects TODO test them out and write...">RaspberryPi</a> 3</h2>
<p>
unbind device in phone app</p>
<pre>
root@rpi3:/home/pi# hcitool lescan
LE Scan ...
08:7C:BE:92:85:23 Quintic BLE
08:7C:BE:92:85:23 (unknown)



</pre>
<br /><h2 id="android">Android</h2>
<p>
using BLE Scanner</p>
<pre>
nRF Master Control Panel, 2016-05-21
Quintic BLE (08:7C:BE:92:85:23)
V	07:17:01.689	Connecting to 08:7C:BE:92:85:23...
D	07:17:01.701	gatt = device.connectGatt(autoConnect = false)
D	07:17:01.907	[Callback] Connection state changed with status: 0 and new state: CONNECTED (2)
D	07:17:01.939	[Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
I	07:17:01.962	Connected to 08:7C:BE:92:85:23
D	07:17:01.987	wait(600ms)
V	07:17:02.614	Discovering services...
D	07:17:02.628	gatt.discoverServices()
D	07:17:03.328	[Callback] Services discovered with status: 0
I	07:17:03.352	Services discovered
V	07:17:03.422	Generic Access (0x1800)
- Device Name [R W] (0x2A00)
- Appearance [R] (0x2A01)
- Peripheral Privacy Flag [R W] (0x2A02)
- Peripheral Preferred Connection Parameters [R] (0x2A04)
- Reconnection Address [R W WNR] (0x2A03)
Generic Attribute (0x1801)
- Service Changed [I R] (0x2A05)
   Client Characteristic Configuration (0x2902)
Unknown Service (0000fee8-0000-1000-8000-00805f9b34fb)
- Unknown Characteristic [N] (003784cf-f7e3-55b4-6c4c-9fd140100a16)
   Client Characteristic Configuration (0x2902)
   Characteristic User Description (0x2901)
- Unknown Characteristic [WNR] (013784cf-f7e3-55b4-6c4c-9fd140100a16)
Unknown Service (0000fee9-0000-1000-8000-00805f9b34fb)
- Unknown Characteristic [W WNR] (d44bc439-abfd-45a2-b575-925416129600)
   Characteristic User Description (0x2901)
- Unknown Characteristic [N] (d44bc439-abfd-45a2-b575-925416129601)
   Client Characteristic Configuration (0x2902)
V	07:17:29.219	Reading all characteristics...
V	07:17:29.236	Reading characteristic 00002a00-0000-1000-8000-00805f9b34fb
D	07:17:29.250	gatt.readCharacteristic(00002a00-0000-1000-8000-00805f9b34fb)
I	07:17:29.465	Read Response received from 00002a00-0000-1000-8000-00805f9b34fb, value: (0x) 51-75-69-6E-74-69-63-20-42-4C-45, &quot;Quintic BLE&quot;
A	07:17:29.484	&quot;Quintic BLE&quot; received
V	07:17:29.497	Reading characteristic 00002a01-0000-1000-8000-00805f9b34fb
D	07:17:29.512	gatt.readCharacteristic(00002a01-0000-1000-8000-00805f9b34fb)
I	07:17:29.660	Read Response received from 00002a01-0000-1000-8000-00805f9b34fb, value: (0x) 00-00
A	07:17:29.670	&quot;[0] Unknown&quot; received
V	07:17:29.681	Reading characteristic 00002a02-0000-1000-8000-00805f9b34fb
D	07:17:29.692	gatt.readCharacteristic(00002a02-0000-1000-8000-00805f9b34fb)
I	07:17:29.853	Read Response received from 00002a02-0000-1000-8000-00805f9b34fb, value: (0x) 00
A	07:17:29.873	&quot;(0x) 00&quot; received
V	07:17:29.886	Reading characteristic 00002a04-0000-1000-8000-00805f9b34fb
D	07:17:29.897	gatt.readCharacteristic(00002a04-0000-1000-8000-00805f9b34fb)
I	07:17:30.050	Read Response received from 00002a04-0000-1000-8000-00805f9b34fb, value: (0x) 64-00-C8-00-00-00-D0-07
A	07:17:30.061	&quot;Connection Interval: 125.00ms - 250.00ms,
Slave Latency: 0,
Supervision Timeout Multiplier: 2000&quot; received
V	07:17:30.074	Reading characteristic 00002a03-0000-1000-8000-00805f9b34fb
D	07:17:30.085	gatt.readCharacteristic(00002a03-0000-1000-8000-00805f9b34fb)
I	07:17:30.243	Read Response received from 00002a03-0000-1000-8000-00805f9b34fb, value: 0 bytes
V	07:17:30.254	Reading characteristic 00002a05-0000-1000-8000-00805f9b34fb
D	07:17:30.265	gatt.readCharacteristic(00002a05-0000-1000-8000-00805f9b34fb)
I	07:17:30.439	Read Response received from 00002a05-0000-1000-8000-00805f9b34fb, value: (0x) 01-00-FF-FF
A	07:17:30.451	&quot;Affected Attribute Handle Range: 0x0001 - 0xFFFF&quot; received
V	07:17:35.488	Enabling services...
V	07:17:35.507	Enabling indications for 00002a05-0000-1000-8000-00805f9b34fb
D	07:17:35.527	gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x0200)
I	07:17:35.704	Data written to descr. 00002902-0000-1000-8000-00805f9b34fb, value: (0x) 02-00
A	07:17:35.713	&quot;Indications enabled&quot; sent
D	07:17:35.736	gatt.setCharacteristicNotification(00002a05-0000-1000-8000-00805f9b34fb, true)
V	07:17:35.754	Indications enabled for 00002a05-0000-1000-8000-00805f9b34fb
V	07:17:35.764	Enabling notifications for 003784cf-f7e3-55b4-6c4c-9fd140100a16
D	07:17:35.775	gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x0100)
I	07:17:35.995	Data written to descr. 00002902-0000-1000-8000-00805f9b34fb, value: (0x) 01-00
A	07:17:36.007	&quot;Notifications enabled&quot; sent
D	07:17:36.030	gatt.setCharacteristicNotification(003784cf-f7e3-55b4-6c4c-9fd140100a16, true)
V	07:17:36.042	Notifications enabled for 003784cf-f7e3-55b4-6c4c-9fd140100a16
V	07:17:36.055	Enabling notifications for d44bc439-abfd-45a2-b575-925416129601
D	07:17:36.066	gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x0100)
I	07:17:36.191	Data written to descr. 00002902-0000-1000-8000-00805f9b34fb, value: (0x) 01-00
A	07:17:36.203	&quot;Notifications enabled&quot; sent
D	07:17:36.227	gatt.setCharacteristicNotification(d44bc439-abfd-45a2-b575-925416129601, true)
V	07:17:36.240	Notifications enabled for d44bc439-abfd-45a2-b575-925416129601
V	07:17:36.251	All services enabled
V	07:17:38.528	Reading remote RSSI...
D	07:17:38.542	gatt.readRemoteRssi()
I	07:17:38.564	Remote RSSI received: -64 dBm
</pre>
<br /><h1 id="nrf51822">nRF51822</h1>
<p>
Brand: Makibes<br />
Model: ID107<br />
Bluetooth version: V4.0 BLE<br />
Waterproof rating: Life-level waterproof<br />
Main chip: Nordic nRF51822<br />
Pulse sensor: Silicon labs Si1142<br />
G-sensor: kx022-1020</p>
</div>
]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category></category>
<guid isPermaLink="true">https://saturn.ffzg.hr/rot13/index.cgi?ble</guid>
<pubDate>Sun, 24 Jul 2016 11:04:33 -0000</pubDate>
</item>
</channel>
</rss>