gapc_disconnect_ind_handler
得到param->reason = 0x08 与 0x3e
分别代表什么意思?
得到param->reason = 0x08 与 0x3e
分别代表什么意思?
I want to add 'battery service' from 'prox_reporter' to 'ble_app_peripheral' on SDK5 ble example.
How Can I this?
Hi Dialog team!
hi,
What I have done is change the pin of the uart, the JLink Warning: CPU could not be halted.
#define GPIO_UART1_TX_PORT GPIO_PORT_2//0
#define GPIO_UART1_TX_PIN GPIO_PIN_8//4
#define GPIO_UART1_RX_PORT GPIO_PORT_2//0
#define GPIO_UART1_RX_PIN GPIO_PIN_9//5
Does anybody realise a Projekt to read with a PAN 1740 a one wire Bus and send the value via bluetooth?
Project in Detail.
I would like to read one 1wire Temperature sensor and send the value over bluetooth as fast as possible.
If there are any basics it would be nice.
Best Regards
Gert
你好,
我在这个DSPS的基础上进行修改,把UART的引脚改成如下,结果就发现DSPS的android客户端怎么都找不到DIALOG了。
#define UART2_PORT GPIO_PORT_2
#define UART2_PIN_TX GPIO_PIN_8
#define UART2_PIN_RX GPIO_PIN_9
#define UART1_TX_PORT GPIO_PORT_1
#define UART1_TX_PIN GPIO_PIN_2
#define UART1_RX_PORT GPIO_PORT_1
#define UART1_RX_PIN GPIO_PIN_3
#define UART1_RTS_PORT GPIO_PORT_2
#define UART1_RTS_PIN GPIO_PIN_3
#define UART1_CTS_PORT GPIO_PORT_2
#define UART1_CTS_PIN GPIO_PIN_4
谢谢
Hi,
I have some question about the DSPS.
1) Can the pin of the uart be defined by myself? For example,
#define UART2_PORT GPIO_PORT_2
#define UART2_PIN_TX GPIO_PIN_8
#define UART2_PIN_RX GPIO_PIN_9
请问DA14580每次最多可以传输多少个字节?我指的是一次性传输,不是多次分包。
现在在做一个项目,需要一次性传输约300个字节。
目前尝试修改MTU,发现最多只能改到103左右,如果再增大的话,每次一连接就会断开。用的调试app是IOS下面的LightBlue。
修改的MTU的位置:
user_config.h里面的
//---------------------GAPM---RELATED----------------------------------
Hello I am new to your development system. I was looking at UM-B-005 and it talks about
a project named " peripheral_examples\DA14580_peripheral_setup.uvproj". I downloaded
the 5.0.3 SDK and I don't see it in there. Am I missing something or was it removed? I see
the various projects for the peripherals but not this project file. Can you help>
sdk3.0.6
蓝牙主机端发起连接,连接间隔如下:
msg->con_intv_min = 8; 10ms
味精- > con_intv_max = 8;10毫秒
msg->superv_to = 10; 100 ms
无从机延时。
主机端与从机端建立连接后我修改了MTU的大小由23改为67,(也就是一次要传输64byte数据)分别建立两个characteristic1(具备64字节读写) 和characteristic2(具备64字节Notification功能) 用于主机端与从机端的双向通信。
测试方法: 主机端往characteristic1写数据时,输出时间, 从机端接收到characteristic1写的请求时,发送Notification给主机端,主机端接收到Notification时再次输出时间。
此过程通过测试:64byte来回一次传输 大约用了80ms左右。
问: