Designing Embedded Communications Software
Chapter 2: Software Considerations in Communications Systems
- Listing 2.1: Streams message and data block structures.
Chapter 3: Software Partitioning
- Listing 3.1: Perform demultiplexing.
- Listing 3.2: Main task loop.
- Listing 3.3: Event processing in the main loop.
Chapter 4: Protocol Software
- Listing 4.1: A simple state machine implementation via a switch-case construct.
- Listing 4.2: Logic for an access function.
- Listing 4.3: Logic for an access function with a predicate.
- Listing 4.4: Main loop for a typical communications task with state machines.
Chapter 5: Tables and Other Data Structures
- Listing 5.1: Management information base.
- Listing 5.2: Protocol control block and related blocks for IP.
Chapter 6: Buffer and Timer Management
- Listing 6.1: Message control block.
- Listing 6.2: Data control block.
- Listing 6.3: RTOS notification routine.
- Listing 6.4: Timer block.
- Listing 6.5: Process the timer event.
- Listing 6.6: Create a new timer.
Chapter 7: Management Software
- Listing 7.1: Statistics block.
- Listing 7.2: A Test routine with a switch statement.
Chapter 8: Multi-Board Communications Software Design
- Listing 8.1: The IPS approach to accessing variables.
Chapter 9: Going About the Development
- Listiing 9.1: COTS board include file.