❤️ Contribution Code# LuatOS Capable developers are welcome to share their functionality. Coding Specification C API Specification Lua API Specification Naming Specification Interaction Specification Interface of the returned result Interfaces that require incoming GPIO Git Submission Specification Lua Interface Annotation Specification Interfaces within the C file Interfaces within Lua files sys_pub published topic description specification Add New Library Lua Components of Module Development Design documentation for the module Lua API design and implementation C API design and implementation Design Document Core Layer Luat Core Basic information Luat What is the core of existence? The most basic facilities include core processes (Lua expresses) Core processes (C-level) About msg.handler Relevant knowledge points Luat Debugger Basic information Glossary of Terms Communication process Designed hardware and software entities Mutual communication links LuatOS Commissioning Protocol Basic communication method (output) Basic communication method (input) Status Change Output(state,changed) Wait for Debugger(event,waitc) Wait for Debugger(event,waitt) Program suspended(event,stopped) Response Class File System Basic information Why do you need a file system? Design ideas and boundaries C API Lua API Iterate through folders Relevant knowledge points Memory Pool Basic information Why you need a memory pool Design ideas and boundaries C API Defines the total memory pool size Lua API Relevant knowledge points Message Bus Basic information Why you need a message bus Design ideas and boundaries data structure C API Send Message Luat Debugging API How to use msgbus Relevant knowledge points Luat Platform layer Why you need a “platform layer”” Lua cross-platform Memory allocation io Operation lua The system inside API Luat cross-platform Peripherals Network Communication Task Scheduling Relevant knowledge points Power and Low Power Management Basic information Why you need power and low power management Design ideas and boundaries C API(Platform layer) Lua API Constant Enter the specified power level Relevant knowledge points Luat Timer Basic information Why do you need a timer? Design ideas and boundaries C API(Platform layer) data structure Interface API Lua API Constant Start Timer Turn off timer (including delete) Relevant knowledge points C style buffer Basic information What’s the use Design ideas and boundaries Lua API Relevant knowledge points C Interface implements Task waiting function Basic information The current problem Goals to be achieved Solution sys.lua Features to be added in Functions to be implemented by the corresponding c function Relevant knowledge points C The Structure of Style Basic information Motivation Design ideas and boundaries Use Scenario modbus synthesis and analysis Data types to be supported Extended Support Peripherals API GPIO Basic information Why need GPIO Design ideas and boundaries C API(Platform layer) Lua API Constant Enter the specified power level Relevant knowledge points IR Basic information Use Design ideas and boundaries C API(Platform layer) Lua API Constant Use cases SPI Basic information Why need SPI Design ideas and boundaries C API(Platform layer) Lua API Constant Use cases UART Basic information Why need Uart Design ideas and boundaries C API(Platform layer) Lua API Constant Use cases WLAN Basic information Why you need WLAN middleware management WIFI Design ideas and boundaries Relevant knowledge points C API(Platform layer) Constant Lua API