Commit Graph

75 Commits (5f189aedbdfd3d6a95b3a7bbc8aa1000f615d814)

Author SHA1 Message Date
Daniele Gobbetti 5f189aedbd Add support for some configuration options of TimeStylePebble watchface ( https://github.com/freakified/TimeStylePebble ) 2015-12-23 09:04:01 +01:00
Andreas Shimokawa 87739d94db Pebble: unify FW 2.x and 3.x action decoding 2015-12-20 21:23:39 +01:00
danielegobbetti a71c27d25e Added subtitle to timeline pins 2015-12-20 19:50:48 +01:00
Andreas Shimokawa 96e21dbf21 Pebble: fix "[Action]" being displayed as SMS action when no canned replies are defined 2015-12-20 00:58:14 +01:00
Andreas Shimokawa 35c7ab6dde PEbble: add database parameter to encodeBlobDBClear(), minor cleanups 2015-12-20 00:40:38 +01:00
danielegobbetti 5026cf269f Added command to clear the DB on pebble. 2015-12-19 20:52:44 +01:00
Andreas Shimokawa 4b29d63d4e Pebble: more debugging 2015-12-19 20:30:46 +01:00
danielegobbetti 6582ead01c Add pebble health uuid. 2015-12-19 09:43:55 +01:00
Andreas Shimokawa 7eabf1e603 spoof android app version to 3.8.1 (was 3.0.1) 2015-12-18 21:34:52 +01:00
Andreas Shimokawa 47a34bb7bf Pebble: debug output for blobdb responses (get rid of unhandled endpoint -20005 messages) 2015-12-18 12:41:01 +01:00
Andreas Shimokawa c9dcf06529 Pebble: improve debug output
- decode apprunstate and systemmessage endpoint messages
- prevent error messages by not using appmanager endpoint on firmware 3.x (it is gone)
2015-12-17 23:09:52 +01:00
Andreas Shimokawa f387f7c96b increase canned replies from 8 to 16
NOTE:

Total allowed bytes for all replies = 512 - (reply count - 1)

TODO:
- check with Firmware 2.9.1
- remove last reply that exceeds the 512 bytes limit completly (else it will be partly truncated)
2015-12-17 00:05:42 +01:00
Andreas Shimokawa dfa85745e8 Send out SMS when replying with a canned response
Closes #121
2015-12-15 00:26:06 +01:00
Andreas Shimokawa de5f30ae97 WIP: Work towards SMS replies / canned replies, round 3
- put random id/phone number pair into limited lookup list (last 16 sms messages) when sms arrives
- lookup the phone number when replying from the a device

THIS STILL DOES NOT DO ANYTHING USEFUL
2015-12-14 23:31:31 +01:00
Andreas Shimokawa 14f8929439 Pebble: fix decoding strings in appmessages from the pebble
This fixes sending SMS from "Dialer for Pebble"
2015-12-14 00:05:14 +01:00
Andreas Shimokawa e5cf22bda6 WIP: Work towards SMS replies / canned replies, round 2
- parse the reply string in PebbleProtocol
- put replies into GBDeviceEvents
- display a toast in AbstractDeviceSupport, containing the reply

THIS STILL DOES NOT DO ANYTHING USEFUL
2015-12-13 22:43:53 +01:00
Andreas Shimokawa 53fb63781e WIP: Work towards SMS replies / canned replies
- Implement the PebbleProtocol side (2.x and 3.x)
- Add Preferences for canned replies

This can be tested by enabling untested features in Pebble Settings
It lets you see and select the replies set up in "Canned Repies" on the Pebble
You will get a "NOT IMPLENTED" message on your Pebble.

THIS DOES NOT ACTUALLY DO ANYTHING USEFUL YET.
2015-12-13 12:03:57 +01:00
Andreas Shimokawa 18726eca33 Pebble: Correct setting the timezone on firmware 3.x (pebble expects the "ID" eg. Europe/Berlin) 2015-12-08 14:59:24 +01:00
Andreas Shimokawa 3ac00a004f Pebble: Support installing .pbl (language files) on firmware 3.x 2015-12-08 12:07:14 +01:00
Andreas Shimokawa f20e11d517 Pebble: Increase maximum notification body length from 255 to 512 bytes on firmware 3.x 2015-12-07 12:25:34 +01:00
cpfeiffer bd0716ba58 Some more lint warnings fixed 2015-11-23 23:04:46 +01:00
cpfeiffer 81c2f657bd Some lint fixes 2015-11-23 22:46:12 +01:00
Andreas Shimokawa 44a36a5f1d Pebble: First try to receive at least steps from the Misfit pebble watchapp 2015-10-21 23:11:59 +09:00
Andreas Shimokawa 5860c4f4f9 Pebble: WIP support for flashing language files (.pbl)
NOTES:
- YOU SHOULD NOT TRY THIS YET ;)
- This was only tested with the unoffical japansese language pack
- Problably needs proper crc calculation (I just hardcoded the one for the japanese language pack)
2015-10-06 23:56:01 +09:00
Andreas Shimokawa d21b5e68b5 Pebble: Cleanup AppMessage handlers 2015-10-04 22:53:11 +09:00
Andreas Shimokawa e3533a2b18 Pebble: Allow muting (blacklisting) Apps from within generic notifications on the watch
Closes #113
2015-09-25 00:53:40 +02:00
Andreas Shimokawa 1d41f2f8e4 Refactoring
The notfification APIs now use NotificationSpec as their only parameter, which
contains all information (required and optional ones).
We no longer have separate methods and actions for SMS/EMAIL/GENERIC anymore.
The type of notification is important now, not how we received them technically.
2015-09-24 14:45:21 +02:00
Andreas Shimokawa ab78d167d9 update CHANGELOG.md 2015-09-23 23:53:16 +02:00
Andreas Shimokawa 3bb673d33a Pebble Time Round support ("chalk" platform) 2015-09-23 23:20:49 +02:00
Andreas Shimokawa f6ef72e9fb Pebble: fix some hardware revision strings to match strings in firmware json file
This should enable firmware upgrade on Pebble Time and might fix pbw installation on Pebble Time Steel
2015-09-20 18:27:41 +02:00
Andreas Shimokawa 60b24e004a Pebble: Fix bug for Pebble Intent Notifications not arriving on FW 2.x 2015-09-19 21:35:02 +02:00
Andreas Shimokawa 0c4dbf75e0 Pebble: fix for PebbleKit AppMessages containing non-latin characters 2015-09-19 15:32:09 +02:00
Andreas Shimokawa e6a8a1a36c Pebble: Better support for 8 and 16 bit integers in AppMessages 2015-09-18 00:03:34 +02:00
Andreas Shimokawa 041bd1a7f4 Treat Conversations messagess as chat messages, even if arrived via Pebble Intents (which is the default) 2015-09-17 23:08:05 +02:00
Andreas Shimokawa a5ef952e37 Pebble: Implement WIP outbound communication with PebbleKit Android Apps
This improves #106

