apps/low-level-can-service.git
6 years agoFix name to fit rename of git repository. 59/13659/1 master
Romain Forlot [Fri, 23 Mar 2018 16:02:04 +0000 (17:02 +0100)]
Fix name to fit rename of git repository.

Bug-AGL: SPEC-1276

Change-Id: I279620c1be00db03f06f6dd882b3b579c80480c4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoChange subscribed signals search to check filters as well 11/13611/3
Jonathan Aillet [Fri, 2 Mar 2018 10:51:42 +0000 (11:51 +0100)]
Change subscribed signals search to check filters as well

When a new subscription is made, search in existing subscription for a
combination of a signal and a filter instead of searching for just a signal.
In this way, each subscription will receive signals according to
their requesting filter.

Bug-AGL: SPEC-1339

Change-Id: I22cb96a2dbaaf48dbd77025ff1610bde151b19b4
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
6 years agoDelete obsolete references.
Jonathan Aillet [Thu, 1 Mar 2018 15:05:15 +0000 (16:05 +0100)]
Delete obsolete references.

Delete obsolote references such as use of acceptance filters,
timers, etc.

Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
6 years agoCorrection of 'typo' in documentation.
Jonathan Aillet [Mon, 5 Mar 2018 16:58:42 +0000 (17:58 +0100)]
Correction of 'typo' in documentation.

Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
6 years agoRun by default with system low-can service 83/13083/3
Romain Forlot [Tue, 2 Jan 2018 11:59:28 +0000 (12:59 +0100)]
Run by default with system low-can service

Change-Id: I0f72898d764e2c3e50998e62cfa2a16ead02b74b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoMake low-can use afb-genskel by default 81/13081/1
Romain Forlot [Tue, 2 Jan 2018 11:58:48 +0000 (12:58 +0100)]
Make low-can use afb-genskel by default

Cleaning header file inclusion

Change-Id: Ic0dd9637ecd491692bd4b8b39e9602e85498c0a9
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agodocs: bump version to 5.0-EE
Stephane Desneux [Fri, 22 Dec 2017 01:07:29 +0000 (02:07 +0100)]
docs: bump version to 5.0-EE

Change-Id: I69d573124b86429bb9b0f548542262e0538fd5f0
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
6 years agoCode enhancements mem leaks and uninitialized byte
Romain Forlot [Thu, 21 Dec 2017 12:45:58 +0000 (13:45 +0100)]
Code enhancements mem leaks and uninitialized byte

Change-Id: I40632b6212118278f5877957a480122e9383e3bc
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoInitialize struct to avoid unexpected behavior
Romain Forlot [Thu, 7 Dec 2017 11:41:03 +0000 (12:41 +0100)]
Initialize struct to avoid unexpected behavior

Change-Id: I8c160b427f0844e9bc6c7e65fb48cd122160bc65
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix wrong config.xml file used to build widget
Romain Forlot [Tue, 5 Dec 2017 09:07:16 +0000 (10:07 +0100)]
Fix wrong config.xml file used to build widget

Bug-AGL: SPEC-966

Change-Id: I39d226c6f6268ec880739e6b9230eb42ce475971
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFails write request if CAN signal not writable
Romain Forlot [Thu, 30 Nov 2017 10:49:15 +0000 (11:49 +0100)]
Fails write request if CAN signal not writable

Change-Id: I8d75a232ba7fad9cc95f286e521c2451a3a29061
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix permission label
Romain Forlot [Thu, 30 Nov 2017 08:43:58 +0000 (09:43 +0100)]
Fix permission label

Change-Id: I1c7299bdf9ff024f676b88860c8d31076f6806e0
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoCorrectly reconstituting entire CAN frame
Romain Forlot [Thu, 30 Nov 2017 08:43:46 +0000 (09:43 +0100)]
Correctly reconstituting entire CAN frame

