compiling for getdevicedata ok