Active Topics

 



Notices


Reply
Thread Tools
Posts: 189 | Thanked: 143 times | Joined on Nov 2009
#191
Isn't the new version backwards compatible?
 
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#192
Originally Posted by MaemoUser View Post
Isn't the new version backwards compatible?
No, it is not; if you open the new version in the old firmware, the daemon will also crash on startup, as does the old version if you open it in the new firmware.

By the way, I've been working on some UI for uploading/unloading apps from the Pebble:

Apart from this, I've added support for the getWatchToken / getAccountToken JavaScript functions. The first one will return a (MD5) hash of the watch serial number; the second one will return a random number that is persisted between reboots. This means setpebble.com apps should now work and configure properly. I'd still like to add some "per-app" randomly generated salt instead of using the app UUID in order to actually make the hash secure.

Here is the updated testing package.

You still need to manually unpack .pbw files in ~/.local/share/pebble/apps for everything to work. The plan is to eventually register a file association so that downloading .pbw files from the browser will automatically unpack them there.

Smoku, did you get your Jolla back? I would like to send all these changes back, if you are OK with that. Would you prefer small patches, or is a "big" pull request OK?

Apart from the UI + bank/app manager changes, I've done some design ones, such as entirely changing the D-Bus interface (D-Bus naming conventions + lots of new methods), using autogenerated d-bus interfaces/adaptors (still on top of the existing PebbledProxy/Interfaces), rewrote the WatchConnector's read loop (so that it handles fragmented packets), moving the music functionality out into musicmanager.cpp (so that it always uses the last MPRIS service which sent a signal instead of listening for name registrations), and detecting ICU via pkgconfig.
 

The Following 9 Users Say Thank You to javispedro For This Useful Post:
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#193
Originally Posted by sconf View Post
Can you elaborate what you mean by above?
I am not sure if Pebble can recover from a completely botched firmware upgrade. The watch supposedly stores two firmware versions, so it should be able to roll back to the second one, but I'm not sure how much damage can you do to it from the Bluetooth protocol.
 

The Following User Says Thank You to javispedro For This Useful Post:
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#194
Originally Posted by javispedro View Post
Smoku, did you get your Jolla back? I would like to send all these changes back, if you are OK with that. Would you prefer small patches, or is a "big" pull request OK?
It turned out the damage is not that big that I thaught. The screen does not degrade anymore and is in usable state. And the fall broke the speaker, so I have to rely on Pebble to get the calls. ;-)
So, it generally works...

You can create one big pull request. I can see that you read my intentions for the watch page exactly as I thought it of.

Please rebase on the current master though, as yesterday I removed Log4Qt dependency, so the logging is a bit different now.

But for historical reasons it would be better if you would create a separate commit for every functional change - like you described. It does not even have to be atomic - changes can be interrelated. But it's always better to see a separate reasoning in 'git blame' than one big "Added support for JS apps" line.
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 

The Following 2 Users Say Thank You to smoku For This Useful Post:
Posts: 189 | Thanked: 143 times | Joined on Nov 2009
#195
Just installed the upgraded version. I like the watch page with the applications very much .
 

The Following User Says Thank You to MaemoUser For This Useful Post:
Posts: 193 | Thanked: 348 times | Joined on Dec 2009
#196
The new version is awesome so far!.

Just a silly question, how do I get the weather to work? Do I need to use a specific watchface or app on either the pebble or my jolla?
 
Posts: 189 | Thanked: 143 times | Joined on Nov 2009
#197
Just follow the instructions of javispedro. Download the weather app from pebble store of your choice. Extract it and put it in the right directories and install it on the watch.
 
Posts: 31 | Thanked: 12 times | Joined on Sep 2012
#198
Originally Posted by MaemoUser View Post
Then you need to install the version on github. Otherwise it won't work. Or the version of javispedro this works, too.

how to get the github version? mind to show me how with step by step? thanks
 
Posts: 189 | Thanked: 143 times | Joined on Nov 2009
#199
You need to download this version:
http://smurfy.de/files/jolla/pebble-..._2.armv7hl.rpm

Then stop the running pebbled and uninstall it. Afterwards via developer mode and "su-devel" run rpm -ivh pebble-0.12-1-update9_2.armv7hl.rpm
 
Posts: 193 | Thanked: 348 times | Joined on Dec 2009
#200
sorry Maemouser, what command do I use to stop pebbled and uninstall it?. Whenever I try by uninstalling via warehouse, I get amissing dependency problem when installing the new package....
 
Reply

Tags
pebble, pebble time, pebbled


 
Forum Jump


All times are GMT. The time now is 13:33.