apps/app-afb-helpers-submodule.git
6 years agoshared library: pass afb-helpers to shared library sandbox/benierc/shared-library
Clément Bénier [Tue, 28 Aug 2018 12:29:55 +0000 (14:29 +0200)]
shared library: pass afb-helpers to shared library

- add afb-timer in helpers: rename ctl-timer from ctl-utilities
into afb-timer

Change-Id: Ic88105d140edabcc96b091fb23f215db11ccb8c6
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
6 years agowrap-json: Fix duplicated lines in header file 03/15803/1 5.99.3 5.99.4 5.99.5 5.99.6 6.90.0 6.99.1 flounder/5.99.3 flounder/5.99.4 flounder/5.99.5 flounder/5.99.6 flounder_5.99.3 flounder_5.99.4 flounder_5.99.5 flounder_5.99.6 guppy/6.90.0 guppy/6.99.1 guppy_6.90.0 guppy_6.99.1
José Bollo [Fri, 27 Jul 2018 10:19:25 +0000 (12:19 +0200)]
wrap-json: Fix duplicated lines in header file

Change-Id: I75558cf086b8b2d74297f9996abaa7f5a0b58cb7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
6 years agoAdd '@' as binder middle name separator. 47/15747/1
Romain Forlot [Wed, 25 Jul 2018 14:06:21 +0000 (16:06 +0200)]
Add '@' as binder middle name separator.

Used binder name if set using the application id which use '@'
to separate name from version.

Change-Id: I1c4d963250ac17d4e4104b6cc69aa08b8fa95505
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoEnhance 'wrap_json_clone_depth' description 29/15529/2 5.99.2 flounder/5.99.2 flounder_5.99.2
Jonathan Aillet [Fri, 20 Jul 2018 10:43:19 +0000 (12:43 +0200)]
Enhance 'wrap_json_clone_depth' description

Enhance 'wrap_json_clone_depth' description by adding details about
clone depth using this function.

Change-Id: Iede8fa6a697f12e8a32c1e15afdcef445edbcfe4
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
6 years agoFix: use of GetBindingDirPath without dynapi 53/15453/2 sandbox/claneys/signalComposerFix
Romain Forlot [Thu, 19 Jul 2018 09:56:36 +0000 (11:56 +0200)]
Fix: use of GetBindingDirPath without dynapi

For classic binding < 3 without dynapi this fix the error
at compile time about conflicting type for this function.
This worked on eel and previous version because 'struct dynapi'
was declared and available for version 2 but now since binder
is in V3 then it isn't the case so function signature is not
valid anymore.

Change-Id: I135a723d21d70b8c54f4cab1c534210757318ed0
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoRetrieve directory list from environment variables 77/15377/4
Romain Forlot [Thu, 12 Jul 2018 16:18:43 +0000 (18:18 +0200)]
Retrieve directory list from environment variables

This adds a function able to retrieve from a prefix and suffix
an environment variable. This is meant to search config or plugin
files from potentially several sources, environment and source code.

This tries to get 2 environments variables:

- prefix+binderName+suffix (eg: AFT_LOWCAN_CONFIG_PATH)
- prefix+suffix (eg: AFT_CONFIG_PATH)

Then it returns the one found or both if they exist with the
most accurate one (with the binder name) first followed by the
other.

Change-Id: Ic448ff017e6158bec05895d63688b8968b5c6434
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoRemove the file .gitmodules 99/15299/2
Jose Bollo [Wed, 11 Jul 2018 13:36:42 +0000 (15:36 +0200)]
Remove the file .gitmodules

This project has no dependencency to any submodule.
Consequently it is cleaner to remove the file
.gitmodules

Change-Id: I097de9375a66c235b07626946ca8fcad196afbbd
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
6 years agoRemove unnecessary 'AFB_DEBUG' redefinition 01/15201/1
Jonathan Aillet [Tue, 10 Jul 2018 15:46:34 +0000 (17:46 +0200)]
Remove unnecessary 'AFB_DEBUG' redefinition

Remove unnecessary 'AFB_DEBUG' redefinition when using app-fw v3.

Change-Id: I3b0271442495882e2a10762fe54b2f3f4ebe8e6b
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
6 years agoUse binding version to handle dynapi 67/15167/2
Jonathan Aillet [Tue, 10 Jul 2018 08:29:11 +0000 (10:29 +0200)]
Use binding version to handle dynapi

Use binding version to define dynamic api debug messages function.
It is also cleaner to define binding version directly into
repository cmake than into a header like before this commit.

