<?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>BLE Characteristic Value - BLE blinky example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77161/ble-characteristic-value---ble-blinky-example</link><description>Hi, 
 On button press, the button handler event calls the &amp;quot;ble_lbs_on_button_change&amp;quot; function which sends notification to the BLE client. 
 
 The value of the button state parameter in the function call is either 0 or 1 (0 corresponds to button press</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 07 Jul 2021 10:58:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77161/ble-characteristic-value---ble-blinky-example" /><item><title>RE: BLE Characteristic Value - BLE blinky example</title><link>https://devzone.nordicsemi.com/thread/318951?ContentTypeID=1</link><pubDate>Wed, 07 Jul 2021 10:58:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fff5b7e-4818-4632-94e4-0ec7d55fffb1</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;The notifications that are sent from the LBS client in&amp;nbsp; components\ble\ble_services\ble_lbs\ble_lbs.c\ble_lbs_on_button_change is button_state which is one of the following from app_button.h file&lt;/p&gt;
&lt;p&gt;So I think sending 0 and 1are valid values to be written. Probably you are not sending them as hex/dec numbers and sending them as ASCII?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Characteristic Value - BLE blinky example</title><link>https://devzone.nordicsemi.com/thread/318948?ContentTypeID=1</link><pubDate>Wed, 07 Jul 2021 10:27:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d03bff98-b45d-4619-937a-73f65b6b10c5</guid><dc:creator>Akash.S</dc:creator><description>&lt;p&gt;Thank you Susheel.&lt;/p&gt;
&lt;p&gt;I tried sending values other than 0 and 1, and in the app it shows &amp;quot;invalid value&amp;quot;.&amp;nbsp;Just wanted to confirm if&amp;nbsp;this case is also a consequence of nRF connect mobile app implementation.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/WhatsApp-Image-2021_2D00_07_2D00_07-at-15.52.07.jpeg" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Characteristic Value - BLE blinky example</title><link>https://devzone.nordicsemi.com/thread/318787?ContentTypeID=1</link><pubDate>Tue, 06 Jul 2021 12:24:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bb2ca95-c3f0-4626-aab8-38e8f244eb3c</guid><dc:creator>Susheel Nuguru</dc:creator><description>[quote user=""]Can you tell where the strings corresponding to the button states added in the SDK?[/quote]
&lt;p&gt;&amp;nbsp;I think there are no strings (Button Pressed/Button Released) in the SDK code in itslef. I think it is the nRF Connect mobile APP that is doing this magic of converting 0/1 value on that characteristic to Button Pressed/Button Released&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>