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 BLE_API by
Revision 403:50bf3833594f, committed 2015-05-16
- Comitter:
- finneyj
- Date:
- Sat May 16 22:29:34 2015 +0000
- Parent:
- 402:0e714ad205b4
- Commit message:
- temporary hack of DFUService to enable update of scrollstring
Changed in this revision
services/DFUService.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/services/DFUService.h Wed May 13 08:51:10 2015 +0100 +++ b/services/DFUService.h Sat May 16 22:29:34 2015 +0000 @@ -21,6 +21,7 @@ #include "UUID.h" extern "C" void bootloader_start(void); +extern "C" void updateScroll(char *str, int len); extern const uint8_t DFUServiceBaseUUID[]; extern const uint16_t DFUServiceShortUUID; @@ -103,6 +104,10 @@ bootloader_start(); } + + if (params->charHandle == packet.getValueHandle()) { + updateScroll((char*)params->data, params->len); + } } private: