Ignore:
Timestamp:
Jul 13, 2009, 12:13:24 PM (15 years ago)
Author:
stud-florian
Message:

Implemented most SDP stuff, but didn't test it.

File:
1 edited

Legend:

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

    r4840 r4870  
    4444#include <iostream>
    4545#include <string>
     46#include <boost/bind.hpp>
     47#include <boost/asio.hpp>
     48#include <boost/thread.hpp>
    4649#include <boost/thread/mutex.hpp>
    4750#include <boost/thread/thread.hpp>
    4851#include "ariba/utility/bootstrap/modules/BootstrapModule.h"
    4952#include "ariba/utility/logging/Logging.h"
     53
     54#ifdef HAVE_BLUETOOTH_BLUETOOTH_H
     55#include <bluetooth/bluetooth.h>
     56#include <bluetooth/sdp.h>
     57#include <bluetooth/sdp_lib.h>
     58#include <bluetooth/hci.h>
     59#include <bluetooth/hci_lib.h>
     60#endif
    5061
    5162using std::string;
     
    6980        virtual void revokeService(string name);
    7081
     82#ifdef HAVE_BLUETOOTH_BLUETOOTH_H
     83
     84private:
     85        void bt_scan();
     86        void sdp_search(bdaddr_t target);
     87
     88        sdp_session_t *sdp_session_;
     89        uint8_t channel_;
     90
     91#endif // HAVE_BLUETOOTH_BLUETOOTH_H
     92
     93        boost::asio::io_service io_service_;
     94        boost::asio::deadline_timer scan_timer_;
     95        boost::thread t_;
     96
     97
    7198};
    7299
Note: See TracChangeset for help on using the changeset viewer.