src/app-framework-binder.git
7 years agofix tiny memory leak 2.0.2 blowfish_2.0.2
José Bollo [Tue, 9 Aug 2016 08:12:56 +0000 (10:12 +0200)]
fix tiny memory leak

Change-Id: I7ad19eeb73c613893682824d6becc500277d01d6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agofix blocking read
José Bollo [Mon, 8 Aug 2016 15:59:58 +0000 (17:59 +0200)]
fix blocking read

Change-Id: I7e39d4ce7c0f83e3398f344ade7e5114cf203efb
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agofix on_event for services
José Bollo [Mon, 8 Aug 2016 12:53:50 +0000 (14:53 +0200)]
fix on_event for services

Change-Id: Id90d53764016abc16db6f4d4fb68b9e16ba492fb
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agocleanup of unused variables
José Bollo [Mon, 8 Aug 2016 11:57:52 +0000 (13:57 +0200)]
cleanup of unused variables

Change-Id: I895901fb5af2811d79a96aa0baa7981a5c9f9b3a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoadd validity functions
José Bollo [Mon, 8 Aug 2016 11:57:21 +0000 (13:57 +0200)]
add validity functions

Change-Id: I56f4f6aebe673363c8b07c55f68ebbb1362b04fc
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoremoving casts to (void*) 2.0.1 blowfish_2.0.1
José Bollo [Thu, 4 Aug 2016 12:33:24 +0000 (14:33 +0200)]
removing casts to (void*)

Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agofix tiny memory leak
José Bollo [Sun, 7 Aug 2016 06:05:07 +0000 (08:05 +0200)]
fix tiny memory leak

Change-Id: I8183da55b6afb0e2d3035ebe8cf371b181ec4257
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoremoving casts to (void*)
José Bollo [Wed, 3 Aug 2016 18:03:13 +0000 (20:03 +0200)]
removing casts to (void*)

Change-Id: I34a4444c1fe8b9fa81c5319f53d154d6fe93916c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agowebsocket transparancy for C/S bindings
José Bollo [Wed, 3 Aug 2016 13:54:48 +0000 (15:54 +0200)]
websocket transparancy for C/S bindings

Change-Id: Ia78621ca4d3298fd45f3486ee64c3785c8ab6d8d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoafb-ws: adds function afb_ws_is_connected
José Bollo [Wed, 3 Aug 2016 13:13:59 +0000 (15:13 +0200)]
afb-ws: adds function afb_ws_is_connected

Change-Id: If7f3a2b9a724f28dbd3e4968347892d837ba875d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoapi-dbus: improves 'dbus_req_json'
José Bollo [Wed, 3 Aug 2016 13:13:21 +0000 (15:13 +0200)]
api-dbus: improves 'dbus_req_json'

Change-Id: I6d63d70d30f02422e5f9904722e89f92358186b9
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoupdate bindings to the new naming
José Bollo [Tue, 2 Aug 2016 09:42:20 +0000 (11:42 +0200)]
update bindings to the new naming

Change-Id: I75692e7454ec9a863ef72c2bd35e3a8ff0f4c57d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoadds vectored function for text and binary
José Bollo [Tue, 2 Aug 2016 09:32:00 +0000 (11:32 +0200)]
adds vectored function for text and binary

Change-Id: I441624cf07fc783f54d1bc9613fee5f9b842e140
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoadds extern to declarations
José Bollo [Tue, 2 Aug 2016 09:31:18 +0000 (11:31 +0200)]
adds extern to declarations

Change-Id: If91c5a49e1141d65b2927df708193c5cd38b3b56
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agofix unexpected ending spaces
José Bollo [Wed, 27 Jul 2016 15:44:27 +0000 (17:44 +0200)]
fix unexpected ending spaces

Change-Id: Ie7ebccb02b42e91457df3bdbf2a6f037b248400e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoExpose use of the event loop
José Bollo [Wed, 27 Jul 2016 13:51:01 +0000 (15:51 +0200)]
Expose use of the event loop

The use of the event loop where previously hidden
in internal deep places of the websocket modules.

This commits enforce the client of the library to
explicitely tell what event loop must be used.
This has 3 effects:
 - you know that the systemd event loop is used
 - you tell the event loop to use (no confusion)
 - you don't depend on afb-common.c

