#ifndef UARTE_LINK_H
#define UARTE_LINK_H

#include <stdint.h>
#include "app_uart.h"
#include "app_error.h"
#include "nrf.h"
#include "pca10056.h"
#include "nrf_uarte.h"
#include "nrf_log.h"
#include "nrf_log_backend_rtt.h"

/* 
    Note: TX and RX buffer sizes MUST be a power of 2
*/
#define TX_BUFF_SIZE 256
#define RX_BUFF_SIZE 256
#define DATA_BUFF_LEN 2


/*
    Pin Assignments
*/
#define RXD RX_PIN_NUMBER //8 on the pca10056
#define TXD TX_PIN_NUMBER //6 on the pca10056
#define RTSD RTS_PIN_NUMBER //5 on the pca10056
#define CTSD CTS_PIN_NUMBER //7 on the pca10056

void uart_start(void);


#endif