Age | Commit message (Collapse) | Author | Files | Lines |
|
There was only possible to add objects at runtime using another JSON
file located somewhere in the filesystem. Now, it is also possible to
load directly from a JSON passed in the request.
Change-Id: I77ab639593ecb3d73239244d11ee3da599caf1b4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: Ia3c79b64a44585f7d46e3cda5fbbc59b35322d5f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
By default, signal value are initialized to 0 which isn't
acceptable to be accurate and be able to calculate virtual
signals values as result would be false.
Change-Id: I8ec40d8dcb9ce1fae42aeec9fb48369f0914fd9f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: Id064fd0f91b5dde72bf1654abce3a8059b8ee191
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Uninitiliazed variable in submodule
Better handling of iterator assigments
Avoid multiple call to vector.size() function
Change-Id: I9cc8431e71b7d614a1619615a4048f19f5e31540
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I878fcf9304f56e4712a733018318b0c7caf7555b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I690c27663b381099fd74a598443208aacc59042d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Generate headers from afb-genskel with CPP options which
generate correctly the header for a CPP project.
Change-Id: Ibb64de25ca510a82bc91ba938fc221d9b820e175
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I4871f6a5cf9e838abc40fab8611c342a9039aeb1
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: Ic2f8ebee552ce982f858fe6ee93db2508a290617
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I0777e2f4dfbc054c3379ee00e8b62dc3e6254f7c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: Ic99190a45c831547b2ec1a7425a6f7cc38d7ed18
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: Ied46d7f7784b478c75758d15f018a7ff6d3533c2
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Correctly grab lua script using simpler prefix
Correctly free Composer object's members
Adding default binding source as required-apis
Change-Id: I91d34b636286e79c7bcc27f8ba2730897ec5f424
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Add binding rootdir to searched path for conf and plugins
Change-Id: Ifde4f6fb5b5e19d7af4326bd4bd4054ca299f5bf
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
and fix wrong path to binding
Change-Id: I188b5664de3374709853cf43eadd4e28e500373a
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I9ed37e688f037a60d51391d881797cd4e8c640ee
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
- Back in normal configuration file
- Remove builtin special callback as it is just a plugin after all
- Rename main configuration files to get it works on a target
board.
Change-Id: I69165c47e5e58eb519e727cfdd83ee628d90abba
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I7f059cb6566461a96765be78841d97e9b70beee3
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: If8cb4237486333e287190a22b92aeec9c5d09a6d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Also renamed loadConf to addObjects to avoid confusion
with loadConf at init time.
Improve file research if fullpath not procided by searching
in the CONTROL_CONFIG_PATH.
Change-Id: I8e541ff7437f0378bcdc7215ff9f391dcce6db9f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I82edfc5111805cf5e2affad1a6366d1144006fbf
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: Ie1325c32ed085823835cc2f139dcb452ffdb27a0
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Now relative to afb-daemon workdir.
Change-Id: Ic60c7d332d1e18396b85881683a7ada4bfbf4ca2
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Cleaning
Make some additionnals test avoiding segfault,
Filling opitonnal response object to avoid warning
Wrong plugins type register macro called
Change-Id: I012cc3ddc5f89b75dbc46c3ea535717141823884
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: Ide4b90ecbc7763d48a3949864f298882acdce57b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Adjust to the new controller behavior lua2c functions calls
Change-Id: I52d385101d5205a2dd2c996810feccb1f00c20c7
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I36d675ba7c38ce883a021da1a82dfbe8b077a39f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I15076f9b0a564ed2cd8b1fbce14353add115c215
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I4b2dc928f8b61e8e25145b88b292795c9fd8eea7
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I884a7957325a57a97dd562d620e11167f452edf2
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: Ie7c6fc98b450e0f856378b615ded2a586f02a7ad
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
no reason to keep it as pointer, and simpler to initiaze
it at construction time.
Change-Id: I0aee4483c834e66651d80998de81c99799451ff5
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Unsubscription remove asked signals from client session
then when no more signals are requested by the client
unsubscribe from event handle.
Correctly initialize members to by correctly evaluated after
Change-Id: Icabcb5a2446c62cab4eea9bf807613b719324ea0
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I712305849487cf21388292df9b261cdbe0917acb
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I3d540dd97367109416bd35ff337383178a79d6b4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: If50a439634382fa6d1c856b5c3fb29db4eb93a31
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I99d84fb56b01896caf6daa26ca50896f770ff509
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I0cff16c1d44b9363522fde7c6c9b2bd10ba376ac
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Later integrated in controller submodule
Change-Id: I7d5c7431e60fc16cc2053747674fe4f14efd6a14
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Keeping persistence between call data are kept in that member
also subscription Action now use getSignals_ context and no more
the signal one, this is more accurate and simples
Change-Id: Idd7c56ba30f1daa9eaf9b99a7261d58189ef0bb2
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Values has to be set.
Change-Id: Ia8fcd23e68b79de5cd0316c81341ac41643750b5
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I85f0299c3612fd8cfa39241db05d76c7adbbc86d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
And replace free calls by delete because operator
new was used.
Change-Id: Ifb0d301b0a09dd83e3ad574c97e02bd8af072ae6
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
# Conflicts:
# signal-composer-binding/signal-composer.cpp
|
|
And replace free calls by delete because operator
new was used.
Change-Id: Ifb0d301b0a09dd83e3ad574c97e02bd8af072ae6
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I9e1e5cf7315d54531e010c352187da271b1dee5c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: Ifa73631cc80359027740e99ef8d7c27cb4867fc7
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Fix a memory squashing bug that segfault binder when
loading directory searching for binding.
Change-Id: Iedc6747d8ce49e7ff5fc2013bb7d03b5b553b89c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Context is computed before calling action and accessible
through source parameter.
Change-Id: Ia1b2c59b7ad4e4e3f60ff193307201dbc6d388ba
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I5d7b3b8b9ac17c15143a20111dd2bcb3c44ab3bf
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|