BLE Nano Code.Tested with Integrated mDot code

Dependencies:   BLE_API mbed nRF51822

Fork of eco_Labs_ble_Client by Happiest

Revision:
33:17b8c186eb07
Parent:
25:96044c55f844
Child:
34:d146cdbffd91
--- a/spi_slave.cpp	Wed Dec 07 10:05:21 2016 +0000
+++ b/spi_slave.cpp	Thu Dec 15 06:26:45 2016 +0000
@@ -26,8 +26,6 @@
 /* Local Defines                                                              */
 /******************************************************************************/
 #define SPI_DUMMY_BYTE      0x00
- 
-#define SPI_TX_BUF_SIZE     64
 #define SPI_TX_EMPTY_DATA   0xFF
  
 /******************************************************************************/
@@ -71,7 +69,7 @@
  */
 void spi_slave_rx_data(void)
 {    
-    uint8_t rx_buf[20];
+    uint8_t rx_buf[SPI_TX_BUF_SIZE];
     uint8_t byte_cnt = 0;
     uint8_t send_ptr = 0;