<?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>Need help with implementating s110 and s120 pair of devices</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6711/need-help-with-implementating-s110-and-s120-pair-of-devices</link><description>Hi, 
 I am a little confuse at the moment and wondering if anyone would have any insight on the matter. 
 I am making a pair of device with s110 and s120. So the s120 will scan and the s110 will advertise.
I needed the the server to be the s130 and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Apr 2015 19:13:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6711/need-help-with-implementating-s110-and-s120-pair-of-devices" /><item><title>RE: Need help with implementating s110 and s120 pair of devices</title><link>https://devzone.nordicsemi.com/thread/23549?ContentTypeID=1</link><pubDate>Tue, 28 Apr 2015 19:13:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:772070a3-ca13-470f-8985-aa8fe72d0c03</guid><dc:creator>Chaiwat Sungkhobol</dc:creator><description>&lt;p&gt;Thank you that is what I needed. I guess for the last question it would be sending out notification when a change occurs to all the connected device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need help with implementating s110 and s120 pair of devices</title><link>https://devzone.nordicsemi.com/thread/23547?ContentTypeID=1</link><pubDate>Tue, 28 Apr 2015 18:08:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2337bed-2447-41a9-8c01-dd51dd9432ac</guid><dc:creator>Chaiwat Sungkhobol</dc:creator><description>&lt;p&gt;For example to send out the battery level to the S110 so that if the battery is low on the s120 the s110 would alert the user.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need help with implementating s110 and s120 pair of devices</title><link>https://devzone.nordicsemi.com/thread/23548?ContentTypeID=1</link><pubDate>Tue, 28 Apr 2015 13:23:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b0afa0d-1598-40a9-aa9b-4a931c5631f0</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;We have some examples implementing GATT client in the S110, but we don&amp;#39;t have any examples implementing GATT server in the S120. However, the S120 supports a full GATT server for 8 concurrent ATT server sessions. So it should be just to use the GATT server API in the same way it is used in the S110 examples.&lt;/p&gt;
&lt;p&gt;The S110 GATT client examples are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;ble_app_alert_notification&lt;/li&gt;
&lt;li&gt;ble_app_cts_c (uses Database Discovery module)&lt;/li&gt;
&lt;li&gt;ble_app_proximity&lt;/li&gt;
&lt;li&gt;experimental_ble_app_ancs&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I would use one of the two first as a starting point.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Would s110 be able to do discovery of
service on the s120?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Yes&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Would I have to make another service
for the s110 to advertise to have the
s120 look for since it is not actually
advertising the battery service.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;You don&amp;#39;t have to, but as you say the S120 needs something to look for. This doesn&amp;#39;t need to be a service, it could be a device name, or a code or something in the manufacturer specific data.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;I need the battery from the s120 to be
able to be sent to multiple s110 also
would this implementation work?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Sent is very unspecific, but multiple clients should be able to read the characteristic value, or multiple clients should be able to be notified or indicated with a characteristic. I haven&amp;#39;t tested this myself, but I will try do it soon. Please let me know how it goes.&lt;/p&gt;
&lt;p&gt;Edit 29.04.2015: I just did a quick test. I added the the battery service to ble_app_hrs_c (GAP central and GATT server), and with ble_app_cts_c (GAP peripheral and GATT client) as a starting point I was able to discover and read the battery level.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need help with implementating s110 and s120 pair of devices</title><link>https://devzone.nordicsemi.com/thread/23546?ContentTypeID=1</link><pubDate>Tue, 28 Apr 2015 10:16:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3b8ce5b-1d2f-40c0-bfa7-dd2d41300b34</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Can I ask why you need the GATT server to be on the S120?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need help with implementating s110 and s120 pair of devices</title><link>https://devzone.nordicsemi.com/thread/23545?ContentTypeID=1</link><pubDate>Sat, 25 Apr 2015 20:29:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b9d847d-bcb9-4c70-8963-bb02887033ec</guid><dc:creator>Chaiwat Sungkhobol</dc:creator><description>&lt;p&gt;It would seem that s110 can not do discover db.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>