Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP NOW stops receiving data after BLE initialization #10900

Open
1 task done
Gabriele-Cano opened this issue Jan 24, 2025 · 0 comments
Open
1 task done

ESP NOW stops receiving data after BLE initialization #10900

Gabriele-Cano opened this issue Jan 24, 2025 · 0 comments
Assignees
Labels
Status: Awaiting triage Issue is waiting for triage

Comments

@Gabriele-Cano
Copy link

Gabriele-Cano commented Jan 24, 2025

Board

ESP32-C3 custom PCB

Device Description

It's a custom PCB that I made, it's connected via I2C to MC3419 (accelerometer). Then with "PWM" it's connected to AL1783 (led driver), and with a mosfet for running a buzzer.

Hardware Configuration

18 and 19 are for USB data

#define LED_R_PIN 0
#define LED_G_PIN 1
#define LED_B_PIN 4

#define SDA_PIN 5
#define SCL_PIN 6

#define ACCEL_INT_PIN 9

#define BUZZER 2
#define BATTERY_PIN 3 (to check voltage)

Version

latest master (checkout manually)

IDE Name

Arduino IDE

Operating System

Ubuntu 24

Flash frequency

80MHz

PSRAM enabled

no

Upload speed

921600

Description

Hi,
I'm working on a project that requires both the use of ESPNOW with other ESP32-C3 and BLE for connecting to a smartphone.
The problem is that when BLE is initialised the device doesn't receive any data from other ESPs via ESPNOW. If i delete initBLE() in the setup, then it espnow works flawlessly.

