From 1c94629ea78544898ae4692bcf3eccb30cfcb8aa Mon Sep 17 00:00:00 2001 From: Gregor Date: Sat, 13 Jul 2019 22:46:58 +0200 Subject: [PATCH] Added documantation --- docs/modules/node.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/modules/node.md b/docs/modules/node.md index deaa007e..daea47b8 100644 --- a/docs/modules/node.md +++ b/docs/modules/node.md @@ -272,7 +272,7 @@ system heap size left in bytes (number) ## node.info() -Returns NodeMCU version, chipid, flashid, flash size, flash mode, flash speed, and Lua File Store (LFS) usage statics. +Returns NodeMCU version, chipid, flashid, flash size, flash mode, flash speed, branch, git commit_id, release, release_dts, ssl, lfs info, modules and the build_type. #### Syntax `node.info()` @@ -289,6 +289,15 @@ none - `flashsize` (number) - `flashmode` (number) - `flashspeed` (number) + - `branch` (string) + - `git commit_id` (string) + - `release` (string) Release name +additional commits e.g. "2.0.0-master_20170202 +403" + - `release_dts` (string) in an ordering format. e.g. "201908111200" + - `ssl` (boolean) + - `lfs info` (string) "disabled" or "Size: {whatever is in user_config.h}" + - `modules` (string) comma separated list + - `build_type` (string) `integer` or `float` + #### Example ```lua