glpi-project / android-inventory-library

Inventory client library written in Java for developing applications on Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enhance information about Camera

Ivans51 opened this issue · comments

commented

The output XML currently for the Camera is:

<CAMERAS>
	<RESOLUTIONS>4.9 MP (2560x1920)</RESOLUTIONS>
	<LENSFACING>BACK</LENSFACING>
	<FLASHUNIT>1</FLASHUNIT>
	<IMAGEFORMAT>
		<FORMAT>YUV_420_888</FORMAT>
	</IMAGEFORMAT>
	<ORIENTATION>90</ORIENTATION>
	<FOCALLENGTH>3.5 mm</FOCALLENGTH>
        <SENSORSIZE>4.29x3.19</SENSORSIZE>
	<MANUFACTURER>Hynix</MANUFACTURER>
	<RESOLUTIONVIDEO>2.1 MP (1920x1088)</RESOLUTIONVIDEO>
	<MODEL>hi551mipiraw</MODEL>
	<SUPPORT>
		<NAME>gc2355_qunhui_mipi_raw</NAME>
	</SUPPORT>
</CAMERAS>

Update the next nodes:
Resolutions: is useless 4.9 MP value, use only (height x width)
Resolution Video: is useless 2.1 MP value, use only (height x width)
Focal Length: is useless the unit mm, use only the value