130 likes | 293 Views
Two-Way Sequence Diagram. TIM. NCAP. Codec::encodeCommand( ) inArgs OctetArray. Codec::decodeCommand( ) OctetArray inArgs. OctetArray. Codec::encodeResponse( ) OctetArray outArgs. Codec::decodeResponse( ) outArgs OctetArray. OctetArray. Command Encode/Decode Architecture.
E N D
Two-Way Sequence Diagram TIM NCAP Codec::encodeCommand( ) inArgs OctetArray Codec::decodeCommand( ) OctetArray inArgs OctetArray Codec::encodeResponse( ) OctetArray outArgs Codec::decodeResponse( ) outArgs OctetArray OctetArray
Command Encode/Decode Architecture Codec CommandCodec header TestCase ReadStatusCodec Cmd Specific data ReadServiceRequestCodec ReadStatusCodecTestClass
Next Steps / Oct 23 • Bug fix on example “readStatus” command • Zip & send to Stan & Vesper • Stan check-in • Jeff getting started doc • Loopback TIM • IO for Cygwin
Registration Class Diagram Singletons Multiple Instances owns N Registration RegInfo P2pRegInfo NetRegInfo P2pRegistration NetRegistration Comm P2pComm NetComm NetBlueTooth P2pCommFifo P2pRs232Comm
NCAP / TIM Communication Styles Codec P2pReceive Registration N 1 Dot0Core P2pCommFifo P2pCommFifo P2pTimReceive Dot0 / Dot X Interface Chapter 11 Command Processor Interface Chapter 11 Remote Interface NCAP Initiated Cmd / Rsp: inArgs outArgs TIM Initiated Cmd / Rsp outArgs inArgs TIM Initiated One-Way inArgs
TIM Class Diagram Receive Singleton Comm P2pReceive P2pComm uses IO P2pTimReceive uses 2 P2pCommFifo owns FifoIO “owns” TimCommandProcessor
NCAP Class Diagram Registration Receive P2pRegistration Multiple Instances Comm P2pReceive uses P2pComm IO P2pNcapReceive uses 2 P2pCommFifo registers FifoIO uses
NCAP & TIM Relationship Diagram P2pCommFifo txFifoIO P2pCommFifo P2pNcapReceive P2pTimReceive rxFifoIO NCAP TIM Thread boundary
TIM Relationship Diagram Thread boundary txFifoIO P2pCommFifo P2pTimReceive rxFifoIO TimCommandProcessor Thread boundary
Next Steps 11/20/2009 • Complete P2pCommFifo • Add unit tests • Check in • Enhancements • Add support to encode/decode more commands (Both) • Add support to process more commands (TIM) • Implement P2pCommRs232
P2pTimTest P2pTimTest commandProcessor p2pReceiveTestNcap p2pReceiveTim rxFifo p2pCommFifoTim p2pCommFifoNcap txFifo
Next Steps 4/8/2010 • Help everyone with build issues • Try configuring Eclipse to use the external Makefiles from the configure • Complete MCastIO • Fix unit tests • Enhancements • Add support to process more commands in TimCommandProcessor • Implement P2pCommRs232
Agenda • Email comments • Who owns the Makefiles? • How to build form Eclipse with “external” Makefiles • Eclipse or config? • Questions • P2pTimTest architecture • IO architecture