Bluetooth Watch and Maemo (continued)

    In a previous article, I already wrote about my project With a Bluetooth watch and Maemo. I wrote the article retroactively, as the main work took place last winter and spring, and in the fall I only “twisted” the code under PR 1.2 / 1.3 and refactored a little. The maximum of the clock functional that was known to me at that time, the program implemented and there was nowhere to move. So, the capabilities of the Fossil and Sony Ericsson watches were fully realized, but there was an ambush with Citizen iVirt - in order to examine the clock protocol for the functions of controlling the camera of the phone and displaying S news feeds! Quick News (as well as to understand the difference in the display of SMS and Mail) needed at least a SoftBank phone, as well as a USIM card of the same operator.

    I have long wanted to get keitai, personally imbued with the specifics of the Japanese mentality and a different technological outlook on phones, but really did not want to use our capital intermediaries.
    Last fall, together with Softbank Sharp released a collector's version of the phone 945 the G SH . As a collector's edition, the Japanese actively began reselling this phone at auctions. This fact played into the hands - product prices before the new year were kept at an affordable price (as opposed to the non-collection version), which I took advantage of.

    And so, the phone is available. In a hurry, I wrote an AT-command sniffer that would allow dumping the traffic exchange between the phone and the watch. But here another problem arose - in the absence of a Japanese USIM card, the phone completely did not want to raise a Wi-Fi connection or start the camera.
    The problem was solved quite interestingly. I remembered that the company I work for has agreements with many foreign operators and there is a whole unit that has partner SIMs for testing. I had to use it.
    Studies with the phone have been conducted. A little more had to be dug under Maemo.

    Change One - Group IM Chat


    When exchanging IM messages in a group chat, there may be an explicitly prescribed topic. Now it is transmitted to the watch as a message subject. I’ll launch the beam yourself-you-know-what’s in your beloved Nokia - the development package osso-rtcom-eventlogger-plugins-dev completely lost the statically rejoiced part, that is, it is not in the package. Pull .so-shek by dynamic loading manually.

    The second change is ta dam!


    We now support remote control of the camera shutter!

    Thanks to the developer of the lfocus package for the idea of ​​a hack simulating the shutter button. "Fi" to the creators of HALD for rude nailing SetProperty to the root.

    Third change - RSS on the watch screen!



    Management of updating feeds is carried out using the standard regular RSS client (osso-rss-reader). Another “fi” Nokia - in the days of Diablo in the public domain there were corresponding development packages. Now everything is closed, and in GIT there are only versions for Diablo. But that turned out to be enough to pick out the RSS cache library and use it in runtime.

    In the end - another feature


    Significantly redesigned notification processing. Now, in addition to managing the call, the watch also displays application notifications: what is visible on the phone’s screen with a “yellow card” is displayed by a pop-up alert on the watch. You will never miss an email or an alarm clock.

    If anyone is interested - ready to give the collected packages or advise on the implementation of certain functions. I do not consider it possible to open source codes yet - the project required quite real capital costs.

    Also popular now: