#sailfishos-push log for Sunday, 2014-08-17

*** lbt has joined #sailfishos-push10:06
lbttbr: o/10:08
tbrlbt: yohoho10:08
lbtso mqtt?  why?10:09
* lbt googles mqtt10:09
tbrbecause it's a decent message protocol so far10:09
tbralso canonical were planning to use it for their push messaging10:10
tbrbefore they got a brain slug and went full blown NIH10:10
lbtmy first thing is to look at what spark does out of the box10:11
lbtit has a pub/sub thing built in10:11
tbrah10:11
tbrso that has a network stack? not familiar with that10:11
lbtso maybe gateway it10:11
lbthttps://www.github.com/spark/core-communication-lib10:12
tbrdepending which way you swing there are: python, c and c++ bindings for MQTT10:12
tbrI've implemented a Irssi notifier that reliably pages my jolla and shows notifications10:13
lbt*nod*10:13
tbrI'm working on a larger architecture that will bridge into the device dbus though (not ready)10:13
lbtis it ssl ?10:13
tbrit supports TLS and I'm in the process of rolling that out to the test environment10:15
* lbt sees spark_protocol.cpp and sighs10:15
tbrincluding client certificate authentication10:15
tbrI've also patched the python library to properly wake up and keep the connection alive10:16
lbtso spark runs a server service which basically presents an api to the sparks10:17
lbtthat's presented through a rest api10:17
tbrI'm planning something like that for the push architecture10:17
lbtand there's an authentication mechanism to support access control10:17
lbtI'd prefer to work with some kind of standard system for the mer side10:18
lbtie interface to sparks system10:18
lbtnot deploy it10:18
tbrthat's why I chose mqtt, it's a standard10:18
lbterr adopt10:19
lbtbroker?10:20
tbrbut your use case might just be different and it's easier for you to interface directly with their PAAS10:20
lbtoh it would be, yes10:20
lbtbut I like rabbit holes10:21
lbtis mosquitto the brokere ?10:21
tbryes10:21
lbtand does this link into the jolla notification thingy ?10:22
tbrI run one to make it easier for people to concentrate on different things10:22
lbtsure10:22
tbrmsgd you some access details for devaamo.fi server10:24
*** tbr has quit IRC16:07
*** tbr has joined #sailfishos-push16:13

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!