Ignore:
Timestamp:
Jul 14, 2009, 12:04:00 PM (15 years ago)
Author:
stud-florian
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/utility/bootstrap/modules/bluetoothsdp/BluetoothSdp.cpp

    r4903 r4904  
    210210        sdp_set_info_attr(&record, service_name, service_prov, svc_dsc);
    211211
    212         sdp_attr_add_new(&record, SDP_ATTR_SPOVNET_NAME, SDP_TEXT_STR32,
     212        // add the spovnet attributes
     213        sdp_attr_add_new(&record, SDP_ATTR_SPOVNET_NAME, SDP_TEXT_STR8,
    213214                        namebuf.data());
    214215
    215         info1len = info1.length();
    216         info1buf.append((const char*) &info1len, 4);
    217         info1buf.append(info1);
    218         sdp_attr_add_new(&record, SDP_ATTR_SPOVNET_INFO1, SDP_TEXT_STR32,
     216        sdp_attr_add_new(&record, SDP_ATTR_SPOVNET_INFO1, SDP_TEXT_STR8,
    219217                        info1buf.data());
    220218
    221         info2len = info2.length();
    222         info2buf.append((const char*) &info2len, 4);
    223         info2buf.append(info2);
    224         sdp_attr_add_new(&record, SDP_ATTR_SPOVNET_INFO2, SDP_TEXT_STR32,
     219        sdp_attr_add_new(&record, SDP_ATTR_SPOVNET_INFO2, SDP_TEXT_STR8,
    225220                        info2buf.data());
    226221
    227         info3len = info3.length();
    228         info3buf.append((const char*) &info3len, 4);
    229         info3buf.append(info3);
    230         sdp_attr_add_new(&record, SDP_ATTR_SPOVNET_INFO3, SDP_TEXT_STR32,
     222        sdp_attr_add_new(&record, SDP_ATTR_SPOVNET_INFO3, SDP_TEXT_STR8,
    231223                        info3buf.data());
    232224
Note: See TracChangeset for help on using the changeset viewer.