Search found 14 matches

by dougr
Sun Apr 08, 2018 9:33 pm
Forum: Talking LiveCode
Topic: background processing and mergBLE
Replies: 16
Views: 11042

Re: background processing and mergBLE

Thanks to all... the "wait... for messages" within the field examination command ... I was using it outside of this call ... THAT did the trick... the ACK now appears in the relevant field within the allotted time window and all's well with the world ... FOR THIS ISSUE. So please let me, then, conti...
by dougr
Sun Apr 08, 2018 9:21 pm
Forum: Engine Contributors
Topic: disconnect and re-connect to MergBLE
Replies: 8
Views: 14091

Re: disconnect and re-connect to MergBLE

Yes.. I did this in several places ... to no effect. The "checkFrom" command is called each time I write to the BLE device from iOS on checkFrom put 20 into x repeat until ((field "fromAnycaster" of card "anycaster_card1" contains "ACK") or (x < 1)) wait for 100 milliseconds subtract 1 from x end re...
by dougr
Sun Apr 08, 2018 1:22 am
Forum: Talking LiveCode
Topic: background processing and mergBLE
Replies: 16
Views: 11042

Re: background processing and mergBLE

I've sent to message off to Monte begging for help (I ain't proud!). In the meantime, I went through every posting you extracted for me: " ... Or another possibility is to go to the use-list where a lot of advanced Livecode developers are. (You have to apply to gain access to the use-list) http://li...
by dougr
Sat Apr 07, 2018 11:55 pm
Forum: Talking LiveCode
Topic: background processing and mergBLE
Replies: 16
Views: 11042

Re: background processing and mergBLE

That's HUGE assist, Bernd!! I will follow your advice. I feel like I'm on the verge of success with this code if I can only get a bit more info about how mergBLE was implemented and how it interacts with LC I will reply once I've managed to find more in info... as I'm sure this will be valuable to o...
by dougr
Sat Apr 07, 2018 11:48 pm
Forum: Talking LiveCode
Topic: background processing and mergBLE
Replies: 16
Views: 11042

Re: background processing and mergBLE

Thanks to all (so far .. keep 'em coming!) for the replies... first to bogs and bmilby ... I kept the two threads separate because although they both relate to mergBLE, they really are two separate topics and issues. Additionally, the first thread was getting so long, I didn't want readers to nod of...
by dougr
Sat Apr 07, 2018 11:09 pm
Forum: Engine Contributors
Topic: disconnect and re-connect to MergBLE
Replies: 8
Views: 14091

Re: disconnect and re-connect to MergBLE

The code/stack I am referring to in this thread is the mergBLE example.. which can be found (on a Mac Sierra LiveCode Business 8.1.9 installation) @ /Applications/LiveCode Business 8.1.9.app/Contents/Tools/Ext/mergBLE-1.1.22/mergBLE.livecode I renamed the example card from "card id 1002" to "BLE_Car...
by dougr
Sat Apr 07, 2018 12:04 am
Forum: iOS Deployment
Topic: Simulator fails in LC 9 with 11.2, while 11.1 in Xcode 9.2
Replies: 11
Views: 9088

Re: Simulator fails in LC 9 with 11.2, while 11.1 in Xcode 9.2

One thing I've learned in my experience with Apple environments is that all of the versions of the various components must "match". For example, Xcode 9.2 is NOT able to mount an iOS iPad with iOS 11.3... it requires Xcode 9.3. Ditto for other incompatibilities with Sierra vs High Sierra, etc. You s...
by dougr
Fri Apr 06, 2018 9:31 pm
Forum: Talking LiveCode
Topic: background processing and mergBLE
Replies: 16
Views: 11042

background processing and mergBLE

Since BLE is not an ACK/NAK protocol, I need to "simulate" such an interface. In principle, it is quite easy and straightforward. For every time you write out from Livecode iOS to the receiving BLE device (an Arduino Adafruit Bluefruit module, in this case) via mergBLE, the Arduino "sees" the incomi...
by dougr
Fri Apr 06, 2018 9:29 pm
Forum: Talking LiveCode
Topic: background processing and mergBLE
Replies: 16
Views: 11042

background processing and mergBLE

Since BLE is not an ACK/NAK protocol, I need to "simulate" such an interface. In principle, it is quite easy and straightforward. For every time you write out from Livecode iOS to the receiving BLE device (an Arduino Adafruit Bluefruit module, in this case) via mergBLE, the Arduino "sees" the incomi...
by dougr
Fri Apr 06, 2018 8:38 pm
Forum: Engine Contributors
Topic: disconnect and re-connect to MergBLE
Replies: 8
Views: 14091

Re: disconnect and re-connect to MergBLE

Thanks for the reply... I certainly *do* hope others will chime in with DETAILS of their mergBLE experiences and projects. I *really* didn't want to become a BLE expert in order to use BLE... otherwise I'd have gone the whole Xcode/Xamarin route. I enjoy programming in Livecode and have been doing s...
by dougr
Thu Apr 05, 2018 7:15 pm
Forum: Engine Contributors
Topic: disconnect and re-connect to MergBLE
Replies: 8
Views: 14091

disconnect and re-connect to MergBLE

I've managed to get the LC mergBLE example to work in my app with considerable struggles... don't get me started with the documentation (sorry, Monte) ... but doc's like: "mergBLEStopScanningForPeripherals" summary is " ... Stop the scan begun by mergBLEScanForPeripheralsWithServices ... " REALLY???...
by dougr
Tue Nov 26, 2013 6:57 am
Forum: Talking LiveCode
Topic: scrollbar reference of a scrolling field
Replies: 7
Views: 5156

Re: scrollbar reference of a scrolling field

Thanks again for the responses and information. Klaus There is too much code to provide... that's why I tried a very simply test only to find that the scroll wheel works perfectly on a pristine stack, card and scrolling field. So I figured it must be something I'm doing (or not doing), so I was look...
by dougr
Sat Nov 23, 2013 4:50 pm
Forum: Talking LiveCode
Topic: scrollbar reference of a scrolling field
Replies: 7
Views: 5156

Re: scrollbar reference of a scrolling field

Thank you both and thanks for the fast response. I understand the differentiation, I was hoping that I could have the "rich" set of properties and commands available to a "true" scrollbar object with the (what do you call it, if not a scrollbar) thingie of a field. I must have set or unset some prop...
by dougr
Fri Nov 22, 2013 10:02 pm
Forum: Talking LiveCode
Topic: scrollbar reference of a scrolling field
Replies: 7
Views: 5156

scrollbar reference of a scrolling field

How do you specify the "scrollbar" of a scrolling field? "thumbpos", "startvalue", "endvalue" and a myriad of other commands and property require a "scrollbar" reference/handle... but I cannot find such a reference at all. I get the vScroll property to work because it allows a reference to the field...

Go to advanced search