网络化SDK培训-插件技术篇

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

SDK10-6-8110-6-8210-6-83MRPMRPwindows(DLL)160x1200ID10-6-8410-6-8510-6-86A.ext(A)B.ext(B)reg.ext()1.wav2.mp33.mid4.bmp5.bin()2010/04/13ABCDED1D210-6-88mrc_init()mrc_event()mrc_pause()USBmrc_resume()pausemrc_exitApp()10-6-8910-6-810//;10-6-81110-6-812/xxx.mrp10-6-813reg.extmrc_init()xxx.extmrc_init()1•mpsFpLoadRegExt()2•reg.ext,regmrc_init()3•mrc_init()xxx.mrp4•reg.extxxx.ext)10-6-814mainext.mrpB.mrpA.mrp0x10001Addr=00x10003Addr=00x10002Addr=0……00xffffModule1.extExtID:0x10000funcB0x10001funcC0x10002funcD0x10003Module2.extExtID:0x10100funcF0x10101funcG0x101020x10101Addr=00x10102Addr=0……0x10200Addr=00x10201Addr=00x10202Addr=0Module3.extExtID:0x10200funcF0x10101funcG0x1010200xffffABExtId:0x10000MrpName:A.mrpExtName:Module1.extLoadStatusNOReg.extModule1.extModule2.extReg.extModule3.ext0x10000ExtId:0x10100MrpName:A.mrpExtName:Module2.extLoadStatusNOExtId:0x10200MrpName:B.mrpExtName:Module3.extLoadStatusNOABregxxx.mrp10-6-815reg.extmrc_init()xxx.extmrc_init()1•xxx.extfuncA,mpsFpLoadExt()xxx.ext.2•xxx.ext,xxxmrc_init()3•mrc_init()4•xxx.extfuncA10-6-816mainext.mrpB.mrpA.mrp0x10001Addr=funcB0x10003Addr=funcD0x10002Addr=funcC……00xffffModule1.extExtID:0x10000funcB0x10001funcC0x10002funcD0x10003Module2.extExtID:0x10100funcF0x10101funcG0x101020x10101Addr=funcF0x10102Addr=funcG……0x10201Addr=funcH0x10202Addr=funcIModule3.extExtID:0x10200funcH0x10101funcI0x1010200xffffModule1/2/3ExtId:0x10000MrpName:A.mrpExtName:Module1.extLoadStatusYESReg.extModule1.extModule2.extReg.extModule3.ext0x10000ExtId:0x10100MrpName:A.mrpExtName:Module2.extLoadStatusYESExtId:0x10200MrpName:B.mrpExtName:Module3.extLoadStatusYES10-6-817B.mrpA.mrp0x10001Addr=funcB0x10003Addr=funcD0x10002Addr=funcC……00xffffModule1.extExtID:0x10000funcB0x10001funcC0x10002funcD0x10003Module2.extExtID:0x10100funcF0x10101funcG0x101020x10101Addr=funcF0x10102Addr=funcG……0x10201Addr=funcH0x10202Addr=funcIModule3.extExtID:0x10200funcH0x10101funcI0x10102Reg.extModule1.extModule2.extReg.extModule3.extC.mrpModule4.extExtID:0x10300Module5.extExtID:0x10400xxx.mrp10-6-818reg.extmrc_init()xxx.extmrc_init()1•xxx.extxxx_unload().2•0mpsFpUnloadExtById()3•xxx.extmrc_exitApp()xxx.ext4•xxx.ext10-6-819module_load()10-6-820module_unload()mpsFpUnloadExtByIdextxxx.mrp10-6-8xxx.ext21reg.extmrc_init()1•xxx.extxxx_hibernate().2•0mpsFpUnloadExtById()3•xxx.extmrc_exitApp()dmRegStaticVar(),xxx.ext4•xxx.ext()gwy.mrpmainext.ext()xxxxxx.mrp10-6-8xxx.ext22reg.extmrc_init()gwy.mrpmainext.extxxx1•xxx.extxxx_wakeup()mpsFpLoadExt()xxx.ext.2•xxx.ext,xxxmrc_init()3•mrc_init()datamodule4•10-6-823dataModuledataModule10-6-824datamodule10-6-825a.extvoidswitchTo(uint16extId){…...b_start();a_unload();……}b.extb_start();a.extvoidswitchTo(uint16extId){…...mpsFpDelayCallFunc(MPS_CODE_B_START,…);a_unload();……}b.extb_start();a+bMAX(a+b)10-6-826:a.extID:EXT_ID_AvoidtestCallbackFunc(){…...unc_callback_code=mpsFpSetCallbackFunc(EXT_ID_A,callbackFunc);……}:b.extID:EXT_ID_BvoidcallbackFunc(void){}voidfunc_b1(int32cbFuncCode){…………}func_b1(func_callback_code);CALLFUNC(cbFuncCode);mpsFpSetCallbackFunc()(0x1~0xffff),:,,MPS_INVALID(-2)10-6-82710-6-82810-6-829Module1.extPriority1Mudule1_RefreshMudule3_RefreshPriority3Mudule2_RefreshPriority2Mudule1_RefreshPriority1Module2.extPriority2Mudule2_RefreshModule3.extPriority3Mudule3_RefreshModule2.extmpsRcRefreshScreenModule2.ext10-6-83010-6-83110-6-832Q&A10-6-833

1 / 33
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功