使用spi写mac地址后, SUOTA升级不了
功能需求:
由于我每个ble板子要使用不同的MAC地址, 因此我将mac地址写到flash的0x1f100, 然后再通过spi读取出来, 赋值给dev_bdaddr, 这样就能显示我写的MAC地址了.
那么现在问题来.
问题描述:
我无法使用手机进行ota升级了. 如果我不是使用spi去读取, 直接调用sdk里的nvds_read_bdaddr_from_otp, 那么ota升级就很正常.
请麻烦帮我解决一下ota升级问题.
功能需求:
由于我每个ble板子要使用不同的MAC地址, 因此我将mac地址写到flash的0x1f100, 然后再通过spi读取出来, 赋值给dev_bdaddr, 这样就能显示我写的MAC地址了.
那么现在问题来.
问题描述:
我无法使用手机进行ota升级了. 如果我不是使用spi去读取, 直接调用sdk里的nvds_read_bdaddr_from_otp, 那么ota升级就很正常.
请麻烦帮我解决一下ota升级问题.
官网下载的SDK5.04 。没改动过,编译ble_app_security工程,调试下载出现以下问题:
if (DEVELOPMENT_DEBUG)
{
wdg_freeze(); // Stop WDOG
SetBits16(SYS_CTRL_REG, DEBUGGER_ENABLE, 1); // enable debugger to be able to re-attach
Hi support,
我想知道蓝牙怎么以最高的速度去发数据(notify),我的需求是每20ms要发20bytes(一包数据),相当于1KB/s,这个速度BLE是能满足的,我现在的做法是把需要处理的数据先放在一个环型缓冲区,然后一包一包数据地发,每发一包数据之前会去判断上一包数据发送是否已经完成,即检查GATTC_CMP_EVT事件的到来,基本能达到要求,直到我用示波器测功耗时才发现,事实上不是20ms发一包数据,而是不规则地发,详见附件波形图,我想知道的是,有没有更好的方法可以有严格的时序要求,即20ms发一个数据包,当然,能发两个、三个甚至四个也是可以的,谢谢!
BR,
Young
Hi,
Is there a source code I can load on the USB dongle to use this dongle with a Raspberry Pi 3 (through HCI exchanges)?
Thanks!
_Matthieu
设置参数如下:导致在连接的传输数据出现不稳定,在没有设置此参数之前连接后传输数据是ok的
struct gapc_param_update_cmd * req = KE_MSG_ALLOC(GAPC_PARAM_UPDATE_CMD, TASK_GAPC, TASK_APP, gapc_param_update_cmd);
// Fill in the parameter structure
申请- >操作= GAPC_UPDATE_PARAMS;
req->params.intv_min = 180; // N * 1.25ms
req->params.intv_max = 200; // N * 1.25ms
req->params.latency = 0; // Conn Events skipped
req->params.time_out = 500; // N * 10ms
ke_msg_send(req);
return;
请问params.intv_min和.intv_max.设置为多少合适,在保证数据稳定的情况下,功耗也不大
Dear Dialog team
May I get the source code of DSPS application for Android and iOS
Thanks
Ran
I have successfully modified DSPS 5.150.2 to support multiple peripherals.
But I have a small issue remaining, which I need to understand better.
When I connect to the 1st Peripheral everything is OK. A successful connection is established very fast (likely < 100ms)
Hi
How to detect the device is in connection or disconnection? In other word,has it one variable to indicate the status of the device is connection or disconnection?
thanks
Hi Dialog
my application => sps_slave sends data to sps_host(BLE),
then from sps_host to gateway device (via UART).
if i send hex data from slave , in host side ,=> serial terminal not displaying hex values , instead serial terminal displaying some characters...same working fine with ASCII values..How to solve this ??
Thank you ...
Are there any sample program of GAP, or GATT?
I could advertising, connect, and disconnect, then I execute "ble_app_barebone" program of DA1458x_SDK_5.0.4.
Please tell me a simple sample code about transmit and receive.