蓝牙开发流程是这样子的:
1.用bluelab设计源代码,将程序RUN到模块中,测试功能OK。
2.用blueflash将开发好功能的模块中的软件DUMP出来,生成XPV XDV文件
3.将DUMP出来的XPV XDV文件烧录到新的模块中 注意 1烧录后,PSTOOL里要 VM_Enable 后重新上电。 2如果要开启DEBUG 打印功能要在project->property里Buid system->General 中Enable debug后选yes 3如果要在例程中加入其它profile要在project->property里Libraries里加入对应的库,否则编译报错 ld: Undefined symbols: $_HidInit /*以HidInit()为例*/ 4程序在messageloop(),后如果ConnectionInit(&app.task);则VM先过来CL_INIT_CFM消息
重要的几个文档 《how to write xIDE application **> <Using BlueLab Libraries in xIDE>
|