Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
1c94629e
Commit
1c94629e
authored
Jul 13, 2019
by
Gregor
Browse files
Added documantation
parent
063988f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/modules/node.md
View file @
1c94629e
...
@@ -272,7 +272,7 @@ system heap size left in bytes (number)
...
@@ -272,7 +272,7 @@ system heap size left in bytes (number)
## node.info()
## 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
#### Syntax
`node.info()`
`node.info()`
...
@@ -289,6 +289,15 @@ none
...
@@ -289,6 +289,15 @@ none
-
`flashsize`
(number)
-
`flashsize`
(number)
-
`flashmode`
(number)
-
`flashmode`
(number)
-
`flashspeed`
(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
#### Example
```
lua
```
lua
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment