interface ti.uiactools.runtime.IUIAPacketTransfer
XDCspec summary sourced in ti/uiactools/runtime/IUIAPacketTransfer.xdc
interface IUIAPacketTransfer {  ...
    // inherits xdc.runtime.IModule
instance:  ...
XDCspec declarations sourced in ti/uiactools/runtime/IUIAPacketTransfer.xdc
 
enum IUIAPacketTransfer.TransferType
XDCspec declarations sourced in ti/uiactools/runtime/IUIAPacketTransfer.xdc
enum TransferType {
    TransferType_RELIABLE,
    TransferType_LOSSY
};
 
 
metaonly config IUIAPacketTransfer.common$  // module-wide

Common module configuration parameters

XDCspec declarations sourced in ti/uiactools/runtime/IUIAPacketTransfer.xdc
metaonly config Types.Common$ common$;
 
DETAILS
All modules have this configuration parameter. Its name contains the '$' character to ensure it does not conflict with configuration parameters declared by the module. This allows new configuration parameters to be added in the future without any chance of breaking existing modules.
 
config IUIAPacketTransfer.transferType  // instance
XDCspec declarations sourced in ti/uiactools/runtime/IUIAPacketTransfer.xdc
 
 
IUIAPacketTransfer.disable()  // instance

Disable packet upload

XDCspec declarations sourced in ti/uiactools/runtime/IUIAPacketTransfer.xdc
Bool disable();
 
RETURNS
The function returns the state of the packet upload (TRUE if enabled, FALSE if disabled) before the call. This return value allows clients to restore the previous state. Note: not thread safe.
 
IUIAPacketTransfer.enable()  // instance

Enable packet upload

XDCspec declarations sourced in ti/uiactools/runtime/IUIAPacketTransfer.xdc
Bool enable();
 
RETURNS
The function returns the state of the packet upload (TRUE if enabled, FALSE if disabled) before the call. This return value allows clients to restore the previous state. Note: not thread safe.
 
IUIAPacketTransfer.getTransferType()  // instance
XDCspec declarations sourced in ti/uiactools/runtime/IUIAPacketTransfer.xdc
IUIAPacketTransfer.TransferType getTransferType();
 
 
IUIAPacketTransfer.isEmpty()  // instance

Returns true if the transfer buffer has no unread data

XDCspec declarations sourced in ti/uiactools/runtime/IUIAPacketTransfer.xdc
Bool isEmpty();
 
RETURN
true if no unread data
 
IUIAPacketTransfer.poll()  // instance

Check if data is ready and, if so, trigger buffer exchange to send the data as packets. Call readyToSend after this call to check if there is data available to send

XDCspec declarations sourced in ti/uiactools/runtime/IUIAPacketTransfer.xdc
UInt32 poll();
 
RETURNS
0 if success, else error code
 
IUIAPacketTransfer.prime()  // instance
XDCspec declarations sourced in ti/uiactools/runtime/IUIAPacketTransfer.xdc
Bool prime(Ptr buffer);
 
 
IUIAPacketTransfer.readyToSend()  // instance

check to see if the ETB drain buffer contains unsent data. If true, call transferData API to send the data

XDCspec declarations sourced in ti/uiactools/runtime/IUIAPacketTransfer.xdc
Bool readyToSend();
 
RETURNS
TRUE if there is unsent data.
 
IUIAPacketTransfer.transferData()  // instance

Read and Transfer ETB data move the binary data to PC host via event packets for further decoding and analysis

XDCspec declarations sourced in ti/uiactools/runtime/IUIAPacketTransfer.xdc
Bool transferData(UInt32 maxNumPackets);
 
ARGUMENTS
maxNumPackets — maximum number of packets to send in context of this API call
generated on Wed, 27 Jun 2012 04:11:41 GMT