Success with BLE External

This is the place to get technical support and discuss all things to do with MergEXT

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, monte

Success with BLE External

Postby joel.epsteinBUS31vi » Sun May 08, 2016 1:42 am

Hi all -

Just thought you might like to know that I've had success using the BLE External. I created a custom LiveCode application to connect to an Arduino with the Bluefruit nRF8001 module. Works seamlessly. If you'd like to see the results of my efforts including schematics and source codes, please visit:
http://www.projectiveart.com/gong

Peace.

Joel
joel.epsteinBUS31vi
 
Posts: 133
Joined: Thu Sep 13, 2012 10:25 pm

Re: Success with BLE External

Postby Dixie » Sun May 08, 2016 9:34 am

:-) Nice...
Dixie
Livecode Opensource Backer
Livecode Opensource Backer
 
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am
Location: Bordeaux, France

Re: Success with BLE External

Postby bn » Sun May 08, 2016 12:07 pm

Hi Joel,

very cool.

Kind regards
Bernd
bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
 
Posts: 3175
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: Success with BLE External

Postby joel.epsteinBUS31vi » Mon May 09, 2016 1:48 am

Thanks, Dixie.

And thanks, again, Bernd, for your optimizations. I've implemented the changes and uploaded the new version to my site. Much better now...

Joel
joel.epsteinBUS31vi
 
Posts: 133
Joined: Thu Sep 13, 2012 10:25 pm

Re: Success with BLE External

Postby peter-b » Mon May 09, 2016 2:24 pm

This is really awesome! Thank you for sharing it!
LiveCode Open Source Team — @PeterTBBrett — peter.brett@livecode.com
peter-b
 
Posts: 182
Joined: Thu Nov 20, 2014 2:14 pm
Location: LiveCode Ltd.

Re: Success with BLE External

Postby dr_mumps » Tue May 10, 2016 7:21 pm

I must be missing something fundamental ... Although I have an Indy license and have loaded the zip file of the "mergExt_Indy_Latest" when I run any of the example stacks using the mergExt externals, I get handling errors ... e.g,: card id 1002: execution error at line 6 (Handler: can't find handler) near "mergBLEInitialize", char 1. " if I remove the "try" in this stack's Gong.livecode "OpenCard" handler

So, I seem to be missing how to "enable" the mergExt externals. Please advise.
dr_mumps
 
Posts: 10
Joined: Wed Dec 24, 2014 7:00 pm

Re: Success with BLE External

Postby Klaus » Wed May 11, 2016 11:31 am

Hi dr_mumps (Ziegen-Peter? :D )

unfortunately the IDE chokes when it encounters "mobile only" commands!
So the TRY structure is really neccessary, or use an IF END IF:
Code: Select all
...
if the environment = "mobile" then
   mergBLEInitialize...
   ## more mobile only stuff here...
end if
...

Best

Klaus
Klaus
 
Posts: 9498
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany

Re: Success with BLE External

Postby monte » Tue May 17, 2016 4:03 am

Really great to see what you are doing! How do you feel about this being turned into a blog post for livecode.com?
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
 
Posts: 1558
Joined: Fri Jan 13, 2012 1:47 am

Re: Success with BLE External

Postby monte » Tue May 17, 2016 4:05 am

@dr_mumps Many of the mergExt externals are mobile only but mergBLE is cross compiled to OS X. It should be being loaded automatically in LC 8.0.0 so if it isn't can you please report that.
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
 
Posts: 1558
Joined: Fri Jan 13, 2012 1:47 am

Re: Success with BLE External

Postby joel.epsteinBUS31vi » Tue May 17, 2016 7:03 pm

monte wrote:How do you feel about this being turned into a blog post for livecode.com?

Thanks, Monte. I couldn't' have done the project without your externals and examples - and actually, I can't say that I've done much more than just combining the expertise of other folks. I don't know much about the blog post thing, but if you think it's appropriate, that's cool.

Peace.

Joel
joel.epsteinBUS31vi
 
Posts: 133
Joined: Thu Sep 13, 2012 10:25 pm

Re: Success with BLE External

Postby monte » Wed May 18, 2016 5:09 am

Hi Joel, I gather Heather either has or will be in touch. It's a great story Joel and it has potential to reach new audiences for LiveCode which is always welcome. Actually it's what I love about LiveCode that if you have the vision for something you can realise it without having to get deep into CoreBluetooth etc.
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
 
Posts: 1558
Joined: Fri Jan 13, 2012 1:47 am


Return to MergEXT

Who is online

Users browsing this forum: No registered users and 1 guest