找回密码
 立即注册

微信扫码登录

楼主: kaviyarasan

[BLE Mesh] lpn poll timeout

[复制链接]

21

主题

25

回帖

219

积分

华贵铂金

积分
219
 楼主| 发表于 2024-12-31 13:51:37 | 显示全部楼层
TL_HSF 发表于 2024-12-30 11:33
把文件夹里的文件更新到sdk中,然后用图片的300s 的改动更新掉,改成120s

In this after setting to 2 minutes poll interval between two minute interval every 13 second one wakeup event coming (during this 13 second wakeup time its not sending the poll message)in 2 minute poll interval current consumption is 5ma and during this 13 second wakeup current consumption is 600 uA

5

主题

121

回帖

461

积分

版主

积分
461
发表于 2024-12-31 15:07:26 | 显示全部楼层
你要干什么,你的疑问是什么

21

主题

25

回帖

219

积分

华贵铂金

积分
219
 楼主| 发表于 2024-12-31 15:28:23 | 显示全部楼层
本帖最后由 kaviyarasan 于 2024-12-31 20:50 编辑
TL_HSF 发表于 2024-12-31 15:07
你要干什么,你的疑问是什么

1)for me wakeup needs to come only every 2 minutes in between wakeup should not come how to avoid those wakeup in between two minutes?
2)In mesh_lpn.c mentioned like FRI_POLL_INTERVAL_MS should be less than 40 seconds why?

STATIC_ASSERT(FRI_POLL_INTERVAL_MS <= 40*1000); // FRI_POLL_INTERVAL_MS max 40s, because intervalMin in bls_ll_setAdvInterval is u16, max is (0xffff*625)us = 40s.



21

主题

25

回帖

219

积分

华贵铂金

积分
219
 楼主| 发表于 2025-1-2 14:58:58 | 显示全部楼层

Reason for get_lpn_poll_interval_ms() divide by 2

Here whats the reason for  get_lpn_poll_interval_ms() divide by 2                                                                                                                                                                                _attribute_ram_code_ void user_init_deepRetn(void)
{
    blc_app_loadCustomizedParameters();
        blc_ll_initBasicMCU();   //mandatory
        rf_set_power_level_index (my_rf_power_index);

        blc_ll_recoverDeepRetention();
        // should enable IRQ here, because it may use irq here, for example BLE connect.
        irq_enable();
        user_init_peripheral(1);
        if(get_blt_busy() && clock_time_exceed(fri_ship_proc_lpn.poll_tick, get_lpn_poll_interval_ms()*1000/2)){ // blt_busy true means not early wakeup
                lpn_set_poll_ready(); // will call mesh_friend_ship_start_poll() in mesh_friend_ship_proc_LPN().
        }

    lpn_wakeup_tick = clock_time();
}

21

主题

25

回帖

219

积分

华贵铂金

积分
219
 楼主| 发表于 2025-1-2 19:11:16 | 显示全部楼层
TL_HSF 发表于 2024-12-3 15:49
把图片里的这几个文件更新成压缩包里面的。现在的poll interval配置的是5分钟 ...

here after updating this files poll message is sending every 5 minute between poll interval every 13 second mcu wakeup occuring ,when we set within 40 second range its working and abnormal wakeup not happened

5

主题

121

回帖

461

积分

版主

积分
461
发表于 2025-1-6 10:38:27 | 显示全部楼层
你到底是需要什么5分钟的还是40s ,如果需要40s 的就不需要更新这些文件

5

主题

121

回帖

461

积分

版主

积分
461
发表于 2025-1-6 10:39:18 | 显示全部楼层
你需要做什么??

5

主题

121

回帖

461

积分

版主

积分
461
发表于 2025-1-6 10:44:18 | 显示全部楼层
TL_HSF 发表于 2024-12-30 11:33
把文件夹里的文件更新到sdk中,然后用图片的300s 的改动更新掉,改成120s

这里的改动有没有更新进去??

21

主题

25

回帖

219

积分

华贵铂金

积分
219
 楼主| 发表于 2025-1-6 12:35:54 | 显示全部楼层
TL_HSF 发表于 2025-1-6 10:39
你需要做什么??

here when we try to set poll within 40 seconds its coming perfectly every 40 second but if we try to set 2 minute as poll interval its not sending the poll mesage every 2 minute instead its sending before poll interval finishes?

21

主题

25

回帖

219

积分

华贵铂金

积分
219
 楼主| 发表于 2025-1-6 12:39:29 | 显示全部楼层
TL_HSF 发表于 2025-1-6 10:38
你到底是需要什么5分钟的还是40s ,如果需要40s 的就不需要更新这些文件

i have updated this files and poll interval configured to 5 minutes but in between poll interval mcu is
wakingup
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Telink forum ( 沪ICP备17008231号-1 )

GMT+8, 2025-1-19 21:52 , Processed in 0.088929 second(s), 20 queries .

Powered by Telink 隐私政策

泰凌微电子版权所有 © 。保留所有权利。 2024

快速回复 返回顶部 返回列表