I need to use both protocols at the "same" time (I mean that I won't be sending data continuously with BLE nor with ESPNOW, just occasionally, like a few times every 2 seconds or so for ESPNOW, while it will be more rarely with BLE)

I know it should work because it's written here https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/api-guides/coexist.html

In the debug message you can see that at the end the devices tries to broadcast a message and it works since I can see it with another esp, but when this one replies back it says that there was an error and indeed the message is not received by the first one.

Sketch

#include <BLEDevice.h>
#include <BLEUtils.h>
#include <BLEServer.h>
#include <BLE2902.h>
#include "ESP32_NOW.h"
#include "WiFi.h"
#include "structs.cpp"

#include <esp_mac.h>  // For the MAC2STR and MACSTR macros

/* Definitions */

#define ESPNOW_WIFI_CHANNEL 6

class ESP_NOW_Slave_Class : public ESP_NOW_Peer {
public:
  bool isAlive = true;
  int battery = 0;
  // Constructor of the class
  ESP_NOW_Slave_Class(const uint8_t *mac_addr, uint8_t channel, wifi_interface_t iface, const uint8_t *lmk) : ESP_NOW_Peer(mac_addr, channel, iface, lmk) {}

  // Destructor of the class
  ~ESP_NOW_Slave_Class() {}

  // Function to register the master peer
  bool add_peer() {
    if (!add()) {
      log_e("Failed to register the peer");
      return false;
    }
    return true;
  }

  // Function to print the received messages from slaves 
  void onReceive(const uint8_t *data, size_t len, bool broadcast) {
    isAlive = true;
    //Serial.printf("Received message from: (%s), data*: %d\n", MAC2STR(addr()), *data);
    if (*data == ACK_PACK_TYPE) return;
    if (*data == BATTERY_PACK_TYPE) {
      BATTERY *packet = (BATTERY *) data;
      battery = packet->batt;
    }
  }

  void onSent(bool success) {
    isAlive = success;
    Serial.printf("onSent(), %d\n\n", isAlive);
  }

  bool deinitialise() {
    Serial.printf("I'm removing the peer\n");
    return remove();
  }

    // Function to send a message to the peer
  bool send_message(const uint8_t *data, size_t len) {
    if (!send(data, len)) {
      log_e("Failed to broadcast message");
      return false;
    }
    return true;
  }
};



BLEServer* pServer = NULL;
BLEService *serviceBattery = NULL;
BLECharacteristic *batteryLevelChar = NULL;
BLE2902* pBLE2902_battery = NULL;

#define SERVICE_BATTERY_UUID "180f"                                                          
#define BATTERY_LEVEL_CHARACTERISTIC_UUID "492c2d04-f173-4814-9630-e12aedc4f7f6"              

class ServerCallbacks: public BLEServerCallbacks {
  void onConnect(BLEServer* pServer) {
    Serial.println("Device connected");
    connectedBLE = true;
  };

  void onDisconnect(BLEServer* pServer) {
    Serial.println("Device disconnected");
    connectedBLE = false;
    //resart the advertising
    BLEDevice::startAdvertising();
  }
};


void initBLE() {
  BLEDevice::init("B_Rainbow");
  pServer = BLEDevice::createServer();
  pServer->setCallbacks(new ServerCallbacks());

  serviceBattery = pServer->createService(SERVICE_BATTERY_UUID);

  batteryLevelChar = serviceBattery->createCharacteristic(
    BATTERY_LEVEL_CHARACTERISTIC_UUID,
    BLECharacteristic::PROPERTY_NOTIFY | BLECharacteristic::PROPERTY_READ
  );

  pBLE2902_battery = new BLE2902();
  pBLE2902_battery->setNotifications(true);
  batteryLevelChar->addDescriptor(pBLE2902_battery);

  serviceBattery->start();
  
  BLEAdvertising *pAdvertising = BLEDevice::getAdvertising();
  pAdvertising->addServiceUUID(SERVICE_BATTERY_UUID);
  pAdvertising->setScanResponse(true);
  pAdvertising->setMinPreferred(0x06);  // functions that help with iPhone connections issue
  pAdvertising->setMinPreferred(0x12);
  BLEDevice::startAdvertising();

  Serial.println("Finished BLE init");
}


void setup() {
  Serial.begin(115200);

  // Initialize the Wi-Fi module
  WiFi.mode(WIFI_STA);
  WiFi.setChannel(ESPNOW_WIFI_CHANNEL);
  while (!WiFi.STA.started()) {
    delay(100);
  }

  // Register the broadcast peer
  if (!broadcast_peer.begin()) {
    Serial.println("Failed to initialize broadcast peer");
    Serial.println("Reebooting in 5 seconds...");
    delay(5000);
    ESP.restart();
  }

  ESP_NOW.onNewPeer(register_new_master, NULL);
  initBLE();
  startupTime = millis();

}


void loop() {
//just sending some data with ESPNOW occasionally
}

Debug Message

[     1][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Dein=========== Before Setup Start ===========
Chip Info:
------------------------------------------
  Model             : ESP32-C3
  Package           : 0
  Revision          : 0.04
  Cores             : 1
  CPU Frequency     : 160 MHz
  XTAL Frequency    : 40 MHz
  Features Bitfield : 0x00000012
  Embedded Flash    : No
  Embedded PSRAM    : No
  2.4GHz WiFi       : Yes
  Classic BT        : No
  BT Low Energy     : Yes
  IEEE 802.15.4     : No
------------------------------------------
INTERNAL Memory Info:
------------------------------------------
  Total Size        :   255556 B ( 249.6 KB)
  Free Bytes        :   221140 B ( 216.0 KB)
  Allocated Bytes   :    30532 B (  29.8 KB)
  Minimum Free Bytes:   216328 B ( 211.3 KB)
  Largest Free Block:   114676 B ( 112.0 KB)
------------------------------------------
Flash Info:
------------------------------------------
  Chip Size         :  4194304 B (4 MB)
  Block Size        :    65536 B (  64.0 KB)
  Sector Size       :     4096 B (   4.0 KB)
  Page Size         :      256 B (   0.2 KB)
  Bus Speed         : 80 MHz
  Bus Mode          : DIO
------------------------------------------
Partitions Info:
------------------------------------------
                nvs : addr: 0x00009000, size:    20.0 KB, type: DATA, subtype: NVS
            otadata : addr: 0x0000E000, size:     8.0 KB, type: DATA, subtype: OTA
               app0 : addr: 0x00010000, size:  3072.0 KB, type:  APP, subtype: OTA_0
             spiffs : addr: 0x00310000, size:   896.0 KB, type: DATA, subtype: SPIFFS
           coredump : addr: 0x003F0000, size:    64.0 KB, type: DATA, subtype: COREDUMP
------------------------------------------
Software Info:
------------------------------------------
  Compile Date/Time : Jan 24 2025 18:42:41
  Compile Host OS   : linux
  ESP-IDF Version   : v5.3.2-282-gcfea4f7c98-dirty
  Arduino Version   : 3.1.1
------------------------------------------
Board Info:
------------------------------------------
  Arduino Board     : ESP32C3_DEV
  Arduino Variant   : esp32c3
  Arduino FQBN      : esp32:esp32:esp32c3:UploadSpeed=921600,CDCOnBoot=cdc,CPUFreq=160,FlashFreq=80,FlashMode=dio,FlashSize=4M,PartitionScheme=huge_app,DebugLevel=verbose,EraseFlash=none,JTAGAdapter=default,ZigbeeMode=default
============ Before Setup End ============
[   355][I][esp32-hal-periman.c:141] perimanSetPinBus(): Pin 18 already has type USB_DM (38) with bus 0x3fc98330
[   355][I][esp32-hal-periman.c:141] perimanSetPinBus(): Pin 19 already has type USB_DP (39) with bus 0x3fc98330
[   364][V][NetworkEvents.cpp:113] _checkForEvent(): Network Event: 101 - WIFI_READY
[   401][V][STA.cpp:186] _onStaEvent(): STA Started
[   402][V][NetworkEvents.cpp:113] _checkForEvent(): Network Event: 110 - STA_START
[   402][V][STA.cpp:110] _onStaArduinoEvent(): Arduino STA Event: 110 - STA_START
[   404][W][STA.cpp:541] disconnect(): STA already disconnected.
[   406][V][ESP32_NOW.cpp:18] _esp_now_add_peer(): ff:ff:ff:ff:ff:ff
[   406][V][ESP32_NOW.cpp:311] add(): Peer added - ff:ff:ff:ff:ff:ff
[  3652][V][BLEDevice.cpp:77] createServer(): >> createServer
[  3653][V][BLEServer.cpp:284] registerApp(): >> registerApp - 0
[  3654][V][FreeRTOS.cpp:179] take(): Semaphore taking: name: RegisterAppEvt (0x3fcc3d54), owner: <N/A> for registerApp
[  3654][V][FreeRTOS.cpp:188] take(): Semaphore taken:  name: RegisterAppEvt (0x3fcc3d54), owner: registerApp
[  3655][D][BLEDevice.cpp:96] gattServerEventHandler(): gattServerEventHandler [esp_gatt_if: 3] ... ESP_GATTS_REG_EVT
[  3656][V][BLEUtils.cpp:1434] dumpGattServerEvent(): GATT ServerEvent: ESP_GATTS_REG_EVT
[  3656][V][BLEUtils.cpp:1561] dumpGattServerEvent(): [status: ESP_GATT_OK, app_id: 0]
[  3657][V][BLEServer.cpp:137] handleGATTServerEvent(): >> handleGATTServerEvent: ESP_GATTS_REG_EVT
[  3657][V][FreeRTOS.cpp:136] give(): Semaphore giving: name: RegisterAppEvt (0x3fcc3d54), owner: registerApp
[  3658][V][BLEServer.cpp:275] handleGATTServerEvent(): << handleGATTServerEvent
[  3658][V][FreeRTOS.cpp:59] wait(): >> wait: Semaphore waiting: name: RegisterAppEvt (0x3fcc3d54), owner: <N/A> for registerApp
[  3659][V][FreeRTOS.cpp:73] wait(): << wait: Semaphore released: name: RegisterAppEvt (0x3fcc3d54), owner: <N/A>
[  3659][V][BLEServer.cpp:288] registerApp(): << registerApp
[  3660][V][BLEDevice.cpp:84] createServer(): << createServer
[  3660][V][BLEServer.cpp:66] createService(): >> createService - 0000180f-0000-1000-8000-00805f9b34fb
[  3660][V][FreeRTOS.cpp:179] take(): Semaphore taking: name: CreateEvt (0x3fcc9a6c), owner: <N/A> for createService
[  3661][V][FreeRTOS.cpp:188] take(): Semaphore taken:  name: CreateEvt (0x3fcc9a6c), owner: createService
[  3662][V][BLEService.cpp:59] executeCreate(): >> executeCreate() - Creating service (esp_ble_gatts_create_service) service uuid: 0000180f-0000-1000-8000-00805f9b34fb
[  3663][V][FreeRTOS.cpp:179] take(): Semaphore taking: name: CreateEvt (0x3fcc9c70), owner: <N/A> for executeCreate
[  3663][V][FreeRTOS.cpp:188] take(): Semaphore taken:  name: CreateEvt (0x3fcc9c70), owner: executeCreate
[  3664][D][BLEDevice.cpp:96] gattServerEventHandler(): gattServerEventHandler [esp_gatt_if: 3] ... ESP_GATTS_CREATE_EVT
[  3665][V][BLEUtils.cpp:1434] dumpGattServerEvent(): GATT ServerEvent: ESP_GATTS_CREATE_EVT
[  3665][V][BLEUtils.cpp:1491] dumpGattServerEvent(): [status: ESP_GATT_OK, service_handle: 40 0x28, service_id: [uuid: 0000180f-0000-1000-8000-00805f9b34fb, inst_id: 0]]
[  3666][V][BLEServer.cpp:137] handleGATTServerEvent(): >> handleGATTServerEvent: ESP_GATTS_CREATE_EVT
[  3667][V][FreeRTOS.cpp:136] give(): Semaphore giving: name: CreateEvt (0x3fcc9a6c), owner: createService
[  3668][V][BLEService.cpp:186] setHandle(): >> setHandle - Handle=0x28, service UUID=0000180f-0000-1000-8000-00805f9b34fb)
[  3668][V][BLEService.cpp:192] setHandle(): << setHandle
[  3668][V][FreeRTOS.cpp:136] give(): Semaphore giving: name: CreateEvt (0x3fcc9c70), owner: executeCreate
[  3669][V][BLEServer.cpp:275] handleGATTServerEvent(): << handleGATTServerEvent
[  3669][V][FreeRTOS.cpp:59] wait(): >> wait: Semaphore waiting: name: CreateEvt (0x3fcc9c70), owner: <N/A> for executeCreate
[  3670][V][FreeRTOS.cpp:73] wait(): << wait: Semaphore released: name: CreateEvt (0x3fcc9c70), owner: <N/A>
[  3671][V][BLEService.cpp:76] executeCreate(): << executeCreate
[  3671][V][FreeRTOS.cpp:59] wait(): >> wait: Semaphore waiting: name: CreateEvt (0x3fcc9a6c), owner: <N/A> for createService
[  3672][V][FreeRTOS.cpp:73] wait(): << wait: Semaphore released: name: CreateEvt (0x3fcc9a6c), owner: <N/A>
[  3672][V][BLEServer.cpp:81] createService(): << createService
[  3673][V][BLEService.cpp:212] addCharacteristic(): >> addCharacteristic()
[  3673][D][BLEService.cpp:213] addCharacteristic(): Adding characteristic: uuid=492c2d04-f173-4814-9630-e12aedc4f7f6 to service: UUID: 0000180f-0000-1000-8000-00805f9b34fb, handle: 0x0028
[  3674][V][BLEService.cpp:225] addCharacteristic(): << addCharacteristic()
[  3675][V][BLECharacteristic.cpp:69] addDescriptor(): >> addDescriptor(): Adding UUID: 00002902-0000-1000-8000-00805f9b34fb, handle: 0xffff to UUID: 492c2d04-f173-4814-9630-e12aedc4f7f6, handle : 0xffff Read Notify 
[  3676][V][BLECharacteristic.cpp:71] addDescriptor(): << addDescriptor()
[  3676][V][BLEService.cpp:128] start(): >> start(): Starting service (esp_ble_gatts_start_service): UUID: 0000180f-0000-1000-8000-00805f9b34fb, handle: 0x0028
[  3677][V][BLECharacteristic.cpp:79] executeCreate(): >> executeCreate()
[  3678][D][BLECharacteristic.cpp:88] executeCreate(): Registering characteristic (esp_ble_gatts_add_char): uuid: 492c2d04-f173-4814-9630-e12aedc4f7f6, service: UUID: 0000180f-0000-1000-8000-00805f9b34fb, handle: 0x0028
[  3679][V][FreeRTOS.cpp:179] take(): Semaphore taking: name: CreateEvt (0x3fcca12c), owner: <N/A> for executeCreate
[  3680][V][FreeRTOS.cpp:188] take(): Semaphore taken:  name: CreateEvt (0x3fcca12c), owner: executeCreate
[  3680][D][BLEDevice.cpp:96] gattServerEventHandler(): gattServerEventHandler [esp_gatt_if: 3] ... ESP_GATTS_ADD_CHAR_EVT
[  3681][V][BLEUtils.cpp:1434] dumpGattServerEvent(): GATT ServerEvent: ESP_GATTS_ADD_CHAR_EVT
[  3682][V][BLEUtils.cpp:1451] dumpGattServerEvent(): [status: ESP_GATT_OK, attr_handle: 42 0x2a, service_handle: 40 0x28, char_uuid: 492c2d04-f173-4814-9630-e12aedc4f7f6]
[  3683][V][BLEServer.cpp:137] handleGATTServerEvent(): >> handleGATTServerEvent: ESP_GATTS_ADD_CHAR_EVT
[  3683][V][BLECharacteristic.cpp:598] setHandle(): >> setHandle: handle=0x2a, characteristic uuid=492c2d04-f173-4814-9630-e12aedc4f7f6
[  3684][V][BLECharacteristic.cpp:600] setHandle(): << setHandle
[  3684][V][BLECharacteristic.cpp:191] handleGATTServerEvent(): >> handleGATTServerEvent: ESP_GATTS_ADD_CHAR_EVT
[  3685][V][FreeRTOS.cpp:136] give(): Semaphore giving: name: CreateEvt (0x3fcca12c), owner: executeCreate
[  3685][V][BLECharacteristic.cpp:452] handleGATTServerEvent(): << handleGATTServerEvent
[  3686][V][BLEServer.cpp:275] handleGATTServerEvent(): << handleGATTServerEvent
[  3686][V][FreeRTOS.cpp:59] wait(): >> wait: Semaphore waiting: name: CreateEvt (0x3fcca12c), owner: <N/A> for executeCreate
[  3687][V][FreeRTOS.cpp:73] wait(): << wait: Semaphore released: name: CreateEvt (0x3fcca12c), owner: <N/A>
[  3687][V][BLEDescriptor.cpp:56] executeCreate(): >> executeCreate(): UUID: 00002902-0000-1000-8000-00805f9b34fb, handle: 0xffff
[  3688][V][FreeRTOS.cpp:179] take(): Semaphore taking: name: CreateEvt (0x3fcca710), owner: <N/A> for executeCreate
[  3689][V][FreeRTOS.cpp:188] take(): Semaphore taken:  name: CreateEvt (0x3fcca710), owner: executeCreate
[  3689][D][BLEDevice.cpp:96] gattServerEventHandler(): gattServerEventHandler [esp_gatt_if: 3] ... ESP_GATTS_ADD_CHAR_DESCR_EVT
[  3690][V][BLEUtils.cpp:1434] dumpGattServerEvent(): GATT ServerEvent: ESP_GATTS_ADD_CHAR_DESCR_EVT
[  3691][V][BLEUtils.cpp:1440] dumpGattServerEvent(): [status: ESP_GATT_OK, attr_handle: 43 0x2b, service_handle: 40 0x28, char_uuid: 00002902-0000-1000-8000-00805f9b34fb]
[  3691][V][BLEServer.cpp:137] handleGATTServerEvent(): >> handleGATTServerEvent: ESP_GATTS_ADD_CHAR_DESCR_EVT
[  3692][V][BLECharacteristic.cpp:191] handleGATTServerEvent(): >> handleGATTServerEvent: ESP_GATTS_ADD_CHAR_DESCR_EVT
[  3693][V][BLEDescriptor.cpp:205] setHandle(): >> setHandle(0x2b): Setting descriptor handle to be 0x2b
[  3693][V][BLEDescriptor.cpp:207] setHandle(): << setHandle()
[  3693][V][FreeRTOS.cpp:136] give(): Semaphore giving: name: CreateEvt (0x3fcca710), owner: executeCreate
[  3694][V][BLECharacteristic.cpp:452] handleGATTServerEvent(): << handleGATTServerEvent
[  3694][V][BLEServer.cpp:275] handleGATTServerEvent(): << handleGATTServerEvent
[  3695][V][FreeRTOS.cpp:59] wait(): >> wait: Semaphore waiting: name: CreateEvt (0x3fcca710), owner: <N/A> for executeCreate
[  3695][V][FreeRTOS.cpp:73] wait(): << wait: Semaphore released: name: CreateEvt (0x3fcca710), owner: <N/A>
[  3696][V][BLEDescriptor.cpp:76] executeCreate(): << executeCreate
[  3696][V][BLECharacteristic.cpp:111] executeCreate(): << executeCreate
[  3697][V][FreeRTOS.cpp:179] take(): Semaphore taking: name: StartEvt (0x3fcc9d48), owner: <N/A> for start
[  3697][V][FreeRTOS.cpp:188] take(): Semaphore taken:  name: StartEvt (0x3fcc9d48), owner: start
[  3698][D][BLEDevice.cpp:96] gattServerEventHandler(): gattServerEventHandler [esp_gatt_if: 3] ... ESP_GATTS_START_EVT
[  3699][V][BLEUtils.cpp:1434] dumpGattServerEvent(): GATT ServerEvent: ESP_GATTS_START_EVT
[  3699][V][BLEUtils.cpp:1572] dumpGattServerEvent(): [status: ESP_GATT_OK, service_handle: 0x28]
[  3700][V][BLEServer.cpp:137] handleGATTServerEvent(): >> handleGATTServerEvent: ESP_GATTS_START_EVT
[  3700][V][FreeRTOS.cpp:136] give(): Semaphore giving: name: StartEvt (0x3fcc9d48), owner: start
[  3701][V][BLECharacteristic.cpp:191] handleGATTServerEvent(): >> handleGATTServerEvent: ESP_GATTS_START_EVT
[  3701][V][BLECharacteristic.cpp:452] handleGATTServerEvent(): << handleGATTServerEvent
[  3702][V][BLEServer.cpp:275] handleGATTServerEvent(): << handleGATTServerEvent
[  3702][V][FreeRTOS.cpp:59] wait(): >> wait: Semaphore waiting: name: StartEvt (0x3fcc9d48), owner: <N/A> for start
[  3703][V][FreeRTOS.cpp:73] wait(): << wait: Semaphore released: name: StartEvt (0x3fcc9d48), owner: <N/A>
[  3703][V][BLEService.cpp:153] start(): << start()
[  3704][I][BLEDevice.cpp:553] getAdvertising(): create advertising
[  3704][D][BLEDevice.cpp:555] getAdvertising(): get advertising
[  3704][V][BLEDevice.cpp:560] startAdvertising(): >> startAdvertising
[  3705][D][BLEDevice.cpp:555] getAdvertising(): get advertising
[  3705][V][BLEAdvertising.cpp:216] start(): >> start: customAdvData: 0, customScanResponseData: 0
[  3706][D][BLEAdvertising.cpp:233] start(): - advertising service: 0000180f-0000-1000-8000-00805f9b34fb
[  3707][V][BLEUtils.cpp:967] dumpGapEvent(): Received a GAP event: ESP_GAP_BLE_ADV_DATA_SET_COMPLETE_EVT
[  3708][V][BLEUtils.cpp:975] dumpGapEvent(): [status: 0]
[  3708][D][BLEDevice.cpp:555] getAdvertising(): get advertising
[  3709][D][BLEAdvertising.cpp:529] handleGAPEvent(): handleGAPEvent [event no: 0]
[  3710][V][BLEUtils.cpp:967] dumpGapEvent(): Received a GAP event: ESP_GAP_BLE_SCAN_RSP_DATA_SET_COMPLETE_EVT
[  3711][V][BLEUtils.cpp:1127] dumpGapEvent(): [status: 0]
[  3711][D][BLEDevice.cpp:555] getAdvertising(): get advertising
[  3712][D][BLEAdvertising.cpp:529] handleGAPEvent(): handleGAPEvent [event no: 1]
[  3714][V][BLEUtils.cpp:967] dumpGapEvent(): Received a GAP event: ESP_GAP_BLE_ADV_START_COMPLETE_EVT
[  3715][V][BLEUtils.cpp:995] dumpGapEvent(): [status: 0]
[  3715][D][BLEDevice.cpp:555] getAdvertising(): get advertising
[  3716][D][BLEAdvertising.cpp:529] handleGAPEvent(): handleGAPEvent [event no: 6]
[  3716][V][BLEAdvertising.cpp:284] start(): << start
[  3716][V][BLEDevice.cpp:562] startAdvertising(): << startAdvertising
Finished BLE init
=========== After Setup Start ============
INTERNAL Memory Info:
------------------------------------------
  Total Size        :   255556 B ( 249.6 KB)
  Free Bytes        :   163344 B ( 159.5 KB)
  Allocated Bytes   :    85800 B (  83.8 KB)
  Minimum Free Bytes:   163240 B ( 159.4 KB)
  Largest Free Block:   114676 B ( 112.0 KB)
------------------------------------------
GPIO Info:
------------------------------------------
  GPIO : BUS_TYPE[bus/unit][chan]
  --------------------------------------  
    18 : USB_DM
    19 : USB_DP
    20 : UART_RX[0]
    21 : UART_TX[0]
============ After Setup End =============
[  3717][V][ESP32_NOW.cpp:384] send(): ff:ff:ff:ff:ff:ff, data length 1
[  3718][V][ESP32_NOW.cpp:133] _esp_now_tx_cb(): ff:ff:ff:ff:ff:ff : SUCCESS
[  3719][I][ESP32_NOW.h:78] onSent(): Message transmission to peer ff:ff:ff:ff:ff:ff successful
[  4722][V][ESP32_NOW.cpp:384] send(): ff:ff:ff:ff:ff:ff, data length 1
[  4738][V][ESP32_NOW.cpp:133] _esp_now_tx_cb(): ff:ff:ff:ff:ff:ff : SUCCESS
[  4739][I][ESP32_NOW.h:78] onSent(): Message transmission to peer ff:ff:ff:ff:ff:ff successful
[  5823][V][ESP32_NOW.cpp:384] send(): ff:ff:ff:ff:ff:ff, data length 1
[  5838][V][ESP32_NOW.cpp:133] _esp_now_tx_cb(): ff:ff:ff:ff:ff:ff : SUCCESS
[  5839][I][ESP32_NOW.h:78] onSent(): Message transmission to peer ff:ff:ff:ff:ff:ff successful

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@Gabriele-Cano Gabriele-Cano added the Status: Awaiting triage Issue is waiting for triage label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Awaiting triage Issue is waiting for triage
Projects
None yet
Development

No branches or pull requests

2 participants