diff --git a/E2/Readme.md b/E2/Readme.md index 84bc85c..b5685d5 100644 --- a/E2/Readme.md +++ b/E2/Readme.md @@ -1,10 +1,12 @@ ## General resource - [Basic information](intro.md) -- [HTTP Protocol](http.md) -- [Serial Port Protocol](uart) -- [LANC Protocol](lanc.md) - [STP file](design/e2_3d.zip) +## Control protocol +- [HTTP Protocol](protocol/http.md) +- [Serial Port Protocol](protocol/uart) +- [LANC Protocol](protocol/lanc.md) + ## Camera spec - [E2](spec/E2_spec.md) - [E2-S6](spec/S6_spec.md) diff --git a/E2/intro.md b/E2/intro.md index 84ae409..46b62a7 100644 --- a/E2/intro.md +++ b/E2/intro.md @@ -115,7 +115,7 @@ Based on a fully charged NP-F970. ## Control the camera ### HTTP based control -see [HTTP Protocol](http.md) +see [HTTP Protocol](protocol/http.md) #### Ethernet The Ethernet work in these 3 modes: @@ -144,12 +144,14 @@ The WiFi in E2 work as a Access Point, connect your computer/smart phone to E2 t ### LANC It's compatible with [SONY's LANC](http://www.boehmel.de/lanc.htm). +We add some extend commands to make it easier to control E2, see [extend command](protocol/lanc.md). + ### Serial port In E2 series, we provide two types of serial port: - Virtual serial, USB CDC ACM - Real serial, TTL & RS232 level are supported in standard E2, TTL on E2 flagship. -Check the [sample code](uart/example) for reference. +Check the [sample code](protocol/uart/example) for reference. ## Overlay ### Exposure diff --git a/E2/http.md b/E2/protocol/http.md similarity index 100% rename from E2/http.md rename to E2/protocol/http.md diff --git a/E2/lanc.md b/E2/protocol/lanc.md similarity index 100% rename from E2/lanc.md rename to E2/protocol/lanc.md diff --git a/E2/uart/example/.gitignore b/E2/protocol/uart/example/.gitignore similarity index 100% rename from E2/uart/example/.gitignore rename to E2/protocol/uart/example/.gitignore diff --git a/E2/uart/example/UartTool.pro b/E2/protocol/uart/example/UartTool.pro similarity index 100% rename from E2/uart/example/UartTool.pro rename to E2/protocol/uart/example/UartTool.pro diff --git a/E2/uart/example/camera.cpp b/E2/protocol/uart/example/camera.cpp similarity index 100% rename from E2/uart/example/camera.cpp rename to E2/protocol/uart/example/camera.cpp diff --git a/E2/uart/example/camera.h b/E2/protocol/uart/example/camera.h similarity index 100% rename from E2/uart/example/camera.h rename to E2/protocol/uart/example/camera.h diff --git a/E2/uart/example/cameraconfig.cpp b/E2/protocol/uart/example/cameraconfig.cpp similarity index 100% rename from E2/uart/example/cameraconfig.cpp rename to E2/protocol/uart/example/cameraconfig.cpp diff --git a/E2/uart/example/cameraconfig.h b/E2/protocol/uart/example/cameraconfig.h similarity index 100% rename from E2/uart/example/cameraconfig.h rename to E2/protocol/uart/example/cameraconfig.h diff --git a/E2/uart/example/crc16.cpp b/E2/protocol/uart/example/crc16.cpp similarity index 100% rename from E2/uart/example/crc16.cpp rename to E2/protocol/uart/example/crc16.cpp diff --git a/E2/uart/example/crc16.h b/E2/protocol/uart/example/crc16.h similarity index 100% rename from E2/uart/example/crc16.h rename to E2/protocol/uart/example/crc16.h diff --git a/E2/uart/example/imvt_cam_def.h b/E2/protocol/uart/example/imvt_cam_def.h similarity index 100% rename from E2/uart/example/imvt_cam_def.h rename to E2/protocol/uart/example/imvt_cam_def.h diff --git a/E2/uart/example/main.cpp b/E2/protocol/uart/example/main.cpp similarity index 100% rename from E2/uart/example/main.cpp rename to E2/protocol/uart/example/main.cpp diff --git a/E2/uart/example/mainwindow.cpp b/E2/protocol/uart/example/mainwindow.cpp similarity index 100% rename from E2/uart/example/mainwindow.cpp rename to E2/protocol/uart/example/mainwindow.cpp diff --git a/E2/uart/example/mainwindow.h b/E2/protocol/uart/example/mainwindow.h similarity index 100% rename from E2/uart/example/mainwindow.h rename to E2/protocol/uart/example/mainwindow.h diff --git a/E2/uart/example/msgcodec.cpp b/E2/protocol/uart/example/msgcodec.cpp similarity index 100% rename from E2/uart/example/msgcodec.cpp rename to E2/protocol/uart/example/msgcodec.cpp diff --git a/E2/uart/example/msgcodec.h b/E2/protocol/uart/example/msgcodec.h similarity index 100% rename from E2/uart/example/msgcodec.h rename to E2/protocol/uart/example/msgcodec.h diff --git a/E2/uart/example/uart_def.h b/E2/protocol/uart/example/uart_def.h similarity index 100% rename from E2/uart/example/uart_def.h rename to E2/protocol/uart/example/uart_def.h