![]() ![]() The following sections describe some important parts of the example code.Īdding proprietary service and characteristics The application will transmit all data received over UART as notifications. If the peer has enabled notifications for the TX Characteristic, the application can send data to the peer as notifications. The received data is sent on the UART interface. ![]() ATT Write Request or ATT Write Command can be used. The peer can send data to the device by writing to the RX Characteristic of the service. This service exposes two characteristics: one for transmitting and one for receiving (as seen from the peer). The application includes one service: the Nordic UART Service. In addition, the example demonstrates how to use a proprietary (vendor-specific) service and characteristics with the SoftDevice. In the example, Nordic Semiconductor's development board serves as a peer to the phone application "nRF UART", which is available for iOS from App Store and for Android from Google Play. The Nordic UART Service (NUS) Application is an example that emulates a serial port over BLE. Important: Before you run this example, make sure to program the SoftDevice. This example requires one of the following SoftDevices: S132, S140 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |