Can't you get the current date and time with FlashAir's Lua function?

Asked 2 years ago, Updated 2 years ago, 90 views

Nice to meet you!
I'm using FlashAir as a trial.
I downloaded the file from the server using ftp in Lua, but the file date and time are not registered.
Of course, FlashAir doesn't have a clock and there's no way to get the current time, is there?

If the external network connection is unable to get the current date and time on the Internet.

Thank you for your cooperation.

flashair lua

2022-09-29 22:31

1 Answers

There is no way to get the current time, as the API document states that OS functionality is not available.

https://flashair-developers.com/ja/documents/api/lua/

Due to memory constraints, the following features of the standard library are not available:

  • Col routine operation
  • OS features
  • Math functions
  • Debug Library


2022-09-29 22:31

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.