Doug Anson / mbedEndpointNetwork_BLE

Dependencies:   libnsdl_m0 BLE_API Base64 nRF51822 SplitterAssembler

Files at this revision

API Documentation at this revision

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);