<?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>BLE Connect fail with Android-nRF-Toolbox</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68905/ble-connect-fail-with-android-nrf-toolbox</link><description>Dear Mr/Mrs, 
 I am learning to develop an Android BLE apk. I use the nRF Connect apk and Android-nRF-Toolbox to connect with my BLE device. 
 nRF Connect connect to the BLE device successfully while nRF Toolbox failed. 
 The mobile phone I used is Nova4</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 07 Dec 2020 11:29:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68905/ble-connect-fail-with-android-nrf-toolbox" /><item><title>RE: BLE Connect fail with Android-nRF-Toolbox</title><link>https://devzone.nordicsemi.com/thread/283516?ContentTypeID=1</link><pubDate>Mon, 07 Dec 2020 11:29:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2df5e2da-0d3a-412e-b432-ec799dc7270b</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again Steven,&lt;/p&gt;
[quote user="Steven Chen"]I will test the tagged version 2.9.0.[/quote]
&lt;p&gt;Great, I look forward to hearing how it goes!&lt;/p&gt;
[quote user="Steven Chen"]The module is developed based on UNISOC UIS8910DM chip, which including BT inside.[/quote]
&lt;p&gt;I am unable to find this component unambiguously. Do you have a datasheet you could share, if the test on the 2.9 tagged release fails?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Connect fail with Android-nRF-Toolbox</title><link>https://devzone.nordicsemi.com/thread/283443?ContentTypeID=1</link><pubDate>Mon, 07 Dec 2020 01:09:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:525eded0-a459-4dd5-8412-bdb950468476</guid><dc:creator>Steven Chen</dc:creator><description>&lt;p&gt;Dear Karl,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I will test the tagged version 2.9.0. The module is developed based on UNISOC UIS8910DM chip, which including BT inside.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Connect fail with Android-nRF-Toolbox</title><link>https://devzone.nordicsemi.com/thread/283300?ContentTypeID=1</link><pubDate>Fri, 04 Dec 2020 12:01:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3e055d7-0611-4cf0-9f50-cfe2964de7a7</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello Steven,&lt;/p&gt;
[quote user="Steven Chen"]Thanks for your answer. I use the code downloaded from&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/Android-nRF-Toolbox"&gt;https://github.com/NordicSemiconductor/Android-nRF-Toolbox&lt;/a&gt;. And I didn&amp;#39;t do any modification. I connect the device(40:45:da:**:**:**) from the scan activity by click the bluetooth icon.[/quote]
&lt;p&gt;Which tagged release of the repository are you using?&lt;br /&gt;The .rar file you have included indicate that you might be using the master branch - I highly recommend that you only stick to using tagged releases, instead of the master branch, since the master branch is constantly being worked on, and certain things may thus not work as intended.&lt;br /&gt;In the case that you were using the master branch in the test for your original ticket, could you perform the same test again with a tagged release instead ( such as the 2.9 release ) and see if the issue persists?&lt;/p&gt;
[quote user="Steven Chen"]The device is a BLE module.[/quote]
&lt;p&gt;Could you elaborate, which BLE module is it exactly?&lt;br /&gt;&lt;br /&gt;Looking forward to resolving this issue together!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Connect fail with Android-nRF-Toolbox</title><link>https://devzone.nordicsemi.com/thread/282772?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2020 00:47:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb071249-053f-4e6d-afa0-8b95bae4a411</guid><dc:creator>Steven Chen</dc:creator><description>&lt;p&gt;Dear Karl,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your answer. I use the code downloaded from&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/Android-nRF-Toolbox"&gt;https://github.com/NordicSemiconductor/Android-nRF-Toolbox&lt;/a&gt;. And I didn&amp;#39;t do any modification. I connect the device(40:45:da:**:**:**) from the scan activity by click the bluetooth icon.&lt;/p&gt;
&lt;p&gt;The device is a BLE module.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Android_2D00_nRF_2D00_Toolbox_2D00_master.rar"&gt;devzone.nordicsemi.com/.../Android_2D00_nRF_2D00_Toolbox_2D00_master.rar&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Steven&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Connect fail with Android-nRF-Toolbox</title><link>https://devzone.nordicsemi.com/thread/282661?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2020 12:37:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbb5821b-41b7-4105-b751-657edcc76fea</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]I am learning to develop an Android BLE apk.[/quote]
&lt;p&gt;Welcome!&lt;br /&gt;By this you mean that you are working with our &lt;a href="https://github.com/NordicSemiconductor/Android-BLE-Library"&gt;Android BLE Library&lt;/a&gt;, correct?&lt;/p&gt;
[quote user=""]2020-11-30 14:55:35.628 5443-5443/no.nordicsemi.android.nrftoolbox I/BluetoothDevice: connectGatt&lt;br /&gt;2020-11-30 14:55:43.485 5443-5479/no.nordicsemi.android.nrftoolbox W/BluetoothGatt: Unhandled exception in callback&lt;br /&gt; java.lang.NullPointerException: Attempt to invoke virtual method &amp;#39;void no.nordicsemi.android.nrftoolbox.ble.f.a(java.lang.String, int)&amp;#39; on a null object reference[/quote]
&lt;p&gt;It seems to me that the code might proceed with the connection after the unhandled exception in the callback. - such as calling a connection method on a NULL connection object.&lt;br /&gt;Could you share the part of your code where it fails - where you initiate a connection?&lt;br /&gt;&lt;br /&gt;What is the device you are trying to connect with, by the way?&lt;br /&gt;&lt;br /&gt;Looking forward to resolving this issue together!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Connect fail with Android-nRF-Toolbox</title><link>https://devzone.nordicsemi.com/thread/282389?ContentTypeID=1</link><pubDate>Mon, 30 Nov 2020 08:36:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8afe3633-1ebd-41f1-9242-52a3d94eec15</guid><dc:creator>Steven Chen</dc:creator><description>&lt;p&gt;upload full log of nRF Connect and nRF Toolbox.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrfconnect.txt"&gt;devzone.nordicsemi.com/.../nrfconnect.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrftoolbox.txt"&gt;devzone.nordicsemi.com/.../nrftoolbox.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>