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 pPeripheral" ...  which has 
a corresponding "fail" message: "mergBLEDidFailToConnectPeripheral pPeripheral, 
pError " ... or can I use this command/message combo in some way to look for a 
BLE device and if not present (or if NO BLE device is present / active), 
timeout and fail?  I need my LC code to be able to detect whether a BLE device 
is present and if not "move on" ... right now, my modified code, taken from the 
example mergBLE script, just waits forever for a peripheral which may never 
appear.

 

Thanks in advance

Doug

 

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to