DA14580

Text Messages (SMS) with SC14CVMDECT

Mon, 2020-04-20 08:38--koenig

Hello,

I want to configure the SC14CVMDECT as FP and be able to send text messages (SMS) to registered PPs (the PPs are commertially available handsets, so I am not free to implement my own protocol).

I can't find any documentation on how to do that, however I have found a hint, that it should be possible with the SC14CVMDECT and Natalie stack.

Can you please give me any pointers how to start with this topic?

Best regards,

Johannes König

睡眠模式下systick中断和外设问题

Mon, 2020-04-20 04:22--zyosintek

嗨对话框:

有个问题请教下

1:systick 可以在睡眠模式下跑吗?

2:我试了下设置一秒的sysytick中断,在sleep mode 下可以进入中断,但是在中断回调中操作gpio口没有反应。这是系统外设在进入睡眠前关闭了,没有打开的原因吗?

感谢!

如何在运行时更改现有服务uuid和属性uuid?动态修改

Sat, 2020-04-18 02:19--chenpenglai

我基于 SDK 5.0.4 的 ble_examples\ble_app_peripheral 工程修改

我想在运行时更改现有服务uuid和属性uuid,因为属性uuid由客户在运行时通过串行端口配置

我正在开发一个AT指令蓝牙模块

我这样修改:

uint8_t new_uuid_arr[16]={1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}; //a new uuid struct att_char128_desc *p1 = (struct att_char128_desc *)cust_prf_funcs->att_db[CUST1_IDX_SERVER_TX_CHAR].value; memcpy(p1->attr_type, new_uuid_arr, 16);

我的期望是上述代码执行后uuid会发生变化

但这不起作用,手机连接查看uuid还是和原来的一样

请告诉我如何在运行后通过哪个函数更改存在的服务uuid和属性uuid

还有其他改变属性uuid的方法吗?

休眠以后开启广播功耗很大

Sat, 2020-04-18 02:16--chenpenglai

我使用的是SDK的ble_examples\ble_app_peripheral项目

部分配置如下:

.adv_scenario = DEF_ADV_WITH_TIMEOUT,

.advertise_period = MS_TO_TIMERUNITS(10000),

.intv_min = 16000, // 100ms (160*0.625ms)
.intv_max = 16000,

当模块关闭广播进入ARCH_EXT_SLEEP_ON休眠后,功耗正常为2ua

但是开启广播状态下进入ARCH_EXT_SLEEP_ON休眠后,功耗很大,为166ua

如何降低开广播的状态下休眠的功耗?

CNT0 can't get it to simulate

Fri, 2020-04-17 20:57--rtlongdon

I'm playing with GreenPAK designer and created the simple circuit that I have attached (Is it not possible to attach a .gp5 file?). I'm using GreenPak5 Designer V6.21.

My goal with this "Hello World" project was simply to make the counter spit out a pulse every second.

I've tried various configurations and in the sim I can see OSC0 clock signal, but nothing out the other side of the CNT0 block.

I'll first assume the issue is with my lack of knowledge, and then I'll ask what I need to do to get this simple design to simulate? Any help would be appreciated!

数据包抓包问题

Fri, 2020-04-17 11:17--GGQ_in

这几天学习弄了一下蓝牙抓包,遇到了问题请帮忙解答一下~

主从都是DA14580,主设备的连接方式为扫描从为不定项连接时,抓到连接后的数据包是没问题的,但是当主连接方式直接从发起态请求连接时抓到的数据包如pdf中的图,这种情况是我直接从发起态请求连接时的程序问题吗?我的从设备最终是想要以定向连接方式连接,定向连接后的数据包无法实现抓包吗? 谢谢!

static const struct default_app_operations user_default_app_operations = {
.default_operation_adv = user_gap_start_connect_to_set,
};

//建立发起连接的消息

Pages

Subscribe to RSS - DA14580