<?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>Making Thingy91 a peripheral bluetooth device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56147/making-thingy91-a-peripheral-bluetooth-device</link><description>I want to make The Thingy91 a bluetooth peripheral device . I want it to send the generated temperature data to cloud or another device. How do I do this? I had problems with the Bluetooth LTE Sensor Gateway example. I couldn&amp;#39;t see the usb ports after</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 Jan 2020 06:53:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56147/making-thingy91-a-peripheral-bluetooth-device" /><item><title>RE: Making Thingy91 a peripheral bluetooth device</title><link>https://devzone.nordicsemi.com/thread/230775?ContentTypeID=1</link><pubDate>Fri, 24 Jan 2020 06:53:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f0dcdc2-1ff8-4ca7-b4ed-26c836d7c3ff</guid><dc:creator>Niket Naidu</dc:creator><description>&lt;p&gt;I am looking for a way to interface with the onboard Bluetooth on the Thingy 91 as well. None of the examples (Peripheral NUS, Central NUS) etc currently work with Nrf52840_pca20035 config.&lt;br /&gt;&lt;br /&gt;I have successfully managed to integrate the usb_uart_bridge to the peripheral_NUS and Central_NUS examples. I also get the error&amp;nbsp;&lt;br /&gt;--&amp;gt; &amp;lt;err&amp;gt; bt_hci_core: No HCI driver registered&lt;br /&gt;&lt;br /&gt;If there is any working BLE sample please let me know. My use case is to send data from master&amp;nbsp;to&amp;nbsp;BT/BLE slave (Nordic) which can then be sent to the cloud.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making Thingy91 a peripheral bluetooth device</title><link>https://devzone.nordicsemi.com/thread/228393?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2020 15:01:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bea5cd9-a781-47aa-b3da-c37563814ae0</guid><dc:creator>Simon</dc:creator><description>[quote user="1234qwerty"]How can I add the needed bas.c and hrs.c to the project? The c-files for zephyr/subsys/bluetooth/common and zephyr/subsys/bluetooth/host are compiled with the project but I don&amp;#39;t know how to add the needed c-files from zephyr/subsys/bluetooth/services to the project[/quote]
&lt;p&gt;In NCS and Zephyr, this is usually done by enabling specific configuration, and CMake will add the files. In order to add bas.c and hrs.c to your project, you have to set &lt;span&gt;CONFIG_BT_GATT_BAS and&amp;nbsp;CONFIG_BT_GATT_HRS to y. Check out the file &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-zephyr/blob/master/subsys/bluetooth/services/CMakeLists.txt"&gt;subsys/bluetooth/services/CMakeLists.txt&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you look at the &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-zephyr/blob/master/samples/bluetooth/peripheral_hr/prj.conf"&gt;prj.conf&lt;/a&gt; file of the peripheral_hr sample, you can see the configurations needed to make this example work.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making Thingy91 a peripheral bluetooth device</title><link>https://devzone.nordicsemi.com/thread/228380?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2020 14:14:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aabe348c-ce45-47c7-955a-7ac4990d16e5</guid><dc:creator>1234qwerty</dc:creator><description>&lt;p&gt;I managed to make my Thingy91 a discoverable and connectable peripheral device but I have a new problem.&lt;/p&gt;
&lt;p&gt;How can I add the needed bas.c and hrs.c to the project? The c-files for zephyr/subsys/bluetooth/common and zephyr/subsys/bluetooth/host are compiled with the project but I don&amp;#39;t know how to add the needed c-files from zephyr/subsys/bluetooth/services to the project. I&amp;#39;m building on the LTE BLE Gateway example.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making Thingy91 a peripheral bluetooth device</title><link>https://devzone.nordicsemi.com/thread/228180?ContentTypeID=1</link><pubDate>Wed, 08 Jan 2020 14:29:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ea9c26d-bdba-4b93-b3c6-033e5b5774db</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;You can achieve that by using the examples in&amp;nbsp;&lt;em&gt;ncs\zephyr\samples\bluetooth&amp;nbsp;&lt;/em&gt;as a reference. E.g. the example&amp;nbsp;&lt;em&gt;ncs\zephyr\samples\bluetooth\peripheral_hr&amp;nbsp;&lt;/em&gt;show how to implement an advertising peripheral that can get connected to and send heart-rate values.&lt;/p&gt;
&lt;p&gt;Be aware that the Zephyr examples are not tested by us and we don&amp;#39;t officially give support for this at the moment.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To use Zephyr samples on the nRF52 series, please&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/getting_started/index.html#getting-started-guide"&gt;follow this guide&lt;/a&gt;. More information can be found&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf5x-support-within-the-zephyr-project-rtos"&gt;this tutorial&lt;/a&gt;, and as stated in the bottom of the page: &amp;quot;&lt;em&gt;&lt;strong&gt;Also if you want to get involved with Zephyr, or simply need help as a user, you can join the Zephyr&amp;nbsp;&lt;a href="https://lists.zephyrproject.org/mailman3/lists/"&gt;mailing list&lt;/a&gt;&amp;nbsp;or join the #zephyrproject IRC channel.&lt;/strong&gt;&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Nordic Semiconductor is part of the&amp;nbsp;&lt;a href="https://www.zephyrproject.org/what-is-zephyr/"&gt;Zephyr Project&lt;/a&gt;&amp;nbsp;and contributes with misc. components/software, but we do not give support for Zephyr running on nRF52.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for your understanding.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making Thingy91 a peripheral bluetooth device</title><link>https://devzone.nordicsemi.com/thread/227894?ContentTypeID=1</link><pubDate>Tue, 07 Jan 2020 13:06:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:111b33e2-aaa0-4b01-aee8-b59422da93a3</guid><dc:creator>1234qwerty</dc:creator><description>&lt;p&gt;I got it to work. Thanks! Actually I just ignored the &amp;quot;hex files have overlapping data&amp;quot; while flashing with the nRF Connect programmer. Now I can send data from Thingy52 to Thingy91 to cloud. Now I&amp;#39;m interested in making the Thingy91 a bluetooth peripheral device. I want it to be a discoverable and connectable device which provides temperature data.&amp;nbsp;&lt;span&gt;How should I start?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making Thingy91 a peripheral bluetooth device</title><link>https://devzone.nordicsemi.com/thread/227476?ContentTypeID=1</link><pubDate>Fri, 03 Jan 2020 16:39:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91b547eb-6600-484a-8605-f0fad89dbd0e</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I will try to narrow down the problem. In the zip file provided by Sigurd (&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-86605d6dcf014cdc9e378e1b0dd0c3bc/lte_5F00_gateway_5F00_thingy91_5F00_v1.1.0_5F00_R2.zip"&gt;lte_gateway_thingy91_v1.1.0_R2.zip&lt;/a&gt;), there are two hex files. Could you try to follow the steps provided by Sigurd:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;Turn Thingy91 on, and plug in the 10-pin programming cable.&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;Set the SWD select (see image below) switch to nRF52, and program the nRF52:&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div style="font-family:inherit;"&gt;&lt;/div&gt;
&lt;div style="font-family:inherit;"&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfjrpog -e
nrfjprog -f nRF52 --program hci_uart_with_usb_uart_bridge_nrf52840_pca20035.hex --verify --reset&lt;/pre&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;&amp;quot;Set the SWD switch to nRF91, and program the nRF9160:&amp;quot;&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfjrpog -e
nrfjprog -f nRF91 --program lte_ble_gateway_nrf9160_pca20035ns.hex --verify --reset&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;&amp;quot;Turn Thingy91 off. Remove&amp;nbsp;10-pin programming cable.&amp;quot;&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;&amp;quot;Plug the USB cable into the Thingy91.&amp;quot;&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;&amp;quot;Turn Thingy91 on.&amp;quot;&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1280x960/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-99f5205c34ec41588fd0b7ef1b5d97a5/pastedimage1578068818752v1.png" /&gt;&lt;/div&gt;
&lt;div&gt;Does this work?&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Best regards,&lt;/div&gt;
&lt;div&gt;Simon&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making Thingy91 a peripheral bluetooth device</title><link>https://devzone.nordicsemi.com/thread/227386?ContentTypeID=1</link><pubDate>Fri, 03 Jan 2020 10:51:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40452de6-cf49-4f37-9d3d-884b535bfe1b</guid><dc:creator>1234qwerty</dc:creator><description>&lt;p&gt;I followed these instructions &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/52689/nrf9160-lte-sensor-gateway-on-thingy-91/225659"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/52689/nrf9160-lte-sensor-gateway-on-thingy-91/225659&lt;/a&gt;. I updated the nrf and zephrys repos but couldnt flash lte_ble_gateway for the nrf9160 and hci_uart_with_usb_uart_bridge for the nrf52840_pca20035. I got &amp;quot;Some of the HEX files have overlapping data&amp;quot; error.&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>