Added interfaces to poll and to copy buffer when data is available

Still needs testing on hardware.