Download eZ430-Chronos Development Tool User's Guide

Transcript
eZ430-Chronos Software Projects
www.ti.com
6. Read SimpliciTI sync buffer
This command reads the buffer content during sync mode.
bool BM_SYNC_ReadBuffer(BYTE * bData);
Parameters
bData
19-byte SimpliciTI data Packet content defined watch sending routine
Return Value
Returns true if command could be executed and false if the command execution failed.
Wireless Update Fuctions
1. Start wireless update
This command starts SimpliciTI in acc/ppt mode.
BR_COMM_API bool BM_WBSL_Start(void)
Return Value
Returns true if command could be executed and false if the command execution failed.
2. Stop wireless update
This command exits the SimpliciTI stack.
BR_COMM_API bool BM_WBSL_Stop(void)
Return Value
Returns true if command could be executed and false if the command execution failed.
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)
Parameters
dwData
Status
1 = linking
2 = linked
4 = error
Return Value
Returns true if command could be executed and false if the command execution failed.
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)
Parameters
data
Pointer to byte array
intlen
Arrary length
dwData
Return value
Return Value
dwData = Length of last transmitted package.
56
eZ430-Chronos Software
SLAU292A – November 2009 – Revised March 2010
Submit Documentation Feedback
Copyright © 2009–2010, Texas Instruments Incorporated