Change-Id: I39d226c6f6268ec880739e6b9230eb42ce475971
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoDeprecate cmake variables not useful
Romain Forlot [Wed, 29 Nov 2017 09:02:32 +0000 (10:02 +0100)]
Deprecate cmake variables not useful

Mechanism to build 3rdparty external libs isn't unique
and should not be handled by app-templates

Change-Id: Ib8a030184820da6577fa37f74331aaf7d6155916
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFixed error after hard c/c ... 4.99.3 eel/4.99.3 eel_4.99.3
Romain Forlot [Fri, 17 Nov 2017 15:36:45 +0000 (16:36 +0100)]
Fixed error after hard c/c ...

Change-Id: I9dda0f1029735cab178f911d94a28b30a5c26123
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoWrong manipulation create those files. Deleting
Romain Forlot [Fri, 17 Nov 2017 14:11:14 +0000 (15:11 +0100)]
Wrong manipulation create those files. Deleting

Change-Id: I2fc9ae613f243d94bcb72aefe24e777a9b1d0b98
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoCleaning
Romain Forlot [Fri, 17 Nov 2017 09:17:33 +0000 (10:17 +0100)]
Cleaning

Change-Id: I61d47837feab0ead59be1b1c4c5e163c4a604df9
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoHandle space in project path
Romain Forlot [Fri, 17 Nov 2017 10:07:55 +0000 (11:07 +0100)]
Handle space in project path

Change-Id: I9c39a4fec5469216df31eb14f535cfda3907cdc1
Bug-AGL: SPEC-1117
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: wgt config file usage to build widget
Romain Forlot [Tue, 14 Nov 2017 15:44:28 +0000 (16:44 +0100)]
Fix: wgt config file usage to build widget

Change-Id: Ia160a42163d47f2b92f246cf1159da9fa2110527
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoSend entire CAN message rather than CAN signal.
Romain Forlot [Wed, 8 Nov 2017 08:55:23 +0000 (09:55 +0100)]
Send entire CAN message rather than CAN signal.

Old behavior send only the CAN signal, now we retrieve
the CAN message value instead and send the CAN message with
all CAN signals composing the message.

Change-Id: I2394cc30630601e46aa939ddda88e8616372179e
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoUpdate app-templates and autobuild script
Romain Forlot [Wed, 8 Nov 2017 08:10:57 +0000 (09:10 +0100)]
Update app-templates and autobuild script

Change-Id: I9ab84291aa785b87091cec4f775fb7e4cd31809c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix wrong filter condition (Thanks Parai Wang)
Romain Forlot [Wed, 8 Nov 2017 08:09:46 +0000 (09:09 +0100)]
Fix wrong filter condition (Thanks Parai Wang)

Change-Id: I7d3eccc2d4b99d543b669c7b3c8d7a38670d860f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoMake write permission use the same name everywhere 4.99.2 eel/4.99.2 eel_4.99.2
Romain Forlot [Thu, 19 Oct 2017 10:17:17 +0000 (12:17 +0200)]
Make write permission use the same name everywhere

Confusion made with permission generated and legacy one
which weren't the same.
Removing unused source file

Change-Id: I74f70b45358c052049ff84b872c0381915e27344
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoDetails usage of write verb in docs.
Romain Forlot [Thu, 19 Oct 2017 09:17:02 +0000 (11:17 +0200)]
Details usage of write verb in docs.

Formating

Change-Id: I17dd96a8fa64f09272f5c30ef77c6b41a21dea7d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAdd timestamp to diagnostic message event too
Romain Forlot [Thu, 28 Sep 2017 09:09:59 +0000 (11:09 +0200)]
Add timestamp to diagnostic message event too

Change-Id: Id01a15efe1b6aa063ac9bb2d3989ff195035eeb0
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoUse afb_genskel tools to generate api definition
Romain Forlot [Thu, 28 Sep 2017 09:09:17 +0000 (11:09 +0200)]
Use afb_genskel tools to generate api definition

