Xperia 10 II Sailfish
Debian Bulsseye up to date
uname -v
#1 SMP Debian 5.10.158-2 (2022-12-13)
I now remember what I did exactly to debug obex:
/usr/libexec/bluetooth/obexd --debug -n -a -l -r Downloads
then sending one file from the phone gives following
obexd[2971922]: obexd/src/obex.c:recv_data() name=20230106_173705.jpg type=(null) file=0x8 size=666
obexd[2971922]: obexd/src/obex.c:driver_write() 666 written
obexd[2971922]: obexd/src/obex.c:recv_data() name=20230106_173705.jpg type=(null) file=0x8 size=666
obexd[2971922]: obexd/src/obex.c:driver_write() 666 written
obexd[2971922]: obexd/src/obex.c:recv_data() name=20230106_173705.jpg type=(null) file=0x8 size=666
obexd[2971922]: obexd/src/obex.c:driver_write() 666 written
obexd[2971922]: obexd/src/obex.c:recv_data() name=20230106_173705.jpg type=(null) file=0x8 size=666
obexd[2971922]: obexd/src/obex.c:driver_write() 666 written
obexd[2971922]: obexd/src/obex.c:recv_data() name=20230106_173705.jpg type=(null) file=0x8 size=207
obexd[2971922]: obexd/src/obex.c:driver_write() 207 written
obexd[2971922]: obexd/src/obex.c:transfer_complete()
obexd[2971922]: obexd/src/obex.c:cmd_disconnect() session 0x561de27496d0
obexd[2971922]: DISCONNECT(0x1), (0xff)
obexd[2971922]: DISCONNECT(0x1), Success(0x20)
obexd[2971922]: disconnected: Transport got disconnected
obexd[2971922]: obexd/src/obex.c:obex_session_destroy()
in contrast sending one from the N9, which booted today gives following
obexd[2972806]: obexd/src/obex.c:recv_data() name=19090016.jpg type=(null) file=0x8 size=32567
obexd[2972806]: obexd/src/obex.c:driver_write() 32567 written
obexd[2972806]: obexd/src/obex.c:recv_data() name=19090016.jpg type=(null) file=0x8 size=32567
obexd[2972806]: obexd/src/obex.c:driver_write() 32567 written
obexd[2972806]: obexd/src/obex.c:recv_data() name=19090016.jpg type=(null) file=0x8 size=32567
obexd[2972806]: obexd/src/obex.c:driver_write() 32567 written
obexd[2972806]: obexd/src/obex.c:recv_data() name=19090016.jpg type=(null) file=0x8 size=28886
obexd[2972806]: obexd/src/obex.c:driver_write() 28886 written
obexd[2972806]: obexd/src/obex.c:transfer_complete()
obexd[2972806]: obexd/src/obex.c:cmd_disconnect() session 0x55ede218be30
obexd[2972806]: DISCONNECT(0x1), <unknown>(0xff)
obexd[2972806]: DISCONNECT(0x1), Success(0x20)
obexd[2972806]: disconnected: Transport got disconnected
obexd[2972806]: obexd/src/obex.c:obex_session_destroy()
so my guess is that the sending part is responsible for the packet size, thus there must be something in the sending side.