<?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>Implementing UART profile between NRF52832 (as central) and HM10 (as peripheral)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29097/implementing-uart-profile-between-nrf52832-as-central-and-hm10-as-peripheral</link><description>I am facing some issue, I am using HM10 ble module as peripheral and NRF52832 (Redbear NANO v2) as central device. I using SDK &amp;quot;nRF5_SDK_12.3.0_d7731ad&amp;quot; and example program &amp;quot;nRF5_SDK_12.3.0_d7731ad\nRF5_SDK_12.3.0_d7731ad\examples\ble_central\ble_app_uart_c</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 Jan 2018 17:12:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29097/implementing-uart-profile-between-nrf52832-as-central-and-hm10-as-peripheral" /><item><title>RE: Implementing UART profile between NRF52832 (as central) and HM10 (as peripheral)</title><link>https://devzone.nordicsemi.com/thread/115459?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2018 17:12:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:621f4569-6ccb-46c8-96e9-4b17d46b77ad</guid><dc:creator>ock</dc:creator><description>&lt;p&gt;@Petter Myhre thanks!!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing UART profile between NRF52832 (as central) and HM10 (as peripheral)</title><link>https://devzone.nordicsemi.com/thread/115447?ContentTypeID=1</link><pubDate>Fri, 10 Nov 2017 09:44:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c890f7c9-63c2-4c6b-8ede-0a546b3c8ad6</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Are you using tags? This could happen if you have an extra comma in tags.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing UART profile between NRF52832 (as central) and HM10 (as peripheral)</title><link>https://devzone.nordicsemi.com/thread/115454?ContentTypeID=1</link><pubDate>Wed, 08 Nov 2017 12:36:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:441f948b-03ed-447b-92da-13a29db22090</guid><dc:creator>Abhinav </dc:creator><description>&lt;p&gt;OK, but I am not able to post new question it is showing this error:
&lt;strong&gt;Internal server error
system error log is recorded, error will be fixed as soon as possible
We&amp;#39;re sorry for the inconvenience!&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;What to do?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing UART profile between NRF52832 (as central) and HM10 (as peripheral)</title><link>https://devzone.nordicsemi.com/thread/115455?ContentTypeID=1</link><pubDate>Wed, 08 Nov 2017 11:23:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:738e308b-b1a8-4086-b96a-a5927ae6e5d4</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Well yes, connecting shouldn&amp;#39;t be to hard. The example should already be scanning, then you need to figure out how you want connection to be triggered. You can have a look at how BLE_GAP_EVT_ADV_REPORT is handled in ble_evt_handler(). Anyways, I think you should add a new question, this is not something that should be discussed in the comments of independent question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing UART profile between NRF52832 (as central) and HM10 (as peripheral)</title><link>https://devzone.nordicsemi.com/thread/115453?ContentTypeID=1</link><pubDate>Wed, 08 Nov 2017 08:08:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f280feb2-865d-404d-b3d1-80aac48cb647</guid><dc:creator>Abhinav </dc:creator><description>&lt;p&gt;Not sure about compatibility, but ble_app_uart_c can&amp;#39;t we modify the code and make it to connect to device which doesn&amp;#39;t have Nordic Uart Service.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing UART profile between NRF52832 (as central) and HM10 (as peripheral)</title><link>https://devzone.nordicsemi.com/thread/115452?ContentTypeID=1</link><pubDate>Wed, 08 Nov 2017 07:51:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6db4e53-d7cc-413f-84c3-e5d2309a7db4</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Are you sure they are even compatible? The ble_app_uart_c is designed to work with peripheral having the Nordic UART Service.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing UART profile between NRF52832 (as central) and HM10 (as peripheral)</title><link>https://devzone.nordicsemi.com/thread/115451?ContentTypeID=1</link><pubDate>Wed, 08 Nov 2017 06:36:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3033990-2ecc-4186-9f24-668e3288d177</guid><dc:creator>Abhinav </dc:creator><description>&lt;p&gt;Hello Petter,&lt;/p&gt;
&lt;p&gt;In TI CC2640R2 I am using this code&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="http://dev.ti.com/tirex/#/?link=Software%2FSimpleLink%20CC2640R2%20SDK%2FExamples%2FDevelopment%20Tools%2FCC2640R2%20LaunchPad%2Fblestack%2Fsimple_peripheral"&gt;dev.ti.com/.../&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;It enable UART service in peripheral. I am able to transfer data using &amp;quot;SerialConsole&amp;quot; app in my android phone and by connecting Peripheral in PC via Putty. But How to do this by using &lt;strong&gt;nRF5_SDK_14.0.0_3bcc1f7\examples\ble_central\ble_app_uart_c&lt;/strong&gt; this code. Even I am not able to connect also.&lt;/p&gt;
&lt;p&gt;Waiting for reply.
Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing UART profile between NRF52832 (as central) and HM10 (as peripheral)</title><link>https://devzone.nordicsemi.com/thread/115450?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2017 11:14:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73da1a2d-d2ad-4773-9884-1d75fdee49b0</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;What code are you running on this peripheral? Are you able to connect to it using nRF Connect?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing UART profile between NRF52832 (as central) and HM10 (as peripheral)</title><link>https://devzone.nordicsemi.com/thread/115449?ContentTypeID=1</link><pubDate>Fri, 03 Nov 2017 11:03:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76e621f3-64ad-4a04-9dcb-2164ead34fdf</guid><dc:creator>Abhinav </dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am using &lt;strong&gt;nRF5_SDK_14.0.0_3bcc1f7\examples\ble_central\ble_app_uart_c&lt;/strong&gt; example program.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Firstly, I tried with nRF BLE peripheral device and flashed &lt;strong&gt;nRF5_SDK_14.0.0_3bcc1f7\examples\ble_peripheral\ble_app_uart&lt;/strong&gt; code, it is working fine and exchanging data also between central and peripheral.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Secondly, I tried with some other (TI&amp;#39;s CC2640R2) vendor BLE peripheral device. Not able to connect, Now my question is this &lt;strong&gt;&amp;quot;What changes I have to make in ble_app_uart_c code to connect to some other peripheral device&amp;quot;&lt;/strong&gt;.
I tried changing &lt;strong&gt;NUS_BASE_UUID, BLE_UUID_NUS_SERVICE, BLE_UUID_NUS_RX_CHARACTERISTIC, BLE_UUID_NUS_TX_CHARACTERISTIC&lt;/strong&gt; but still it is not connecting to CC2640R2 BLE peripheral device.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Waiting for reply.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing UART profile between NRF52832 (as central) and HM10 (as peripheral)</title><link>https://devzone.nordicsemi.com/thread/115458?ContentTypeID=1</link><pubDate>Mon, 25 Sep 2017 11:40:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35ec60da-1fb0-429f-8ccb-bb130079fb71</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;After connecting the next step is service discovery. I&amp;#39;m not sure why the connection is dropped, probably it could be because the peer disconnects, because of reset when APP_ERROR_CHECK() is called with an error that is not NRF_SUCCESS (0x00000000), or because sd_ble_gap_disconnect() is called.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing UART profile between NRF52832 (as central) and HM10 (as peripheral)</title><link>https://devzone.nordicsemi.com/thread/115457?ContentTypeID=1</link><pubDate>Mon, 25 Sep 2017 11:31:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61d09387-94a7-4cca-b93c-7cb17003e608</guid><dc:creator>Abhinav </dc:creator><description>&lt;p&gt;Thanks for suggestion&lt;/p&gt;
&lt;p&gt;I have already detected its (HM10) UUID and edited the code (ble_app_uart_c), while scanning code able to found HM10 and tries to connect but after connection immediately it drops the connection and again started scanning, this continues in infinite loop.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing UART profile between NRF52832 (as central) and HM10 (as peripheral)</title><link>https://devzone.nordicsemi.com/thread/115456?ContentTypeID=1</link><pubDate>Mon, 25 Sep 2017 10:33:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9159950b-0b58-416a-b5d7-b583da7fefc3</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Ok. You can probably use ble_app_uart_c as a starting point, but I have no idea of the behavior of the program on the HM10. I would use something like nRF Connect (and even better a sniffer) to look for any differences between the HM10 code, and the ble_app_uart example. The code on the HM10 is probably using a different UUID at least. I dont&amp;#39; really know.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing UART profile between NRF52832 (as central) and HM10 (as peripheral)</title><link>https://devzone.nordicsemi.com/thread/115448?ContentTypeID=1</link><pubDate>Mon, 25 Sep 2017 10:18:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fc2d0e7-4c73-427a-bf8a-d347ed8c9ed5</guid><dc:creator>Abhinav </dc:creator><description>&lt;p&gt;Thanks for reply.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t have access to HM10&amp;#39;s code but it is running uart profile. That is pre compiled BLE 4.0 module using its RX-TX we can communicate.&lt;/p&gt;
&lt;p&gt;Is there any way to use this (ble_app_uart_c example) code to communicate with different vendor modules which implement uart profile.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing UART profile between NRF52832 (as central) and HM10 (as peripheral)</title><link>https://devzone.nordicsemi.com/thread/115446?ContentTypeID=1</link><pubDate>Mon, 25 Sep 2017 09:21:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:322e6ea2-60f8-4aba-a236-078b1c999394</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;The ble_app_uart_c example implements the Nordic UART service client. It is a GAP central.&lt;/p&gt;
&lt;p&gt;The application scans peripheral devices and connects to a device that advertises with the NUS UUID in its advertisement report. After connecting, the application enables notifications on the device that delivers the Nordic UART Service.&lt;/p&gt;
&lt;p&gt;This code is designed to work peripherals that implements the Nordic UART service server. It doesn&amp;#39;t work with all possible services.&lt;/p&gt;
&lt;p&gt;What code are you running on the HM10?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>