setAdvertising on esp32 is not working

Posted on
  • Code:
    NRF.setAdvertising({},{
    name: "Mydevice", // The name of the device
    showName: true, // include full name, or nothing
    discoverable: true, // general discoverable, or limited - default is limited
    connectable: true, // whether device is connectable - default is true
    interval: 600, // Advertising interval in msec, between 20 and 10000
    manufacturer: 0x0590, // IF sending manufacturer data, this is the manufacturer ID
    });

  • Try NRF.wake() - I know it's non-standard but BLE support on ESP32 is very beta at the moment

  • now its visible but not connecting if i try to pair with my phone

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

setAdvertising on esp32 is not working

Posted by Avatar for Saurabh @Saurabh

Actions