Implementation of Bluetooth serial port based profiles in embedded systems
Guang-Lei Liu, Zhengding Qiu, Quanping Wang, Qiang Gao · Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · 2001
Bluetooth is a new short-range wireless communication technology developing rapidly in recent years. Bluetooth software architecture consists of stack and profiles. Serial Port Profile (SPP) is an underlying profile that emulates RS232 serial cable connections between two peer devices. Based on SPP, Dial-up Networking (DUN) Profile establishes PPP connection with remote dial-up server, Fax Profile realizes document facsimile function and LAN Access Profile (LAP) provides local area network access service. When it comes to their implementation in embedded systems, there are several challenges such as memory consumption, code efficiency, code reliability, and code portability onto different OS and hardware platforms to be attacked. In this paper, we propose integrated software architecture after discussing the great similarities shared among the three SPP based profiles. Then implementation of the architecture is given, in which OS-dependent and OS-independent parts are clearly separated. Profile interfaces with stack and OS are specified respectively so that the three profiles as a whole can be ported onto various software and hardware platforms easily. As a result, policy of transplanting our implementation onto different platforms is addressed at the end of the paper.