Change-Id: Ia14f635a7a2cec05c29f27ee4ce645711a8574a4
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
6 years agoAt search, use the prefix parameter as a prefix 45/14945/2
Jonathan Aillet [Mon, 2 Jul 2018 17:50:12 +0000 (19:50 +0200)]
At search, use the prefix parameter as a prefix

Be sure that prefix parameter is used as a prefix when searching for
configuration files (when using 'ScanForConfig' function).
Before this change, the function was only checking that the
prefix parameter was present in the file name (but not necessarily
at the beginning of the file name).

Bug-AGL:SPEC-1239

Change-Id: I9986cce5fab0fd5cd6d3049731f4c5883056a5f4
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
6 years agoRemove deprecated use of cmake/Qt macro 43/14943/3
Loïc Collignon [Mon, 2 Jul 2018 15:09:37 +0000 (17:09 +0200)]
Remove deprecated use of cmake/Qt macro

Last versions of cmake/Qt don't need the use of some macro anymore.
It allows you to put *.qrc files as sources files, which are
resources files. Those files need to be processed by a Qt's tool to
be transformed as C++ sources files.

Change-Id: Ide4b6eef53b3f6edfeac3c0553c79ce4277b1b7b
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
6 years agoRename method to avoid conflict with Qt's one 41/14941/1
Loïc Collignon [Mon, 2 Jul 2018 15:07:51 +0000 (17:07 +0200)]
Rename method to avoid conflict with Qt's one

Each QtObject define an 'event' method, which can conflict with the
'event' method to handle events in an Application Framework meaning.

Change-Id: I0fad844bfaa8fbfc2d14cc15b1f346b6f739a643
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
6 years agoFix warnings due to json-c evolution 07/14607/1 5.99.1 flounder/5.99.1 flounder_5.99.1
Sebastien Douheret [Fri, 22 Jun 2018 15:34:39 +0000 (17:34 +0200)]
Fix warnings due to json-c evolution

Library json-c now returns size_t instead of int.

Change-Id: Ib4f8bcd5dc6382fb3d189e83707a39dee8e14683
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agowrap-json: new helper functions for comparison 77/14277/4
jobol [Mon, 11 Jun 2018 12:28:01 +0000 (14:28 +0200)]
wrap-json: new helper functions for comparison

The new functions are

 - wrap_json_clone_depth: clone with defined depth
 - wrap_json_sort: sort an array accordingly to wrap_json_cmp
 - wrap_json_keys: compute the array of sorted keys
 - wrap_json_cmp: compare 2 items
 - wrap_json_equal: test equallity
 - wrap_json_contains: test inclusion

Change-Id: I9787bff6c262fa2702c27802d771e2d487ce6309
Signed-off-by: jose bollo <jose.bollo@iot.bzh>
6 years agoRemoved anonymous function in ScanDir and fixed warnings 99/14199/3
Sebastien Douheret [Tue, 5 Jun 2018 20:56:45 +0000 (22:56 +0200)]
Removed anonymous function in ScanDir and fixed warnings

Change-Id: Ie6b67506be077f8fe5c2108e5dd98f9460dda485
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agowrap-json: Add clone facility 29/14129/3
José Bollo [Tue, 29 May 2018 08:10:27 +0000 (10:10 +0200)]
wrap-json: Add clone facility

This adds 3 new facilities:

 - wrap_json_clone: clones any json object superficially
 - wrap_json_clone_deep: clones any json object deeply
 - wrap_json_add: adds to an object the fields of an other object

Change-Id: I3844d972aa6477c9dde6f66ad0b0604284a853a7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
6 years agoDisabled debug code (only used for testing). 53/14153/3
Sebastien Douheret [Fri, 1 Jun 2018 12:00:15 +0000 (14:00 +0200)]
Disabled debug code (only used for testing).

Change-Id: I76e66e34f4dfe8d598d6ccf4c91e61932d5b75bc
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoCorrection to include dynamic api correctly 65/14165/1
Jonathan Aillet [Fri, 1 Jun 2018 21:14:27 +0000 (23:14 +0200)]
Correction to include dynamic api correctly

Define the correct version needed by the application framework
for dynamic api.

Change-Id: Ic0fd504316e2fc086545f0615ec6e83f2b1cae2d
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
6 years agoFixed build warnings with gcc >= 7.3 93/14093/5
Sebastien Douheret [Fri, 25 May 2018 09:00:08 +0000 (11:00 +0200)]
Fixed build warnings with gcc >= 7.3

Reduced the number of warnings in native host configuration (here
Tumbleweed) in order to not hide true/real warnings that may appear
in the future.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoAdded afb-helpers-utils.h 81/14081/3
Thierry Bultel [Thu, 24 May 2018 08:03:20 +0000 (10:03 +0200)]
Added afb-helpers-utils.h

