2019年5月23日木曜日

ESP32-CAM 農業用カメラを作る 7shutter

SIM7500JCでFTP送信を調べてみた。
サーバー接続までは以下の一連のコマンドで出来そう。


AT+CFTPPORT
AT+CFTPMODE
AT+CFTPTYPE
AT+CFTPSERV
AT+CFTPUN
AT+CFTPPW

ただUARTからFTP UPLOADするコマンドが無い。
いや、AT+CFTPPUTがあるのだが、

Description
This command is used to upload the DATA from serial port to FTP server as a file . Each <Ctrl+Z> character present in the data flow of serial port when downloading FTP data will be coded as <ETX><Ctrl+Z>. Each <ETX> character will be coded as <ETX><ETX>. Single <Ctrl+Z> means end of the FTP data. <ETX> is 0x03, and <Ctrl+Z> is 0x1A.

とか書いてあって、JPEGとか送れるか疑問。

引き続き調査だな
(さっさと基板作って試せや)

0 件のコメント:

コメントを投稿