Skip to content

Modifying the BLE access address during scan for NON CON BLE communications (case of remote controls for example) (IDFGH-15070) #15752

Open
@0x0fe

Description

@0x0fe

Is your feature request related to a problem?

Hello, i need to receve frames from a BLE SoC that i currently use in a custom remote control, this BLE SoC uses a NON CON mode with a custom coding, this coding is simply 24bits of the 32bit ACCESS ADDRESS (normally 0x8E89BED6) which i can set arbitrary.
The purpose of this is double : first this avoid the scanner (ESP32 in this case) to be flooded by the random standard BLE traffic and second this allows a somewhat non standard BLE communication, preventing the remote controls to be scanned and the receiver to be disturbed by the random BLE traffic.
In my SoC this is very straightforward, i have one API to set the arbitrary value that i chosed, up to 24-bit : u8 rf_set_24g_hackable_coded(u32 coded);
But on the ESP32 i cannot find such API.

Describe the solution you'd like.

Please let me know how to set the ACCESS ADDRESS manually in particular for the scanning, i am not really interested in changing the ACCESS ADDRESS when transmitting because in my case there is no transmit from the ESP32, however it may be useful for others, so it may be documented as well.

Describe alternatives you've considered.

well, there is no alternative, if i set the coding to 0 on my BLE SoC which transmits, no problem, i can receive my frames on the ESP32, i assume because the ACCESS ADDRESS stays to its normal value 0x8E89BED6, but if i set the coding to anything else than 0, then the ESP32 cannot receive a single of these frames, which is the intended behaviour for normal BLE operation, but i really wish i could change this.

Additional context.

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions