Skip to content

Update PGPEMU to be compatible with v4.0.1 to support multiple devices. #8

@disable-0001

Description

@disable-0001

I found that the project with a simple change can make the board work with multiple phones at the same time.

This means inside pgpemu.c adding the advertising again esp_ble_gap_start_advertising(&adv_params);
after the end of the onconnect callback.

This feature works successfully on v3.3 of esp-idf, the issue is that the Bluetooth with multiple devices is bugged, so an update needs to be performed.

The issue I found is that I cannot port the project to the new version of esp-idf, v4.0.1.
There are few changes that need to be done, changing hwcrypto to mbedtls, change few functions of esp_aes_**** to mbedtls_aes_****, and changing the CMakeLists.txt syntax to the one compatible with v4.0.1.

Still, doing these changes as a newbie with esp-idf makes me impossible fix it, I get stucked on the last crashes. You can find the help I got on the github issues section of esp-idf:
espressif/esp-idf#5365

Also, congrats for the project and your job.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions