summaryrefslogtreecommitdiffstats
path: root/conf.d
AgeCommit message (Collapse)AuthorFilesLines
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-18Several small fixes and improvements.Romain Forlot1-5/+4
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>
2017-12-15Fix CTL_PLUGIN_MAGIC outside of long int rangeRomain Forlot1-1/+1
Change-Id: Ide4b90ecbc7763d48a3949864f298882acdce57b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-15Get back on track l2c functionsRomain Forlot2-6/+2
Adjust to the new controller behavior lua2c functions calls Change-Id: I52d385101d5205a2dd2c996810feccb1f00c20c7 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Fixing afb function call from LUA and cleaningRomain Forlot6-154/+26
Change-Id: I36d675ba7c38ce883a021da1a82dfbe8b077a39f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Update all submodulesRomain Forlot1-0/+0
Change-Id: I3d540dd97367109416bd35ff337383178a79d6b4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Fix LUA path not setRomain Forlot1-0/+1
Change-Id: I85f0299c3612fd8cfa39241db05d76c7adbbc86d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Rename lua scripts to comply api name.Romain Forlot6-1/+1
Change-Id: I9e1e5cf7315d54531e010c352187da271b1dee5c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Update submodulesRomain Forlot1-0/+0
Change-Id: Ifa73631cc80359027740e99ef8d7c27cb4867fc7 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Disable Efence tool use at build.Romain Forlot1-1/+1
Change-Id: I5d7b3b8b9ac17c15143a20111dd2bcb3c44ab3bf 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-14Migrate submodule to gerrit and update themRomain Forlot1-0/+0
Change-Id: Idb761fdb3c8db7a9455078c90106ce5d55726bf3 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-14Fix: LUA support is CMake var not compile optionRomain Forlot1-3/+3
Add build dir as Path to search for plugins and lua Change-Id: I918f25dceeaf5ba4b9729c8d80fd40b936d9c1d6 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Added version check to afb-daemon pkg requisiteRomain Forlot1-1/+1
Change-Id: I8cf780dcf4381f3173c185887867e1c0fdb1785b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Fix: wrong path to the binding fileRomain Forlot1-1/+1
Change-Id: Ief61fa7cf4e9464a497d79197cad043a160e983f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Upgrade app-templatesRomain Forlot1-0/+0
Change-Id: Ib3d9b65a3ddcc1f986321e4d5ada629bb5fccbcf Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Match Widget config file value from config.cmakeRomain Forlot1-0/+0
Change-Id: I680ab31fa4ae627741f5b96b9c44059bc19426a3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Migrate to ctl-utilities libraryRomain Forlot2-4/+6
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 Forlot6-51/+65
Change-Id: I6e920ee08ea38f53f5dcc58d58f89cf1ace22f42 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14LUA lib and bin embedded in projectRomain Forlot9-14/+47
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-14lua2c completely operationnalRomain Forlot1-8/+4
- Retrieve args from lua call correctly - Correctly push and set function pointer into plugin symbols Change-Id: I12d03e1101c458a042887a67a35a08082bd98f4c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Update app-template to make Efence usage optionnalRomain Forlot2-0/+1
Change-Id: I2e991195e08e876497d75d73a55af6899c0aabe4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Make calling lua2c function from lua worksRomain Forlot2-3/+3
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-14Enhance pointer manage and container browsingRomain Forlot1-2/+2
- SourceAPI now holds share_ptr of Signal - Signal are stored in a map<string,signal> that change way to browse the signals - subscribed property included in SourceAPI. - Clean old code - renaming struct SignalValue->signalValue Change-Id: Ic5c28296ddd7197c6562e12fbc91c504c1cc0b4d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Make compile LUA2C functions, binding not workingRomain Forlot5-158/+16
Change-Id: I37e66929e3ebf464802f9b89a222743936862029 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Make LUA worksRomain Forlot18-86/+234
- 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 Forlot6-132/+119
Change-Id: I2f9509d4b6aa63a16df8db2187810337fd802ef4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Update app-templatesRomain Forlot1-0/+0
Change-Id: I785639e82b45e824d8670cda869a0bf67236c7a7 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Progression on config parsing.Romain Forlot3-7/+6
Change-Id: Idd8d8987ccabef381f6d79c1d508930a2d4bae3c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Controller src integrationRomain Forlot3-17/+21
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]20-0/+1307
Change-Id: I2bb38bffdd92602659670901b8442201b7c56214 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>