esp-rs / esp32-hal

A hardware abstraction layer for the esp32 written in Rust.
Apache License 2.0
193 stars 28 forks source link

esp32 c3 coded phy double messages #73

Closed iamcalledusman closed 2 years ago

iamcalledusman commented 2 years ago

Hi All!

I am using multi-adv example ( esp-idf ) for esp32c3 . In which i am sending the coded phy messages and receiving from ble5-_security_client example.

Tx Side i am sending the following data using coded phy . " ESP_MULTI_ADV_CODED"

and on Rx side i am receiving

I (8315684) SEC_GATTC_DEMO: extend adv, adv type 0x2 data len rssi -51 I (8315694) SEC_GATTC_DEMO: extend adv, adv type 0xa data len ESP_MULTI_ADV_CODED rssi -51

My question is that I should receive the single message which is

(8315694) SEC_GATTC_DEMO: extend adv, adv type 0xa data len ESP_MULTI_ADV_CODED rssi -51

why I am receiving this packet as well.

I (8315684) SEC_GATTC_DEMO: extend adv, adv type 0x2

Thanks in Advance .

MabezDev commented 2 years ago

Is this issue related to Rust?

iamcalledusman commented 2 years ago

Thank you for the response!

The issue is related to the esp32c3, embedded C. Sorry I don't know about Rust.