2. Introduction

The Serial Port Service (SPS) emulates serial cable communication. SPS provides a simple substitute for RS-232 connections, which includes the familiar software flow control logic via Bluetooth® Low Energy (BLE). The SPS software distribution includes the application and profile source codes.

The software has been developed for the:
  • DA14585 DEVKT – P or Basic

  • DA14531 DEVKT – P with DA14531 daughter board or DA14531 TINY™ Module

  • DA1453x DEVKT – P with DA14535 daughter board or DA14535 TINY™ Module

Software is also developed for Android and iOS tablets and mobile phones, to allow a serial port to be emulated when two DA1453x/DA1458x DKs are used, or a DA1453x/DA1458x DK and an Android or iOS device. The DA1453x/DA1458x DK can either function in the GAP central role, or in the peripheral role. The Android or iOS device only functions in the GAP central role. There are two projects provided, a host and a device project that operate in a BLE central and a peripheral role respectively. Both projects use DMA driven UART operation for baud rates up to 921600 that useuses a hardware flow control only, which is optimized for DLE operation and high speeds. Both host and device applications are fully configurable with the preprogrammed configuration file in SPI flash. The device application supports a remote configuration service server and can be controlled with a connected smartphone app in runtime. SmartConfig, an Android/iOS mobile phone app can be used to discover, connect and monitor or change the configuration of SPS devices through a remote configuration BLE service. The application on the central device automatically starts to scan and connects to the selected device that is in the configuration file or the first peripheral device that supports the serial port service. The Central device also handles situations of connection loss where the flow of data is stopped and automatically tries to re-establish a connection. SPS projects are implemented on top of SDK6 for DA1453x/DA1458x. To get familiar with the software and hardware of DA14585, please refer to the following documents:

To acquaint yourself with the software and hardware of the DA1453x device, please refer to the following documents:
  • UM-B-119: DA14585-DA14531 SW Platform Reference

  • UM-B-117: DA14531 Getting Started with the Pro Development Kit

  • UM-B-139: DA14531 Module Getting Started with the Pro Development Kit

  • UM-B-165: DA14535 Getting Started with the Pro Development Kit

  • UM-B-159: DA14535 Module Getting Started with the Pro Development Kit

  • SPS: SPS Source Code

  • SDK6: SDK6 Source Code

  • UM-B-049: DA14585 & DA14586 Getting Started Guide with the PRO-Development Kit