DA14580

DSPS.host not working

Wed, 2016-04-13 14:33--roinovi.

hello
i am using the dsps example and i flashed the "sps_device.hex" to one da14580 and it works good with the ios app (i see my data in the application)
但是,当我将“SPS_HOST”闪烁到另一个DA14580时,为了将其用作主机,DA14580“设备”似乎无法连接到DA14580“主机”。
i know it doesnt connect because in the dsps ios app i can see the "device" when i hit the "search" -> so i know the device and the host didnt connect.
what can be the reason for the host not connecting/working

tnx
roi

Presentation format

Wed, 2016-04-13 11:32--ankitdaf

Hi

I am trying to set a presentation format for a custom characteristic that I am added to CUSTS1 service in the ble_app_peripheral example.

I am unable to figure out the code and more importantly, where to insert the code, in order to display the characteristic value as text. At the moment, I am able to see the characteristic value as empty, but I want to set it as readable text.

如何为特征设置演示格式?

谢谢,

功耗和寿命

Wed, 2016-04-13 08:35--吉波

Dear Dialog,

We have some quetion.We use DA14580.Question is below.

(1)DA14580由外围模式开始。
Power consumption was about 14uA mesured by multimeter, when advertise interval is 500ms(include Extended Sleep).
We calculated using the value of Power consumption of Peripheral mode that is listed in Table.15 of UM-B-019, but Power consumption was not to 14uA(12.15uC ÷ 500ms ≒ 24uA).
Which is correct of measured and calculated?

ke_timer race condition

Tue, 2016-04-12 18:45--paul.deboer

Dear Support,

it appears I have stumbled upon a race condition (at least it looks so) between the ke_timer_set, the triggered message and the ke_timer_clear.
I'm using the timer as below, as a 10ms tick timer (hence the chance that you witness this race-condition increases).

空白app_timer_unset (ke_msg_id_t const timer_id, ke_task_id_t const task_id)
{
ke_timer_clear(timer_id,task_id);
}

void my_start_app_timer(void)
{
app_timer_set(MY_APP_TIMER, TASK_APP, 1);
}

How can I use the led to display the current state(advertising, connection).

Tue, 2016-04-12 06:26--okmegi

How can I use the led to display the current state(advertising, connection).

I want to show a user my device's connection state.

因此,我使用“使用Timer2”的“PWM2”,用于在广告模式下打开LED。
LED is ON during 0.1ms.
LED在0.9ms时关闭。
So,
LED always looks "ON state". Saving the power is the reason why I chose this method.

Using Beacon reference design with ADV_SCAN_IND

Mon, 2016-04-11 12:39--quangng

Hello,

I'm making a small beacon application based on the DA14580_BEACON_3.40.6 reference design. In particular, I would like to the broadcaster to send the scan response data in addition to the advertising data when it receives the scan response request from the observer. So I understand that I have to set app_advertise_mode in the app_init_func() to scannable undirected advertising event (ADV_SCAN_IND), but I could find any macro of this PDU type in the SDK. How can I set the broadcaster (beacon device) to achieve this?

ble timer的中断入口在哪里

Sat, 2016-04-09 06:59--yueqian_scut

你好!请问BLE TIMER(10毫秒)的中断入口在哪里?
按照SDK说明,RW内核提供10毫秒为单位的定时服务,那应该在10毫秒的中断里面去检测各个定时器是否到达,并调用相关的回调函数。
但是,在以下BLE中断入口里面,我都没发现哪个中断是10毫秒中断一次的。RW内核严格意义上是单任务内核,定时器应该是在定时中断里面去处理定时相关的工作的。
DA14580集成RW的BLE,那BLE的TIMER应该要接入CORTEX M0的中断线的。那么CORTEX M0中断向量里面哪个是BLE TIMER的入口呢?
;0x00033043 T BLE_EVENT_Handler
;0x00033055 T BLE_WAKEUP_LP_Handler
0x00033105 T BLE_FINETGTIM_Handler
0x0003310d T BLE_GROSSTGTIM_Handler
0x00033115 T BLE_CSCNT_Handler
;0x0003315d T BLE_SLP_Handler
0x0003318d T BLE_ERROR_Handler
;0x000331a5 T BLE_RX_Handler

DA14580 : Scan for mobile devices

Fri, 2016-04-08 16:56--coldeai

Hello,
我最近开始使用DA14580DEVKT - Smart Developmnt套件,目前正在研究一个项目,该项目必须通过启用蓝牙扫描所有附近的手机设备,因此我不关心在它们之间建立连接。
I can't figure it out why i don't get any results when i'm scanning after phone devices though they have bt enabled and visible .
Now, i have two DA14580 boards, the first act as a scanner, and have the role set to GAP_CENTRAL_MST. The other one act as broadcaster, with the role GAP_PERIPHERAL_SLV.

Pages

订阅RSS  -  DA14580