Removed 'getDataOld' function. It is replaced by 'getData' function.

Added time stamp to the packet returned by 'getData' function.