Andriy Makukha / Mbed 2 deprecated football_project_wo_output

Dependencies:   mbed

Fork of football_project by MZJ

Revision:
67:5650f461722a
Parent:
41:dee3fd34e37a
--- a/PhoneAppIO.h	Tue Jan 19 07:25:15 2016 +0000
+++ b/PhoneAppIO.h	Thu Feb 11 17:47:28 2016 +0000
@@ -15,6 +15,7 @@
 #include <cstdio>
 #include "MTSBufferedIO.h"
 #include "Vars.h"
+#include "types.h"
 
 #define STRING_STACK_LIMIT     64 /* 120 */
 #define TXRX_BUF_LEN           20
@@ -30,7 +31,7 @@
   public:
     PhoneAppIO( BLEDevice &ble, GattAttribute::Handle_t toPhoneHandle,
                                 GattAttribute::Handle_t toConeHandle,
-                                int txBufferSize=468, int rxBufferSize=120 );
+                                int txBufferSize=PHSENDBUFSIZ, int rxBufferSize=120 );
 
     /** Destructs a PhoneAppIO object and frees all related resources, including
     * internal buffers.