add device read/set api