<?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>LED Status read BLE-services</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102089/led-status-read-ble-services</link><description>Hello, 
 Currently i can control( write) an LED via bluetooth using the nrf Connect SDK App. But I also want to display the status of the LED in the app at the same time (i.e. write + read). Is there an sample, how to read the status of the LED also.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Jul 2023 09:29:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102089/led-status-read-ble-services" /><item><title>RE: LED Status read BLE-services</title><link>https://devzone.nordicsemi.com/thread/438205?ContentTypeID=1</link><pubDate>Wed, 26 Jul 2023 09:29:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75cb92a9-5be7-4e18-aa52-293ad4448a93</guid><dc:creator>Tal.</dc:creator><description>&lt;p&gt;Thank you very much&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LED Status read BLE-services</title><link>https://devzone.nordicsemi.com/thread/438193?ContentTypeID=1</link><pubDate>Wed, 26 Jul 2023 09:18:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:383733b3-cce0-4b1f-b96d-5cfc131de839</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I added a characteristic to send the temperature readings to the previous sample I uploaded. The temperature is read with the on-chip temperature peripheral.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here is the updated example:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/peripheral_5F00_led_5F00_button_5F00_and_5F00_temperature.zip"&gt;devzone.nordicsemi.com/.../peripheral_5F00_led_5F00_button_5F00_and_5F00_temperature.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Note that this is a sample is something I quickly put together. Please keep this in mind if you use this code as a reference.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LED Status read BLE-services</title><link>https://devzone.nordicsemi.com/thread/437788?ContentTypeID=1</link><pubDate>Mon, 24 Jul 2023 07:22:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:390be06e-e618-4842-9051-a6f92f64cecd</guid><dc:creator>Tal.</dc:creator><description>&lt;p&gt;Hello, I have tried and orinetated myself on the LED sample you send. However, I am somewhat overwhelmed. Would it be possible that you send me a program to read the temperature via the sensor on the chip and display in the nrf Connect app, so that I can then try to understand the program. I think the UUID do not matter in the nrf Connect app.&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LED Status read BLE-services</title><link>https://devzone.nordicsemi.com/thread/437587?ContentTypeID=1</link><pubDate>Fri, 21 Jul 2023 07:55:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a07af4d1-c2fe-4b95-83e8-dafbc4db5e7b</guid><dc:creator>Tal.</dc:creator><description>&lt;p&gt;ok thanks I will try it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LED Status read BLE-services</title><link>https://devzone.nordicsemi.com/thread/437586?ContentTypeID=1</link><pubDate>Fri, 21 Jul 2023 07:52:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2a77f2b-6ac9-49f6-ba7a-3aeda50f8297</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;You&amp;nbsp;can use the lbs_mod.c file from the project I uploaded as a reference for how you can add your own services and characteristics using the Zephyr APIs. &lt;span&gt;Additionally, y&lt;/span&gt;ou may want to have a look at our Bluetooth course at&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/"&gt;https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LED Status read BLE-services</title><link>https://devzone.nordicsemi.com/thread/437584?ContentTypeID=1</link><pubDate>Fri, 21 Jul 2023 07:45:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:276b93c6-e3f1-4d72-a4a5-0aa0b8159946</guid><dc:creator>Tal.</dc:creator><description>&lt;p&gt;Thank you for your answer.&lt;/p&gt;
&lt;p&gt;I am planning to use custom UUID service for the temperature and I also like to notify the temperature (Read+notify). Do you have any Idea how I can do this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LED Status read BLE-services</title><link>https://devzone.nordicsemi.com/thread/437493?ContentTypeID=1</link><pubDate>Thu, 20 Jul 2023 13:45:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01483d33-03f0-4df9-9edd-7239d5f73e79</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;made a modified version of the peripheral_lbs&amp;nbsp;sample to allow the client to read the LED state, please see attached. I made a copy of the original lbs.c source and copied it to the project source directory, so I didn&amp;#39;t have to edit files in the SDK tree.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/peripheral_5F00_lbs_5F00_report_5F00_led_5F00_state.zip"&gt;devzone.nordicsemi.com/.../peripheral_5F00_lbs_5F00_report_5F00_led_5F00_state.zip&lt;/a&gt;&lt;/p&gt;
[quote user=""]My seond question is, is there also an sample program to read the temperature and display it in the nrf Connect app?[/quote]
&lt;p&gt;I couldn&amp;#39;t find any samples in the SDK that sends temperature readings over BLE. Are you looking to use a specific Bluetooth service, or do you plan to use a custom service for this?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>