博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
eZ430 Chronos 的 eZ430_Chronos_CC.dll 中提供的函数收集
阅读量:7023 次
发布时间:2019-06-28

本文共 3229 字,大约阅读时间需要 10 分钟。

hot3.png

eZ430 Chronos 的 eZ430_Chronos_CC.dll 中提供的函数收集

///// COM Port Management// 1. Opening the COM portbool BM_OpenCOM( char * strPortName,DWORD dwBaudrate = 115200,WORD wTimeout = 30,bool bRTS = false,bool bDTR = false);// 2. Closing the COM portvoid BM_CloseCOM(void);// 3. Locating the RF access pointbool BM_GetCOM(unsigned char& bPortNb);// 4. Resetting the RF access pointbool BM_Reset(void);// 5. Read status from RF access pointbool BM_GetStatus(WORD& wStatus);///// BlueRobin Functions// 1. Set BlueRobin Heart Ratebool BM_BR_SetHeartrate(WORD wHeartrate);// 2. Set BlueRobin IDbool BM_BR_SetID(DWORD dwID);// 3. Read BlueRobin IDbool BM_BR_GetID(DWORD& dwID);// 4. Start BlueRobin transmission// This command starts the BlueRobin transmission.bool BM_BR_Start(void);// 5. Stop BlueRobin transmission// This command stops the BlueRobin transmission.bool BM_BR_Stop(void);///// SimpliciTI Functions// 1. Start SimpliciTI in acc/ppt mode// This command starts SimpliciTI in acc/ppt mode.bool BM_SPL_Start(void);// 2. Start SimpliciTI in sync mode// This command starts SimpliciTI in sync mode.bool BM_SYNC_Start(void);// 3. Stop SimpliciTI// This command exits the SimpliciTI stack.bool BM_SPL_Stop(void);// 4. Read SimpliciTI acc/ppt data// This command reads the received data from the RF access point buffer.bool BM_SPL_GetData(DWORD& wData);/* ParameterswData4 byte data (byte3, byte2, byte1, byte0)byte3 = Acceleration value Z-axisbyte2 = Acceleration value Y-axisbyte1 = Acceleration value X-axisbyte0 = 0x11 → Left mouse click (acc mode)byte0 = 0x21 → Left mouse double-click (acc mode)byte0 = 0x31 → Right mouse click (acc mode)byte0 = 0x12 → Button * (ppt mode)byte0 = 0x22 → Button # (ppt mode)byte0 = 0x32 → Button ↑ (ppt mode)byte0 = 0xFF → Data has been read before*/// 5. Read SimpliciTI sync buffer status// This command reads the buffer status during sync mode from the RF access point buffer.bool BM_SYNC_GetBufferStatus(WORD& wStatus);// 6. Read SimpliciTI sync buffer// This command reads the buffer content during sync mode.bool BM_SYNC_ReadBuffer(BYTE * bData);///// Wireless Update Functions// 1. Start wireless update// This command starts SimpliciTI in acc/ppt mode.BR_COMM_API bool BM_WBSL_Start(void)// 2. Stop wireless updateThis command exits the SimpliciTI stack.BR_COMM_API bool BM_WBSL_Stop(void)// 3. Get status of update// This command reads the buffer status during sync mode from the RF access point buffer.BR_COMM_API bool BM_WBSL_GetStatus(DWORD& wData)/* ParametersdwDataStatus1 = linking2 = linked4 = error*/// 4. Send Data (Text File parts) to the End Device// This command reads the buffer status during sync mode from the RF access point buffer.BR_COMM_API bool BM_WBSL_Send_Data(BYTE * data, int len, DWORD& dwData)/* ParametersdataPointer to byte arraylenArray lengthdwDataReturn value */// 5. Get status of packet (checks if a new packet needs to be sent from the GUI)// This command reads the buffer status during sync mode from the RF access point buffer.BR_COMM_API bool BM_WBSL_GetPacketStatus(DWORD& wData)/* Return ValuedwData0x80 = error0x01 = disabled0x02 = processing packet0x04 = send info packet0x08 = send new data packet*/

转载于:https://my.oschina.net/freeblues/blog/67757

你可能感兴趣的文章
JavaScript常用事件总结
查看>>
squid在企业网中的应用
查看>>
主元素 Majority Element
查看>>
关于加密的一些笔记
查看>>
我的友情链接
查看>>
Oracle 数据库查看client的用户登录信息包括ip
查看>>
Kernel Trace System
查看>>
linux文件系统详解
查看>>
我的友情链接
查看>>
ibatis mybatis sql语句配置 符号不兼容 大于号 小于号
查看>>
Alipay 开源 SofaRPC
查看>>
jquery的extend与fn.extend
查看>>
自动化测试应该学什么
查看>>
语音识别对比分析
查看>>
Linux命令之 wc
查看>>
在virtualbox中安装的ubuntu系统 共享数据空间分配的数据
查看>>
WinRAR4.11激活
查看>>
Oracle常用单行函数
查看>>
运行浏览器的最高版本
查看>>
PHP中解决ajax请求session过期退出登录问题
查看>>