Generated files hand fixed because of usage of C++
which has to use c++ binding function afb::auth to
add afb_auth struct

Change-Id: I80ee9cb751cc813754c949d8746aec197da6d52f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoHandle batched subscriptions in a JSON array
Romain Forlot [Thu, 21 Sep 2017 08:10:04 +0000 (10:10 +0200)]
Handle batched subscriptions in a JSON array

Change-Id: I33ade46eaf022a5c7e7cf874f8b838a4a6827f87
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoDocs - autogenerate cover 91/10991/2
Sebastien Douheret [Wed, 20 Sep 2017 09:12:09 +0000 (11:12 +0200)]
Docs - autogenerate cover

Change-Id: Ia0a8a6b19ce7b173189d73cdc5c0bbba77b2b71f
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agodocs: fix cover version
Stephane Desneux [Tue, 19 Sep 2017 17:20:30 +0000 (19:20 +0200)]
docs: fix cover version

Change-Id: I3a0e376fdb056a16c2f48e6a4fe2c6b2dd242855
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
6 years agodocs: fix cover version
Stephane Desneux [Tue, 19 Sep 2017 17:17:44 +0000 (19:17 +0200)]
docs: fix cover version

Change-Id: I3008fdf2a602c03a2448d69050368fc0f69a2319
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
6 years agoFix: again and again documentation revision
Romain Forlot [Tue, 19 Sep 2017 17:00:13 +0000 (19:00 +0200)]
Fix: again and again documentation revision

Change-Id: I3eb8d2fa9f614504d301d1e973ea9136a597c168
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
# Conflicts:
# book.json
# docs/Doc-Revisions.md

Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoSet docs revision to 4.99-EERC1 81/10981/1
Sebastien Douheret [Tue, 19 Sep 2017 14:45:19 +0000 (16:45 +0200)]
Set docs revision to 4.99-EERC1

Change-Id: I7e78e7199d2441ee4a13ba36fde7489ef6efea46
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoDocuments new verb: get, list and write for EEL
Romain Forlot [Tue, 19 Sep 2017 14:19:45 +0000 (16:19 +0200)]
Documents new verb: get, list and write for EEL

Change-Id: Id03f6363c5d452db43c696e045caaefad0916dc6
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoUpdate doc: Timestamp added to returned events.
Romain Forlot [Tue, 19 Sep 2017 09:26:07 +0000 (11:26 +0200)]
Update doc: Timestamp added to returned events.

Change-Id: I4021185bfee862ae701d7510debe31cf17dd97c9
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAdd timestamp val to returned json object on event
Romain Forlot [Wed, 13 Sep 2017 09:14:01 +0000 (11:14 +0200)]
Add timestamp val to returned json object on event

Change-Id: Ibfb514eb27c0378dba7e302755e5f6f95b0ca242
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAdd get() and list() API 55/10755/3
Yuichi Kusakabe [Fri, 1 Sep 2017 11:10:00 +0000 (20:10 +0900)]
Add get() and list() API

This patch is porting AMB get() and list() API.

Change-Id: Ic1d391219f1d64ab127bc1977a5b198abe0fc94b
Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com>
6 years agoFix can write API result 53/10753/2
Yuichi Kusakabe [Fri, 1 Sep 2017 10:43:58 +0000 (19:43 +0900)]
Fix can write API result

write_raw_frame() and write_signal() return results.

Change-Id: I3f6d03eaf02bde9ad02fd8de912c5816d249570f
Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com>
6 years agoFix write CAN bus name 51/10751/2
Yuichi Kusakabe [Fri, 1 Sep 2017 10:34:30 +0000 (19:34 +0900)]
Fix write CAN bus name

This patch is low-can write device use /dev/dev-mapping device name.

Change-Id: I165bdbd37a4e988b85f6ad7a669e6b1306957d45
Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com>
6 years agoInstall step created by app-templates submodule
Romain Forlot [Tue, 29 Aug 2017 13:42:09 +0000 (15:42 +0200)]
Install step created by app-templates submodule

