Changeset 5633 for source/ariba/utility
- Timestamp:
- Aug 3, 2009, 5:39:13 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/utility/bootstrap/modules/bluetoothsdp/BluetoothSdp.cpp
r5632 r5633 66 66 BluetoothSdp::BluetoothSdp(BootstrapInformationCallback* _callback) : 67 67 BootstrapModule(_callback), scan_timer_(io_service_) { 68 srand( time(NULL) ), found(false); 68 srand( time(NULL) ); 69 found = false; 69 70 #ifdef HAVE_BLUETOOTH_BLUETOOTH_H 70 71 … … 299 300 int nextscan = (rand() % 30) + 5; 300 301 logging_debug("next sdp scan in " << nextscan << " seconds"); 301 } 302 303 scan_timer_.expires_from_now( boost::posix_time::seconds(nextscan) ); 304 scan_timer_.async_wait( boost::bind(&BluetoothSdp::bt_scan, this) ); 302 303 304 scan_timer_.expires_from_now( boost::posix_time::seconds(nextscan) ); 305 scan_timer_.async_wait( boost::bind(&BluetoothSdp::bt_scan, this) ); 306 } 305 307 } 306 308
Note:
See TracChangeset
for help on using the changeset viewer.