2016-10-01 3 views
0

オリンパスAIR A01で遊んでいると、画像を撮ってURLを介してSDカードに保存するプロセスを理解しようとしています。API Olympus Air OPCで写真を撮るために要求されることはありますか?

WiFiに接続してモードを記録して空きスペースを照会できますが、「exec_takemotion.cgi?com = newstarttake」を実行すると一般的なWiFiエラーが発生します。

ステップ:

チェックのステータス:

/get_connectmode.cgi 
<?xml version="1.0"?> 
<connectmode>OPC</connectmode> 

セット状態:

/switch_cameramode.cgi?mode=rec 
<?xml version="1.0"?><result>OK</result> 

取得ステータス:写真を取るために

/get_state.cgi 
<?xml version="1.0"?><response><cardstatus>normal</cardstatus> <cardremainnum>1807</cardremainnum><cardremainsec>4786</cardremainsec><cardremainbyte>4294967295</cardremainbyte><lensmountstatus>normal</lensmountstatus><imagingstate>normal</imagingstate><focallength>8</focallength><widefocallength>8</widefocallength><telefocallength>8</telefocallength><electriczoom>NG</electriczoom><macrosetting>NG</macrosetting></response> 

試み:

/exec_takemotion.cgi?com=newstarttake 
<?xml version="1.0"?><response><errorcode>0xB000</errorcode> 
<errormsg>WIFI_INTERNAL_ERROR</errormsg><dbgmsg>reserved</dbgmsg></response> 

私は単純なものを紛失しているに違いありません。

乾杯、 -Joe

答えて

1

私はexec_takemotion.cgi/exec_takemisc.cgi?com=startliveview&port=5555ニーズを推測します。

OPC Hack & Make Projectから通信仕様に関するドキュメントを入手できます。

文書のセクション7は言う:

  1. 交渉(録画モード)
  2. 通常の撮影
  3. スイッチ動作モード働いていた(再生モード)
  4. 取得イメージ
+0

完全に!ありがとうUra14h。 –

関連する問題