Re: mergBLE usage

2018-04-23 Thread Douglas Ruisaard via use-livecode
Actually... I didn't make that association... so thanks for your help in my previous exploits in mergBLE ... *AND*, of course (as you probably guessed), your offering this time was spot on!.. I'm still getting a handle on how LC handles things like background processing. I'm used to having

Re: mergBLE usage

2018-04-22 Thread Brian Milby via use-livecode
Ah... I didn't connect the "Doug" aka dr_mumps with your full name. (And you can probably guess that I'm milbybw). That's what I was saying, you need to write your own timeout. local sTimeoutCounter on openCard -- do your other stuff put 20 into sTimeoutCounter send "timeoutCheck" to me

Re: mergBLE usage

2018-04-22 Thread Brian Milby via use-livecode
I’m guessing you have a card that when you open it will initiate a look for available connections. You have the appropriate handlers in place that work if one is found. Now you want the card to not wait forever though? If that is the case, there are a couple threads on the forum that may help:

mergBLE usage

2018-04-22 Thread Douglas Ruisaard via use-livecode
Monte... or anyone else brave enough to contribute :-) (no colored emoji, sorry) ... Is there a way to time out the attempted connection to a BLE device using the mergBLE functions. I can't seem to find a command which doesn't need a peripheral UUID ... like "mergBLEConnectPeripheral