General.2018 at outlook.com
Fri Jan 22 09:42:48 EST 2021
I think the issue is the need for “Thread Safe” and / or “Concurrent Buffering” for write/read function with MergExt BLE.
Can anyone give guidance on application of the above using Livecode ?
> On 14 Jan 2021, at 15:09, General 2018 via use-livecode <use-livecode at lists.runrev.com> wrote:
> Hi ,
> Have an application for IOS and started to use MergExt BLE.
> This is working great with livecode on finding devices , connecting and writing.
> I have an issue with reading , it works but missing data randomly on read.
> The BLE device is using Notify.
> In “didupatevalueforcharactistic“ values are return after writing a request. But sometimes half the response or other random results.
> The application needs to send a few commands each will reply with unique data.
> So :-
> Write 123
> Read result and action
> Write 456
> Read result and action and so on...
> I am sure this is no fault of MergBLE it just cannot find livecode doc on how to structure the data flow using MergBLE commands and Messages.
> Any help would be appreciated.
> Regards Camm
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode