add function codes for read device ID