Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of football_project by
Diff: PhoneAppIO.h
- Revision:
- 30:c60b0d52b067
- Parent:
- 23:26f27c462976
- Child:
- 41:dee3fd34e37a
diff -r 8e74ddc4f70f -r c60b0d52b067 PhoneAppIO.h
--- a/PhoneAppIO.h Sun Jan 03 20:05:15 2016 +0000
+++ b/PhoneAppIO.h Mon Jan 04 16:33:39 2016 +0000
@@ -16,7 +16,7 @@
#include "MTSBufferedIO.h"
#include "Vars.h"
-#define STRING_STACK_LIMIT 120
+#define STRING_STACK_LIMIT 64 /* 120 */
#define TXRX_BUF_LEN 20
extern uint8_t txPayload[];
@@ -30,7 +30,7 @@
public:
PhoneAppIO( BLEDevice &ble, GattAttribute::Handle_t toPhoneHandle,
GattAttribute::Handle_t toConeHandle,
- int txBufferSize=500, int rxBufferSize=256 );
+ int txBufferSize=1280, int rxBufferSize=120 );
/** Destructs a PhoneAppIO object and frees all related resources, including
* internal buffers.
