Skip to content

Conversation

@qiyongzhong0
Copy link
Contributor

No description provided.


#ifdef AT_DEVICE_USING_ME3616

#define ME3616_DEEP_SLEEP_EN 0//module support deep sleep mode
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DEEP_SLEEP 模式是否可以做成 menuconfig 中功能配置,或者 at_device_control 函数中控制,而非在代码中写死

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

目前模块不支持DEEP_SLEEP 模式,现在只是将功能代码保留下,方便以后功能升级。可以修改这个宏定义为:
#ifndef ME3616_DEEP_SLEEP_EN
#define ME3616_DEEP_SLEEP_EN 0//module support deep sleep mode
#endif
这样可以在menuconfig 中增加功能配置。可好?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

好的

goto __exit;
}

at_resp_set_info(resp, CONN_RESP_SIZE, 0, (45*RT_TICK_PER_SECOND));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

45 秒的超时在实际使用中是不是有点长,可根据实际连接情况优化一下等待时间

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

测试验证过的,最长返回结果时间为45秒.如果改短可能无法获取返回结果.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以,那就不用改动

@Lawlieta
Copy link
Contributor

感谢你的支持和贡献,确认一下,相关网络软件包和功能都有测试通过吗?

@qiyongzhong0
Copy link
Contributor Author

此软件包以经过2周测试优化过了。

@armink armink merged commit b0695cb into RT-Thread-packages:master Dec 31, 2019
@qiyongzhong0 qiyongzhong0 deleted the add_me3616 branch December 31, 2019 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants