Beta releases for testing, before going to the mainline
The built-in apps on watches are relying on information stored in BlobDB. That information should be managed from the corresponding phone-side counterparts. This apps-beta release implements those phone-side blob managers.
Note: Only service-side is implemented, GUI application is not yet hooked to the service - it still has stub dialogs. To manage new features you need to use DBus calls:
Set Watch Contacts
gdbus call -e -d org.rockwork -o /org/rockwork/B0_B4_48_00_00_00 -m org.rockwork.Pebble.setFavoriteContacts * '{"Wife":<["+420987654321","+420123456789"]>,"Myself":<["+420555322223"]>}'
This call is the same as before, the only thing which changed - is new service (message key) and the way to retrieve messages. Since new keys are not known to platform integration - they are not shown in default cannedResponses DBus call, instead should be requested explicitly by key (or anykey).
gdbus call -e -d org.rockwork -o /org/rockwork/B0_B4_48_00_00_00 -m org.rockwork.Pebble.cannedResponses ({'x-nemo.messaging.im': <['Aye', 'Nay', 'On my way']>, 'x-nemo.messaging.sms': <['wut?', 'Ok']>},) gdbus call -e -d org.rockwork -o /org/rockwork/B0_B4_48_00_00_00 -m org.rockwork.Pebble.getCannedResponses '[]' ({'com.pebble.sendText': <['Where are you?', 'Are you coming?']>, 'x-nemo.messaging.im': <['Aye', 'Nay', 'On my way']>, 'x-nemo.messaging.sms': <['wut?', 'Ok']>},) call -e -d org.rockwork -o /org/rockwork/B0_B4_48_00_00_00 -m org.rockwork.Pebble.setCannedResponses '["com.pebble.sendText":<["Where are you?", "I'm here", "Call me back please"]>}'
Pebble uses The Weather Channel as weather provider. To enable it you need to set locations and the API Key. I would not comment on how and where to obtain API key, because i'm not sure it's legal. But if you have it - you can use it.
gdbus call -e -d org.rockwork -o /org/rockwork/B0_B4_48_00_00_00 -m org.rockwork.Pebble.SetWeatherLocations "[<['Current Location','0','0']>,<['London','51.508530','-0.125740']>]" gdbus call -e -d org.rockwork -o /org/rockwork/B0_B4_48_00_00_00 -m org.rockwork.Pebble.SetWeatherApiKey xxxxxxxxxxxxxxxxxxxxxxx
As always first round for new features is DBus-only managed.
Send Text app could be fully managed via GUI. It allows adding not just phone numbers but also IM contacts.
Custom logging uses Developer Connection class to intercept default Qt logging and handle it locally. By default it suppresses Debug logging - so verbosity is much fewer now. In addition it adds ability to dump logs to temp file. That temp file could then be copied/sent to devs.
[nemo@Sailfish ~]$ gdbus call -e -d org.rockwork -o /org/rockwork/B0_B4_48_00_00_00 -m org.rockwork.Pebble.setWeatherAltKey 123456789abcdef0 () [nemo@Sailfish ~]$ gdbus call -e -d org.rockwork -o /org/rockwork/B0_B4_48_00_00_00 -m org.rockwork.Pebble.WeatherLanguage ('EN',) [nemo@Sailfish ~]$ gdbus call -e -d org.rockwork -o /org/rockwork/B0_B4_48_00_00_00 -m org.rockwork.Pebble.setWeatherLanguage DL () [nemo@Sailfish ~]$ gdbus call -e -d org.rockwork -o /org/rockwork/B0_B4_48_00_00_00 -m org.rockwork.Pebble.WeatherLanguage ('DL',)
[nemo@Sailfish ~]$ gdbus call -e -d org.rockwork -o /org/rockwork/B0_B4_48_00_00_00 -m org.rockwork.Pebble.getLogDump ('',) [nemo@Sailfish ~]$ gdbus call -e -d org.rockwork -o /org/rockwork/B0_B4_48_00_00_00 -m org.rockwork.Pebble.isLogDumping (false,) [nemo@Sailfish ~]$ gdbus call -e -d org.rockwork -o /org/rockwork/B0_B4_48_00_00_00 -m org.rockwork.Pebble.startLogDump ('/tmp/rockpoold.R11627.log',) [nemo@Sailfish ~]$ gdbus call -e -d org.rockwork -o /org/rockwork/B0_B4_48_00_00_00 -m org.rockwork.Pebble.isLogDumping (true,) [nemo@Sailfish ~]$ gdbus call -e -d org.rockwork -o /org/rockwork/B0_B4_48_00_00_00 -m org.rockwork.Pebble.getLogDump ('/tmp/rockpoold.R11627.log',) [nemo@Sailfish ~]$ gdbus call -e -d org.rockwork -o /org/rockwork/B0_B4_48_00_00_00 -m org.rockwork.Pebble.getLogLevel (1,) [nemo@Sailfish ~]$ gdbus call -e -d org.rockwork -o /org/rockwork/B0_B4_48_00_00_00 -m org.rockwork.Pebble.setLogLevel 0 () [nemo@Sailfish ~]$ gdbus call -e -d org.rockwork -o /org/rockwork/B0_B4_48_00_00_00 -m org.rockwork.Pebble.getLogLevel (0,)
Recent comments