Age | Commit message (Collapse) | Author | Files | Lines |
|
When afb-daemon was launched without systemd it crashed
in sd_fds_for.
Change-Id: I481f5d1a24ec45f8cacae32792b2e47dfa62f611
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ic9c1e89f6f4f5a124ffb2dbb88a26dc5e8e1e543
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I94b2d57b8234f607167488afd24364920f9624f0
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
|
|
|
|
Change-Id: Iaae331fbdadb88f26057a64193a026950dcb56e4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I604cb02ea9a9ee94105583223dbacb4116d299ff
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
|
|
Change-Id: Ic93ae014f56ddd0a2f0d7d12d15005eb1bda1f09
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
|
|
Change-Id: I41aa310f6898d5578b8de296d3b637c0d3595b1b
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I3c1cbb4a8a5473af5ac520441fecd1e5f3f253b3
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This solution is at this time the best one to allow
asynchronous calls within initialisation of bindings.
Change-Id: I21ba3a74b4e93eec238a11dd51bc6b58c483308d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I231e2506f58227fb8d192df042539b1551a765c5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I08f1bc228c419243044949aa3c4094873932d3f2
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I8ef676eb501c80a77944f88100119e8ae8784259
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: If6a988359b4d2747cefdd683b6328f5b36e37548
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ifb84a77abb0fee947fb05d80ac8276a8ede988af
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I21d6e36df183b798539cf2a378976cc595a77029
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Also remove default api verbs because it wasn't used
actually and it wasn't compatible with this evolution.
Change-Id: I863b99eddd418f771011bb35b4bcea763046224e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I4e756949635854694711590c81fee0b7d99d33b3
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I03c50694470059f11e47b51a29e3df6929125752
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Also rename of field 'prefix' to 'api' in afb_ditf
Change-Id: Iaff49a3e829bca6e33023c888e95fb18fa0b85d8
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: If5fe736e04c9f4298302c3cbba568f1d6346ee67
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ia261e2d9efce399b210f834c1acb679215021edd
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Iab10ed193bf6f6fc4240f6856c5835e35cd85dfa
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Idb71c3ae869046f568166d239cf5addd31d42c6f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I07e0201c4dc9996e47ca70819123b351c7fb2ad7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I6dda714bcb8c36392c14a1981cfb8960f3db45b8
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ieb3aac9610c3e60702fe709f283f5dc1805623d8
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Before this commit, the bindings version 1
were described differently from the bindings
version 2.
They now all describes themselves equally using
openAPI 3.
Change-Id: I73c2017d0bcbf3c3b01db0c58b03e328e4f44fda
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I42265fcee9eae8219ef0cf56d3c8446d2c0fc015
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I6a3b2df272a1c88c530fd229ba612ee30160e3cc
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ic39d2c025af257703340d1c8f56746b2e27d3818
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I879d05968521a25cab73f65dad02a52357e62dab
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ie437a6987df7f27a4a68b9c022d8cad8ab4f2cfe
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Don't enforce anymore to have the function
'afbBindingV1ServiceInit' defined when expecting
events through 'afbBindingV1ServiceEvent'.
This will allow to handle broadcasted events.
Change-Id: Ib75904487ad99fdc50813deaf6013f4ba4c47421
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I0ebe3b222cc5f0add9c9d433c0517af4e1910911
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Avoid to tune executable byu executable.
Should be redefined later.
Change-Id: I02e55e642c1797768b7dbcd8406f59199a56891d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I115bbebb2f51be92578d1cc6b2fb5ae89813b630
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This now factorizes code needed to asprintf
the arguments in an allocated string.
But the most interesting effect is the ability
to handle va_list of arguments. It can be used
for library of tools.
Change-Id: I4ba74c9984786f07abe0c7e53d7ef79dca863735
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The functions afb_req_raw and afb_req_send are
internal. They are now no more visible from
bindings.
Change-Id: I1f250a1800168a9c3772375477bf37a501f134a0
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This new function allows to call features for the
services synchronously.
Also refactoring how are handled arguments to
calls. The call to 'json_object_put' is now always
done by the binder.
Change-Id: I910517da75b179aeafc824da4ce29bc299711990
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The option -H (or --human) allows to output the
emited JSON object as pretty formatted for being
readable by human.
The option -r (--raw) can be used in this case to
still continue to print the raw output.
Change-Id: I1da531794fb243413741f067cfea79f670c3a626
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I37ab68217c733456810e7e9ceb4e2e6c058f1b5b
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ieac7c589ddadfb67761332443a3fd92038b6d548
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I34df971e9182fbab13d590e8390d6fe6af5d0f51
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Usage shown that managing daemon interface and service
interface wasn't obvious. This evolution hides the complexity
by setting up an internal hidden variable.
Change-Id: I667b1ee4e3a7b5ad29d712ee20ad5dd1878b97f3
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I08d8f1c249d5612831fcbc66fe5d0caee4e3a73d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The new naming is closer to the functionnal design
and closer to V1 names.
Change-Id: I8970338056a30564b84eaa1a7da6df3a9e6aa579
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ic20d1eb1c8515cd86444ad62b0daacbcd75e9b7e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Idb104b3db69d785b11446fe9b66084839290362f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|