Slighty changed API to provide device info after read. Aligned sample accordingly.