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 20:c6ceaa206674, committed 2013-12-19
- Comitter:
- ktownsend
- Date:
- Thu Dec 19 14:02:49 2013 +0000
- Parent:
- 19:a6f33421746c
- Child:
- 21:5442f7c70e71
- Commit message:
- Switched to main mbed library
Changed in this revision
--- a/hw/nrf51822.cpp Wed Dec 18 20:11:45 2013 +0000
+++ b/hw/nrf51822.cpp Thu Dec 19 14:02:49 2013 +0000
@@ -11,7 +11,7 @@
/* ToDo: Check responses and set a flag for success/error/etc. */
/* Read serial to clear the RX interrupt */
- printf("%c", uart.getc());
+ uart.getc();
}
/**************************************************************************/
@@ -174,14 +174,11 @@
/* 2.) Send advertising data, Command ID = 0x000A */
len = advData.getPayloadLen();
buffer = advData.getPayload();
- printf("10 0A 00 %02X", len);
uart.printf("10 0A 00 %02X", len);
for (uint16_t i = 0; i < len; i++)
{
- printf(" %02X", buffer[i]);
uart.printf(" %02X", buffer[i]);
}
- printf("\r\n");
uart.printf("\r\n");
/* ToDo: Check response */
@@ -192,14 +189,11 @@
{
len = scanResponse.getPayloadLen();
buffer = scanResponse.getPayload();
- printf("10 0B 00 %02X", len);
uart.printf("10 0B 00 %02X", len);
for (uint16_t i = 0; i < len; i++)
{
- printf(" %02X", buffer[i]);
uart.printf(" %02X", buffer[i]);
}
- printf("\r\n");
uart.printf("\r\n");
/* ToDo: Check response */
--- a/mbed-src-flowcontrol-new.lib Wed Dec 18 20:11:45 2013 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -http://mbed.org/users/bogdanm/code/mbed-src-flowcontrol-new/#d12849734720
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed-src.lib Thu Dec 19 14:02:49 2013 +0000 @@ -0,0 +1,1 @@ +https://mbed.org/users/mbed_official/code/mbed-src/#7b352733b00a