Added this file to some useful macros, the first one here is INT_STR_MAX that
permits to get rid of a warning with gcc >= 7.2.0

Change-Id: I768d216ab5494d346d5ee6e0df66f93410bfab57
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
6 years agoFixed compilation warnings with gcc-7.2.0 59/14059/1
Thierry Bultel [Tue, 22 May 2018 08:18:55 +0000 (10:18 +0200)]
Fixed compilation warnings with gcc-7.2.0

Replaced some 'size_t' by 'int'

Change-Id: I07492dad242b2c8f608f9cc90a4a257e48acec6a
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
6 years agoFixed spelling 79/13979/2
Sebastien Douheret [Tue, 15 May 2018 12:32:33 +0000 (14:32 +0200)]
Fixed spelling

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoMore secure way to use strncat and strncpy
Romain Forlot [Thu, 17 May 2018 00:28:48 +0000 (02:28 +0200)]
More secure way to use strncat and strncpy

This ensure not data will be written out of bound
of the destination variable buffer

Change-Id: I4d736855f085fc5f728258c5928fed7191df46b4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: compile errors depending API version
Romain Forlot [Tue, 15 May 2018 12:23:29 +0000 (14:23 +0200)]
Fix: compile errors depending API version

Change-Id: I9c1476ab35f9bf70322ad4cd81ab0790e4d0724b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agowrap-json: Fix warnings 47/13947/1
jobol [Mon, 14 May 2018 12:25:37 +0000 (14:25 +0200)]
wrap-json: Fix warnings

Signed-off-by: jobol <jose.bollo@iot.bzh>
6 years agowrap-json: Update the documentation 43/13943/1
jobol [Mon, 14 May 2018 10:17:26 +0000 (12:17 +0200)]
wrap-json: Update the documentation

Signed-off-by: jobol <jose.bollo@iot.bzh>
6 years agowrap-json: Accept null as valid base64 41/13941/1
jobol [Mon, 14 May 2018 09:36:22 +0000 (11:36 +0200)]
wrap-json: Accept null as valid base64

Signed-off-by: jobol <jose.bollo@iot.bzh>
6 years agowrap-json: Record result of tests 39/13939/1
jobol [Mon, 14 May 2018 09:23:23 +0000 (11:23 +0200)]
wrap-json: Record result of tests

Signed-off-by: jobol <jose.bollo@iot.bzh>
6 years agowrap-json: Fix bug decoding empty base64 37/13937/1
jobol [Mon, 14 May 2018 09:19:34 +0000 (11:19 +0200)]
wrap-json: Fix bug decoding empty base64

The function 'decode_base64' was buggy because
it freed 2 times the pointer 'result'.
This came from the fact realloc frees the
pointer and return NULL when the size if 0.

Signed-off-by: jobol <jose.bollo@iot.bzh>
6 years agowrap-json: Improve base64 en-de-coding 35/13935/1
jobol [Mon, 14 May 2018 08:13:59 +0000 (10:13 +0200)]
wrap-json: Improve base64 en-de-coding

The optional characters '*' and '?' weren't managed
so the packing of y/Y base64 wasn't really entire.

Signed-off-by: jobol <jose.bollo@iot.bzh>
6 years agoFix: wrong searchPath parameter
Romain Forlot [Fri, 11 May 2018 08:50:03 +0000 (10:50 +0200)]
Fix: wrong searchPath parameter

Change initialization parts of the function to be clearer
and ensure that at least searchPath has been correctly passed

Change-Id: Ic055e2c244b261b33960072f51193fcbbd48c222
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoDocumentate, formating, linting.
Romain Forlot [Wed, 9 May 2018 10:57:09 +0000 (12:57 +0200)]
Documentate, formating, linting.

Change-Id: Id77b9de1b847ca26133abd87511de4e78c7d01f7
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAdapt function to dynamic API
Romain Forlot [Wed, 9 May 2018 10:56:47 +0000 (12:56 +0200)]
Adapt function to dynamic API

A dynamic API being dynamic, you need to pass as parameter
on behalf of which API you want to act.

If you are using classic v2 API then just pass a NULL
pointer value.

Change-Id: I9ac6b606ff25c63a05a647e418a7c2bcc4b2a7fe
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFormating
Romain Forlot [Wed, 9 May 2018 09:59:19 +0000 (11:59 +0200)]
Formating