Change-Id: Iaaf81d6700b09c5a40446df41435a02e198ee3e0
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoNew app-templates changes about compil flags.
Romain Forlot [Tue, 15 Aug 2017 13:45:42 +0000 (15:45 +0200)]
New app-templates changes about compil flags.

Now, all compilation options can be removed or rearranged.

Change-Id: Id25b8154a42d5a7fcce7e031f5b87404d7585d9d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFinalize JSON OPENapi definition file
Romain Forlot [Wed, 23 Aug 2017 16:42:08 +0000 (18:42 +0200)]
Finalize JSON OPENapi definition file

Change-Id: Ic346c408c938aad39fbea387af4224c14d8a727c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFormat
Romain Forlot [Wed, 9 Aug 2017 14:07:10 +0000 (16:07 +0200)]
Format

Change-Id: I995fa8af8e8fc330f07b9609129723c09e0b13bf
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoImprove debugging diag and empty event
Romain Forlot [Wed, 9 Aug 2017 14:07:05 +0000 (16:07 +0200)]
Improve debugging diag and empty event

Change-Id: I64dd5b3f241a9696dc759dffff884772e3f72fd7
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agopackaging: add hidden attribute to required permissions 79/10479/1 4.99.1 eel/4.99.1 eel_4.99.1
Matt Ranostay [Tue, 1 Aug 2017 06:35:41 +0000 (23:35 -0700)]
packaging: add hidden attribute to required permissions

Add urn:AGL:permission::public:hidden to the required
permissions to hide blank icon from HomeScreen

Bug-AGL: SPEC-796
Change-Id: I3c844a5c657d267678fe6ac78caaf99170c0cc53
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
6 years agoUpdate submodule for app-templates 4.0.0 dab/4.0.0 dab_4.0.0
Jan-Simon Möller [Thu, 27 Jul 2017 11:17:40 +0000 (13:17 +0200)]
Update submodule for app-templates

This brings-in c10409.

Change-Id: I6ea8dd2f3e63beaebe4811584138d183cd767ff2
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
6 years agoupdate app-templates
Ronan Le Martret [Thu, 27 Jul 2017 07:56:09 +0000 (09:56 +0200)]
update app-templates

Change-Id: I504bcd3f5c928db25757e0b932bbd84d448081a6
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
6 years agoFirst draft API definition for Appfw Genskel.
Romain Forlot [Tue, 25 Jul 2017 16:38:09 +0000 (18:38 +0200)]
First draft API definition for Appfw Genskel.

Change-Id: I3547560ebfa0fbc484bf411ce7c08011db6f64b1
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoUpdate .gitignore with syncthing hiden file
Romain Forlot [Tue, 25 Jul 2017 16:05:50 +0000 (18:05 +0200)]
Update .gitignore with syncthing hiden file

Change-Id: If0e8b5092f4b5101d434efdc8ecf3bf0c545d817
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoMake Kernel check not mandatory 57/10357/4
Romain Forlot [Tue, 25 Jul 2017 13:10:06 +0000 (15:10 +0200)]
Make Kernel check not mandatory

Use 2 different checks, one specify a mandatory kernel version
and the other will output a warning and position a preprocessing
variable that can be used in the code to exclude portions of code
that use kernel features not available under a certain version.

Bug-AGL: SPEC-772

Change-Id: I04523abe96749aeeb185e90eee154fd70a4cbf19
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoudpate app-templates
Romain Forlot [Fri, 21 Jul 2017 13:25:47 +0000 (15:25 +0200)]
udpate app-templates

Yocto fixes
Cleaning left files
Autobuild scripts
See app-templates git log :D

Change-Id: I14389a03dae5f06bf7d757031180971a09130465
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoExamples reorganization
Romain Forlot [Thu, 20 Jul 2017 14:40:35 +0000 (16:40 +0200)]
Examples reorganization

