SDK 5 and BASIC board problem

8 posts / 0 new
Last post
Cusko
Offline
Last seen:3 years 1 week ago
加入:2014-09-24 14:43
SDK 5 and BASIC board problem

I have BASIC board with DA14580. With the SDK 3 I can connect normally on my laptop. But If I try the "ble_app_barebone" aplication included in the SDK 5, I can see the device DIALOG-BRBN on my PC but I can't connect to it. I choosed "basic" option in "user_periph_setup.h". And I am using Keil 4. Have you tried the new SDK 5 on the basic development board?

Device:
MHv_Dialog
Offline
Last seen:1 day 22 hours ago
Staff
加入:2013-12-06 15:10
Hi,

Hi,

Please use the empty_template project and repeat the test. I'll have a look at the ble_app_barebone and let you know what I find.

MHv_Dialog
Offline
Last seen:1 day 22 hours ago
Staff
加入:2013-12-06 15:10
Hi Again,

Hi Again,

I just ran the barebone application on my Basic kit without any issues. Can I have you try to use a smart phone app (BlueLoupe for Android or LightBlue for iOS)?

Cusko
Offline
Last seen:3 years 1 week ago
加入:2014-09-24 14:43
empty_template project works

empty_template project works fine. The basic board connects with my Windows 8.1 ok. But with ble_app_barebone application doesn't. But I need some functionalities from barebone or ble_app_profile. I don't have Android or iOS available.

Cusko
Offline
Last seen:3 years 1 week ago
加入:2014-09-24 14:43
I found the solution, but I

我找到了解决方案,但我不知道世界卫生大会t the problem is. Please find out.
Solution is to enable security:
In da1458x_config_basic.h you must change to#define CFG_APP_SECURITY
In user_module_config.h change to#define EXCLUDE_DLG_SEC (0)
In user_callback_config.h change to
.app_on_pairing_request = default_app_on_pairing_request,
.app_on_tk_exch_nomitm = default_app_on_tk_exch_nomitm,
.app_on_irk_exch = NULL,
.app_on_csrk_exch = default_app_on_csrk_exch,
.app_on_ltk_exch = default_app_on_ltk_exch,
.app_on_pairing_succeded = NULL,
.app_on_encrypt_ind = NULL,
.app_on_mitm_passcode_req = NULL,
.app_on_encrypt_req_ind = default_app_on_encrypt_req_ind,

With this changes even the barebone works. End if I disable the security in template_app it doesn't connect either.

Cusko
Offline
Last seen:3 years 1 week ago
加入:2014-09-24 14:43
I still need answer for that.

I still need answer for that. And one more question.
How to enable profile in SDK5? In SDK3 you define #define CFG_PRF_BASS 1 in "da14850_config.h". I don't know how to do this in SDK5.

MT_dialog
Offline
Last seen:1 week 1 day ago
Staff
加入:2015-06-08 11:34
Hi Cusko,

Hi Cusko,

I can confirm that in windows 8.1 only with security enabled you can connect to the device. You can enable the needed profiles for your application in the user_profiles_config.h file just by including the .h files of the profile you want. For example in the user_profiles_config.h by including the diss.h and the custs1.h your application will embed the coresponding profiles.

Thanks MT_dialog

Cusko
Offline
Last seen:3 years 1 week ago
加入:2014-09-24 14:43
Thanks!

Thanks!
For information: SDK3 works fine with Windows 8.1 with security disabled.

Topic locked