Changeset 4900 for source/ariba/utility/bootstrap/modules
- Timestamp:
- Jul 14, 2009, 11:36:48 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/utility/bootstrap/modules/bluetoothsdp/BluetoothSdp.cpp
r4894 r4900 344 344 string name, info1, info2, info3; 345 345 name.reserve(256); 346 info1.reserve(256); 347 info2.reserve(256); 348 info3.reserve(256); 346 349 347 350 // connect to the SDP server running on the remote machine … … 379 382 sdp_list_free(proto_list, 0); 380 383 384 sdp_get_string_attr(rec, SDP_ATTR_SPOVNET_NAME, (char*)name.data(), name.size()); 385 sdp_get_string_attr(rec, SDP_ATTR_SPOVNET_INFO1, (char*)info1.data(), info1.size()); 386 sdp_get_string_attr(rec, SDP_ATTR_SPOVNET_INFO2, (char*)info2.data(), info2.size()); 387 sdp_get_string_attr(rec, SDP_ATTR_SPOVNET_INFO3, (char*)info3.data(), info3.size()); 388 389 std::cout << "Remote peer name is: " << name; 381 390 //TODO: callback here + extract info's and stuff 382 391 }
Note:
See TracChangeset
for help on using the changeset viewer.