Bluetooth promiscuity - mergBLE confusion

2020-02-03 Thread Ben Rubinstein via use-livecode
If I execute `mergBLEScanForPeripheralsWithServices` with no parameters, I then get a shed-load of `mergBLEDidDiscoverPeripheral` messages, as expected (and as warned by the documentation for the service UUIDs parameter: If empty all discovered peripherals are returned regardless of their

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
-livecode < use-livecode@lists.runrev.com> wrote: > 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

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 "mergBLEConnectPerip

Re: mergBLE?

2017-12-10 Thread Monte Goulding via use-livecode
The mac side could certainly be done with mergBLE. The iOS side would require a Call Directory Extension using CallKit and CoreBluetooth then add that into the LC app when building. I think you would be breaking new ground doing that though so it would be worthwhile discussing with LC Business

mergBLE?

2017-12-09 Thread Mats Åström via use-livecode
Hi all, for a client I would like to build an OSX app that would use the phone number of an incoming call on an iPhone to present the documents associated with the client calling. I then need to connect to the iPhone (maybe using mergBLE) and obtain the phone number of an incoming call