<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Unable to get Service from Bluetooth Sensor Device]]></title><description><![CDATA[<p dir="auto">I have scanned and able to connect with my Ti sensor Device , but on Service request it is not working.</p>
<p dir="auto">bluetooth = Bluetooth()<br />
bluetooth.start_scan(5)<br />
while bluetooth.isscanning():<br />
adv = bluetooth.get_adv()<br />
if adv:<br />
if(str(binascii.hexlify(adv.mac).decode()) == '78a50454b267'):<br />
conn = bluetooth.connect(adv.mac)<br />
print(type(conn))<br />
service = bluetooth.get_service()<br />
print(&quot;got service&quot;, service)</p>
<p dir="auto">The service is not print. Loop get stopped their and no response.</p>
<p dir="auto">Even I have tried so many get service methods.,</p>
<p dir="auto">missed any import functions. ?<br />
Is there any GATT connection problem. ?<br />
How to import .gatt and its service, characteristic ??</p>
]]></description><link>https://forum.pycom.io/topic/2194/unable-to-get-service-from-bluetooth-sensor-device</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Jul 2026 23:12:04 GMT</lastBuildDate><atom:link href="https://forum.pycom.io/topic/2194.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 22 Nov 2017 09:46:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unable to get Service from Bluetooth Sensor Device on Wed, 22 Nov 2017 09:47:20 GMT]]></title><description><![CDATA[<p dir="auto">I have scanned and able to connect with my Ti sensor Device , but on Service request it is not working.</p>
<p dir="auto">bluetooth = Bluetooth()<br />
bluetooth.start_scan(5)<br />
while bluetooth.isscanning():<br />
adv = bluetooth.get_adv()<br />
if adv:<br />
if(str(binascii.hexlify(adv.mac).decode()) == '78a50454b267'):<br />
conn = bluetooth.connect(adv.mac)<br />
print(type(conn))<br />
service = bluetooth.get_service()<br />
print(&quot;got service&quot;, service)</p>
<p dir="auto">The service is not print. Loop get stopped their and no response.</p>
<p dir="auto">Even I have tried so many get service methods.,</p>
<p dir="auto">missed any import functions. ?<br />
Is there any GATT connection problem. ?<br />
How to import .gatt and its service, characteristic ??</p>
]]></description><link>https://forum.pycom.io/post/13002</link><guid isPermaLink="true">https://forum.pycom.io/post/13002</guid><dc:creator><![CDATA[jmahesh]]></dc:creator><pubDate>Wed, 22 Nov 2017 09:47:20 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to get Service from Bluetooth Sensor Device on Fri, 24 Nov 2017 09:43:58 GMT]]></title><description><![CDATA[<p dir="auto">please add time.sleep after connection and make service as dictionary, things will work...</p>
]]></description><link>https://forum.pycom.io/post/13085</link><guid isPermaLink="true">https://forum.pycom.io/post/13085</guid><dc:creator><![CDATA[Sutoo]]></dc:creator><pubDate>Fri, 24 Nov 2017 09:43:58 GMT</pubDate></item></channel></rss>