<?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>Battery Service doesn&amp;#39;t provide read feature</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9122/battery-service-doesn-t-provide-read-feature</link><description>Hi, 
 it seems that the default implementation of the ble_bas (battery service) provides the notification feature but not the &amp;quot;read&amp;quot; feature.
I client can enable notification to receive the battery level but can&amp;#39;t send a read command to get battery</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Sep 2015 01:28:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9122/battery-service-doesn-t-provide-read-feature" /><item><title>RE: Battery Service doesn't provide read feature</title><link>https://devzone.nordicsemi.com/thread/33609?ContentTypeID=1</link><pubDate>Wed, 09 Sep 2015 01:28:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae48b1ab-d4ca-493b-b037-82502d99c6bc</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;It absolutely supports the read feature, it only optionally supports notification. The readability is right there in the code&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;char_md.char_props.read   = 1;
char_md.char_props.notify = (p_bas-&amp;gt;is_notification_supported) ? 1 : 0;
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>