stryderuk / bluetoothhid Goto Github PK
View Code? Open in Web Editor NEWESP32 Bluetooth HID Arduino library with DualShock 4 example
License: Apache License 2.0
ESP32 Bluetooth HID Arduino library with DualShock 4 example
License: Apache License 2.0
so
I have add this instructions in loop code
Serial.print("LeftX ");Serial.print(LastestState.LeftX);
Serial.print("LeftY ");Serial.print(LastestState.LeftY);
Serial.print("Right X");Serial.print(LastestState.RightX);
Serial.print("Right Y"); Serial.println(LastestState.RightY);
// Serial.print("square ");Serial.print(LastestState.square);
// Serial.print("cross ");Serial.print(LastestState.cross);
// Serial.print("circle ");Serial.print(LastestState.circle);
// Serial.print("triangle "); Serial.println(LastestState.RightY);
// Serial.print("l1 ");Serial.print(LastestState.l1 : 1);
// Serial.print("r1 ");Serial.print(LastestState.r1);
// Serial.print("l2 ");Serial.print(LastestState.l2);
work fine for the analog parts, but if I decommenting the buttons the compiler return error beacouse do not recognize the references buttons.
any ideas?
thank you
hi
ok, my esp il connettected with the ds4 , but color led don't change if I push the L or R analog
thi is esp logs:
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1412
load:0x40078000,len:13400
load:0x40080400,len:3672
entry 0x400805f8
hal-cpu.c:211] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz
Started
Started
[ 1498][V][BluetoothHID.h:365] hid_device_search(): SCAN...
[ 1507][V][esp_hid_gap.c:464] ble_gap_event_handler(): BLE GAP EVENT SCAN_PARAM_SET_COMPLETE
[ 1512][V][esp_hid_gap.c:544] ble_gap_event_handler(): BLE GAP EVENT SCAN_START_COMPLETE
[ 1512][V][esp_hid_gap.c:389] bt_gap_event_handler(): BT GAP DISC_STATE START
[ 5355][V][esp_hid_gap.c:389] bt_gap_event_handler(): BT GAP DISC_STATE STOP
[ 6511][V][esp_hid_gap.c:476] ble_gap_event_handler(): BLE GAP EVENT SCAN DONE: 3
[ 6512][V][BluetoothHID.h:368] hid_device_search(): SCAN: 0 results
E (15529) BT_HIDH: Report Not Found: 1 mode: REPORT
Hello,
Can I use this with any Arduino board, also can it be used with HC-05/06?
hello,
it seems to be exactely what i'm looking for, thanks for your work.
I installed ESP32 on arduino, but it fail to compile exemple :(
Arduino : 1.8.15 Hourly Build 2021/05/31 10:33 (Windows 10), Carte : "ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, Core 1, Core 1, None"
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_act.c: In function 'bta_hh_api_enable':
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_act.c:92:30: warning: passing argument 1 of 'HID_HostSetSecurityLevel' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
HID_HostSetSecurityLevel("", p_data->api_enable.sec_mask);
^~
In file included from C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta/bta_hh_api.h:22,
from C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_act.c:38:
c:\users\reilh\onedrive\documents\arduino\libraries\bluetoothhid-main\src\bta_hh\stack\hidh_api.h:206:51: note: expected 'char *' but argument is of type 'const char *'
extern tHID_STATUS HID_HostSetSecurityLevel( char serv_name[], UINT8 sec_lvl );
~~~~~^~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_act.c: In function 'bta_hh_sdp_cmpl':
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_act.c:436:38: warning: passing argument 1 of 'HID_HostSetSecurityLevel' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
HID_HostSetSecurityLevel("", p_cb->sec_mask);
^~
In file included from C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta/bta_hh_api.h:22,
from C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_act.c:38:
c:\users\reilh\onedrive\documents\arduino\libraries\bluetoothhid-main\src\bta_hh\stack\hidh_api.h:206:51: note: expected 'char *' but argument is of type 'const char *'
extern tHID_STATUS HID_HostSetSecurityLevel( char serv_name[], UINT8 sec_lvl );
~~~~~^~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_act.c: In function 'bta_hh_get_w4_event':
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_act.c:1227:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "BTA_HH_GET_RPT_EVT";
^~~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_act.c:1229:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "BTA_HH_SET_RPT_EVT";
^~~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_act.c:1231:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "BTA_HH_GET_PROTO_EVT";
^~~~~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_act.c:1233:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "BTA_HH_SET_PROTO_EVT";
^~~~~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_act.c:1235:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "BTA_HH_GET_IDLE_EVT";
^~~~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_act.c:1237:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "BTA_HH_SET_IDLE_EVT";
^~~~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_act.c:1239:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "BTA_HH_OPEN_EVT";
^~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_act.c:1241:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "Unknown event";
^~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_act.c: In function 'bta_hh_hid_event_name':
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_act.c:1250:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "HID_HDEV_EVT_OPEN";
^~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_act.c:1252:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "HID_HDEV_EVT_CLOSE";
^~~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_act.c:1254:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "HID_HDEV_EVT_RETRYING";
^~~~~~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_act.c:1256:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "HID_HDEV_EVT_INTR_DATA";
^~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_act.c:1258:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "HID_HDEV_EVT_INTR_DATC";
^~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_act.c:1260:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "HID_HDEV_EVT_CTRL_DATA";
^~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_act.c:1262:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "HID_HDEV_EVT_CTRL_DATC";
^~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_act.c:1264:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "HID_HDEV_EVT_HANDSHAKE";
^~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_act.c:1266:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "HID_HDEV_EVT_VC_UNPLUG";
^~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_act.c:1268:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "Unknown HID event";
^~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_main.c: In function 'bta_hh_evt_code':
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_main.c:479:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "BTA_HH_API_DISABLE_EVT";
^~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_main.c:481:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "BTA_HH_API_ENABLE_EVT";
^~~~~~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_main.c:483:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "BTA_HH_API_OPEN_EVT";
^~~~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_main.c:485:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "BTA_HH_API_CLOSE_EVT";
^~~~~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_main.c:487:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "BTA_HH_INT_OPEN_EVT";
^~~~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_main.c:489:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "BTA_HH_INT_CLOSE_EVT";
^~~~~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_main.c:491:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "BTA_HH_INT_HANDSK_EVT";
^~~~~~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_main.c:493:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "BTA_HH_INT_DATA_EVT";
^~~~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_main.c:495:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "BTA_HH_INT_CTRL_DATA";
^~~~~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_main.c:497:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "BTA_HH_API_WRITE_DEV_EVT";
^~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_main.c:499:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "BTA_HH_SDP_CMPL_EVT";
^~~~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_main.c:501:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "BTA_HH_DISC_CMPL_EVT";
^~~~~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_main.c:503:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "BTA_HH_API_MAINT_DEV_EVT";
^~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_main.c:505:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "BTA_HH_API_GET_DSCP_EVT";
^~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_main.c:507:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "BTA_HH_OPEN_CMPL_EVT";
^~~~~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_main.c:527:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "unknown HID Host event code";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_main.c: In function 'bta_hh_state_code':
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_main.c:544:15: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return"BTA_HH_NULL_ST";
^~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_main.c:546:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "BTA_HH_IDLE_ST";
^~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_main.c:548:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "BTA_HH_W4_CONN_ST";
^~~~~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_main.c:550:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "BTA_HH_CONN_ST";
^~~~~~~~~~~~~~~~
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh\bta_hh_main.c:556:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return "unknown HID Host state";
^~~~~~~~~~~~~~~~~~~~~~~~
c:/users/reilh/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BluetoothHID-main\bta_hh\bta_hh_act.c.o:(.literal.bta_hh_di_sdp_cback+0x1c): undefined reference to `HID_HostGetSDPRecord'
c:/users/reilh/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BluetoothHID-main\bta_hh\bta_hh_act.c.o:(.literal.bta_hh_sdp_cback+0x4): undefined reference to `HID_HostAddDev'
c:/users/reilh/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BluetoothHID-main\bta_hh\bta_hh_act.c.o:(.literal.bta_hh_api_enable+0x8): undefined reference to `HID_HostInit'
c:/users/reilh/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BluetoothHID-main\bta_hh\bta_hh_act.c.o:(.literal.bta_hh_api_enable+0xc): undefined reference to `HID_HostSetSecurityLevel'
c:/users/reilh/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BluetoothHID-main\bta_hh\bta_hh_act.c.o:(.literal.bta_hh_api_enable+0x10): undefined reference to `HID_HostRegister'
c:/users/reilh/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BluetoothHID-main\bta_hh\bta_hh_act.c.o:(.literal.bta_hh_disc_cmpl+0x0): undefined reference to `HID_HostDeregister'
c:/users/reilh/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BluetoothHID-main\bta_hh\bta_hh_act.c.o:(.literal.bta_hh_sdp_cmpl+0x4): undefined reference to `HID_HostOpenDev'
c:/users/reilh/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BluetoothHID-main\bta_hh\bta_hh_act.c.o:(.literal.bta_hh_sdp_cmpl+0x8): undefined reference to `HID_HostRemoveDev'
c:/users/reilh/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BluetoothHID-main\bta_hh\bta_hh_act.c.o:(.literal.bta_hh_api_disc_act+0x0): undefined reference to `HID_HostCloseDev'
c:/users/reilh/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BluetoothHID-main\bta_hh\bta_hh_act.c.o:(.literal.bta_hh_open_cmpl_act+0x0): undefined reference to `HID_HostWriteDev'
c:/users/reilh/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BluetoothHID-main\bta_hh\bta_hh_act.c.o: in function `bta_hh_di_sdp_cback':
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh/bta_hh_act.c:298: undefined reference to `HID_HostGetSDPRecord'
c:/users/reilh/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BluetoothHID-main\bta_hh\bta_hh_act.c.o: in function `bta_hh_sdp_cback':
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh/bta_hh_act.c:223: undefined reference to `HID_HostAddDev'
c:/users/reilh/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BluetoothHID-main\bta_hh\bta_hh_act.c.o: in function `bta_hh_api_enable':
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh/bta_hh_act.c:88: undefined reference to `HID_HostInit'
c:/users/reilh/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh/bta_hh_act.c:92: undefined reference to `HID_HostSetSecurityLevel'
c:/users/reilh/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh/bta_hh_act.c:92: undefined reference to `HID_HostRegister'
c:/users/reilh/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BluetoothHID-main\bta_hh\bta_hh_act.c.o: in function `bta_hh_disc_cmpl':
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh/bta_hh_act.c:177: undefined reference to `HID_HostDeregister'
c:/users/reilh/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BluetoothHID-main\bta_hh\bta_hh_act.c.o: in function `bta_hh_start_sdp':
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh/bta_hh_act.c:355: undefined reference to `HID_HostAddDev'
c:/users/reilh/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BluetoothHID-main\bta_hh\bta_hh_act.c.o: in function `bta_hh_sdp_cmpl':
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh/bta_hh_act.c:436: undefined reference to `HID_HostSetSecurityLevel'
c:/users/reilh/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh/bta_hh_act.c:439: undefined reference to `HID_HostOpenDev'
c:/users/reilh/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh/bta_hh_act.c:445: undefined reference to `HID_HostRemoveDev'
c:/users/reilh/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh/bta_hh_act.c:461: undefined reference to `HID_HostRemoveDev'
c:/users/reilh/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BluetoothHID-main\bta_hh\bta_hh_act.c.o: in function `bta_hh_api_disc_act':
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh/bta_hh_act.c:509: undefined reference to `HID_HostCloseDev'
c:/users/reilh/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BluetoothHID-main\bta_hh\bta_hh_act.c.o: in function `bta_hh_open_cmpl_act':
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh/bta_hh_act.c:563: undefined reference to `HID_HostWriteDev'
c:/users/reilh/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BluetoothHID-main\bta_hh\bta_hh_act.c.o: in function `bta_hh_open_failure':
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh/bta_hh_act.c:804: undefined reference to `HID_HostCloseDev'
c:/users/reilh/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BluetoothHID-main\bta_hh\bta_hh_act.c.o: in function `bta_hh_close_act':
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh/bta_hh_act.c:853: undefined reference to `HID_HostCloseDev'
c:/users/reilh/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh/bta_hh_act.c:879: undefined reference to `HID_HostRemoveDev'
c:/users/reilh/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BluetoothHID-main\bta_hh\bta_hh_act.c.o: in function `bta_hh_maint_dev_act':
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh/bta_hh_act.c:956: undefined reference to `HID_HostAddDev'
c:/users/reilh/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh/bta_hh_act.c:998: undefined reference to `HID_HostRemoveDev'
c:/users/reilh/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BluetoothHID-main\bta_hh\bta_hh_act.c.o: in function `bta_hh_write_dev_act':
C:\Users\reilh\OneDrive\Documents\Arduino\libraries\BluetoothHID-main\src\bta_hh/bta_hh_act.c:1054: undefined reference to `HID_HostWriteDev'
collect2.exe: error: ld returned 1 exit status
exit status 1
Erreur de compilation pour la carte ESP32 Dev Module
Ce rapport pourrait être plus détaillé avec
l'option "Afficher les résultats détaillés de la compilation"
activée dans Fichier -> Préférences.
this core isn't aveailable
solution?
tanx a lot
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.