Explore chapters and articles related to this topic
Network Framework
Published in Yi Qiu, Puxiang Xiong, Tianlong Zhu, The Design and Implementation of the RT-Thread Operating System, 2020
Yi Qiu, Puxiang Xiong, Tianlong Zhu
Below the SAL layer is the protocol stack layer. The main protocol stacks supported in the current network framework are as follows: LwIP is an open source TCP/IP protocol stack implementation that reduces RAM usage while maintaining the main functionality of the TCP/IP protocol, making the LwIP protocol stack ideal for use in embedded systems.AT Socket is a component for modules that support AT instructions. The AT command uses a standard serial port for data transmission and reception and converts complex device communication methods into simple serial port programming, which greatly simplifies the hardware design and software development costs of the product, which makes it convenient for almost all network modules such as GPRS, 3G/4G, NB-IoT, Bluetooth, WiFi, GPS, and other modules to access the RT-Thread network framework and develop network applications through the standard BSD Socket method, greatly simplifying the development of upper-layer applications.Socket CAN is a way of programming CAN. It is easy to use and easy to program. By accessing the SAL layer, developers can implement Socket CAN programming on RT-Thread.
Network Communication
Published in Ivan Cibrario Bertolotti, Gabriele Manduchi, Real-Time Embedded Systems, 2017
Ivan Cibrario Bertolotti, Gabriele Manduchi
This chapter has presented the programming interface of TCP/IP and UDP, which are widely used in computer systems and embedded applications. Even if the examples presented here refer to Linux, the same interface is exported in other operating systems, either natively as in Windows and VxWorks or by separate modules, and so it can be considered a multiplatform communication standard. For example, lwIP [27] is a lightweight, open-source protocol stack that can easily be layered on top of FreeRTOS [13] and other small operating systems. It exports a subset of the socket interface to the users.
A distribute and self-tuning wireless environment monitoring system for buildings based on the Wi-Fi Direct technology
Published in Science and Technology for the Built Environment, 2018
Software developing platform for the control module is based on the FreeRTOS operating system and LwIP protocol stack. FreeRTOS is one of the open-source real-time operating systems which is capable of providing the required synchronization and utilizing the resource of central processing unit (CPU) in an effective and flexible way. LwIP is a simplified and standard transmission control protocol/internet protocol (TCP/IP) stack designed for embedded sensor networks. FreeRTOS and LwIP have already been widely utilized by many users. A software development kit (SDK) is also available and brings tremendous convenience to the programming process.