02-MTK message distribution and window management mechanism MTK message distribution and window management Li Bo 2008-01-04 I. Overall structure 1. Software Architecture MediaTek Inc. (MTK) 2. MMI Architecture The MTK platform uses Pixtel MMI of Pixtel Communications, Inc. (now acquired by MTK and used as MTK India R&D center). The basic working mode of MMI is message-driven. The entire MMI is a task that continuously takes out messages from the message queue for processing. MMI only deals with the L4 layer, and the two interact through the message queue. The L4 layer provides all the encapsulation of the bottom layer (PS and driver). The MMI directory is located in plutommi\\. Framework is the basic functional part of MMI, providing basic functions such as message management (Event Handler) and window management (History Manager) to drive the operation of the entire MMI. Framework directory is located in plutommi\\mmi\\Framework\\2. Message distribution Message (event) ID definition file: adaptation\\include\\stack_msgs.h defines all message types typedef enum {…}msg_type; interface\\mmi\\mmi_sap.h interface\\ps\\cc_sap.h sms_sap.h …… plutommi\\mmi\\AsyncEvents\\AsyncEventsInc\\ProtocolEvents.h and then take the alias event processing implementation file: plutommi\\mmi\\Framework\\EventHandling\\EventsSrc\\Events.c Event function initialization: InitEvents() InitFramework() InitializeAll() MMI_task() Task message structure: a……
You Might Like
Recommended ContentMore
Open source project More
Popular Components
Searched by Users
Just Take a LookMore
Trending Downloads
Trending ArticlesMore