Separated by protocols and created signals from reversed
engineered signals.
Meld all used signals into an "agl-vcar" folder to be used as
default.

Change-Id: I27f7bc227a6fcea3db6672819e6a4d7bbf09863b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFormat
Romain Forlot [Mon, 17 Jul 2017 08:59:10 +0000 (10:59 +0200)]
Format

Change-Id: I036befbfb38b01d046d35a1364c28e0835dcbd41
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoCheck whether a signal is writable before sending
Romain Forlot [Mon, 17 Jul 2017 08:57:45 +0000 (10:57 +0200)]
Check whether a signal is writable before sending

Change-Id: Id04d04a07e43738f7379e33fa7c6022eaa426343
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoSplit big function to several smaller
Romain Forlot [Mon, 17 Jul 2017 08:56:46 +0000 (10:56 +0200)]
Split big function to several smaller

Change-Id: I070fdafd51e789eb37b963a100b57cae9dff3e25
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: encoding value method has wrong signature.
Romain Forlot [Fri, 14 Jul 2017 15:31:12 +0000 (17:31 +0200)]
Fix: encoding value method has wrong signature.

Change-Id: I227c721f782eef85f83db9ffdb7cc0e180d17da4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoHandle object without signal, only a bus
Romain Forlot [Fri, 14 Jul 2017 15:30:43 +0000 (17:30 +0200)]
Handle object without signal, only a bus

To be able to send or receive message on bus without depending
upon on a signals, this is adds opening socket just with a bus_name
if provided.
Also handle send a frame on bus depending on a signal or not.

Change-Id: I3a60a03a2d36db4db14b9ae90eefc4bbc8f21e32
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoBe able to write raw frame & encode value to sent
Romain Forlot [Thu, 13 Jul 2017 16:51:20 +0000 (18:51 +0200)]
Be able to write raw frame & encode value to sent

Check whether the argument is a raw frame or a Signal + Value
to encode then send.
1 new class to handle encoding part of a value as well as
a new method for can_signal_t which return index of a map from
its value.

Change-Id: I288d2aeec28ce74c9ca35750db18557c9251e1df
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoCreate an auth verb to raise privilege of session
Romain Forlot [Thu, 13 Jul 2017 16:47:18 +0000 (18:47 +0200)]
Create an auth verb to raise privilege of session

Simply raise to a LOA of 1 the current session if asked
Need to add some checks to not allow anyone raise its session
must hold a specific permission urn:AGL:permission::platform:can:write
to be able to authenticate.

Change-Id: Id4e01ca20ba8437e97a64db682fdd3ebf45ce7b4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoSignal isn't required so now have a default value
Romain Forlot [Thu, 13 Jul 2017 16:42:59 +0000 (18:42 +0200)]
Signal isn't required so now have a default value

We could want to send a message through the bus not attached to
a can_signal_t object in case of complete RAW message

Change-Id: I133671f8cdcc52a98c8bde9e343c0dc7edcb366e
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoInclude HVAC and meld with Toyota examples one.
Romain Forlot [Thu, 13 Jul 2017 09:15:46 +0000 (11:15 +0200)]
Include HVAC and meld with Toyota examples one.

Change-Id: Ia55dbcd7cabcd38d532a239cb00f8480a095bda2
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoUse compile generated DB instead of this file
Romain Forlot [Wed, 12 Jul 2017 15:43:36 +0000 (17:43 +0200)]
Use compile generated DB instead of this file

Change-Id: I4734103e3820a98decc44bd66c9ed682141b423c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoCleaning and renaming.
Romain Forlot [Wed, 12 Jul 2017 15:42:30 +0000 (17:42 +0200)]
Cleaning and renaming.

Change-Id: I24b78e3d41124650da286a50297f1c51410c2c6a
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: compile error initializing afb_auth struct.
Romain Forlot [Wed, 12 Jul 2017 15:42:16 +0000 (17:42 +0200)]
Fix: compile error initializing afb_auth struct.

