Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: Ie6c967f1c9d4a3936f608371714c3ff685c7de0a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I7a571d13670f689d8a872b2583a5ac06374d0b1a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
|
|
|
|
Change-Id: I4ff7349b1a87f92a7d9f378c715054061f06df57
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The file src/afb-client-demo.c provides an example of
how to make a simple C client that connects to the
daemon using the websocket protocol x-afb-json1.
Change-Id: I31c926b2c42101a53e1ea36b4f67f095614db4a0
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I5217b216d706fd0286c8754e966bca3965d4ea62
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This introduce 2 files for creating client
of websockets x-afb-json1:
- afb-wsj1.c
- afb-ws-client.c
The file afb-wsj1.c implements the protocol
x-afb-json1 on top of afb-ws.c.
It could be used to rewrite afb-ws-json1.
The file afb-ws-client.c implements a
light version of the websocket handshaking
to open a afb-wsj1 based on an uri.
Change-Id: Ie53a3b4ff91a9efac32b667b57f8005266db6001
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: If622b8964d554469204f4df379680c2d258b4bff
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I0a26ed98b400df3dfde07d86c058120c8d140329
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Idbcf5bd180788c8f50a7f2634c225290cf40c229
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The HTTPS case is still to be encoded for the websockets.
This new test manages the possible case of HTTPS to
emit an error message instead of a SEGV.
Change-Id: I1fae5d6ad50dfd7eaefdd0f44734cee1a488ccfe
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I49ed17a3818be6107c46ce17533761858d99f735
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I2db4ccb62b8a9aa2e7c93e54a43c47adc5cd3f93
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I34f2272e2f9e4f9166e55a7c8c17015fb8775d19
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ia37c70ffbb9122b2d53ec93baf203cd141613dc6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ia25d6a6269d7dd1af900b63d54cf615a69dfc4d7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ic8adc8b500542bc946b9236f391976da29214dd6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The daemon now quits with an explicit error message
instead of crashing if the "--token" parameter was
omitted.
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
|
|
Change-Id: Iebf7309255d1285a5833c5490d32f518a9232ede
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ida51275f75608e0b146a86d49bdb0e4b9c325fc0
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I7fb1bb9d2e1f02fb746f45b803c0798ff0d7336c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Iec97d679b7e3baa430e614f8e6336d6487de0f25
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Also adds a first (untested) implmentation of
the afb services over dbus.
Change-Id: Id1bdeccf75f3a70d3658bdaf0510d6e7b97f6c32
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I68d10265e34953e3ad21197f616c838b4b8c2bad
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Icb78637f4e7ed905ae8df4bf2e1ba1e0d176dfa2
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I855d2aa1ebc0cc9fb220a338f4ce79410a58c040
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Id76ab70174e758f26caf9f883595f6cc003147d3
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I98cd69133ba3babb2719fad8c7e31c4dcaf1ae97
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I0d9e4ad5a1a18aac1b81e00dc4632823653beaed
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
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>
|
|
Change-Id: Id9159d33937dc23342d32892f77998fb8cef0000
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I4c812382751c244e016041af53380e79ac63edd4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ib446bddd5ff2fba39dda02cad7ede4f63f576893
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Iefff8428c64b1432b95affe09273ce66bc7046ff
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I11173ae47dec95e0573929ebe941a01f8da0b038
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I96c89ef38d44cd25e7e7453a81c75cd790a8d54b
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I54547f52c44b05573190cd226f71ee9d40181300
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ia5f440bd84d18155dbe26f311c3a070238c17444
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: If9ec624786a64cb716e37acbad0c8d30c3bb8265
|
|
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>
|
|
Change-Id: I85ee8eb60ef5d37ce1a82044ae317d2a17d3bec8
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ia39ec6c01ce1fc6b3921b0433ab872d47ebdbbc4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I7c12c31957794910cd92fdfe74257e6faae8770a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: If7fb9445e01edaa635cf78cb60237f623f749481
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I0fce95b5ff4de8e826ceb4da1bc2ac86f21d70b1
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Id0e2952fb61dba0415698642d9eb907f83e18d5b
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Id3f92fb10d33773701bbaca32353546d295170ff
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I22de2429c57c1329802b0e5783c725b7b475de79
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Idb92d6de9904d050b37ef0a5d664e82573ff640d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|