My btferret Bluetooth library runs on a PiZero 2W and Pi5. There are two options - Classic client/server or LE client/server. If the data size is small and sent at intermittent intervals, LE is the best option because it is quicker and easier to connect. The Pi5 client can read the data, or the PiZero server can be programmed to send the data as notiifications at set intervals. Start by running btferret on both devices to test Classic and LE connections, then custom code can be written based on the sample code files le_client/le_server/classic_client/classic_server which have C and Python versions.
https://github.com/petzval/btferret
https://github.com/petzval/btferret
Statistics: Posted by petzval — Tue Mar 04, 2025 3:27 pm