std=c++11 isn't needed.
Added new class to the build and comment an other that
isn't used.

Change-Id: Ic32dead5e1ab55e0405f5e70224e4dad2c066116
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoImplements new verbs to write on CAN bus
Romain Forlot [Wed, 12 Jul 2017 15:40:36 +0000 (17:40 +0200)]
Implements new verbs to write on CAN bus

This will open a new BCM socket not dedicated to a subscription
use to that mean.

Change-Id: Idf353015f731e32d6eb7c7856bd73167c66e790f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoExample regeneration
Romain Forlot [Tue, 11 Jul 2017 15:03:20 +0000 (17:03 +0200)]
Example regeneration

Change-Id: Iab06c4aebcc4172ae831c8fda2d3986315fb94c2
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoMarkdown lint
Romain Forlot [Tue, 11 Jul 2017 15:03:07 +0000 (17:03 +0200)]
Markdown lint

Change-Id: If93e9353fbafc7d926a2987a2e6a0c0253248de4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoDefault pkg dependency no pertinent.
Romain Forlot [Fri, 21 Jul 2017 10:01:18 +0000 (12:01 +0200)]
Default pkg dependency no pertinent.

libmicrohttpd is a dependency of afb-daemon so no need
to specify it and the project did not use it anyway

Change-Id: I3de5b24d58a44a361d6aa5738179069201403c54
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix canmessage default frequency 89/10289/1
Yuichi Kusakabe [Fri, 21 Jul 2017 03:57:20 +0000 (12:57 +0900)]
Fix canmessage default frequency

Default CAN message is frequency_cloc_t(0.0)=1Hz setting.
But this value is not recived under 1000ms CAN data.
This patch is default frequency change 2000Hz(0.5ms).

Change-Id: I3c099b75da244ee147b67bc3ce7a95aea2bbf6fa
Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com>
6 years agoFix subscribe response 85/10285/2
Romain Forlot [Thu, 20 Jul 2017 15:51:20 +0000 (17:51 +0200)]
Fix subscribe response

This patch is "No signal(s) found for %s." return value is ret = -1.

Change-Id: Ia6f4f2db13beb7f9d3507d890383fc13cbddac0f
Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com>
6 years agofix link option 29/10229/1
Ronan Le Martret [Tue, 18 Jul 2017 15:58:24 +0000 (17:58 +0200)]
fix link option

Change-Id: Ibca245fc8c6ec7c68d24b9c6e693156974f186ef
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
6 years agoFix: autobuild script errors when no DEST definied
Romain Forlot [Tue, 11 Jul 2017 15:52:03 +0000 (17:52 +0200)]
Fix: autobuild script errors when no DEST definied

Change-Id: I8b8113e6c8b36b8e9040a41e9a575856153f817f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoDifferent errors between no file and wrong content
Romain Forlot [Mon, 10 Jul 2017 17:02:37 +0000 (19:02 +0200)]
Different errors between no file and wrong content

Change-Id: Ic705e09811b3479af8dc2287c53fa53fdcdff656
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoIntegrates latest fix from app-templates submodule
Romain Forlot [Fri, 7 Jul 2017 16:51:19 +0000 (18:51 +0200)]
Integrates latest fix from app-templates submodule

Change-Id: Iafa227798f3a3d8e0d4bf3d4b226a528abe4c1dc
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoUpdate struct to follow af-binder changes.
Romain Forlot [Fri, 7 Jul 2017 15:32:07 +0000 (17:32 +0200)]
Update struct to follow af-binder changes.

Added an info fields in struct.

Change-Id: I93165911c1ceb62c9893fa1c4635088f0df36b3f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: uninitialized variables.
Romain Forlot [Wed, 5 Jul 2017 16:36:30 +0000 (18:36 +0200)]
Fix: uninitialized variables.

