summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-05-29adds documentation for websocket C clientsJosé Bollo4-73/+213
Change-Id: I5507aeaf7669123eee16007af3d2fd3faeba8141 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-29compact formatting of jsonJosé Bollo4-11/+11
Change-Id: Ieb839f287593240aac4d784483ff4c6e6cb57d84 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-28Clean up and documentationFulup Ar Foll1-60/+49
2016-05-28improve naming of sample pluginsJosé Bollo9-154/+40
Change-Id: I81cbb40c937bc087079d1605d163aea968bb9250 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-28Merge branch 'master' of https://github.com/iotbzh/afb-daemonFulup Ar Foll24-1097/+3137
2016-05-28Changed Login for ConnectFulup Ar Foll1-0/+129
2016-05-27improves documentationJosé Bollo4-41/+271
Change-Id: Ia86f95ee852ca0cc419b2fe6e796621e358c8b29 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
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é Bollo9-118/+300
Change-Id: Idbd1b735571c2e35daed23d43f8d5d3990881533 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-27improves documentationJosé Bollo8-68/+1100
Change-Id: I5abae06cd5b5127fca97ba12aa8f18d037a95d79 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-27Adds the library libafbwsc.soJosé Bollo5-3/+66
This library is intended to be used by C clients to connect to the binder and access to its fetures through the websocket. An example of integration is given by afb-client-demo.c It is known that it introduces an unwanted dependency to afb-common. This is a temporary issue. Change-Id: Ie0a395f116f6ee05679525a6399ef23ef245c944 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-27terminology: Level Of AssuranceJosé Bollo3-20/+20
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-27allows to remove file/line indicationJosé Bollo1-5/+14
Change-Id: I800dfdc68dc4538b2c46367a8594d7ac6a36824d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-27remove unuseful flagsJosé Bollo1-1/+0
Change-Id: I1ae220cc7621647b0cbe1fa6ea4a21619b8fc52c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-27improves detection of formatting errorJosé Bollo2-1/+2
Change-Id: I426013cb841d6826c4904f68bf5fa1c653dd972c 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-27indicates the call to initialisation functionJosé Bollo1-0/+1
Change-Id: Ia2e27fa2661b539e67e388a7e9f3fc1555281bd7 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-26restore namesjobol1-2/+2
Signed-off-by: jobol <jobol@nonadev.net>
2016-05-26rename parameter to argumentjobol1-5/+5
Signed-off-by: jobol <jobol@nonadev.net>
2016-05-26update documentationjobol9-166/+687
Signed-off-by: jobol <jobol@nonadev.net>
2016-05-26css: minor updateYannick Gicquel1-3/+10
pre block: margin alignment h1,h2,h3: add outline Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
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-25more docjobol1-11/+96
Signed-off-by: jobol <jobol@nonadev.net>
2016-05-25begins the documentationJosé Bollo10-0/+1208
Change-Id: I560725dfa5dd7ab1ae5e91b45f5ba613c3a2c1de Signed-off-by: José Bollo <jose.bollo@iot.bzh>
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é Bollo2-57/+173
Change-Id: I64e3a1769a225041a998b1b9406a5ebe1a7f19d7 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-24avoid to free the same pointerJosé Bollo1-1/+1
Change-Id: I0cf860c42046dd3819416688db24a2cd51c3f3aa Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-24improves commentsJosé Bollo2-0/+8
Change-Id: I6ddde79307b40c33ffd0208fe72ef84626c47cac 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-24Improves behaviour of afb_req_getJosé Bollo1-3/+5
The implementations of afb_req_get were not the same for HTTP and WebSocket when the argument wasn't set. Change-Id: I2f09376f597ee75a50b06423a19823040a9352e6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-24don't export PLUGIN_INSTALL_DIR anywhereJosé Bollo3-3/+3
Change-Id: I32689b3de32f5c85b461edcb63ef4d0117ff9ecb 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-24add log macros for pluginsJosé Bollo6-64/+100
Change-Id: I3de30aeb90a41ed8ee63ec1e19c6032440d65574 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-23fix regression of AFB_SESSION_NONEJosé Bollo1-1/+1
Change-Id: I1a03b99aa24bac7f801f94cfa0c8fd1cf28107e6 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-23fix unicity of returned reqidJosé Bollo1-7/+3
Change-Id: Ib6c56844312112cc20e2c930f5803d620a9cbafc Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-23Setting and checking LOAJosé Bollo6-14/+109
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-23adds 'reqid' for GET/POST requestsJosé Bollo1-13/+27
Change-Id: I222dc17bc9f9795d0931c5a5b90ef53daacd026b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-23Fix don't close session on 'create again' errorJosé Bollo1-1/+0
Change-Id: I3ea1f1d76ab111217c8a229da7443becde4ec9e6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-23Fix DON'T ALWAYS CLOSE SESSIONJosé Bollo1-1/+1
Change-Id: I93439f9d111598d8917e7fb3eeb8434d29cf877a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-22Add verbs for closing and setting LOAJosé Bollo3-2/+19
These new verbs are now available to plugins. LOA is the level-of-authorisation. The usage of these new verbs must be protected by a mechanism that is still to be done. Change-Id: Ia591fb6bf9cd16956dc95658c5ba3a24ee4380be Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-22Fix AFB_SESSION_CREATE behaviourJosé Bollo6-9/+71
This commit allows to call methods having AFB_SESSION_CREATE at any time. This commit prepares the future LOA (level of authorization) implementation that wille soon replace the deprecated mechanism of AFB_SESSION_CREATE. Change-Id: Ia3e99186e012fcd55a6c81a7067ab5b4aca21e4d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-20set version to 0.5José Bollo1-1/+1
Change-Id: Ibc6bc30bc5ae19819fa5051a445d1cf6780b0185 Signed-off-by: José Bollo <jose.bollo@iot.bzh>