Change-Id: I16ee9154f4f5a7e71af83a22899a94f00e07aa79
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoMake CURL Wrapping functions optional 07/13807/12
Romain Forlot [Wed, 18 Apr 2018 09:49:42 +0000 (11:49 +0200)]
Make CURL Wrapping functions optional

Search CURL package in your system and add it
if found. This will add a libcurl to be linked
with the target.

Change-Id: Ie4a720fd11de97abead7a92a7fb18b5c8af21ec5
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAdd new function to retrieve HTTP response code 05/13805/10
Romain Forlot [Tue, 17 Apr 2018 15:00:04 +0000 (17:00 +0200)]
Add new function to retrieve HTTP response code

Change-Id: I1d01c95d6418646ef9d2f8f4b07210a33b10c117
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoPOST using unescaped arguments 03/13803/9
Romain Forlot [Wed, 4 Apr 2018 16:53:56 +0000 (18:53 +0200)]
POST using unescaped arguments

Add the ability to make a POST request without
urlencode the arguments. This will only concatenate
them instead.
You can also specify the used separator.

Change-Id: Icb61a5a20771a89e89159132365d86ee4c982d1c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoMerge "Added a Qt's websocket client to AFB into helpers"
Romain Forlot [Wed, 18 Apr 2018 08:55:31 +0000 (08:55 +0000)]
Merge "Added a Qt's websocket client to AFB into helpers"

6 years agoAdded a Qt's websocket client to AFB into helpers 97/13797/2
Loïc Collignon [Tue, 17 Apr 2018 13:27:14 +0000 (15:27 +0200)]
Added a Qt's websocket client to AFB into helpers

This add a single Qt class to serve as a client
to Application Framework Binder.
It's optional, not enabled by default.
To enable you have to set AFB_HELPERS_QTWSCLIENT
to ON.

Change-Id: Ia0759a95688e48183e6661082693c410a575b14b
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
6 years agoFix GCC < v7 warning on maybe unitialized variable 99/13799/1
Romain Forlot [Tue, 17 Apr 2018 14:44:46 +0000 (16:44 +0200)]
Fix GCC < v7 warning on maybe unitialized variable

Initialization done under a switch case statement within a "for"
loop which throw warning with GCC v6.

Change-Id: I47b51598cc68943bab6f98bd87b7ba6f40caeafc
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agowrap-json: Add base64 byte buffer support 77/13777/1
jobol [Fri, 13 Apr 2018 07:43:54 +0000 (09:43 +0200)]
wrap-json: Add base64 byte buffer support

Signed-off-by: jobol <jose.bollo@iot.bzh>
6 years agoRename cmake target accordingly to the git repo
Romain Forlot [Wed, 4 Apr 2018 16:53:09 +0000 (18:53 +0200)]
Rename cmake target accordingly to the git repo

Change-Id: I7e05205fe392884c25d1370564cad61119894754
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAdds a CURL wrapper library to help using libcurl
Romain Forlot [Tue, 3 Apr 2018 13:47:42 +0000 (15:47 +0200)]
Adds a CURL wrapper library to help using libcurl

Change-Id: If73bab16a5d4a5258f730c599630bd5fa8e5684f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoLinting/Fix: remove warning int/size_t conversion
Romain Forlot [Tue, 3 Apr 2018 13:46:38 +0000 (15:46 +0200)]
Linting/Fix: remove warning int/size_t conversion

Change-Id: I831bac418f5c12c9a747b08ea8be72dcbe1d4ea3
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix memory leak
Romain Forlot [Fri, 8 Dec 2017 19:11:34 +0000 (20:11 +0100)]
Fix memory leak

Change-Id: Ia02a639ea9210ed7961a88c91ff9e4cd1a732416
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAvoid memory collision.
Romain Forlot [Mon, 4 Dec 2017 16:35:21 +0000 (17:35 +0100)]
Avoid memory collision.

Change-Id: I805a725d6b9477fcb690d7c2c7cbb6bb4f112dfb
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoAdd gitreview 4.99.3 eel/4.99.3 eel_4.99.3
Romain Forlot [Thu, 9 Nov 2017 08:40:04 +0000 (09:40 +0100)]
Add gitreview

Change-Id: I63e63cf1cc4545a4090a005629508a654e4a72d1
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoFix to support pre-V3 DynAPI
Fulup Ar Foll [Tue, 24 Oct 2017 20:19:06 +0000 (22:19 +0200)]
Fix to support pre-V3 DynAPI

7 years agoPrepare for future API-V3
Fulup Ar Foll [Mon, 23 Oct 2017 16:05:33 +0000 (18:05 +0200)]
Prepare for future API-V3

