sivar2311

Results 126 comments of sivar2311

> Hello, its compatible with esp32? Hi laercionit! If you're still interested, i forked ESP8266TrueRandom and made it ESP32 compatible. Have a look on [ESPTrueRandom](https://github.com/sivar2311/ESPTrueRandom). Greetings sivar2311

In the meantime, i removed this from my project. ArduinoIDE random() makes use of internal hardware random generator (ESP8266 / ESP32). The only part i needed was to get the...

Hello @beyarkay This library is written for the ESP32 chipset and cannot be used with the Arduino Nano (ATmega328).

No, this is not possible, because this library depends on the functions of the ESP32 chip. You either need a library for the Arduino Nano BLE like [mbed-ble-hid](https://github.com/tcoppex/mbed-ble-hid) or you...

The easiest way to test this using PlatformIO is to edit the platformio.ini: ```ini lib_deps = https://github.com/sivar2311/ESP32-BLE-Keyboard ``` or for NimBLE-Mode: ```ini build_flags= -D USE_NIMBLE lib_deps = NimBLE-Arduino https://github.com/sivar2311/ESP32-BLE-Keyboard ```

Hi @vitauser1! Since this library is split into .h and .cpp files, a simple `#define USE_NIMBLE` in the .ino file will not work. To make this library use NimBLE, you...

Try this: `NimBLEDevice::createClient(NimBLEAddress(std::string(value.c_str())));` A `std::string` needs a `char*` for initialization

You can use `std::bind` to set a class member function as callback function: ```C++ void charaSubscribeNotification(NimBLERemoteCharacteristic* pChara) { if (pChara->canNotify()) { charaPrintId(pChara); Serial.println(" canNotify "); if (pChara->subscribe(true, std::bind(&Controller::notifyCB, this, std::placeholders::_1,...

Sorry, I was away for a few hours. For a "pure" function pointer std::bind does not work. That's why I prefer to use std::function as a callback parameter. This also...

Hi @joostbijl ! That is a very nice project! 👍 I'm not a BLE expert and maybe I don't understand the question correctly, but the BleKeyboard is automatically in pairing...