added sensor orientation parameter
added serial number parameter