Pebblebike aka Ventoo works to some extent sometimes now ;)
2015-09-17 19:21:22 +02:00
Julien Pivotto 21d59b23c1 Allow QKSMS notifications to be handled as a generic notification if SMS notification mode is set to "never"
This makes it possible to use the "Open on Phone" and individial dismiss feature with QKSMS.
2015-09-13 22:51:05 +02:00
Andreas Shimokawa 95e22a4e32 Pebble: Allow stopping apps though PebbleKit messages (also in the API) 2015-09-13 21:44:26 +02:00
Andreas Shimokawa 6fff4fb7ba Pebble: support byte arrays for Appmessages (including PebbleKit ones) 2015-09-13 18:37:59 +02:00
Andreas Shimokawa 9a32be97cb Pebble: work towards PebbleKit support #106
- Untested features have to be turned on.
- We will accept data from any source.
- One way, we do not send out replies.

This already works with the minimalistic sports demo from the sdk
2015-09-13 18:20:15 +02:00
Andreas Shimokawa d3dbde6917 Some refactoring:
- Put Pebble icon ID constants in its own class
- remove ICON_ and COLOR_ prefixes from constants
2015-09-13 15:21:07 +02:00
Julien Pivotto 1027336591 Pebble: Support colors in 3.x notifications (Pebble Time)
* Generic notifications are still red
* Colors are in a separated static class

Closes #120.
2015-09-13 14:54:43 +02:00
Andreas Shimokawa 44d8294f8c Pebble: use Hipchat icon for chat notifications on FW 3.x 2015-09-13 13:32:18 +02:00
Andreas Shimokawa a85c04c02a Pebble: use constant for icons where possible 2015-09-13 12:55:10 +02:00
Julien Pivotto d50a82d495 Pebble: Set application icons for generic notifications
Closes #116.
2015-09-13 00:39:53 +02:00
Julien Pivotto 986e7e0450 Improve Pebble Time notifications icons
* Add a list of icons in the source code
* Generic notification now use the correct icon instead of the SMS icon
2015-09-12 22:14:36 +02:00
Andreas Shimokawa 7f331a1bb1 Pebble: play around with timeline pins 2015-09-08 14:15:46 +02:00
Andreas Shimokawa a839f07496 Pebble: use proper icon for "Open on Phone" on Pebble Time 2015-09-05 21:00:18 +02:00
Andreas Shimokawa 1a1277fa3d Pebble: Fix "Open on Phone" on OG Pebble (no more error display) 2015-09-05 20:40:12 +02:00
Andreas Shimokawa ab29736a50 Pebble: Implement "Open on Phone" function for generic notifications
TODO:
- search a better icon for the Pebble Time
- send a reply to the OG Pebble to prevent the error message from popping up
2015-09-02 22:43:22 +02:00
Andreas Shimokawa fd789c445e Allow dismissal of individual (generic) notification
Implemented for Pebble and Pebble Time #103
2015-09-01 22:00:11 +02:00