Change-Id: I1e506f225ce6f17836708c32106ce45c80150ee6
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoCan't set compile FLAG using set using Yocto build
Romain Forlot [Wed, 5 Jul 2017 16:36:17 +0000 (18:36 +0200)]
Can't set compile FLAG using set using Yocto build

If set, then these are the flags that are used by bitbake
without append its own flags which provides toolchain variables
environment mandatory to correctly build for another target.

Change-Id: Id5ddfc11c3d7d2e1eee418989aabaa73a933a41a
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoRemove useless Makefile as we use CMake files.
Romain Forlot [Wed, 5 Jul 2017 14:26:58 +0000 (16:26 +0200)]
Remove useless Makefile as we use CMake files.

Change-Id: I99848f5369420a81cf1e38076d97840e4eab6ee7
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoDAB RC3 Fixes follows appfw API break.
Romain Forlot [Tue, 4 Jul 2017 12:27:16 +0000 (14:27 +0200)]
DAB RC3 Fixes follows appfw API break.

Following functions now return 0 on success and negative value
on failure :
    o afb_req_subcall
    o afb_req_subcall_sync
    o afb_service_call
    o afb_service_call_sync

Verbosity macros used in v2 bindings now needs to be prefixed
with AFB_ (ERROR -> AFB_ERROR)

Change-Id: Ica4346f215bb142fcda0c6ea15e7074f7091f4cc
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoUpdate README
Romain Forlot [Thu, 29 Jun 2017 22:47:42 +0000 (00:47 +0200)]
Update README

Change-Id: Idf39ee8002e4a9f08b0cba487c9b6517acb9aa7f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: Yocto build failure.
Romain Forlot [Thu, 29 Jun 2017 13:31:33 +0000 (15:31 +0200)]
Fix: Yocto build failure.

Change-Id: I515bc344f0ff6203eac6f43b2047aa7c5d0fc9aa
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix native build for openSUSE_Tumbleweed 41/9941/2
Ronan Le Martret [Wed, 28 Jun 2017 22:35:21 +0000 (00:35 +0200)]
Fix native build for openSUSE_Tumbleweed

 * add library specification "-pthread" to CXX_FLAGS.
  fix build error under gcc7 "undefined reference to `pthread_create'"

Change-Id: Ic952682086744f0e3f3e5f292495c7bc8b922316
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
6 years agoFix: autobuild scripts.
Romain Forlot [Thu, 29 Jun 2017 08:50:44 +0000 (08:50 +0000)]
Fix: autobuild scripts.

Wrong behavior when no DEST variable defined. mkdir failed
and copy too. Now mkdir and copy happens only when DEST is
defined

Change-Id: I8a3701f1f0fae7ecae60195300c3d8d8db4493c7
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoMerge "Update config.cmake"
Romain Forlot [Wed, 28 Jun 2017 16:23:39 +0000 (16:23 +0000)]
Merge "Update config.cmake"

6 years agosubmodule update and autobuild script generation
Romain Forlot [Wed, 28 Jun 2017 16:17:25 +0000 (18:17 +0200)]
submodule update and autobuild script generation

Change-Id: I9d434addc928124227f4d60599d30add4f8895b9
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoUpdate config.cmake 17/9917/1
Ronan Le Martret [Wed, 28 Jun 2017 16:06:10 +0000 (18:06 +0200)]
Update config.cmake

Change-Id: I24e08bbb2dc735125cea9a9fee18641c21938713
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
6 years agoUpdate to the latest app-templates version
Romain Forlot [Wed, 28 Jun 2017 09:39:23 +0000 (11:39 +0200)]
Update to the latest app-templates version

No more needs to call any macro and only include
config.cmake file is mandatory. Common.cmake is include
from config.cmake file
Generation autobuild script in conf.d/autobuild dir

Change-Id: I71a18a91755d76912fd8ff93c66bab231d4db301
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
# Conflicts:
# conf.d/app-templates

Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoUpdate to the latest app-templates version
Romain Forlot [Tue, 27 Jun 2017 17:00:16 +0000 (19:00 +0200)]
Update to the latest app-templates version

