*** lbt has joined #sailfishos-push | 10:06 | |
lbt | tbr: o/ | 10:08 |
---|---|---|
tbr | lbt: yohoho | 10:08 |
lbt | so mqtt? why? | 10:09 |
* lbt googles mqtt | 10:09 | |
tbr | because it's a decent message protocol so far | 10:09 |
tbr | also canonical were planning to use it for their push messaging | 10:10 |
tbr | before they got a brain slug and went full blown NIH | 10:10 |
lbt | my first thing is to look at what spark does out of the box | 10:11 |
lbt | it has a pub/sub thing built in | 10:11 |
tbr | ah | 10:11 |
tbr | so that has a network stack? not familiar with that | 10:11 |
lbt | so maybe gateway it | 10:11 |
lbt | https://www.github.com/spark/core-communication-lib | 10:12 |
tbr | depending which way you swing there are: python, c and c++ bindings for MQTT | 10:12 |
tbr | I've implemented a Irssi notifier that reliably pages my jolla and shows notifications | 10:13 |
lbt | *nod* | 10:13 |
tbr | I'm working on a larger architecture that will bridge into the device dbus though (not ready) | 10:13 |
lbt | is it ssl ? | 10:13 |
tbr | it supports TLS and I'm in the process of rolling that out to the test environment | 10:15 |
* lbt sees spark_protocol.cpp and sighs | 10:15 | |
tbr | including client certificate authentication | 10:15 |
tbr | I've also patched the python library to properly wake up and keep the connection alive | 10:16 |
lbt | so spark runs a server service which basically presents an api to the sparks | 10:17 |
lbt | that's presented through a rest api | 10:17 |
tbr | I'm planning something like that for the push architecture | 10:17 |
lbt | and there's an authentication mechanism to support access control | 10:17 |
lbt | I'd prefer to work with some kind of standard system for the mer side | 10:18 |
lbt | ie interface to sparks system | 10:18 |
lbt | not deploy it | 10:18 |
tbr | that's why I chose mqtt, it's a standard | 10:18 |
lbt | err adopt | 10:19 |
lbt | broker? | 10:20 |
tbr | but your use case might just be different and it's easier for you to interface directly with their PAAS | 10:20 |
lbt | oh it would be, yes | 10:20 |
lbt | but I like rabbit holes | 10:21 |
lbt | is mosquitto the brokere ? | 10:21 |
tbr | yes | 10:21 |
lbt | and does this link into the jolla notification thingy ? | 10:22 |
tbr | I run one to make it easier for people to concentrate on different things | 10:22 |
lbt | sure | 10:22 |
tbr | msgd you some access details for devaamo.fi server | 10:24 |
*** tbr has quit IRC | 16:07 | |
*** tbr has joined #sailfishos-push | 16:13 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!