<?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>nRF51822 UART interfacing and HID over GATT</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7962/nrf51822-uart-interfacing-and-hid-over-gatt</link><description>Dear Nordic Team, 
 I am currently working on a project to develop firmware for S110 nRF51822 softdevice with the following requirements. 
 
 Read ASCII chars from a third party hardware over UART 
 Send these chars using HID over GATT from nRF51822</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Aug 2015 13:31:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7962/nrf51822-uart-interfacing-and-hid-over-gatt" /><item><title>RE: nRF51822 UART interfacing and HID over GATT</title><link>https://devzone.nordicsemi.com/thread/28512?ContentTypeID=1</link><pubDate>Tue, 04 Aug 2015 13:31:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc0ef8cf-5568-4449-aabc-9972958beaa3</guid><dc:creator>ven</dc:creator><description>&lt;p&gt;I am able to see the connect to the device on ipad but i am seeing some other issue.will post separately&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 UART interfacing and HID over GATT</title><link>https://devzone.nordicsemi.com/thread/28511?ContentTypeID=1</link><pubDate>Tue, 04 Aug 2015 13:30:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ce8f0d8-a35e-4a1b-a491-e2ba51d64ede</guid><dc:creator>ven</dc:creator><description>&lt;p&gt;Thank you Hung.It happened by mistake and I was not able to delete them as I have not enough points.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 UART interfacing and HID over GATT</title><link>https://devzone.nordicsemi.com/thread/28510?ContentTypeID=1</link><pubDate>Thu, 30 Jul 2015 11:44:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d4f52e9-0196-430f-ba2e-cefd90cb1bd7</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Ven: Please don&amp;#39;t convert all my comment to answer.
