Not tried either for a while, but wireshark on windows can log USB communication (usbpcap).
On Android, you can get some bluetooth communication data using the "Bluetooth HCI snoop log" option if you have developer mode enabled. That let me see commands sent to a BLE device, but I can't remember if it included replies.