Change-Id: Id13d8a96f981183c299cde414d9bb0cd77fe3daa
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoorthograph
José Bollo [Wed, 27 Jul 2016 13:16:11 +0000 (15:16 +0200)]
orthograph

Change-Id: I354649f885daf89426f3b1612127045fdf1dedcc
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoafb-client-demo/afb-ws: remove dependency on afb-common.*
Stephane Desneux [Tue, 12 Jul 2016 14:14:51 +0000 (16:14 +0200)]
afb-client-demo/afb-ws: remove dependency on afb-common.*

afb-common.* files are not public and so not distributed
in any development package. This makes difficult to create
a client with sources out-of-tree.

Change-Id: Ib2edd48f864f55821ab590442efdf6d1e2fdcd58
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoFix bug when logging during bindings init
José Bollo [Thu, 7 Jul 2016 15:29:26 +0000 (17:29 +0200)]
Fix bug when logging during bindings init

Change-Id: I1901070c94c3ca7e07b167d7c769d111b02cbd64
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoimproves doc for new usages
José Bollo [Fri, 24 Jun 2016 14:19:36 +0000 (16:19 +0200)]
improves doc for new usages

Change-Id: Idb1ae01484d1181904e91d57abafe7bdb8230179
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoimproves verbose messages
José Bollo [Fri, 24 Jun 2016 11:58:56 +0000 (13:58 +0200)]
improves verbose messages

Change-Id: I176f5647512f50dce50d6db2de6204b5bc6e4d52
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoadds a warning about afb/afb-plugin.h for GCC
José Bollo [Fri, 24 Jun 2016 08:53:06 +0000 (10:53 +0200)]
adds a warning about afb/afb-plugin.h for GCC

Change-Id: I72b62751fdbeaea3847312c62779fd0bd0ecb3ea
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agovocabulary: moving from 'plugin' to 'binding'
José Bollo [Thu, 23 Jun 2016 18:34:57 +0000 (20:34 +0200)]
vocabulary: moving from 'plugin' to 'binding'

Change-Id: Ic9e118df2bede1fefbb591f8ae7887266b7324ca
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoadd .gitreview 09/5909/2
Stephane Desneux [Thu, 23 Jun 2016 10:32:22 +0000 (12:32 +0200)]
add .gitreview

Change-Id: Ifc281223617eb049e485bcd27233509b459eb3b5
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoapi-dbus: improves events 61/5961/1
José Bollo [Thu, 23 Jun 2016 09:04:00 +0000 (11:04 +0200)]
api-dbus: improves events

Change-Id: I0d58bed66ebc9eaea63c0863351d03cf458e4198
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoevt: handles broadcasting and tracking 15/5915/1
José Bollo [Fri, 17 Jun 2016 20:31:33 +0000 (22:31 +0200)]
evt: handles broadcasting and tracking

Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoevt: exposes name of events 59/5959/1
José Bollo [Fri, 17 Jun 2016 20:06:41 +0000 (22:06 +0200)]
evt: exposes name of events

Change-Id: I1976848be0e8aeb170da37e1254208035e0e741a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoevt: improves comments 57/5957/1
José Bollo [Fri, 17 Jun 2016 18:35:57 +0000 (20:35 +0200)]
evt: improves comments

Change-Id: I6c3e855030af9064335028e51d10c41db85a3f3c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoevt: minor cleanup 55/5955/1
José Bollo [Fri, 17 Jun 2016 08:40:45 +0000 (10:40 +0200)]
evt: minor cleanup

Change-Id: Ice4620cabc5a8643551439a149e80df255438020
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agosession: add cookies 53/5953/1
José Bollo [Thu, 16 Jun 2016 14:20:47 +0000 (16:20 +0200)]
session: add cookies

Change-Id: I1f286597a8d5d97ab9c9cfcefa1b3a13eccd6d3e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agominor reordering of code 51/5951/1
José Bollo [Mon, 13 Jun 2016 14:46:44 +0000 (16:46 +0200)]
minor reordering of code

Change-Id: I0768fa05de116f621dbb6e630dba3024e0886c6d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoService instanciation 49/5949/1
José Bollo [Mon, 13 Jun 2016 14:36:51 +0000 (16:36 +0200)]
Service instanciation

Adds the ability for a service to initiate calls
to other services and to receive events in its own
context.