No more needs to call any macro and only include
config.cmake file is mandatory. Common.cmake is include
from config.cmake file
Generation autobuild script in conf.d/autobuild dir

Change-Id: I71a18a91755d76912fd8ff93c66bab231d4db301
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoEnable check kernel version before build
Romain Forlot [Mon, 26 Jun 2017 16:36:23 +0000 (18:36 +0200)]
Enable check kernel version before build

Upgrade app-template submodule that allows to correctly
check kernel version and uncomment kernel_minimal_version
variable definition.

Change-Id: I97d10e2506a89780fa611dc7f96eafb3f2be29cd
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoPermission about car was a test, removing it. Renesas_delivery_Q2
Romain Forlot [Thu, 22 Jun 2017 14:39:32 +0000 (16:39 +0200)]
Permission about car was a test, removing it.

target param isn't necessary because are implicit

Change-Id: I1704f8d28b0d7bf8a156c9dab9c4d37cb4b63347
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAdd some reminder...
Romain Forlot [Thu, 22 Jun 2017 14:37:30 +0000 (16:37 +0200)]
Add some reminder...

Change-Id: Ifb81989c39f31f73ce7dc7dcbebfc6039f6a6a47
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoNeeded feature to make binder load the binding
Romain Forlot [Wed, 21 Jun 2017 10:01:12 +0000 (12:01 +0200)]
Needed feature to make binder load the binding

Change-Id: I5c312e082bc710f3d3f381d09be055af4950cd1a
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoReview of documentation
Romain Forlot [Tue, 20 Jun 2017 14:43:28 +0000 (14:43 +0000)]
Review of documentation

Change-Id: I49763cc9264c0121db2950cfee56d69c66d0e4c7
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoMove submodule directory
Romain Forlot [Tue, 20 Jun 2017 14:37:08 +0000 (16:37 +0200)]
Move submodule directory

Change-Id: I2c603ab49bab01fd1221147cfe9c97bdacea91a9
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoSeparation Generator to a dedicated repo
Romain Forlot [Tue, 20 Jun 2017 10:24:05 +0000 (10:24 +0000)]
Separation Generator to a dedicated repo

Change-Id: Id94831651c3266861435272a6e36c7884bef2c45
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoUpdate doc revision and pdf cover. 75/9775/1
Sebastien Douheret [Tue, 20 Jun 2017 08:49:55 +0000 (10:49 +0200)]
Update doc revision and pdf cover.

Change-Id: Ia566b39055a39cb14760f3a17b4240690c1a8f56
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoAdd .gitreview
Romain Forlot [Tue, 20 Jun 2017 08:54:29 +0000 (08:54 +0000)]
Add .gitreview

Change-Id: Ie52d9470d792ce3556d3a153316fc7384cd10e64
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAlign with AGL version
Romain Forlot [Tue, 20 Jun 2017 08:11:17 +0000 (08:11 +0000)]
Align with AGL version

And unify prefix with audio binding and others bindings

Change-Id: I685afd2e4c75c813ac9af8ab3281fedc04b9289e
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoNow even generator can be built in SDK environment
Romain Forlot [Wed, 14 Jun 2017 13:34:11 +0000 (15:34 +0200)]
Now even generator can be built in SDK environment

Change-Id: I7fdcddca9002e8d1cfb21049198d798c8551319c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoUpdate build and package configuration file.
Romain Forlot [Mon, 12 Jun 2017 10:07:11 +0000 (12:07 +0200)]
Update build and package configuration file.

Change-Id: I9e5f596744479ed21f375e3cdd97c5d68bfa4c7a
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoUpdate documentation PDF metadata
Romain Forlot [Fri, 9 Jun 2017 16:11:39 +0000 (18:11 +0200)]
Update documentation PDF metadata

Change-Id: I64aa4cbae216d1ce4b48efaad704a158088b4494
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>