Files
fusion/mw/has_task_msg_manager
zhangzhaopeng 2f4c00fd3d 1.修复删除所有消息接口的bug
2.完善初始化时的错误处理
3.添加freeRTOS的支持
4.添加rt-thread的支持
5.消除一些编译警告
2026-01-08 17:30:22 +08:00
..
2025-12-24 17:00:23 +08:00
2025-12-29 14:32:03 +08:00
2026-01-08 17:30:22 +08:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

这个软件用于代码模块之间的消息传递,采用发布-订阅的方式传递消息
使用方法:
1. 在 has_task_msg_os_port.h 选择操作系统更改宏MSG_OPT_OS。或选择自定义自己实现接口如果自己定义需要自己实现has_task_msg_os_port.c的相应接口。
2. 在 has_task_msg.h 中添加自己负责的软件模块id号has_module_ID_e并且完成订阅表 SUBSCIBE_INFO 要把模块的id、模块要订阅的id等信息填好。
3. 代码中使用:初始化、发布、订阅和消息回调即可。请参考示例 msg_example.c