Home | History | Annotate | only in /system/bt/service/common
Up to higher level directory
NameDateSize
bluetooth/21-Oct-2016
README21-Oct-2016842

README

      1 This directory contains all the "common" sources between the bluetooth daemon
      2 and our client library. All source files here are under the "bluetooth"
      3 subdirectory, which is the exported root path for the client static library.
      4 Only common files should go here. All headers that go into common/bluetooth must
      5 only include other headers from common/bluetooth and must use "bluetooth" as the
      6 root path, e.g.:
      7 
      8 #include <bluetooth/uuid.h>
      9 
     10 This is so that client applications that link against the client library have
     11 one common include path exported to them, and our headers can find eachother
     12 within that.
     13 
     14 It is however OK to include from the package root when including common headers
     15 from source files as these are pre-compiled. For example,
     16 common/bluetooth/adapter_state.cpp should do:
     17 
     18 #include "service/common/bluetooth/adapter_state.h"
     19