summaryrefslogtreecommitdiffstats
path: root/conf.d/project/etc
AgeCommit message (Collapse)AuthorFilesLines
2018-07-05Reintoduce the old builtin pluginRomain Forlot2-1/+8
We use only one function of two from the plugin which could be called from the LUA script to be able to set a signal value from a LUA callback. Change-Id: Ic7a0fcd3d8c4c2370828c1d09fff9ed88a0dc15b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-05Rework loading sources and signals.Romain Forlot8-31/+62
Some function that are now included in the controller submodule do not need to be in the composer as well. Also initialize sources and signals in the same way . JSON configuration needs to be updated to fit this changes Change-Id: I2043791e7ee80f8350f33ed15bdf9980c0773b82 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-05Make 2 set of configurationsRomain Forlot5-18/+161
1 for normal multi low level sources 1 for TXC-demo Future goal will be to merge them Also reorganize data resources files Bump app-template: Submodule conf.d/app-templates dd0cec7..30e78a5: > Adding cmake file at the root directory > Adds commit hash to the version. > Change default sample settings. Change-Id: I31838723da58fc33b25bc7cd5f42396a1805e34d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-19Get builtin plugin as a normal pluginRomain Forlot2-3/+7
- 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>
2017-12-18Fix: absolute non significant path to pluginsRomain Forlot1-2/+2
Now relative to afb-daemon workdir. Change-Id: Ic60c7d332d1e18396b85881683a7ada4bfbf4ca2 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Fixing afb function call from LUA and cleaningRomain Forlot2-44/+11
Change-Id: I36d675ba7c38ce883a021da1a82dfbe8b077a39f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Rename lua scripts to comply api name.Romain Forlot1-1/+1
Change-Id: I9e1e5cf7315d54531e010c352187da271b1dee5c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Convert configuration to comply latest schemaRomain Forlot1-4/+2
Latest JSON schema available here: http://iot.bzh/download/public/schema/json/signal-composer-schema.json Change-Id: I6be3c8fc5450009eac334a5cdb84d10ead308a4f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Include geolocalisation signals configurationRomain Forlot1-1/+1
Change-Id: Id1d9ae7d6748e37276c7320e58a443a747c155f0 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Update JSON obj to fit new controller libRomain Forlot1-2/+2
Change-Id: Ib6068ef81151bc61923ad6ec54048028033ca4af Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Rename main configuration fileRomain Forlot1-0/+0
Change-Id: Ieb4b5978b1c6161a924b43471da987ccbc188e1e Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Migrate to ctl-utilities libraryRomain Forlot1-1/+1
New version of controller as a library. Loading additionnals files from each sections. Change-Id: I4f5e78d0baf9650cb8d1cc1da26f8e1fd73b792c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Update app-template & use new JSON schema for confRomain Forlot5-51/+65
Change-Id: I6e920ee08ea38f53f5dcc58d58f89cf1ace22f42 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14LUA lib and bin embedded in projectRomain Forlot2-8/+4
Change-Id: I1a61b49f55e4daa305800e754a14b6041aa81b34 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Introduce retention setting in place of classRomain Forlot2-9/+9
Be able to tweak retention value for each signal in seconds Change-Id: I1cabe48a2660cdeb2e9b32b277e7c819c6b49bd9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Make calling lua2c function from lua worksRomain Forlot1-1/+1
Change-Id: I56d78a3fe567d1f7a6c675f6a56473f96d325c85 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Update config to simulate real situationRomain Forlot3-16/+4
LUA2C not working... Use diagnostic message from OBD2 values for vehicle_speed Remove action from sources Change-Id: I08bd94bc023320a027a1e050583e5a940e1b2629 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Make compile LUA2C functions, binding not workingRomain Forlot2-1/+8
Change-Id: I37e66929e3ebf464802f9b89a222743936862029 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Make LUA worksRomain Forlot3-12/+9
- Added LUA library at link - Make app-template crash build if a checked file fails - Fix old defined variable CONTROL_LUA_PATH to a default one in the binding data directory - Add an example with unit conversion made in LUA Change-Id: I1b4712bde32a38044ad6b14ebd38b6782fd01fe9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Modification about conf definitionRomain Forlot4-101/+110
- Argument for each signal subscription. (getSignalsArgs) - differentiation between Signal as raw signal from another API and virtual signal depending upon other signals - changing way to specify function with uri that specify everythings that could be needed to invoke a function. Change-Id: I8917c5ae3c2c1e3fa48ddfdda41fc75eaba32bb7 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Added gps pluginRomain Forlot1-0/+6
Change-Id: I1cdd88816b6e61c143e4ad26217bddace772ae6e
2017-12-14Get CPP controller plugin worksRomain Forlot1-8/+64
Context passing variables not working well Change-Id: Ibc67bef353e5cc2e53ef9e5579d106baab92a604 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Subscription by plugin to signalsRomain Forlot3-9/+10
Change-Id: Icb923f87df2be8eb664106bc9077b3a8221dd3ce Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Attach and recursion check workingRomain Forlot4-131/+118
Change-Id: I2f9509d4b6aa63a16df8db2187810337fd802ef4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Progression on config parsing.Romain Forlot2-7/+6
Change-Id: Idd8d8987ccabef381f6d79c1d508930a2d4bae3c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Controller src integrationRomain Forlot1-16/+17
Change-Id: I0b18cd55057a784d183a5ba02c332810a34d1fca Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Reformat configuration schemaRomain Forlot4-386/+265
Change-Id: I9550b51bb343c683e84de7200ec6a73ce1dcd71a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Initial commitForlot Romain [IoT.bzh]5-0/+512
Change-Id: I2bb38bffdd92602659670901b8442201b7c56214 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>