<?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>nrf52 in central role doesn&amp;#39;t see characteristics on android</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26422/nrf52-in-central-role-doesn-t-see-characteristics-on-android</link><description>Hi!
I&amp;#39;ve created a peripheral on android with a custom service with several characteristics
I can see characteristics with nrf connect app for android and I can write into them and read from them. I&amp;#39;m also able to find services using nrf52 via nrfconnect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 01 Nov 2017 14:12:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26422/nrf52-in-central-role-doesn-t-see-characteristics-on-android" /><item><title>RE: nrf52 in central role doesn't see characteristics on android</title><link>https://devzone.nordicsemi.com/thread/103986?ContentTypeID=1</link><pubDate>Wed, 01 Nov 2017 14:12:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b20dd7dc-9c57-4c77-a5eb-e143233662b4</guid><dc:creator>ageron</dc:creator><description>&lt;p&gt;found a reason.
Mostly my fault.
nrf connect for windows reads all readable characteristics and fails if nothing is answered, without showing list of characteristics&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52 in central role doesn't see characteristics on android</title><link>https://devzone.nordicsemi.com/thread/103987?ContentTypeID=1</link><pubDate>Tue, 31 Oct 2017 15:33:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75850c30-e4d3-4629-99a5-d95c39732a70</guid><dc:creator>ageron</dc:creator><description>&lt;p&gt;Hmmm... Looks like created by nrfconnect works, but i see no difference between my characteristic and the created by nrfconnect one.
It is visible if i set PROPERTY_READ and PERMISSION_READ or PROPERTY_WRITE and PERMISSION_WRITE, but something goes wrong if I use both of them the same time, like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;BluetoothGattCharacteristic characteristic = new BluetoothGattCharacteristic(characteristicUUID,
            BluetoothGattCharacteristic.PROPERTY_READ | BluetoothGattCharacteristic.PROPERTY_WRITE,
            BluetoothGattCharacteristic.PERMISSION_READ | 
            BluetoothGattCharacteristic.PERMISSION_WRITE);
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52 in central role doesn't see characteristics on android</title><link>https://devzone.nordicsemi.com/thread/103985?ContentTypeID=1</link><pubDate>Tue, 31 Oct 2017 13:05:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8c6c137-40b1-4bca-82ff-038e42c6e658</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Ok, so you are writing your own custom app. Could you try setting up a peripheral using nRF Connect for Android app? Click the three lines in top left corner, select &lt;em&gt;Configure GATT server&lt;/em&gt;, and setup the desired services/chars. Then go to &lt;em&gt;Advertiser&lt;/em&gt; tab and setup the desired advertising settings/data. Now, check if you can see the chars from the nRF52 board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52 in central role doesn't see characteristics on android</title><link>https://devzone.nordicsemi.com/thread/103984?ContentTypeID=1</link><pubDate>Tue, 31 Oct 2017 11:17:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ca2d4af-ec6d-482e-8434-074be00718c1</guid><dc:creator>ageron</dc:creator><description>&lt;p&gt;I suppose there is only 1 way to setup peripheral on android - by calling btGattServer.addService(service) where service is BluetoothGattService with BluetoothGattCharacteristics&lt;/p&gt;
&lt;p&gt;It is visible with other android phones and with other bt modules, but nrf52 can&amp;#39;t find any characteristics inside service(service is visible)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52 in central role doesn't see characteristics on android</title><link>https://devzone.nordicsemi.com/thread/103983?ContentTypeID=1</link><pubDate>Tue, 31 Oct 2017 10:12:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24e4623a-e968-4973-86a6-58666ec2013d</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;How did you setup the peripheral and service/characteristics?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>