SDK5

LLC_TASK stuck at LLC_ENC_WAIT_LTK

Tue, 2016-01-12 06:43--meriororen

Hi Dialog,

I have been observing a behavior in my application where I can advertise without problem but I cannot connect.
The peripheral keeps returning 0x3E error (connection cannot be established). And this behavior can only be fixed
by applying reset.

From debugging, I can confirm that everything on application task is running ok, the GAPM task is running, timer is running..

Disabling (Hiding) Service

Thu, 2015-11-12 11:59--meriororen

Hi,

Suppose I have two services (let's say CUSTS1 and CUSTS2), I want to be able to hide one of them (or both) service from a
connected client with a flag. E.g., when this flag is on, only make CUSTS1 available to connected client. Is this possible?

I have tried "disabling" CUSTS1 by not calling prf_enable()->app_custs1_enable() during client connection but it doesn't seem
(客户端不断等服务工作discovery) -- client is LightBlue app.

Thank you in advance

How to deal with attribute value is longer than (ATT_MTU–3) (SDK5)

Mon, 2015-10-26 07:52--libra_13179

hi dialog
According to the Bluetooth 4.0 specification Vol 3 Part F 3.4.7.1"If the attribute value is longer than (ATT_MTU–3) octets, then only the first (ATT_MTU–3) octets of this attributes value can be sent in a notification."
when attribute value is longer than (ATT_MTU–3) ,I can get max (ATT_MTU–3) octets .
1step
I found "ble_app_peripheral "project
#define DEF_CUST1_LONG_VALUE_CHAR_LEN 50
2step
[add]@file user_custs_config.h

sdk 5 ble example project console printing using the UART problem

Fri, 2015-10-16 07:52--libra_13179

hi dialog:
1、open my keil project.(DA1458x_SDK_5.0.2.1\DA1458x_SDK\5.0.2.1\projects\target_apps\template\empty_peripheral_template)
2、open the following file:
\\da1458x_config_basic.h
Modify the following lines:
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
#define CFG_PRINTF
#ifdef CFG_PRINTF
#define CFG_PRINTF_UART2
#endif
/////////////////////////////////////////////////////////////////////////////////////////////////////////////

Subscribe to RSS - SDK5