7 years agoMisc Fix/Cleaning
Romain Forlot [Thu, 14 Sep 2017 17:35:39 +0000 (19:35 +0200)]
Misc Fix/Cleaning

- Correct size type ssize_t to test
- Remove free() statement because memory don't issued from a malloc
causing exception
- Remove redundant break statement after a return.

Change-Id: I47824dd5cf7afe68cd32e1c3e94e69f31d802995
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoConcatenate result directly from GetBindingDirPath
Romain Forlot [Sat, 9 Sep 2017 15:39:57 +0000 (17:39 +0200)]
Concatenate result directly from GetBindingDirPath

Return non const char pointer.

Change-Id: I975b18f72d26c1a2749ca54e4f096271497047dd
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoFix: mismatching function signature.
Romain Forlot [Sat, 9 Sep 2017 14:02:45 +0000 (16:02 +0200)]
Fix: mismatching function signature.

Change-Id: I5d3c8b34a4e42c867fe1e3eccd96aaa2cc9c5ca6
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoOnly return binding root dir.
Romain Forlot [Fri, 8 Sep 2017 15:21:40 +0000 (17:21 +0200)]
Only return binding root dir.

If subdirs path is needed then concatenation as to be done
using the rootdir.

Change-Id: I50a1eeb1f853ae26995a96e1661ff38cb7959f60
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoMore reliable GetBindingDirsPath function.
Romain Forlot [Fri, 8 Sep 2017 09:53:44 +0000 (11:53 +0200)]
More reliable GetBindingDirsPath function.

Only return a wanted directory path not a complex
structure.

Change-Id: I5b5a1dea2c55ee6a76dbbbd52c3ebfdd684255e5
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoAdding JSON library for CPP and its docs
Romain Forlot [Tue, 5 Sep 2017 11:58:32 +0000 (13:58 +0200)]
Adding JSON library for CPP and its docs

Change-Id: I3ae419ea586256bd9fff084f42966abf0f3491dd
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoRetrieve binder rootdir and subfolder paths
Romain Forlot [Mon, 4 Sep 2017 12:37:09 +0000 (14:37 +0200)]
Retrieve binder rootdir and subfolder paths

Change-Id: I064bf4831be40de70dab68b72489c4fdfc69e9c4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoReduce scope for some variables
Romain Forlot [Mon, 4 Sep 2017 12:35:48 +0000 (14:35 +0200)]
Reduce scope for some variables

Change-Id: Ic89421054a83709eec6afaa22dbb4373bcff9b19
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoInclude afb-utilities from C++ easily
Romain Forlot [Thu, 31 Aug 2017 10:48:47 +0000 (12:48 +0200)]
Include afb-utilities from C++ easily

Change-Id: Ic1c815b412d372a418c2faa51fea451c9100693c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoRename back define variable.
Romain Forlot [Wed, 30 Aug 2017 08:32:38 +0000 (10:32 +0200)]
Rename back define variable.

Change-Id: Ie0d40f08230170ef780c46748889e153618d1c44
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agofix strncat funct
Ronan Le Martret [Tue, 29 Aug 2017 14:09:07 +0000 (16:09 +0200)]
fix strncat funct

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>
7 years agoMD linting
Romain Forlot [Tue, 29 Aug 2017 08:47:25 +0000 (10:47 +0200)]
MD linting

Change-Id: Iea7fb484aa13d4cba0e27bef06592218710f7c8a
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoFix: set default value if missing defined var
Romain Forlot [Tue, 29 Aug 2017 08:47:16 +0000 (10:47 +0200)]
Fix: set default value if missing defined var

Change-Id: I93f8546e2cfe7fc11fdf0f956f10429f6c0ad8d0
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoFormat and missing header dependencies
Romain Forlot [Tue, 22 Aug 2017 17:03:05 +0000 (19:03 +0200)]
Format and missing header dependencies

Change-Id: If5890445bdb6a676ee6c435f50a27caa8ca5850d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoRemove audio-bindings dependencies
Romain Forlot [Tue, 22 Aug 2017 16:49:59 +0000 (18:49 +0200)]
Remove audio-bindings dependencies

Change-Id: Iad5c51cca8a659ca3c77dd63ce7920e0f54faf63
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoInitializing the repo
Romain Forlot [Tue, 22 Aug 2017 16:42:17 +0000 (18:42 +0200)]
Initializing the repo

Change-Id: I354a1c136a57e1ec8d511041fbd13a19b730c419
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoInitial commit
Forlot Romain [IoT.bzh] [Tue, 22 Aug 2017 16:11:58 +0000 (18:11 +0200)]
Initial commit