I am new to the Nordic BLE tools, and I am trying to use the Nordic ble_app_uart sample project so that the I can send data over Bluetooth to a smartphone application. I am using a Taiyo Yuden evaluation board to program the NRF51822 BLE module. I used the following custom_board.h file with defined UART pins and the ble_app_uart project from the Nordic SDK, which allowed me to display data to the terminal application (TeraTerm) by using printf().
#ifndef CUSTOMBSP_H
#define CUSTOMBSP_H
#include "nrf_gpio.h"
#define LEDS_NUMBER 1
#define LED_START 23
#define LED_1 23
#define LED_STOP 23
#define LEDS_ACTIVE_STATE 0
#define LEDS_LIST {LED_1}
#define LEDS_INV_MASK LEDS_MASK
#define BSP_LED_0 LED_1
#define RTS_PIN_NUMBER 0
#define TX_PIN_NUMBER 1
#define CTS_PIN_NUMBER 2
#define RX_PIN_NUMBER 3
#define BUTTONS_NUMBER 1
#define BUTTON_START 17
#define BUTTON_1 17
#define BUTTON_STOP 17
#define BUTTON_PULL NRF_GPIO_PIN_PULLUP
#define BUTTONS_ACTIVE_STATE 0
#define BUTTONS_LIST {BUTTON_1}
#define BSP_BUTTON_0 BUTTON_1
How could I alter this board file and/or the default ble_app_uart project so that I can send data over bluetooth instead of displaying data to TeraTerm?