Psuedo-BLE to ESP32 BLE

castle
Posts: 1
Joined: Thu Apr 26, 2018 1:30 am

Psuedo-BLE to ESP32 BLE

Postby castle » Thu Apr 26, 2018 1:41 am

Hello,
I have an Arduino Nano connected to a NRF24I0+ module. The NRF module is using the BTLE library https://github.com/floe/BTLE
Here is the snippet that is sending the information: (Nano & NRF24l0+)

Code: Select all

    
    RF24 radio(6, 9); 
    BTLE btle(&radio);
    btle.begin("foobar");
   // Above this line is in the setup function, below is in the loop function
    buf[0] = "Test";
    
    if(!btle.advertise(0x16, &buf, sizeof(buf))) {
        Serial.println("BTLE advertisement failure");
    }
    btle.hopChannel();
    delay(1000);
How would I go about receiving this information using an ESP32 bluetooth library? (Preferably an Arduino solution, but an IDF solution is also fine) I have tried scanning and that did not pickup anything.
Edit: Here is the program I have used on the ESP32, the scan returns nothing found:
https://github.com/nkolban/ESP32_BLE_Ar ... E_scan.ino

Thank you.

chegewara
Posts: 2378
Joined: Wed Jun 14, 2017 9:00 pm

Re: Psuedo-BLE to ESP32 BLE

Postby chegewara » Thu Apr 26, 2018 11:20 am

I can only say it is very strange that BLE_scan could not find your device. Could you try to find this device with android nRF connect application or LightBlue iPhone application?

Who is online

Users browsing this forum: Google [Bot] and 97 guests