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
Revision 10:95122a4a80cb, committed 2015-02-18
- Comitter:
- ansond
- Date:
- Wed Feb 18 07:11:45 2015 +0000
- Parent:
- 9:bf0cf5828378
- Child:
- 11:d601b867b297
- Commit message:
- updates to debugging messages.. working
Changed in this revision
| network_stubs/network_stubs.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/network_stubs/network_stubs.cpp Wed Feb 18 06:58:01 2015 +0000
+++ b/network_stubs/network_stubs.cpp Wed Feb 18 07:11:45 2015 +0000
@@ -62,8 +62,8 @@
// BLE Connection callback
void ble_connect_callback(Gap::Handle_t handle, Gap::addr_type_t peerAddrType, const Gap::address_t peerAddr, const Gap::ConnectionParams_t *params)
{
- DBG("ble_connect_callback: BLE connected! waiting for 3 seconds...\r\n");
- wait_ms(3000); // wait for 3 seconds... let the gateway register the device completely and get ready to accept data...
+ DBG("ble_connect_callback: BLE connected!...\r\n");
+ wait_ms(5000); // wait for 5 seconds... let the gateway register the device completely and get ready to accept data...
if (__registered == false) {
DBG("ble_connect_callback: Opening remote UDP socket to: %s@%d...\r\n",_ipAddress,_ipPort);