Return devid when receive P_SETDEVID