<?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>Thingy and blutoothctl - How to read data via Linux console?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33490/thingy-and-blutoothctl---how-to-read-data-via-linux-console</link><description>Hello everybody! 
 How can i read the temperature, the battery-% or other data from the Thingy when using the Linux console and not the SDK? My steps so far 
 1. With i was able to find the Thingy, a device with unknown name (but same MAC as the Thingy</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 19 Apr 2018 09:01:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33490/thingy-and-blutoothctl---how-to-read-data-via-linux-console" /><item><title>RE: Thingy and blutoothctl - How to read data via Linux console?</title><link>https://devzone.nordicsemi.com/thread/128920?ContentTypeID=1</link><pubDate>Thu, 19 Apr 2018 09:01:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5901a2d4-67b8-4050-8126-0f810d545e1a</guid><dc:creator>ketil</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for providing the details.&amp;nbsp;I saw that there were fixes to GATT in 5.49 but I am not sure what these are. Maybe you could try to ask a question on the &lt;a href="http://www.bluez.org/development/lists/"&gt;Bluez Mailing List&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;Ketil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy and blutoothctl - How to read data via Linux console?</title><link>https://devzone.nordicsemi.com/thread/128912?ContentTypeID=1</link><pubDate>Thu, 19 Apr 2018 08:39:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ffc8590-fde7-4021-b55d-b9c43e83425a</guid><dc:creator>LionKing</dc:creator><description>&lt;p&gt;HI&lt;/p&gt;
&lt;p&gt;I thought so after trying with my phone (which has no problems reading the data). After searching the web for ages i found: &lt;a href="https://github.com/peplin/pygatt/issues/112" rel="noopener noreferrer" target="_blank"&gt;hcitool and gatttool no longer distributed with standard BlueZ packages&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;One has to use btmgmt now which is in the bluez packet. The newest packet (right now 5.49) can be downloaded &lt;a href="http://www.bluez.org/download/"&gt;at bluez.org&lt;br /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://helpmanual.io/help/btmgmt/"&gt;This help&lt;/a&gt; for using btmgmt is also displayed in the console. But i did not manage to connect to the Thingy yet.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Before calling this tool a &amp;quot;sudo rfkill unblock all&amp;quot; is needed.&lt;/li&gt;
&lt;li&gt;bgmgmt has to be opened as sudo&lt;/li&gt;
&lt;li&gt;Make sure BLE is on (Call &amp;quot;power on&amp;quot; and &amp;quot;le on&amp;quot;) and connectable (&amp;quot;connectable on&amp;quot;)&lt;/li&gt;
&lt;li&gt;use &amp;quot;find&amp;quot; to scan for devices --&amp;gt; list with MACs and RSSIs is displayed&lt;/li&gt;
&lt;li&gt;try pair [MACofThingy] and receiver a 0x04 error (connect failed).&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;FAIL - I have to work some more on this problem. Not beeing able to connect bugs me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy and blutoothctl - How to read data via Linux console?</title><link>https://devzone.nordicsemi.com/thread/128788?ContentTypeID=1</link><pubDate>Wed, 18 Apr 2018 11:56:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e88ab422-ed99-426b-bce5-eeba1c358741</guid><dc:creator>ketil</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This is likely an issue with your BLE drivers on Linux and not the Thingy:52 itself. See if you can connect to any other BLE devices. If not, you should do an update (or possibly rollback) of your BLE driver.&lt;/p&gt;
&lt;p&gt;We have have an example of &lt;a href="https://github.com/NordicPlayground/Nordic-Thingy52-Nodejs"&gt;Thingy:52 and Raspberry Pi&lt;/a&gt; using Raspbian Jessie which might be helpful.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Ketil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>