Dear All,
My embedded device run bluez and I use PC to send file to it.
When the file PC send is large (more than 20M), PC prompts "Send object fail" at last. In fact the embedded device receive the file successfully too.
If PC send small size file ,it does not meet the problem , PC prompts "send object ok",
Could anyone help me to solve it?
Thanks in advance!
below is the detailed process information
# ./obexftpd -b
Waiting for connection...
Incoming request 00
connect_server()
obex_event() OBEX_EV_REQDONE: obex_rsp=00
obex_event() OBEX_EV_REQCHECK: mode=01, obex_cmd=02, obex_rsp=00
put file name: web.rm
HEADER_LENGTH = 20927543
Incoming request 02
Received PUT command
hv.bs=0x4012d008, hlen=20927543
Filename = web.rm
Wrote ./web.rm (20927543 bytes)
<<<put_done
failed: 2
obexftpd reset
Waiting for connection...
Best regareds,
Leiyu