bluetooth_company_id: use scraped defines instead of small set from bluetooth.h before

This commit is contained in:
Matthias Ringwald 2017-03-30 22:41:18 +02:00
parent 61f37892ce
commit 3e05a31cbd
6 changed files with 8 additions and 2 deletions

View File

@ -56,6 +56,7 @@
#include "btstack_memory.h" #include "btstack_memory.h"
#include "btstack_run_loop.h" #include "btstack_run_loop.h"
#include "btstack_run_loop_embedded.h" #include "btstack_run_loop_embedded.h"
#include "bluetooth_company_id.h"
#include "classic/btstack_link_key_db.h" #include "classic/btstack_link_key_db.h"
#include "hal_board.h" #include "hal_board.h"
#include "hal_compat.h" #include "hal_compat.h"

View File

@ -57,6 +57,7 @@
#include "btstack_run_loop.h" #include "btstack_run_loop.h"
#include "btstack_run_loop_embedded.h" #include "btstack_run_loop_embedded.h"
#include "classic/btstack_link_key_db.h" #include "classic/btstack_link_key_db.h"
#include "bluetooth_company_id.h"
#include "hal_board.h" #include "hal_board.h"
#include "hal_compat.h" #include "hal_compat.h"
#include "hal_usb.h" #include "hal_usb.h"

View File

@ -54,6 +54,7 @@
#include "btstack_memory.h" #include "btstack_memory.h"
#include "btstack_run_loop.h" #include "btstack_run_loop.h"
#include "btstack_run_loop_embedded.h" #include "btstack_run_loop_embedded.h"
#include "bluetooth_company_id.h"
#include "classic/btstack_link_key_db.h" #include "classic/btstack_link_key_db.h"
#include "hal_board.h" #include "hal_board.h"
#include "hal_compat.h" #include "hal_compat.h"

View File

@ -57,6 +57,7 @@
#include "btstack_memory.h" #include "btstack_memory.h"
#include "btstack_run_loop.h" #include "btstack_run_loop.h"
#include "btstack_run_loop_posix.h" #include "btstack_run_loop_posix.h"
#include "bluetooth_company_id.h"
#include "hci.h" #include "hci.h"
#include "hci_dump.h" #include "hci_dump.h"
#include "stdin_support.h" #include "stdin_support.h"
@ -190,7 +191,7 @@ static void local_version_information_handler(uint8_t * packet){
use_fast_uart(); use_fast_uart();
hci_set_chipset(btstack_chipset_stlc2500d_instance()); hci_set_chipset(btstack_chipset_stlc2500d_instance());
break; break;
case BUETOOTH_COMPANY_ID_EM_MICROELECTRONICS_MARIN: case BLUETOOTH_COMPANY_ID_EM_MICROELECTRONIC_MARIN_SA:
printf("EM Microelectronics - using EM9301 driver.\n"); printf("EM Microelectronics - using EM9301 driver.\n");
hci_set_chipset(btstack_chipset_em9301_instance()); hci_set_chipset(btstack_chipset_em9301_instance());
break; break;

View File

@ -57,6 +57,7 @@
#include "btstack_memory.h" #include "btstack_memory.h"
#include "btstack_run_loop.h" #include "btstack_run_loop.h"
#include "btstack_run_loop_posix.h" #include "btstack_run_loop_posix.h"
#include "bluetooth_company_id.h"
#include "hci.h" #include "hci.h"
#include "hci_dump.h" #include "hci_dump.h"
#include "stdin_support.h" #include "stdin_support.h"
@ -142,7 +143,7 @@ static void local_version_information_handler(uint8_t * packet){
use_fast_uart(); use_fast_uart();
hci_set_chipset(btstack_chipset_stlc2500d_instance()); hci_set_chipset(btstack_chipset_stlc2500d_instance());
break; break;
case BUETOOTH_COMPANY_ID_EM_MICROELECTRONICS_MARIN: case BLUETOOTH_COMPANY_ID_EM_MICROELECTRONIC_MARIN_SA:
printf("EM Microelectronics - using EM9301 driver.\n"); printf("EM Microelectronics - using EM9301 driver.\n");
hci_set_chipset(btstack_chipset_em9301_instance()); hci_set_chipset(btstack_chipset_em9301_instance());
break; break;

View File

@ -54,6 +54,7 @@
#include "btstack_run_loop.h" #include "btstack_run_loop.h"
#include "btstack_run_loop_embedded.h" #include "btstack_run_loop_embedded.h"
#include "hci.h" #include "hci.h"
#include "bluetooth_company_id.h"
#include "btstack_chipset_cc256x.h" #include "btstack_chipset_cc256x.h"
#include "btstack_memory.h" #include "btstack_memory.h"
#include "classic/btstack_link_key_db.h" #include "classic/btstack_link_key_db.h"