Open JayKapse opened 4 months ago
SSP is enabled in newer releases. To use a fixed pin, you would need to compile your own libraries.
Hi, I have the same problem but I found a solution below: Insert
make menuconfig
to and enable itesp_spp_sec_t sec_mask = ESP_SPP_SEC_NONE; // or ESP_SPP_SEC_ENCRYPT|ESP_SPP_SEC_AUTHENTICATE to request pincode confirmation esp_spp_role_t role = ESP_SPP_ROLE_SLAVE; // or ESP_SPP_ROLE_MASTER uint8_t address[6] = {0x00, 0x10, 0xCC, 0x4F, 0x36, 0x03};
Insert in void setup() if (!ELM_PORT.connect(address, sec_mask, role))
Board
ESP32-D0WDQ5
Device Description
No hardware, directly connected to Mac for power and flashing.
Hardware Configuration
No hardware, directly connected to Mac for power and flashing.
Version
latest master (checkout manually)
IDE Name
Arduino IDE
Operating System
macOS Sonoma v14.5 (23F79)
Flash frequency
80Mhz
PSRAM enabled
no
Upload speed
921600
Description
I'm not able to use the setPin parameter. I have tried connecting the same ELM327 adapter using an android tablet and it works with the pin code "1234". I have tried running the code without the setPin parameter and it is not able to connect to the adapter.
I am trying to use the ELMduino library for the project, but the error comes from the ESP32 board installation according to the path displayed in the console.
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide