Success with BLE External
Moderators: FourthWorld, heatherlaine, Klaus, robinmiller, monte
-
- Posts: 135
- Joined: Thu Sep 13, 2012 10:25 pm
Success with BLE External
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
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
-
- Livecode Opensource Backer
- Posts: 1336
- Joined: Sun Jul 12, 2009 10:53 am
- Location: Bordeaux, France
Re: Success with BLE External
Nice...
-
- VIP Livecode Opensource Backer
- Posts: 4013
- Joined: Sun Jan 07, 2007 9:12 pm
- Location: Bochum, Germany
Re: Success with BLE External
Hi Joel,
very cool.
Kind regards
Bernd
very cool.
Kind regards
Bernd
-
- Posts: 135
- Joined: Thu Sep 13, 2012 10:25 pm
Re: Success with BLE External
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
And thanks, again, Bernd, for your optimizations. I've implemented the changes and uploaded the new version to my site. Much better now...
Joel
Re: Success with BLE External
This is really awesome! Thank you for sharing it!
LiveCode Open Source Team — @PeterTBBrett — peter.brett@livecode.com
Re: Success with BLE External
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.
So, I seem to be missing how to "enable" the mergExt externals. Please advise.
Re: Success with BLE External
Hi dr_mumps (Ziegen-Peter? )
unfortunately the IDE chokes when it encounters "mobile only" commands!
So the TRY structure is really neccessary, or use an IF END IF:
Best
Klaus
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
...
Klaus
Re: Success with BLE External
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/
Re: Success with BLE External
@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/
-
- Posts: 135
- Joined: Thu Sep 13, 2012 10:25 pm
Re: Success with BLE External
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.monte wrote:How do you feel about this being turned into a blog post for livecode.com?
Peace.
Joel
Re: Success with BLE External
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/