asukiaaa / arduino-XboxSeriesXControllerESP32

MIT License
60 stars 11 forks source link

System pause at Start san #9

Open Dongchujie opened 1 year ago

Dongchujie commented 1 year ago

When I run the program(printOnSerialWithNimBLE),the system pause at "Start san",like this:

21:43:08.401 -> Build:Mar 27 2021 21:43:08.401 -> rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT) 21:43:08.401 -> SPIWP:0xee 21:43:08.401 -> mode:DIO, clock div:1 21:43:08.401 -> load:0x3fce3808,len:0x44c 21:43:08.401 -> load:0x403c9700,len:0xbe4 21:43:08.401 -> load:0x403cc700,len:0x2a68 21:43:08.401 -> entry 0x403c98d4 21:43:08.493 -> Starting NimBLE Client 21:43:08.539 -> Start scan

My Device is ESP32S3 - N16R8, IDE: Arduino IDE[esp32 2.0.11 NimBLE:1.4.1 ];Xbox_ver: 5.17.3202.0

When I comment this code in setup(), it go on well. // NimBLEDevice::setOwnAddrType(BLE_OWN_ADDR_RANDOM);