Page 1 of 1
Bluetooth synchronization with logic
Posted: July 18th, 2020, 5:59 pm
by Boni
Hello every body !!
I have a problem with Bluetooth Synchronization with Logic (CSPro 7.4), I have written a logic to synchronize files between two Android devices, the logic is correct. But when I try to synchronize, whether it was with "Put" or "Get", I get a error message of server side. Client side seems to have no problem.
Re: Bluetooth synchronization with logic
Posted: July 18th, 2020, 9:23 pm
by josh
As with most sync errors, please post the sync.log file so that we can see the error details. In this case, post the log from the both devices.
Re: Bluetooth synchronization with logic
Posted: July 19th, 2020, 5:34 pm
by Boni
Dear Josh, here are the two sync.log files
Thanks.
Re: Bluetooth synchronization with logic
Posted: July 21st, 2020, 8:24 am
by josh
Unfortunately I don't see any helpful information in the sync.log files this time. Would it be possible to send us your app so we can try to reproduce the problem here?
Re: Bluetooth synchronization with logic
Posted: July 21st, 2020, 3:06 pm
by Boni
Okay I will send you m'y project.
Thanks!
Re: Bluetooth synchronization with logic
Posted: July 22nd, 2020, 11:57 am
by Boni
Boni wrote: July 21st, 2020, 3:06 pm
Okay I will send you m'y project.
Thanks!
I just sent my project, but I receive this notification. I now hope for the moderator approval
Re: Bluetooth synchronization with logic
Posted: July 22nd, 2020, 12:43 pm
by josh
If the attachment is large you may need to put it in Dropbox or Google Drive and send the link.
Re: Bluetooth synchronization with logic
Posted: July 22nd, 2020, 3:01 pm
by Boni
Sorry I didn't pay attention, my attachment was very large (over 11MB) I have csdbe files hanging in the folder, I removed some, but the compressed file still remains heavy, I have the impression that my compression software cannot compress the csdbe files.
I sent the dropbox link, I hope it will work this time.
Thanks.
Re: Bluetooth synchronization with logic
Posted: July 22nd, 2020, 4:50 pm
by josh
I got the application. The problem is that your logic does not call syncdisconnect() after the calls to syncconnect() and syncfile(). When you are done transferring files and data you must call syncdisconnect() otherwise the server device is still waiting for more data. After waiting 10 seconds without receiving any requests the server will show that error. The error message is not very helpful. We will replace it with a better one in the next release.
Re: Bluetooth synchronization with logic
Posted: July 22nd, 2020, 5:04 pm
by Boni
I understood my error, thank you dear Josh !!!