RTOS, adding message bus feature
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-08-29 09:42 PM
I have an idea for freeRTOS in stm32cube and other RTOS, adding message bus feature to them!
Like a CAN bus this bus operate but between tasks instead of devices.
Many times a task have a message that can publish and many tasks are user of that message, each message must have an 8bit identifier that will be published at head of message(no crc).
each task have an adjustable filter/mask that can receive messages that need to get.
This method is better than send on message to several tasks separately.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-08-30 06:20 AM
Wouldn't it be simpler just to arrange your tasks and messages more effectively?
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-08-31 02:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-08-31 04:10 AM
And how do you manage the life time of these messages?
Why would all tasks need to see the messages if you got the partitioning of tasks and dispatch done correctly in the first place? I sure as heck wouldn't be creating new hardware peripherals to solve what's really not an appropriate problem.Up vote any posts that you find helpful, it shows what's working..