Secondly, when you have follow up question, please create another one.&lt;/p&gt;
&lt;p&gt;Windows 7 doesn&amp;#39;t support BLE natively. So you might need to use API provided by third party to make it work as a keyboard.
I&amp;#39;m not sure why your iPhone4s didn&amp;#39;t work. Could you use an app, for example LightBlue on iOS to scan for the device ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 UART interfacing and HID over GATT</title><link>https://devzone.nordicsemi.com/thread/28509?ContentTypeID=1</link><pubDate>Wed, 29 Jul 2015 22:11:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cd393aa-34ed-47f7-8853-3e16ec6ce54b</guid><dc:creator>ven</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;Currently I have a device with the following details:
Ic Version - 2, Variant - CE AA , Build Code - D0, Hardware Id - 004d&lt;/p&gt;
&lt;p&gt;I am using the softdevice &lt;em&gt;s110_nrf51822_7.0.0_softdevice.hex&lt;/em&gt; , nRF SDK 6.1&lt;/p&gt;
&lt;p&gt;I have flashed((along with the softdevice) the sample ble_app_hids_keyboard present at nrf51_sdk_v6_1_0_b2ec2e6\nrf51822\Board\nrf6310\s110\ble_app_hids_keyboard\arm&lt;/p&gt;
&lt;p&gt;but I am not able to see Bluetooth device or HID keyboard on my Windows7 pc or iphone4s.
I can see the device on Master Emulator.&lt;/p&gt;
&lt;p&gt;Is there anything wrong I am doing here. Can you please guide me how to see the HID keyboard on windows and iphone4s.&lt;/p&gt;
&lt;p&gt;Kind Regards,
Ven&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 UART interfacing and HID over GATT</title><link>https://devzone.nordicsemi.com/thread/28513?ContentTypeID=1</link><pubDate>Tue, 14 Jul 2015 07:29:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9c433a4-116a-4931-821c-137f6893cbe4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@ven: If you are OK with the answer, please mark it as correct.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 UART interfacing and HID over GATT</title><link>https://devzone.nordicsemi.com/thread/28506?ContentTypeID=1</link><pubDate>Mon, 13 Jul 2015 15:37:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f91c8aa8-4730-4b54-aa90-c0b02401e39b</guid><dc:creator>ven</dc:creator><description>&lt;p&gt;Thank you Hung. This is what exactly I need. Much helpful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 UART interfacing and HID over GATT</title><link>https://devzone.nordicsemi.com/thread/28508?ContentTypeID=1</link><pubDate>Mon, 13 Jul 2015 10:23:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab7bd392-fd10-47e1-87b3-952f696f8877</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@ven: If you want to send data when in connection you should have GATT. If you plan to send data just by broadcasting ( advertising) you don&amp;#39;t need GATT. You don&amp;#39;t need HID Keyboard unless you want to use it as a keyboard to control your mobile device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 UART interfacing and HID over GATT</title><link>https://devzone.nordicsemi.com/thread/28505?ContentTypeID=1</link><pubDate>Tue, 07 Jul 2015 13:46:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4decccb0-6eca-43e0-bdcd-021acf7b26e9</guid><dc:creator>ven</dc:creator><description>&lt;p&gt;Thank you Hung. Do I still need GATT (for advertising)? Do I need to use any GATT code form HID Keyboard Application Or can I use Nordic UART Service.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 UART interfacing and HID over GATT</title><link>https://devzone.nordicsemi.com/thread/28504?ContentTypeID=1</link><pubDate>Tue, 07 Jul 2015 12:40:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79321205-edb1-4aeb-8f6b-a8e366e45dcd</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@ven: no you don&amp;#39;t need HID, you can have a look at the ble_app_uart example we have. We also have nRF UART app, as well as UART profile in our nRF Toolbox app.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 UART interfacing and HID over GATT</title><link>https://devzone.nordicsemi.com/thread/28503?ContentTypeID=1</link><pubDate>Tue, 07 Jul 2015 11:39:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60fd7281-b28a-495a-acf5-96a1fa5f7a46</guid><dc:creator>ven</dc:creator><description>&lt;p&gt;Hi Hung, Thank you for the response. I want to receive ascii chars from device connected to nRF51822 UART interface and pass them via GATT to any divices(ipad or phablet) that connects to the nRF51822 via blue tooth. Below is the flow.&lt;/p&gt;
&lt;p&gt;third party device-----(ascii)-------&amp;gt; nRF51 UART interface -&amp;gt; GATT -------------- (ascii chars via bluetooth)---------------------&amp;gt;  ipad,iphone&lt;/p&gt;
&lt;p&gt;Please let me know if need to use HID here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 UART interfacing and HID over GATT</title><link>https://devzone.nordicsemi.com/thread/28507?ContentTypeID=1</link><pubDate>Tue, 07 Jul 2015 09:29:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1f71701-d7b2-4feb-9c30-d08a69b09323</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Ven: It&amp;#39;s depend on what you want your device to be interfaced with the phone/tablet. If you want them to function as keyboards then you have to use HID. If you simply want to transfer UART data, you don&amp;#39;t have to use HID profile.&lt;/p&gt;
&lt;p&gt;Regarding programming the module, you would need to find the pinout description of the module, then find the 4 pins: VDD, GND, SWDIO, SWDCLK to connect to your programmer.&lt;/p&gt;
&lt;p&gt;I would suggest you to also find the support from the module maker on how to program the module.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 UART interfacing and HID over GATT</title><link>https://devzone.nordicsemi.com/thread/28502?ContentTypeID=1</link><pubDate>Mon, 06 Jul 2015 20:24:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a38a332-2096-4dc7-9ced-829fcb1c7afe</guid><dc:creator>ven</dc:creator><description>&lt;p&gt;Hi Hung,
Thank you.
I am using &lt;a href="http://www.insightsip.com/ble-modules/shop-online/product/2-isp130301-integrated-mcu-bluetooth-smart-module"&gt;InsightSIP ISP130301&lt;/a&gt;which has nRF51822.&lt;/p&gt;
&lt;p&gt;Any thoughts on first comment.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 UART interfacing and HID over GATT</title><link>https://devzone.nordicsemi.com/thread/28501?ContentTypeID=1</link><pubDate>Mon, 06 Jul 2015 12:50:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:606e44e2-9429-4e5c-9afe-a67b87740c1d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@ven: I need to know which hardware you have.&lt;/p&gt;
&lt;p&gt;If you have the nRF51 DK, you can simply compile and download the compiled hex to the nRF51 DK in KEIL. You can have a look at &lt;a href="https://devzone.nordicsemi.com/tutorials/2/setting-up-an-example-project-on-the-nrf51-dk/"&gt;this tutorial&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/doc/8.1.0/s110/html/a00020.html"&gt;The SDK documentation&lt;/a&gt; could also be useful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 UART interfacing and HID over GATT</title><link>https://devzone.nordicsemi.com/thread/28500?ContentTypeID=1</link><pubDate>Sun, 05 Jul 2015 09:58:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e6be31f-f288-4eb1-af7a-631938be19b4</guid><dc:creator>ven</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;I went through the documentation for flashing the hardware but I am struggling to find the correct procedure to flash and test UART example and HID over GATT.&lt;/p&gt;
&lt;p&gt;If you can help me in understanding the following queries , that would be great.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;How do I flash the UART example and How do I test UART.
Is there any document that has this procedure.
What cables and connections I need to make to flash and to test the hardware.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;How to flash HID over GATT and test it.
Is there any document that has this procedure.
What cables and connections I need to make to flash and to test the hardware.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Kind Regards,
Ven&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 UART interfacing and HID over GATT</title><link>https://devzone.nordicsemi.com/thread/28499?ContentTypeID=1</link><pubDate>Sun, 05 Jul 2015 08:43:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a702db0-d8ed-4339-9c4c-d830af26c1dd</guid><dc:creator>ven</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;Thank you for the support. It is much helpful.&lt;/p&gt;
&lt;p&gt;Do I still need to use HID interface after receiving chars from UART or Can I send received UART chars directly to GATT.&lt;/p&gt;
&lt;p&gt;Kind Regards,
Ven&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 UART interfacing and HID over GATT</title><link>https://devzone.nordicsemi.com/thread/28498?ContentTypeID=1</link><pubDate>Fri, 03 Jul 2015 14:31:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e39948cf-1469-4211-a9e6-9a9a70cf195a</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Ven:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;You should start first with interfacing the nRF51 with your third party hardware over UART. Keep the Softdevice aside. You can try first with the SDKv8.1\examples\peripheral\uart project.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;After you have managed to receive the chars from UART you can start integrate it to the keyboard example we provided. The current example sending &amp;quot;h e l l o&amp;quot; text when a button is pressed, you can modify this to send the char you receive.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>