mitchjs
mitchjs
oh i saw on some githubs, a discussion section you can add, for talking about things like this mitch
i thought it was, if the value was too small, characteristics wouldnt get made, it was for some memory allocation (i cant test my new code, yet... i updated whole...
ah that nice and simple (thank you nimble)
ok, i got NimBLEDevice::setSecurityIOCap(BLE_HS_IO_DISPLAY_ONLY); NimBLEDevice::setSecurityAuth(BLE_SM_PAIR_AUTHREQ_BOND); NimBLEDevice::setSecurityPasskey(123456); some other wierd stuff.. im trying to sort (mostly in nRF Connect, god i hate this program... lightblue better, what else is there?) i...
i had that app long ago..didnt work well.. trying now... as soon as it connected it asked me to pair... and it(the app) had notify enabled by default yikes; now...
i switched to my "testing" code and same issue attached is my super simple code [main.cpp.txt](https://github.com/h2zero/esp-nimble-cpp/files/4775281/main.cpp.txt)
i changed to this NimBLEDevice::setSecurityIOCap(BLE_HS_IO_DISPLAY_ONLY); NimBLEDevice::setSecurityAuth(false, false, true); NimBLEDevice::setSecurityPasskey(123456); and i can connect over and over, i just have to put in the passkey every time
hmm,,, if i let it bond, i cant connect to it again... only once I (114939) mycallback: onConnect() I (115159) mycallback: onDisconnect() GAP procedure initiated: advertise; disc_mode=2 adv_channel_map=0 own_addr_type=0 adv_filter_policy=0...
yes. idf 4.0 not sure how exactly to switch to idf4.x im using thier "ESP-IDF Visual Studio Code Extension" i might be able to switch to 4. something... actually says...
that IRK error happens at boot, and before any connections