DA14580

Auto connect da14580 and android app

Wed, 2016-11-30 12:47--sunnysingh

Hi,
I am completely new to da14580 programming.
I wish to establish a ble connection between my android device and da14580 basic kit.

Here's how i wish to achieve this:
1) The da14580 starts scanning for nearby devices.
2) After identifing the baddr of the android device it sends a pairing requests to the phone.
3) The pairing is completed using passkey.

Q1) Where do need to specify the baddr it needs to connect to?
Q2) What are things to be kept in mind while making an automatic connection?

DSPS_HOST, sps_clinet.c

Wed, 2016-11-30 10:36--prasanth.velliy...

Hi Dialog
I am working in DSPS_HOST project , when i tried to use breakpoint inside sps_client.c / sps_client_task.c compiler is not stopping , also i used
/****************************UART PRINT FUCNTION***************************************/
uart_init(UART_BAUDRATE_115K2,3);
uart_flow_off();
uint8_t something2[] = {"user_sps_enable\n"} ;
uart_write((uint8_t *)something2,sizeof(something2),NULL);
uart_finish_transfers();

修改广播参数之后要使用哪个函数才能广播新的参数属性

Wed, 2016-11-30 08:24--Lane

Hi Dialog:
我需要在芯片运行的时候修改广播名字等参数,修改的app_adv_func()函数代码如下,

memcpy(&device_name_temp_buf[0],”ABCDEFG”, 7); //修改缓存

if(device_name_length > 0 || new_name_len >0)
{
// Check available space

device_name_length = co_min(device_name_length, device_name_avail_space);

DA14582串口接收数据丢失

Mon, 2016-11-28 09:10--Stone_wang

您好,我想咨询一下,我用DA14582同STM32通讯,采用了官方的串口驱动demo,然后在主函数调用串口接收接口,代码如下所示:
int main_func(void)
{
while(1)
{
#ifdef UART2_FUNCTION
uart2_read(UART2_RX_BUFF,1,UART2_CALLBACK);
#endif
}
}
其中UART2_CALLBACK函数中只调用 uart2_write(UART2_RX_BUFF,1,NULL);
但我发现如果STM32发送数据包超过15byte,DA14582串口接收的数据超过15byte的部分会丢失,且概率性发生
看了一下官方的串口驱动,暂时未发现其他问题,请问这是什么原因呢?

What happens to Data added into the FIFO in Streaming example if receiver is out of range?

Fri, 2016-11-25 09:53--Bharath

Hi,
We are using throughput_eval_peripheral example in our application. And we want to know what happens to the data packets that are added to the FIFO, if the receiver is not receiving the packets?
i.e. if the central device is out of range?
What happens once the central comes back to the peripheral range and at that time FIFO is full?
Will the data be lost?

Thanks
Bharath

Pages

Subscribe to RSS - DA14580