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.
Dependencies: libnsdl_m0 BLE_API Base64 nRF51822 SplitterAssembler
Diff: bt_network/BleUartRPC/Dispatcher.h
- Revision:
- 7:203c348ccc66
- Parent:
- 6:98af441fd960
- Child:
- 9:bf0cf5828378
--- a/bt_network/BleUartRPC/Dispatcher.h Tue Feb 17 02:56:36 2015 +0000 +++ b/bt_network/BleUartRPC/Dispatcher.h Tue Feb 17 06:59:54 2015 +0000 @@ -26,9 +26,9 @@ #include "BLEDevice.h" #include "UARTService.h" - #define MAX_PACKET_LENGTH 512 // longest packet we will send - #define MAX_ARGUMENT_LENGTH 512 // longest argument sent as parameter list - #define MAX_RESULT_LENGTH 512 // longest result received + #define MAX_PACKET_LENGTH 256 // longest packet we will send + #define MAX_ARGUMENT_LENGTH 256 // longest argument sent as parameter list + #define MAX_RESULT_LENGTH 256 // longest result received #define UART_SEGMENT_LENGTH 20 // BLE: max UART MTU (will trigger send immediately...) class Dispatcher {