xref: /btstack/port/libusb/btstack_config.h (revision 0d529a9fd2ec5ca26e925d42131cdae3e06d4906)
1*0d529a9fSMatthias Ringwald //
2*0d529a9fSMatthias Ringwald // btstack_config.h for libusb port
3*0d529a9fSMatthias Ringwald //
47907f069SMatthias Ringwald 
57907f069SMatthias Ringwald #ifndef __BTSTACK_CONFIG
67907f069SMatthias Ringwald #define __BTSTACK_CONFIG
77907f069SMatthias Ringwald 
8*0d529a9fSMatthias Ringwald // Port related features
97907f069SMatthias Ringwald #define HAVE_BZERO
107907f069SMatthias Ringwald #define HAVE_MALLOC
11*0d529a9fSMatthias Ringwald #define HAVE_SCO
127907f069SMatthias Ringwald #define HAVE_SCO
137907f069SMatthias Ringwald #define HAVE_SCO_OVER_HCI
14*0d529a9fSMatthias Ringwald #define HAVE_SO_NOSIGPIPE
15*0d529a9fSMatthias Ringwald #define HAVE_TIME
16*0d529a9fSMatthias Ringwald 
17*0d529a9fSMatthias Ringwald // BTstack features that can be enabled
18*0d529a9fSMatthias Ringwald #define ENABLE_BLE
19*0d529a9fSMatthias Ringwald #define ENABLE_LOG_ERROR
20*0d529a9fSMatthias Ringwald #define ENABLE_LOG_INFO
21*0d529a9fSMatthias Ringwald #define ENABLE_LOG_INTO_HCI_DUMP
22*0d529a9fSMatthias Ringwald #define ENABLE_SDP_DES_DUMP
23*0d529a9fSMatthias Ringwald 
24*0d529a9fSMatthias Ringwald // BTstack configuration. buffers, sizes, ...
257907f069SMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE (1691 + 4)
267907f069SMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 14 // sizeof BNEP header, avoid memcpy
277907f069SMatthias Ringwald #define REMOTE_DEVICE_DB remote_device_db_iphone
287907f069SMatthias Ringwald 
297907f069SMatthias Ringwald #endif
30