summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-12-13Get back lua2c functions parsed at plugin loadRomain Forlot3-8/+29
Format JSON unpack operations Change-Id: Iaed0988d8536ad1df60a32a610e69e35485fc9f8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-12-13Correctly export symbols for C++Romain Forlot4-2/+29
Change-Id: I87eb6b5cc7208caaabbc3c2f3b6636d600c60370 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-12-13Fix: strncpy does't add null char at the endRomain Forlot3-24/+26
Fix: handle null response from CtlScanConfig() Change-Id: Icbe2a649886998078adda35b0d0dfd1c46e8fe31 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-12-13You may want load lua lib as embedded static libRomain Forlot1-0/+1
In this case you it should be available through link_libraries variable. Change-Id: Ic1dba40f7a44ea545db761d3b8e44b454f272ede Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-12-13Load afb_binding macros and stuff to pluginsRomain Forlot1-9/+24
Change-Id: I18a70e929530bb1cd5f7f68962edf975521b1c71 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-12-13Fix: C++ list initialization correctly done.Romain Forlot1-1/+1
C++ requires to initialize using the same order than what it is declared. Change-Id: Ic0063e0c0c8b2d5ad28e00e42b8a7e8822399a4b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-12-13fix: wrong usage of strncat and strncpy functionRomain Forlot3-31/+31
3rd arguments match strlen of 2nd arguments and should not match the maximum length of destination variable. Change-Id: Ifebf6097bb995d0cf2c5633eb94d52d4517ade7b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-12-13Modifiy timer to supper DynAPIFulup Ar Foll3-11/+18
th Please enter the commit message for your changes. Lines starting Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-12-13create agl .gitreview fileRonan Le Martret1-0/+4
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-12-13fix build errorRonan Le Martret1-1/+1
* error: format not a string literal and no format arguments [-Werror=format-security] Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-12-13Fix issue with compiling in API-V2Fulup Ar Foll1-1/+8
2018-12-13Avoid duplicated _GNU_SOURCE definition warningRomain Forlot5-6/+7
Change-Id: I2b805a60b67db1a72b429093256999673e2c3964 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-12-13FormatingRomain Forlot11-163/+161
Change-Id: I2b805a60b67db1a72b429093256999673e2c3964 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-12-13Replace macro by apiV2 compatible inline functionRomain Forlot1-0/+7
Signature from apiv2 and apiv3 aren't the same so better use an inline function here to be able to return a pointer. Change-Id: I2e811a37337ca1a4f1015a060e147c69370aa63c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-12-13Add action method to execute an action from its uidRomain Forlot2-2/+23
Change-Id: Ic8f1d418db228ca8c646263b32a2431931a6a4be Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-12-13Fix: issue at compile time Forlot Romain [IoT.bzh]1-2/+2
ctl-plugin.h:124:34: error: expected expression before ‘...’ token
2018-12-13First working version as submoduleFulup Ar Foll12-113/+283
2018-12-131st V2/pre-V3 versionfulup13-464/+886
2018-12-13fix target nameFulup Ar Foll2-2/+2
2018-12-13DocumentationFulup Ar Foll1-1/+1
2018-12-13Remove NetbeansFulup Ar Foll13-353/+0
2018-12-13Doc updateFulup Ar Foll2-1/+2
2018-12-13Initial Commit as submoduleFulup Ar Foll58-3746/+1021
2018-12-13Use public URL for submodule afb-utilitiesRonan Le Martret1-1/+1
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-12-13add packagingRonan Le Martret7-0/+206
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-12-13add dependency lua5.3 for debRonan Le Martret2-1/+5
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-12-13Fix cmake buildRonan Le Martret1-5/+5
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-12-13ctl-plugin: adjust deps; update app-templatesStephane Desneux2-1/+0
ctl-plugin must not be linked with ctl-binder. Otherwise, this produces some error like this depending on cmake version: ----- CMake Error at ctl-plugin/CMakeLists.txt:44 (TARGET_LINK_LIBRARIES): Target "afb-controller" of type MODULE_LIBRARY may not be linked into another target. One may link only to STATIC or SHARED libraries, or to executables with the ENABLE_EXPORTS property set. ----- Change-Id: I514b01e51da108c6a2ba09a96159779fe6e6797f Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-12-13update afb-utilitiesRonan Le Martret1-0/+0
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-12-13Fix strncat functRonan Le Martret2-15/+15
I: Statement might be overflowing a buffer in strncat. Common mistake: BAD: strncat(buffer,charptr,sizeof(buffer)) is wrong, it takes the left over size as 3rd argument GOOD: strncat(buffer,charptr,sizeof(buffer)-strlen(buffer)-1) Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-12-13Add *.tar.gz to .gitignoreRonan Le Martret1-0/+1
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-12-13update app-templatesRonan Le Martret1-0/+0
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-12-13update config.cmakeRonan Le Martret1-11/+31
* add link option Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-12-13Fixed spelling.Sebastien Douheret1-14/+14
2018-12-13Fixed LUA_CHECKER binary for debian/ubuntuSebastien Douheret1-0/+2
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-12-13Fix: handle packaging depsRomain Forlot3-2/+2
See app-templates commit description. Change-Id: Ie994acc2021818c7be293d9bc3eca597fc30bb68 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-12-13Cleanup in repo namesfulup2-0/+14
Change-Id: I16d9705dcc325910f0dd2b4ff5af587130193ecc
2018-12-13Update to new app-templatesFulup Ar Foll1-0/+0
2018-12-13CleanRomain Forlot1-5/+0
Change-Id: I3688d9891e7f3daafdaabf05943d2e1b988a3dac Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-12-13Fixed Netbeans ConfigurationFulup Ar Foll1-13/+0
2018-12-13Merge ConflictFulup Ar Foll1-1/+0
2018-12-13Attend to merfe with MasterFulup Ar Foll3-0/+19
2018-12-13Fulup Error Message at Lua levelFulup Ar Foll1-7/+86
2018-12-13Fix include issue on pluginFulup Ar Foll2-5/+23
2018-12-13Cleanup in reop namesfulup4-140/+8
2018-12-13Clean up module namingFulup Ar Foll3-89/+178
2018-12-13Remove Audio mentions from log messagesRomain Forlot1-2/+2
Change-Id: I2a3a2b0ad51c479d463eed7f827b07693e55a657 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-12-13Updated READMERomain Forlot1-48/+62
Change-Id: Ic5aa7a887cd796b551ed60b5f3c3695400f84671 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-12-13Fulup Error Message at Lua levelFulup Ar Foll2-9/+88
2018-12-13Fix include issue on pluginFulup Ar Foll2-6/+24