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.
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.