Change-Id: I5ff149a0231e551e9ce8a8de9658cb492a38cae1
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agosubcall: adds an error function 47/5947/1
José Bollo [Fri, 10 Jun 2016 17:38:32 +0000 (19:38 +0200)]
subcall: adds an error function

Change-Id: I9f766c4b880cc741392e5c33b58a2723b5a6f4ef
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agosession: allows individual timeout 45/5945/1
José Bollo [Fri, 10 Jun 2016 17:10:29 +0000 (19:10 +0200)]
session: allows individual timeout

Change-Id: Ibc3412c5a5dd50c23a7b035941d4aed278b62039
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agosession: tiny refactor of creations 43/5943/1
José Bollo [Fri, 10 Jun 2016 15:35:54 +0000 (17:35 +0200)]
session: tiny refactor of creations

Change-Id: Ie4bc15448203621d0f84c9be6f57c68cc88983b4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoimproves readability 41/5941/1
José Bollo [Fri, 10 Jun 2016 14:56:10 +0000 (16:56 +0200)]
improves readability

Change-Id: I27411163aff0ecedad4019094f4a5c46d5a2c342
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agocommon code reuse 39/5939/1
José Bollo [Fri, 10 Jun 2016 12:29:14 +0000 (14:29 +0200)]
common code reuse

Change-Id: I5f400a92165bb380ec5f703dd8ca567e90aebca2
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoImproves documentation 37/5937/1
José Bollo [Fri, 10 Jun 2016 11:49:34 +0000 (13:49 +0200)]
Improves documentation

The script updt.sh is revisited to generate better the
meta data.

The format of events is documented.

Change-Id: I3bb7347f3ac0f660196a25a4c0c0432848fe4168
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoMake possible to call a method from a binding 35/5935/1
José Bollo [Thu, 9 Jun 2016 14:59:19 +0000 (16:59 +0200)]
Make possible to call a method from a binding

The new request call 'afb_req_subcall' allows
a binding to call the method of an other binding.

Change-Id: I8538185be7a1663153a25db2bc940f9e2bdedb1a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agodocumentation: switch to pandoc 33/5933/1
José Bollo [Thu, 9 Jun 2016 12:22:22 +0000 (14:22 +0200)]
documentation: switch to pandoc

Change-Id: I60fcea9d370f5b98efa1e08632f5f9682741b8c1
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoupdate repository's paths to gerrit.automotivelinux.org 31/5931/1
José Bollo [Thu, 9 Jun 2016 08:58:06 +0000 (10:58 +0200)]
update repository's paths to gerrit.automotivelinux.org

Change-Id: I323d82f1a67de8733e38f8c965241fffbcc88a7f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoEvents: refactoring 29/5929/1
José Bollo [Thu, 9 Jun 2016 05:54:31 +0000 (07:54 +0200)]
Events: refactoring

This new version allows to subscribe a client for
an event.

