[aravis] fake: add device related feature.



commit 45a77f16e71ff24fd7a70f4891203141e9185ffa
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Thu May 13 21:38:31 2010 +0200

    fake: add device related feature.

 src/arv-fake-camera.xml |   40 ++++++++++++++++++++++++++++++++++++++++
 1 files changed, 40 insertions(+), 0 deletions(-)
---
diff --git a/src/arv-fake-camera.xml b/src/arv-fake-camera.xml
index b589299..f8be8ae 100644
--- a/src/arv-fake-camera.xml
+++ b/src/arv-fake-camera.xml
@@ -38,6 +38,46 @@
 		<pFeature>PayloadSize</pFeature>
 	</Category>
 
+	<StringReg Name="DeviceID" NameSpace="Standard">
+		<DisplayName>Device ID</DisplayName>
+		<Address>0xd8</Address>
+		<Length>16</Length>
+		<AccessMode>RO</AccessMode>
+		<pPort>Device</pPort>
+	</StringReg>
+
+	<StringReg Name="DeviceVendorName" NameSpace="Standard">
+		<DisplayName>Vendor Name</DisplayName>
+		<Address>0x48</Address>
+		<Length>32</Length>
+		<AccessMode>RO</AccessMode>
+		<pPort>Device</pPort>
+	</StringReg>
+
+	<StringReg Name="DeviceModelName" NameSpace="Standard">
+		<DisplayName>Model Name</DisplayName>
+		<Address>0x68</Address>
+		<Length>32</Length>
+		<AccessMode>RO</AccessMode>
+		<pPort>Device</pPort>
+	</StringReg>
+
+	<StringReg Name="DeviceManufacturerInfo" NameSpace="Standard">
+		<DisplayName>Manufacturer Info</DisplayName>
+		<Address>0xa8</Address>
+		<Length>48</Length>
+		<AccessMode>RO</AccessMode>
+		<pPort>Device</pPort>
+	</StringReg>
+
+	<StringReg Name="DeviceVersion" NameSpace="Standard">
+		<DisplayName>Device Version</DisplayName>
+		<Address>0x88</Address>
+		<Length>32</Length>
+		<AccessMode>RO</AccessMode>
+		<pPort>Device</pPort>
+	</StringReg>
+
 	<Command Name="AcquisitionStart" NameSpace="Standard">
 		<Description>Start acquisition.</Description>
 		<pValue>AcquisitionCommandRegister</pValue>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]