📜 ⬆️ ⬇️

Bluetooth Watch and Maemo (continued)

In the last article I already wrote about my project With a Bluetooth-watch and Maemo. The article was already written backdating, since 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 corrected a little. At the time, the program realized the maximum of the clock functionality known to me and there was nowhere to move. So, the capabilities of the Fossil and Sony Ericsson watches were fully implemented, but there was an ambush with Citizen iVirt - in order to investigate the watch protocol for the functions of controlling the phone’s camera and displaying the S news feeds! Quick News (as well as understand the difference in displaying SMS and Mail) needed at least a SoftBank phone, as well as a USIM card of the same operator.

I have long wanted to acquire keitai , personally experience the specifics of the Japanese mentality and a different technological look at the phones, but really did not want to use our capital intermediaries.
Last fall, Softbank, together with Sharp, released a collectible version of the 945 SH G phone. As a collector's edition, the Japanese actively began to resell this phone at auctions. This fact played into the hands of - the price of the product before the new year was kept at a reasonable 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 commands sniffer that would allow me to dump traffic between the phone and the clock. But another problem arose - in the absence of a Japanese USIM card, the phone completely did not want to either raise the Wi-Fi connection or launch the camera.
The problem was solved quite interesting. I remembered that the company in which I work has contracts with many foreign operators and there is a whole division that has partner SIM-ki for testing. I had to use it.
Research with the phone has been done. A little more had to pokapat under Maemo.

Change one - group IM chat


When exchanging IM messages in a group chat, there can be an explicitly stated topic. Now it is transmitted to the clock as a message subject. I will launch the ray you-know-what to your favorite Nokia - the developer package osso-rtcom-eventlogger-plugins-dev has completely lost the statically elated part, that is, it is not in the package. We pull .so-shku dynamic loading manually.

Change the second - ta-dam!


We now support remote camera shutter control!

Thanks to the developer of the lfocus package for the idea of ​​a hack with a simulation of pressing the shutter button. "Fi" to the creators of HALD for rude nailing SetProperty to the root with nails.
')

Change the third - RSS on the clock screen!



Management of the update feeds carried out using a standard full-time client RSS (osso-rss-reader). Nokia's next "fi" - in the days of Diablo, there were corresponding developer packages in public access. Now everything is closed, and in GIT there are only versions for Diablo. But this turned out to be enough to open the RSS cache library and use it at runtime.

Lastly, another feature


The processing of notifications has been significantly reworked. Now, in addition to controlling the call, the clock also displays application notifications: what is visible on the screen of the phone with a “yellow card” is displayed by a pop-up alert on the clock. E-mail or alarm you never miss.

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

Source: https://habr.com/ru/post/116175/


All Articles