aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-10-08Change how to request all loaded api infoJonathan Aillet1-18/+6
Instead of receiving all info about api by passing request arg : { "option" : "metadata" } api info will be obtained by passing this request arg : { "verbose" : 1 } Change-Id: I26a14d61ffefbb7f4630f4a3199ee5238008263a Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Remove sections id in sections callbacks structureJonathan Aillet1-6/+5
Remove sections id in sections callbacks structure because it's not mandatory anymore (it's even harder to add a section with these ids). Change-Id: I04caa1c83137e4165c023207d2b58376c176c248 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Change names of some structures fieldsJonathan Aillet4-30/+26
Change names of some structures fields to match the fileds name in controller structure. Change-Id: I579ec53835daa010154982539d09d5a2dcbd28b2 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Get Hal controller api structure fields properlyJonathan Aillet3-32/+7
Because of a recent change in the app-controller, change the way that metadata was get. Avoid to parse json again and use only CtlConfigT strcuture fields to fill Hal controller api structure. Add a fields info in Hal controller api structure. Change-Id: I17ff00bfd6d0991bed47831a92bf81ddcf3fb4c9 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Corrects json controller configurationsJonathan Aillet2-99/+51
Corrects json controller configurations to look more like a definitive hal configuration. Change-Id: I2281df854d408dcf8064a77d1941f4fca8c8b28e Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Update json controller configurationsJonathan Aillet2-13/+5
Update json controller configurations for new version of app-controller submodule that handles more metadata fields. Change-Id: Ie8c85973ea58e0bdf791a785a00e3cca901099f9 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Update version of app-controller submodule.Jonathan Aillet1-0/+0
Changes of app-controller: (bc3e9be - Jonathan Aillet) Increase lua script max message size (bea75dd - Jonathan Aillet) Prevent lost of config file path when searching (d07474e - Jonathan Aillet) Correct way that api actions are handled in controller (f7d4b1c - Jonathan Aillet) Handle more metadata in controller. (e7377f7 - Jonathan Aillet) Add possibility to set prefix to NULL in CtlConfigScan (4a72302 - Thierry Bultel) Fixed compilation warnings with gcc-7.2.0 Change-Id: Ia2ab9c0157634f1bac82fb0f062f377b1bb137b8 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Corrects version of app-controller submoduleJonathan Aillet1-0/+0
Corrects version of app-controller submodule. Change-Id: I71716e4c82675afe7c01440b29ed61909f2f99fe Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Pre-version of 4a-hal-managerJonathan Aillet14-0/+1160
Pre-version of 4a-hal manager that uses app-fwk DynAPI and app-controller. Current version : - Declare a new API for each HAL (each .json config file is used to generate one app-controller API) at startup. - Define verbs that will be provided by this API. - Provide verb to list and get info of loaded API. Change-Id: I7bb6e8b7539b1acd5556fd9275a1b536e129332d Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Add HAL configuration example json.Jonathan Aillet2-0/+142
Add HAL configuration example json which will be used to create controller APIs, each json file will correspond to an HAL API. Content of json is a descirption of a different HAL controller. Add compilation configuration for 4a-hal-gezneric project. Change-Id: If681563a5fa378a378906653538405093e4ce5ff Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Add compilation configurationJonathan Aillet11-0/+561
Add compilation configuration for 4a-hal-gezneric project. Change-Id: If5bc696cbf3170923ea67cef301c71720a70fe70 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Update submodulesJonathan Aillet2-0/+0
Update submodules. Change-Id: Icfaf691f382c76e9e059c7a24b243a633310a2c2 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Update gitignoreJonathan Aillet1-0/+1
Update gitignore. Change-Id: I7b34b3be7ac4a868c5938059160bcd1f3d0f2ec4 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Add submodule for afb-helpersJonathan Aillet2-0/+3
Add submodule for afb-helpers (needed for app-controller and DynAPI) Change-Id: I721a06db89f9ab07c182a776b7102821fa8be473 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Add submodules and gitignoreJonathan Aillet4-0/+25
Change-Id: I0562f322f5ce0936349c9cd883344a1e72a58e75 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Initial commitLoïc Collignon [IoT.bzh]2-0/+203
Change-Id: Ia7ff4e9b99308c5f9e0c570dd4becbd6da4b316c Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>