Open TAbdiukov opened 4 years ago
It would need some modification, as a lot of the code is expecting RFCOMM connections over Bluetooth Classic rather than a raw serial port.
On the server side (https://github.com/nccgroup/nOBEX/blob/master/nOBEX/server.py), the Bluetooth-specific implementations of start_service(), stop_service(), and serve() would need to be modified.
On the client side, you'd need to use set_socket to specify a "socket-like" object representing the serial port. You could make a wrapper for PySerial that implements the necessary socket methods.
There might be some other little Bluetooth-specific bits that have crept in in places too. Certainly Bluetooth-specific profiles are Bluetooth-specific.
As ridiculous as it is, is it possible to get the tool to work with Irda or serial?