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:
- 35:71eb3663ecbd
- Parent:
- 33:4f6929e123f2
- Child:
- 36:aa73681951ad
--- a/bt_network/BleUartRPC/Dispatcher.h Mon Jul 27 03:00:13 2015 +0000 +++ b/bt_network/BleUartRPC/Dispatcher.h Fri Sep 04 21:04:08 2015 +0000 @@ -35,6 +35,10 @@ // This is aligned with the value of DEF_FRAGMENT_LENGTH in SplitterAssembler.h and is also the max UART MTU for BLE #define UART_SEGMENT_LENGTH 20 // BLE: max UART MTU (will trigger send immediately...) + // 9/4/15: Android 5.x appears to have some sort of poor-mans DDoS detector in its BLE stack so we have to slow things down a bit.. + #define ANDROID_BLE_DELAY true // true to enable slow down, false to disable + #define ANDROID_BLE_DELAY_MS 500 // delay time (in ms), if enabled, to allow android 5.x to catch up... + class Dispatcher { public: /**