The event should first be created for the API
(the API's prefix is added) using 'afb_daemon_make_event'.

After that, plugins can subscribe or unsubscribe their
clients (identified through requests) to the events that
it generates. See 'afb_req_subscribe' and 'afb_req_unsubscribe'.

Events created by 'afb_daemon_make_event' can be widely
broadcasted using 'afb_event_broadcast' or pushed only to
suscribers using 'afb_event_push'.

Events can be destroyed using 'afb_event_drop'.

Change-Id: I7c0bed5e625c2052dcd81c6bfe960def1fa032f3
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agofix double free error 27/5927/1
José Bollo [Thu, 9 Jun 2016 05:52:50 +0000 (07:52 +0200)]
fix double free error

Change-Id: I2b0ee05f67133c9b089da7ab6d36c0728d1cbe55
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoWebsocket: improves overall integration 25/5925/1
José Bollo [Wed, 8 Jun 2016 05:51:36 +0000 (07:51 +0200)]
Websocket: improves overall integration

Change-Id: I7af7b96d2f32b706eb378747c3719fa48f68c961
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agowsj1: minor API refactoring 23/5923/1
José Bollo [Wed, 8 Jun 2016 08:41:29 +0000 (10:41 +0200)]
wsj1: minor API refactoring

Change-Id: I55e597a7c7cea295993326a6c4b362a136c05e4e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoImproves message formating 21/5921/1
José Bollo [Wed, 8 Jun 2016 08:13:17 +0000 (10:13 +0200)]
Improves message formating

Change-Id: Ifde5ff73cd6a73715fd4d6fd58101d9e97a3bef4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoDBus binding: first draft 19/5919/1
jobol [Mon, 6 Jun 2016 09:32:19 +0000 (11:32 +0200)]
DBus binding: first draft

Implements the verb 'rawcall'

Change-Id: Id83b065f778f2fd61ecf6e4e13bff3cc17d8ef18
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoAvoids javascript errors 17/5917/1
José Bollo [Wed, 8 Jun 2016 05:52:44 +0000 (07:52 +0200)]
Avoids javascript errors

But doesn't make AfbAngular functionnal.

Change-Id: I643c81792fa757710327a8f66a79a1c8173ebe75
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoafb-hreq.c: fix etag size (fixes stack smashing detected by stack protector)
Stephane Desneux [Thu, 2 Jun 2016 17:12:07 +0000 (19:12 +0200)]
afb-hreq.c: fix etag size (fixes stack smashing detected by stack protector)

Change-Id: I843dba1d07396ddcfb35b010e7e3a9a9ac73c143
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoSet version 1.0
José Bollo [Tue, 31 May 2016 12:34:29 +0000 (14:34 +0200)]
Set version 1.0

Change-Id: I4e10154ae465b8175201f57c3ba0fba8be6d69cc
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoupdate html pages
José Bollo [Tue, 31 May 2016 08:03:13 +0000 (10:03 +0200)]
update html pages

Change-Id: I69014a4fe61ddc290be7abcc09065db60f1a4c5e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoafb-application-writing.md review
Fulup Ar Foll [Mon, 30 May 2016 16:56:37 +0000 (18:56 +0200)]
afb-application-writing.md review

7 years agoImproves documentation
José Bollo [Mon, 30 May 2016 15:53:10 +0000 (17:53 +0200)]
Improves documentation

Change-Id: I7a93b69d56912f396aa7819149038746aa59e620
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoupdate documentation
José Bollo [Mon, 30 May 2016 13:00:57 +0000 (15:00 +0200)]
update documentation

Change-Id: I64a28ead6a82658dd9a95c7d54742dbe018ef574
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoFix PulseAudio backend crash with multiple cards
Manuel Bachmann [Mon, 30 May 2016 13:49:39 +0000 (15:49 +0200)]
Fix PulseAudio backend crash with multiple cards

With multiple sound cards, dynamic allocation may have
been skipped.o

Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
7 years agoAdd tests documentation, fix typo
Manuel Bachmann [Mon, 30 May 2016 12:56:38 +0000 (14:56 +0200)]
Add tests documentation, fix typo

Document the tests in "test/".
Fix typo in plugins documentation.

Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
7 years agoremove the document afb-daemon.{md,html}
José Bollo [Mon, 30 May 2016 12:50:15 +0000 (14:50 +0200)]
remove the document afb-daemon.{md,html}

Change-Id: I6877be36cbc4e4125d7cdf658807aee98de4c82a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoadd option --session-max
José Bollo [Mon, 30 May 2016 12:48:26 +0000 (14:48 +0200)]
add option --session-max

Change-Id: I0f1a3ea3099b6b4e5485efa927c98c316ae6d195
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoImproves the documentation
José Bollo [Mon, 30 May 2016 11:22:34 +0000 (13:22 +0200)]
Improves the documentation

Change-Id: Iac5ee5c2ca014ced5fe836601e9afc362a9d4fda
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoapplies timeout setting for apis
José Bollo [Mon, 30 May 2016 10:51:17 +0000 (12:51 +0200)]
applies timeout setting for apis

Change-Id: I6ff93946990400a6e900d6d6916e2b68af92fbcc
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoUpdate plugins documentation (give verbs)o
Manuel Bachmann [Mon, 30 May 2016 11:20:04 +0000 (13:20 +0200)]
Update plugins documentation (give verbs)o

Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
7 years agoUpdate plugins documentation (helloworld, auth, tictactoe)
Manuel Bachmann [Mon, 30 May 2016 10:43:30 +0000 (12:43 +0200)]
Update plugins documentation (helloworld, auth, tictactoe)
Add doc. for Hello World, Authentication, Tic Tac Toe.

Fix a few typos and formatting issues.

Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
7 years agoAdd basic documentation for plugins
Manuel Bachmann [Mon, 30 May 2016 10:00:09 +0000 (12:00 +0200)]
Add basic documentation for plugins

Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
7 years agoUpdate QML token-auth demo
Manuel Bachmann [Mon, 30 May 2016 08:28:46 +0000 (10:28 +0200)]
Update QML token-auth demo

Finalize migration of the QML "token" demo to the new
"auth" plugin logic.

Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
7 years agoFix PulseAudio refreshing, volume APIs
Manuel Bachmann [Mon, 30 May 2016 07:16:45 +0000 (09:16 +0200)]
Fix PulseAudio refreshing, volume APIs

Refreshing PulseAudio info may have failed due to
mainloops vanishing or conflicting.
Volume values are now set/get as % values, as with the
ALSA backend.

Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
7 years agoAdds documentation
José Bollo [Sun, 29 May 2016 20:15:41 +0000 (22:15 +0200)]
Adds documentation

Also remove a old cmakefile

Change-Id: I2748514934790043a15bb48d1d06bd82967d4494
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoredirect with the query
José Bollo [Sun, 29 May 2016 21:44:51 +0000 (23:44 +0200)]
redirect with the query

Change-Id: I36c6c6cbc62217ff0d79e004d9b40aa77e3fa0f4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoMerge branch 'master' of https://github.com/iotbzh/afb-daemon
Fulup Ar Foll [Sun, 29 May 2016 21:41:40 +0000 (23:41 +0200)]
Merge branch 'master' of https://github.com/iotbzh/afb-daemon

7 years agoPremière Relecture
Fulup Ar Foll [Sun, 29 May 2016 21:40:34 +0000 (23:40 +0200)]
Première Relecture

7 years agodon't enforce to refresh the token
José Bollo [Sun, 29 May 2016 10:35:26 +0000 (12:35 +0200)]
don't enforce to refresh the token

Change-Id: I4257210371c4b809e93c174e00677a82c4b196c7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoimproves versionning of libafbwsc
José Bollo [Sun, 29 May 2016 08:56:02 +0000 (10:56 +0200)]
improves versionning of libafbwsc

Change-Id: I8046c738a7c4fd367d2d7ae6e8fe6fc84054dc06
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoimproves documentation formating
José Bollo [Sun, 29 May 2016 08:27:26 +0000 (10:27 +0200)]
improves documentation formating

Change-Id: I70902f6fa8c0381dd4a5eefb050a971ca2c80b12
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agorename afb-wsc to libafbwsc
José Bollo [Sun, 29 May 2016 07:59:36 +0000 (09:59 +0200)]
rename afb-wsc to libafbwsc

Change-Id: I8609fcaff3f271f88cb4582675a404c88a9a41a5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoremove event sender interface
José Bollo [Sun, 29 May 2016 07:58:57 +0000 (09:58 +0200)]
remove event sender interface

Change-Id: I45735ccb4204821caecf89e3fdce08ec0a2471d7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoadds documentation for websocket C clients
José Bollo [Sat, 28 May 2016 22:12:00 +0000 (00:12 +0200)]
adds documentation for websocket C clients

Change-Id: I5507aeaf7669123eee16007af3d2fd3faeba8141
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agocompact formatting of json
José Bollo [Sat, 28 May 2016 21:20:21 +0000 (23:20 +0200)]
compact formatting of json

Change-Id: Ieb839f287593240aac4d784483ff4c6e6cb57d84
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoClean up and documentation
Fulup Ar Foll [Sat, 28 May 2016 20:59:17 +0000 (22:59 +0200)]
Clean up and documentation

7 years agoimprove naming of sample plugins
José Bollo [Sat, 28 May 2016 16:52:26 +0000 (18:52 +0200)]
improve naming of sample plugins

Change-Id: I81cbb40c937bc087079d1605d163aea968bb9250
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoMerge branch 'master' of https://github.com/iotbzh/afb-daemon
Fulup Ar Foll [Sat, 28 May 2016 09:55:08 +0000 (11:55 +0200)]
Merge branch 'master' of https://github.com/iotbzh/afb-daemon

7 years agoChanged Login for Connect
Fulup Ar Foll [Sat, 28 May 2016 09:54:24 +0000 (11:54 +0200)]
Changed Login for Connect

7 years agoimproves documentation
José Bollo [Fri, 27 May 2016 21:43:24 +0000 (23:43 +0200)]
improves documentation

Change-Id: Ia86f95ee852ca0cc419b2fe6e796621e358c8b29
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoremoves restriction on the count of waiters
José Bollo [Fri, 27 May 2016 21:07:19 +0000 (23:07 +0200)]
removes restriction on the count of waiters

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>
7 years agoimproves documentation
José Bollo [Fri, 27 May 2016 20:18:26 +0000 (22:18 +0200)]
improves documentation

Change-Id: Idbd1b735571c2e35daed23d43f8d5d3990881533
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoimproves documentation
José Bollo [Fri, 27 May 2016 15:31:30 +0000 (17:31 +0200)]
improves documentation

Change-Id: I5abae06cd5b5127fca97ba12aa8f18d037a95d79
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoAdds the library libafbwsc.so
José Bollo [Fri, 27 May 2016 15:15:21 +0000 (17:15 +0200)]
Adds the library libafbwsc.so

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>
7 years agoterminology: Level Of Assurance
José Bollo [Fri, 27 May 2016 14:41:59 +0000 (16:41 +0200)]
terminology: Level Of Assurance

Change-Id: I3c92aab34ba9414faf19d9a96d8f1de786f1e7b6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agofix formatting error
José Bollo [Fri, 27 May 2016 13:25:46 +0000 (15:25 +0200)]
fix formatting error

Change-Id: I1e5842a43a50c357d78f3318b4c0eed8ad1676e2
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoallows to remove file/line indication
José Bollo [Fri, 27 May 2016 13:23:58 +0000 (15:23 +0200)]
allows to remove file/line indication

Change-Id: I800dfdc68dc4538b2c46367a8594d7ac6a36824d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoremove unuseful flags
José Bollo [Fri, 27 May 2016 12:58:39 +0000 (14:58 +0200)]
remove unuseful flags

Change-Id: I1ae220cc7621647b0cbe1fa6ea4a21619b8fc52c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoimproves detection of formatting error
José Bollo [Fri, 27 May 2016 12:58:15 +0000 (14:58 +0200)]
improves detection of formatting error

Change-Id: I426013cb841d6826c4904f68bf5fa1c653dd972c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoimproves naming
José Bollo [Fri, 27 May 2016 12:57:29 +0000 (14:57 +0200)]
improves naming

Change-Id: If26d8b9af05c84bd24d0ac3ceb9a628a0039c2a6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoindicates the call to initialisation function
José Bollo [Fri, 27 May 2016 09:04:07 +0000 (11:04 +0200)]
indicates the call to initialisation function

Change-Id: Ia2e27fa2661b539e67e388a7e9f3fc1555281bd7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoImprove Audio plugin PulseAudio backend
Manuel Bachmann [Fri, 27 May 2016 12:16:54 +0000 (14:16 +0200)]
Improve Audio plugin PulseAudio backend

>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>
7 years agoImprove Audio plugin PulseAudio backend
Manuel Bachmann [Fri, 27 May 2016 09:04:56 +0000 (11:04 +0200)]
Improve Audio plugin PulseAudio backend

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>
7 years agorestore names
jobol [Thu, 26 May 2016 16:13:19 +0000 (18:13 +0200)]
restore names

Signed-off-by: jobol <jobol@nonadev.net>
7 years agorename parameter to argument
jobol [Thu, 26 May 2016 16:12:54 +0000 (18:12 +0200)]
rename parameter to argument

Signed-off-by: jobol <jobol@nonadev.net>
7 years agoupdate documentation
jobol [Thu, 26 May 2016 16:12:12 +0000 (18:12 +0200)]
update documentation

Signed-off-by: jobol <jobol@nonadev.net>
7 years agocss: minor update
Yannick Gicquel [Thu, 26 May 2016 12:13:11 +0000 (14:13 +0200)]
css: minor update

pre block: margin alignment
h1,h2,h3: add outline

Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
7 years agoDocumentation
Fulup Ar Foll [Wed, 25 May 2016 20:26:52 +0000 (22:26 +0200)]
Documentation

7 years agoSet LOA Sample
Fulup Ar Foll [Wed, 25 May 2016 20:22:54 +0000 (22:22 +0200)]
Set LOA Sample