I've tried the setup below with many different boards. For some reason it fails on the Orange PI 3 LTS. If you fix this error, I will port it to Armbian like I did with your previous fix.
Image: Orangepi3-lts_3.0.6_debian_bullseye_server_linux5.16.17.img (I've also tried orange pi buster, ubuntu, etc.)
I've tried the setup below with many different boards. For some reason it fails on the Orange PI 3 LTS. If you fix this error, I will port it to Armbian like I did with your previous fix.
Image: Orangepi3-lts_3.0.6_debian_bullseye_server_linux5.16.17.img (I've also tried orange pi buster, ubuntu, etc.)
Setup from clean image
Paste content:
Paste content:
Reproduce the error
In one terminal, start bt-agent:
In another terminal, start bt-network:
In a 3rd terminal, set properties and tail log:
Now connect to Bluetooth with a mobile phone. It prints this error on the orange PI:
It breaks here, which seems like some sort of network adapter index error? https://github.com/bluez/bluez/blob/401643e5c5528a6d0c372f82b1059fc0e02aed8e/profiles/network/bnep.c#L450
Expected result: the mobile phone can open http://10.10.0.5 and see the nginx page.
If you get sap-server errors you can ignore them. Sap can be disabled and doesn't affect the problem reported here.