![]() ![]() Now if we want to add some information about the FTP server, we can use the device’s TFT display. from 17 to 23 : at line 17 start download transfer from 18 to 22 transfer in course at line 23 finish transfer.Īdd graphical interface to monitor the FTP Server.from 7 to 13 : at line 7 start upload transfer from 8 to 12 transfer in course at line 13 finish transfer.line 5 : identify the connection of the client. ![]() Here the serial output: Connecting to WiFi connected IP address: 192.168.1.176 > _callback 0 1470368 1927168 > _transferCallback 0 tappo.stl 0 > _transferCallback 1 tappo.stl 1024 > _transferCallback 1 tappo.stl 2048 > _transferCallback 1 tappo.stl 58368 > _transferCallback 1 tappo.stl 58550 > _transferCallback 4 tappo.stl 58550 > _callback 2 1470304 1927168 > _transferCallback 2 test.gif 46160 > _transferCallback 3 test.gif 2048 > _transferCallback 3 test.gif 4096 > _transferCallback 3 test.gif 45056 > _transferCallback 3 test.gif 46160 > _transferCallback 4 test.gif 46160 * * FtpServer Wio Terminal with SdFat library * * AUTHOR: Renzo Mischianti * * * */ #include "SdFat.h" #include #include #define SD_CONFIG SdSpiConfig(SDCARD_SS_PIN, 2) SdFs sd FtpServer ftpSrv const char *ssid = "" const char *password = "" void setup() #define DEFAULT_FTP_SERVER_NETWORK_TYPE_SAMD NETWORK_SEEED_RTL8720DN #define DEFAULT_STORAGE_TYPE_SAMD STORAGE_SDFAT2Īs you can see I don’t use the Seeed library to manage SD because exist an unresolved bug on It that generate a lot of scope problem.īut with this configuration, and the library SdFat, works properly.Īfter download properly the library you can create a simple FTP server with few line of code. You must set the correct environment by editing the lines in the FtpServerKey.h file. You may need to create the libraries subfolder if its your first library. Place the SimpleFTPServer library folder your /libraries/ folder. I already write something about that on this article “ FTP server on esp8266 and esp32 ” when I integrate esp32 and esp8266.Ĭlick the DOWNLOADS button in the top right corner, rename the uncompressed folder SimpleFTPServer.Ĭheck that the SimpleFTPServer contains FtpServer.cpp, FtpServer.h, FtpServerKey.h e SimpleFTPServer.h. You can find the device here on SeeedStudio Aliexpress Wio Terminal is a complete system, compared to a normal development board it is equipped with screen + development board + input / output interface + container, which makes it an efficient product and ready for the final product. I hope you want read the introduction article about this device here “Wio Terminal: pinout, specs and Arduino IDE configurations”. Seeed Studio has developed more than 280 Grove modules covering a wide range of applications that can fulfill a variety of needs. Especially the Grove Sytsem help engineers and makers to avoid jumper wires problems. Seeed Studio provides a wide selection of electronic parts including Arduino, Raspberry Pi and many different development board platforms. ![]() Seeed offers a wide array of hardware platforms and sensor modules ready to be integrated with existing IoT platforms and one-stop PCB manufacturing and Prototype PCB Assembly. Seeed is the IoT hardware enabler providing services over 10 years that empower makers to realize their projects and products. Wio Terminal FTP Server with TFT monitor main The first thing I thought about doing with this device was porting my SimpleFTPServer library. I receive this device from SeeedStudio, and I find It very usefully. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |