It is currently Wed Jul 06, 2011 11:04 pm

All times are UTC - 8 hours




 Page 1 of 1 [ 3 posts ] 
Author Message
 Post subject: Using SDK on Mac "-M option doesn't appear valid" - SOLVED!
PostPosted: Sat Feb 19, 2011 1:09 pm 

Joined: Sat Feb 19, 2011 9:14 am
Posts: 7
I am attempting to load an app just as described at http://www.getinpulse.com/guide/mac/

server:pulse_sdk Mike$ python compileandload.py -m 00:50:c2:79:ec:7f
use correct syntax
Usage: compileandload.py [options]
compiled binary will be stored in /build as pulse_app.bin
compileandload.py: error: no such option: -m

So I took a look at the python script (compileandload.py) and found "-m" clearly does not doesn't exist.


So I then just wanted to attempt to connect to the device and upload a resource image as described http://www.getinpulse.com/guide/watchface/

server:pulse_sdk Mike$ python compileandload.py -r -f ./resources/inpulse_resources.bin –d 00:50:c2:79:ec:7f
About to load resources:
./resources/inpulse_resources.bin
trying to connect to:
None
invalid, missing, or unavailable bd addr


Under System Profiler I have the following showing under Bluetooth:

Devices (Paired, Favorites, etc):
inPulse5130:
Name: inPulse5130
Address: 00-50-c2-79-ec-7f
Type: Unknown
Services:
Paired: Yes
Favorite: Yes
Connected: No
Manufacturer: Cambridge Silicon Radio ($3, $c5c)


Any hints would be greatly appreciated. Thank you!


Last edited by mikeatroundhere on Sat Feb 19, 2011 1:16 pm, edited 1 time in total.

Offline
 Profile  
 
 Post subject: Re: Using SDK on Mac - "-M option doesn't appear valid"
PostPosted: Sat Feb 19, 2011 1:16 pm 

Joined: Sat Feb 19, 2011 9:14 am
Posts: 7
python compileandload.py -d 00:50:c2:79:ec:7f did the trick!

Confirmed that this is functioning on a Late 2005 PowerMac Dual Core G5 running Mac OS 10.5.8 Server.

I'm glad I could run it on this host since I like using it for this type of stuff.

I've now got code executing on the InPulse!!! Very neat! Time to "play"!


Offline
 Profile  
 
 Post subject: Re: Using SDK on Mac "-M option doesn't appear valid" - SOLV
PostPosted: Sun Feb 20, 2011 12:16 am 
User avatar

Joined: Mon Feb 14, 2011 7:07 pm
Posts: 172
Thanks for reporting the bug, Mike. Awesome that you got code loaded! We've got a new version of the SDK coming down the pipes, should eliminate the error.



_________________
---

Lead designer of inPulse
Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 3 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: