BM innovations GmbH BM-USBRTX4 Manual De Usuario

Descargar
Página de 17
 
3DJHRI
rtxRX_ChannelSendMessage 
Send message on RX channel 
rtxRX_ChannelSendMessageData 
Send message data on RX channel 
rtxRX_ChannelRequestDownload 
Request high speed data download on RX channel 
rtxRX_ChannelClear 
Clear any pending message and data download request on RX channel 
rtxRX_GetState 
Update internal buffers and return RX mode state 
rtxRX_GetData 
Get new data received on any RX channel 
rtxRX_GetMessageData 
Get requested message data received on any RX channel 
rtxRX_GetDownload 
Get requested high speed data download received on any RX channel 
 
 
 
4 API Function Details 
 
 
4.1 DLL Functions 
 
 
4.1.1 Get version of DLL 
 
This function returns the main and sub version number of the rtxBlueRobin DLL.  
 
unsigned short rtxDll_GetVersion(void); 
 
Return Value: 
Returns the main version number in the upper byte and the sub version number in the lower byte.  
 
 
4.1.2 Initialize DLL 
 
This function initializes the rtxBlueRobin DLL.  
 
bool rtxDll_Initialize(void); 
 
Return Value: 
Returns true if DLL could be initialized successfully, otherwise returns false  
 
Remarks:  
Has to be called first before accessing any other function of the rtxBlueRobin DLL API.  
 
 
4.1.3 Deinitialize DLL 
 
This function unloads the rtxBlueRobin DLL.  
 
bool rtxDll_DeInitialize(void); 
 
Return Value: 
Returns true if DLL could be unloaded successfully, otherwise returns false  
 
Remarks:  
Has to be called when closing the application so that all object threads and ports are released.  
 
 
4.1.4 Check if DLL has been initialized  
 
This function can be used to check if the rtxBlueRobin DLL has already been successfully initialized.  
 
bool rtxDll_IsInitialized(void); 
 
Return Value: 
Returns true if DLL has already been initialized successfully, otherwise returns false