Задача: с Android смартфона управлять звонками и SMS кнопочного телефона.
Кнопочный телефон с Bluetooth можно подключить к автомобильной магнитоле через протоколы Bluetooth HFP, MAP. Нужно исследовать возможность подключения кнопочного телефона по этому же протоколу, но к смартфону на Android.
Т.е. нужно сделать Proof of concept - разобраться возможно это или нет.
Ресурсы на эту тему:
- https://stackoverflow.com/questions/24702133/connect-to-bluetooth-device-via-hands-free-profile-programatically-on-android
- https://stackoverflow.com/questions/23989195/how-to-connect-to-a-remote-phone-using-hfp-bluetooth-programmatically-in-android
- https://stackoverflow.com/questions/16647300/how-to-use-android-device-as-a-bluetooth-headset-for-another-mobile-phone
- http://nohands.sourceforge.net/doxy/index.html
- https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/bluetooth/esp_hf_client.html
- https://github.com/TheWeirdDev/Bluetooth_Headset_Battery_Level
- https://github.com/littlecraft/phony
- https://stackoverflow.com/questions/21104611/how-to-modify-androids-bluetooth-stack-to-enable-a2dp-sink
- https://github.com/pali/hsphfpd-prototype
- https://developer.android.com/guide/topics/connectivity/telecom/selfManaged
- https://developer.android.com/reference/android/telecom/ConnectionService