MergBLE on OS X Sierra 10.12.5
Moderators: FourthWorld, heatherlaine, Klaus, robinmiller, monte
MergBLE on OS X Sierra 10.12.5
Hello. Does MergBLE work on OS X Sierra? If I try to initialise it, it just throws an error that it cannot find the command. I am using business edition Livecode. I have tried copying the bundle to "My Livecode" and "My LiveCode/Extentions" but still no joy. I found a MergAV example on the forum and it seems to run OK.
Re: MergBLE on OS X Sierra 10.12.5
Hi @n.allan
Could you provide the following:
- which version of LiveCode are you using?
- which version of mergBLE are you using?
In any of the newer versions of LiveCode you should not need to do any installation of mergBLE.
Cheers
Monte
Could you provide the following:
- which version of LiveCode are you using?
- which version of mergBLE are you using?
In any of the newer versions of LiveCode you should not need to do any installation of mergBLE.
Cheers
Monte
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
Re: MergBLE on OS X Sierra 10.12.5
I tried it with 9.0.0_dp_7 business. I just downloaded mergext from the store a couple days ago it is version it says 1.1.15
Re: MergBLE on OS X Sierra 10.12.5
Thanks can you post your code please?
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
Re: MergBLE on OS X Sierra 10.12.5
Code: Select all
on startBluetooth
mergBLEInitialize
scanBluetooth
end startBluetooth
on scanBluetooth
mergBLEScanForPeripheralsWithServices
end scanBluetooth
on mergBLEDidDiscoverPeripheral pUUID, pName, pRSSI, pTX, pServiceUUIDS, pManufacturerData
put pUUID, pName, pRSSI, pTX, pServiceUUIDS, pManufacturerData -- PUT DATA TO MESSAGE BOX
end mergBLEDidDiscoverPeripheral
on stopBluetooth
mergBLEStopScanningForPeripherals
end stopBluetooth
Re: MergBLE on OS X Sierra 10.12.5
Hmm.... and you are getting an error thrown on ?
Code: Select all
mergBLEInitialize
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
Re: MergBLE on OS X Sierra 10.12.5
Sorry initially when I wrote the post, I had spelt "initialize" incorrectly (debatable), which caused lc to throw an error. But as you can see it has been fixed in the code. Now there are no errors thrown but I know that there are at least 3 BLE devices visible so I would expect a message box to pop up with some of the devices found.
Am I incorrect in that assumption? How do I know that mergBLE is actually working?
Am I incorrect in that assumption? How do I know that mergBLE is actually working?
Re: MergBLE on OS X Sierra 10.12.5
Hi @n.allan
Do you get different results with the demo stack? You might try using the demo stack on multiple devices/machines.
Cheers
Monte
Do you get different results with the demo stack? You might try using the demo stack on multiple devices/machines.
Cheers
Monte
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/