Changeset 6919 for source/ariba/utility/bootstrap/modules/bluetoothsdp
- Timestamp:
- Nov 13, 2009, 1:41:34 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/utility/bootstrap/modules/bluetoothsdp/BluetoothSdp.cpp
r5967 r6919 64 64 namespace utility { 65 65 66 static bdaddr_t bd_addr_any = {{0, 0, 0, 0, 0, 0}}; 67 static bdaddr_t bd_addr_local = {{0, 0, 0, 0xff, 0xff, 0xff}}; 68 66 69 use_logging_cpp(BluetoothSdp); 67 70 OverlayBootstrap* BluetoothSdp::CONNECTION_CHECKER = NULL; … … 216 219 // connect to the local SDP server, register the service record 217 220 if( sdp_session_ == NULL ){ 218 sdp_session_ = sdp_connect( BDADDR_ANY, BDADDR_LOCAL, SDP_RETRY_IF_BUSY);221 sdp_session_ = sdp_connect(&bd_addr_any, &bd_addr_local, SDP_RETRY_IF_BUSY); 219 222 } 220 223 … … 275 278 276 279 bdaddr_t address; 277 uint8_t channel;280 // uint8_t channel; 278 281 279 282 dev_id = hci_get_route(NULL); … … 339 342 char name[256], info1[256], info2[256], info3[256]; 340 343 341 session = sdp_connect( BDADDR_ANY, &target, SDP_RETRY_IF_BUSY);344 session = sdp_connect(&bd_addr_any, &target, SDP_RETRY_IF_BUSY); 342 345 343 346 if (session == NULL) { … … 401 404 * Returns a string holding the bt adress in human readable form. 402 405 */ 403 char addr[32] = { 0 };404 406 char str[32] = { 0 }; 405 407 ba2str(ba, str);
Note:
See TracChangeset
for help on using the changeset viewer.