summaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2016-05-28Merge branch 'master' of https://github.com/iotbzh/afb-daemonFulup Ar Foll4-73/+68
2016-05-28Changed Login for ConnectFulup Ar Foll1-0/+129
2016-05-27removes restriction on the count of waitersJosé Bollo1-16/+0
in fact, using more than on web socket, the same client (same session) can lock itself using wait and unlock itself using move... Change-Id: I4ebd8fa93d3373589e9bb7fac7c250e29f94c460 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-27improves documentationJosé Bollo2-4/+4
Change-Id: Idbd1b735571c2e35daed23d43f8d5d3990881533 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-27terminology: Level Of AssuranceJosé Bollo1-16/+16
Change-Id: I3c92aab34ba9414faf19d9a96d8f1de786f1e7b6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-27fix formatting errorJosé Bollo1-1/+1
Change-Id: I1e5842a43a50c357d78f3318b4c0eed8ad1676e2 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-27improves namingJosé Bollo1-4/+3
Change-Id: If26d8b9af05c84bd24d0ac3ceb9a628a0039c2a6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-27Improve Audio plugin PulseAudio backendManuel Bachmann1-4/+4
>100 return values are strangely returned by PulseAudio when doing an initial connection from afb-daemon. Just ignore them, because it breaks the logic. Allow 2 seconds of initial asynchronous connection (it should return earlier anyways). Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-27Improve Audio plugin PulseAudio backendManuel Bachmann1-26/+38
Remove obvious errors from the PulseAudio backend. It does not work yet (permissions issues ?), and some parts of the code are still hardly self-explaining. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-26rename parameter to argumentjobol1-5/+5
Signed-off-by: jobol <jobol@nonadev.net>
2016-05-25DocumentationFulup Ar Foll1-6/+6
2016-05-25Set LOA SampleFulup Ar Foll1-2/+2
2016-05-25Set LOA SampleFulup Ar Foll1-4/+8
2016-05-25refactor requirementsjobol1-5/+5
Signed-off-by: jobol <jobol@nonadev.net>
2016-05-24tic-tac-toe: improvementJosé Bollo1-10/+21
Change-Id: If59b14bce431c336bd9d800098c20ade3a915f4c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-24Comments and fix of afb_req_unstoreJosé Bollo1-1/+3
Change-Id: I64e3a1769a225041a998b1b9406a5ebe1a7f19d7 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-24tictactoe: adds asynchronous and signalingJosé Bollo1-10/+103
Change-Id: I6cf178f795957d109463041efe1ec211309b7e80 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-24adds the tic-tac-toe exampleJosé Bollo2-0/+527
Change-Id: I9c52b2e4f17ad3f02e0ef64fdd78864b3761e0b2 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-23Fix Radio plugin linking, improve Radio codeManuel Bachmann5-25/+58
Radio plugin now links correctly again (-lm was missing). Fix Radio plugin logic for new API, guard against some undefined values. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-23Setting and checking LOAJosé Bollo1-0/+50
Change-Id: I02c3795c6e212491605861228eb60b731be78537 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-23Improve the Audio ALSA backendManuel Bachmann2-25/+61
Guard the ALSA backend against some undefined values, error codes, and remove a memory leak. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-19minor: documenting and cleaningJosé Bollo1-1/+0
Change-Id: Ia5a84655ac7f881682409c3c6ed72e395c86a34d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-19afm-main-api: plugin moved to afm-mainJosé Bollo5-1494/+0
Change-Id: I627a698e17020e8437fa0045d7a35353f216d1e5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-19setting version and removing afm-main-pluginJosé Bollo1-1/+1
Change-Id: I282918e281d5c442b7259ffcd46b4ba0098fefe0 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-18improves the build systemJosé Bollo14-17/+77
Change-Id: Idad84e88cd8c21d111ce7ed44340f6d2b0fccb37 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-17event sender: better namingJosé Bollo2-4/+4
Change-Id: I82d918cd14b1e368ef509fa3a1b21c3e55a6b98d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-17improves plugin interfaceJosé Bollo8-57/+73
This commit improves the names and the organisation of the plugin interface for the developpers. Change-Id: Iaf191efbf8fd5d248884304b648258f0770ec5f5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-17provides developper filesJosé Bollo8-11/+11
Change-Id: I0e41a0db778c69b5f5ce71115d495b2bb8b4cffe Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-13cleaning copyrightsJosé Bollo15-15/+15
Change-Id: I4ff7349b1a87f92a7d9f378c715054061f06df57 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-13new verbose and clean upJosé Bollo1-1/+1
Change-Id: I5217b216d706fd0286c8754e966bca3965d4ea62 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-13implements the example for file uploadingJosé Bollo1-1/+5
Change-Id: I3171edbb702eecde401a218f8a56cc365aeaadbb Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-13media: uploading - first stepJosé Bollo3-50/+129
Change-Id: I469dac8883f2c8e94fa2384612723ff29e6eae41 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-11Fix typo in media-apiManuel Bachmann1-1/+1
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-11Update Radio plugin, Media pluginManuel Bachmann10-295/+337
Radio and Media plugins are now ported to the new API and build again. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-11fix leak of messagesJosé Bollo1-2/+7
Change-Id: Ieb4cfcf0b791cee89fadb742d6fbf00b9739bd10 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-11fix dbus disconnection on errorJosé Bollo1-1/+2
Change-Id: Ifddabb8c76094fca088ad5250b8dde30a48946c7 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-11Update Audio plugin, re-enable ALSA/Pulse linkingManuel Bachmann6-107/+124
Audio plugin is now ported to new API and builds again. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-10explicit use of json-cJosé Bollo6-6/+6
Change-Id: Iebf7309255d1285a5833c5490d32f518a9232ede Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-10Refactoring requests and context handlingJosé Bollo1-0/+3
Also adds a first (untested) implmentation of the afb services over dbus. Change-Id: Id1bdeccf75f3a70d3658bdaf0510d6e7b97f6c32 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-04Removing legacy dbus-1 libraryJosé Bollo7-1245/+182
Change-Id: I1c1d17cd702e12ed961ed90d1489bc12b074bd55 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-04Switch to libsystemd eventsJosé Bollo1-1/+1
This patch removes part of code that are not specific in favour of a more shared library. Change-Id: I3506e7514181cfbed753559bb65460f95b2141c9 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-27first add of asynchonous handlingJosé Bollo1-24/+59
Change-Id: Id9159d33937dc23342d32892f77998fb8cef0000 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-25avoid double freeJosé Bollo1-1/+10
Change-Id: Ibe92117ab104aca7ae923378198b36b0a273ec47 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-21manages reference counting for eventsJosé Bollo1-1/+1
Events are sent to an unknown count of receivers. For this reason, the function push should not consume the json object given. Change-Id: Ie6c60074bd3822e7107d670f905cc86f56f826bf Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-19initial event handlerJosé Bollo1-4/+14
Change-Id: Idb92d6de9904d050b37ef0a5d664e82573ff640d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-19refactoring context handlingJosé Bollo2-46/+15
Change-Id: I0e5a900efbd94b66f309ff4d0d49a6406585203f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-19temporarily removal of unbuildablesJosé Bollo1-1/+1
Change-Id: Ic67506010cbce922476552f35411a92940056eb4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-19prepares event propagationJosé Bollo5-14/+27
Change-Id: Ib824c6dea1837cc1cbb70a2c82363c9b0a0517d4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-18improves formattingJosé Bollo1-12/+19
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-18changing the license to apache 2José Bollo19-190/+171
Signed-off-by: José Bollo <jose.bollo@iot.bzh>