Romain Forlot [Tue, 20 Nov 2018 18:47:49 +0000 (19:47 +0100)]
Use newly generated cpp file with default encoders
Change-Id: I7bf15568a16e0c84c4f590ca07eba48ecd34157f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Romain Forlot [Tue, 20 Nov 2018 18:46:00 +0000 (19:46 +0100)]
Handle several can_frame in a BCM message
Also clean an unused function
Change-Id: I4faabf5a1af53da898ee70f2bc4b528acea3ded3
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Romain Forlot [Tue, 20 Nov 2018 18:40:47 +0000 (19:40 +0100)]
Adds a new function to build from a json_object.
Build an openxc_DynamicField from a json_object.
Change-Id: I57033daca5fd4f198b872f015255893d9f8f9303
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Romain Forlot [Tue, 20 Nov 2018 18:38:15 +0000 (19:38 +0100)]
Adjust "encoder" signature to fit cpp usage
Adjust "encoder" signature to fit cpp usage like for the decoder functions.
Change-Id: I5872c5e32fd69356124fefbc82fd1f77ab8acbf4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Romain Forlot [Tue, 20 Nov 2018 18:35:22 +0000 (19:35 +0100)]
Code format and style changes
Change-Id: Icfb7cdb53deba8d82b91f884c6b815adf0f17adf
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Romain Forlot [Tue, 20 Nov 2018 18:55:30 +0000 (19:55 +0100)]
Update gitignore
Change-Id: Iacc55ff5e0b9723897db190db3e5cd73cab8e7b9
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Romain Forlot [Tue, 20 Nov 2018 16:57:54 +0000 (17:57 +0100)]
Added afb-helpers submodule
Use the afb helpers lib to be able to use wrap_json functions.
Change-Id: I3a66ac4eb7d80ff921de13a7e749311d33f0572e
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Frederic Marec [Tue, 6 Nov 2018 16:26:09 +0000 (17:26 +0100)]
Change .gitmodules following submodule migration
Remove app-template in .gitmodules
Remove .gitmodules
Change-Id: I41808c8135cfb24baaaaba526781fc149fd918fe
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
Romain Forlot [Wed, 31 Oct 2018 15:40:59 +0000 (16:40 +0100)]
Migrate app-templates to CMake module
Bug-AGL SPEC-1682
Change-Id: I9f8e4f8bb2c7a020e41215022d2528ea9c26afe1
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Romain Forlot [Thu, 11 Oct 2018 10:25:27 +0000 (12:25 +0200)]
Migration to binding v3
Change-Id: I0bcccb15200064bd7d83edbf06c1e7202069189a
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Romain Forlot [Thu, 11 Oct 2018 12:19:42 +0000 (14:19 +0200)]
Updated app-templates submodule
Submodule conf.d/app-templates
f0b24b0..
0f25ab2:
> Adding warning message to migrate on CMake module
> common.cmake: fixed erroneous search path for os-release
> Fix: missing gcov symbol in compiled binaries
> app-templates doc: Changed doc to fit new format.
> Update Docs
> Fix: typo
Change-Id: Ie81d583faf3b703d773dadc82f2fe88453951c2d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Romain Forlot [Thu, 11 Oct 2018 12:18:00 +0000 (14:18 +0200)]
Change the project name
Change the project name to be consistent with other AGL services project.
Change-Id: I2dbd53f59673217c8796bc23c208ed55c1b1716f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Jose Bollo [Tue, 9 Oct 2018 10:01:16 +0000 (12:01 +0200)]
Use feature 'required-binding'
The feature "urn:AGL:widget:required-binding" is now
preferred to the feature "urn:AGL:widget:required-api"
for requiring a local binding.
Bug-AGL: SPEC-1800
Change-Id: I67508e271b184de362597eeaf20d86bdb17fbd9a
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Romain Forlot [Tue, 25 Sep 2018 12:54:34 +0000 (14:54 +0200)]
Use the unified script to launch tests
This use the dedicated script to launch tests on native
development environment and get rid of the dedicated script
afb-test.sh.
Change-Id: Iaefa95bfd9c842da5ef87bd1adba87d5241a3d8c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Sebastien Douheret [Thu, 20 Sep 2018 06:34:53 +0000 (08:34 +0200)]
doc: Changed doc to new format
- split book.json to match new format
- changed description in README.md
- remove useless files
Change-Id: Ie41edb058cf7cfc4920c5c84767097c4e46d34cb
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Romain Forlot [Wed, 12 Sep 2018 14:01:59 +0000 (16:01 +0200)]
Reach fixture files in all cases.
Depending if you are executing tests on a board or natively
with one or more binders you have to reliably be able to reach
your fixtures files. Using the bindingRootDir you always point to
the right directory and know exactly where are your files.
Change-Id: I61e7cd9d7ff43637dff6e63ffc82a7485cf92443
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Romain Forlot [Sat, 28 Jul 2018 00:30:14 +0000 (02:30 +0200)]
Cleaning, set up binding version in config.cmake
Change-Id: I2e8d89b09982c9f3770a5a3e10d281e0ad87651c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Romain Forlot [Tue, 14 Aug 2018 16:33:27 +0000 (18:33 +0200)]
Use TEST app-templates labels
Change-Id: I03b12b6edd04eae51efba509e6d92be3a91702de
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Romain Forlot [Tue, 14 Aug 2018 16:56:34 +0000 (18:56 +0200)]
Specify the API name to be tested
Since the API is hardly guessable we need a variable
to be able to build a test widget using CMake template
function that will configure the config.xml file
automatically
Change-Id: Ibbb50c8a84356bbe39427453ccf1ebd0785286e5
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Romain Forlot [Mon, 13 Aug 2018 08:49:36 +0000 (10:49 +0200)]
Use dedicated API name for the test
Use dedicated API name for the test and not using the generic
one already used by the raw afb-test.
Change-Id: I79eb590a9a1d8c2538bd1b9d8bfc5a8537cf6c00
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Romain Forlot [Sat, 28 Jul 2018 00:34:44 +0000 (02:34 +0200)]
Update gitignore
Change-Id: I510914c895cafedba5c407fe6ea9e23414eae076
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Romain Forlot [Fri, 27 Jul 2018 18:02:56 +0000 (20:02 +0200)]
Several tests improvements and fixes
- New tests about authenticate and write on CAN bus.
- Fixes diagnostic messages handling, all diagnostic messages are received
through the same handle then in its data there is the detailled message
name.
- Set after and before method the same between the both file then they could
be played separately. About now setting multiple times those methods will override
them and the latest set wins
- Disable the Step3 for now because of segfault
- Fix unsubscribe argument to match the previous subscription else
it doesn't match and verb call fails
- Fix: typo,wrong variable
Change-Id: I2f4c2873e57611c946a99d4313021bb7bfea679c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Romain Forlot [Fri, 27 Jul 2018 17:51:52 +0000 (19:51 +0200)]
Updated examples files and default configuration
Let use the new decoder's function and set some hvac signals
as writable to be able to test this feature.
Change-Id: I27e1c2be069b8bb55ed931ad1fb629aa2d4e5b86
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Romain Forlot [Fri, 27 Jul 2018 17:50:04 +0000 (19:50 +0200)]
Tiny doc fix
Change-Id: Ic3f1c572fccacb1c78e38c6a94aafcd0f9740aff
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Romain Forlot [Wed, 18 Jul 2018 13:12:20 +0000 (15:12 +0200)]
Align config.cmake file with app-template update
Submodule conf.d/app-templates
92646f6..
f94e45e:
> Align sample on actual default compile options
> Add support to binding version 3.
> Warning if not using wgtpkg-pack to make a widget
> Rework CMAKE_INSTALL_PREFIX and INSTALL_PREFIX var
> Be able to overwrite BUILD_TYPE using CLI
> Use CACHE variable for other common CMAKE variable
> Fix:: wrong wgt using RELEASE BUILD TYPE
> Fix: SYSROOT location detection... Wrong test.
> Change the default debug compilation options.
> Clearer coverage compilation options configuration
> Don't overwrite the autobuild script if it exists
> Disable the in-tree build method.
> Detect Yocto as OS distribution
> Fix: wrong compile options added
Change-Id: I9d9f607108160e818e8d6345e9c45c02736d7355
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Romain Forlot [Wed, 18 Jul 2018 12:15:51 +0000 (14:15 +0200)]
Remove generated files from git repo
This files is generated by afb-genskel tools at build time.
Having it in the repo could make some unwanted side effects.
Change-Id: Ib5c6b010fe56245694fe267aca0548575b6e063b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
8000ff [Tue, 24 Jul 2018 09:24:20 +0000 (11:24 +0200)]
Added frequency filter test
Change-Id: I9b80a713f5696e36e4acbe815dc3422281b6e0d3
Signed-off-by: 8000ff <clementmallejac@gmail.com>
8000ff [Fri, 20 Jul 2018 08:47:28 +0000 (10:47 +0200)]
Improved testing procedures
- Deleted deprecated low-can-tests.lua
- Renamed low-can-coverage.lua as it does not describe its purpose
- Added 2 new canreplay files
- Added new test file for testing subscription filters
- Edited the test configuration to play the new test file
Change-Id: I11315581a5fac7428ed17d3ef299a9f0e96ce7f4
Signed-off-by: 8000ff <clementmallejac@gmail.com>
Matt Ranostay [Wed, 11 Jul 2018 19:09:59 +0000 (12:09 -0700)]
can-low-level: add missing hidden attribute to config.xml.in
Change-Id: I270b26f79548a784840a7466bd77a6df46741530
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Romain Forlot [Tue, 19 Jun 2018 16:40:32 +0000 (18:40 +0200)]
Add tests
Create first tests to be used with afb-test binding
The test binding is now found using pkg-config command.
Change-Id: Ib1cd08236b6b8fab93ccb67ac613a9c83908d12e
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Romain Forlot [Fri, 6 Jul 2018 14:08:48 +0000 (16:08 +0200)]
Make Built type overwritten by cli possible.
Settings a CMAKE CACHE variable make the first definition
to be not overwritten by a next assignement. Then a cli
variable is then possible more without force.
Change-Id: Iaad2ffa9d51cd2c77c51e94533979d3ee3f9dd32
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Romain Forlot [Fri, 6 Jul 2018 12:38:02 +0000 (14:38 +0200)]
Fix: correctly stop the binding.
Automatically destroying C++ objects wasn't sufficient since
it uses thread with locks that were waiting forever if there is
no CAN bus activity. Now correctly wake-up the threads to ends
them even if there without activity on the CAN bus.
Change-Id: I69d74a34a8dbea4df7c8090aa47abf1c43133020
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Romain Forlot [Wed, 20 Jun 2018 13:24:29 +0000 (15:24 +0200)]
Add CAN sample for the agl-vcar configuration
Change-Id: Ib6a479f30e271ef26955ad3359eda87469f1277a
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Jan-Simon Moeller [Fri, 25 May 2018 18:53:52 +0000 (18:53 +0000)]
Merge "Fixing typos made in comments"
ydimitrov [Fri, 18 May 2018 20:12:14 +0000 (21:12 +0100)]
Fixing typos made in comments
This change set fixes the comments made by previous contributors
v2: Fix line end
v3: Making changes to comments as suggested by reviewers
v4: Removing trailing spaces
v5: Clearing small typo in low-can-cb.cpp on line 142
Change-Id: Ifbcfc3b2d131d1db0b25e472955b21e98cc09f45
Signed-off-by: ydimitrov <y.dimitrov.14@gmail.com>
Romain Forlot [Wed, 16 May 2018 21:33:45 +0000 (23:33 +0200)]
Fix compilation warning
Change-Id: I3ea7b3aa91d4251f90a4ccf5da83ae8de7a58db4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
ydimitrov [Mon, 14 May 2018 12:43:51 +0000 (13:43 +0100)]
Fix gitreview file after repo move
After the git repo moved we need to adapt the .gitreview file.
Change-Id: I316cf29f01ce5c39be024297279e9161936b03f4
Signed-off-by: ydimitrov <y.dimitrov.14@gmail.com>
Jonathan Aillet [Mon, 9 Apr 2018 07:50:15 +0000 (09:50 +0200)]
Detect engine state and use it during diagnostic messages subscriptions
Get engine state recurringly by requesting a permanent
diagnostic messages request.
Use these information to warn that diagnostic request won't have any responses
at the moment of subscription if engine is off.
Bug-AGL: SPEC-1347
Change-Id: If8bd79bba89acd1c8f5452d3efdbf00a89f8cc77
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Jonathan Aillet [Mon, 9 Apr 2018 07:25:47 +0000 (09:25 +0200)]
Add possibility to subscribe to a recurring request permanently
Add possibility to subscribe to a recurring request that won't be deleted
when no subscriber is detected.
For now, this functionnality is implemented for internal use only.
Bug-AGL: SPEC-1347
Change-Id: I48f6f647677596ba7920c4348d5406ea7bf1081b
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Jonathan Aillet [Mon, 9 Apr 2018 07:02:52 +0000 (09:02 +0200)]
Add saving of diagnostic messages information
Add saving of diagnostic messages receive state, last value,
and timestamp associated to it.
Add methods to get/set these information.
Add initialisation for added atributes.
Add boolean to set receive state at initialisation.
Generate all 'diagnostic-message.cpp' containing diagnostic messages
to add receive state initialisation.
Bug-AGL: SPEC-1347
Change-Id: Iee82ca3b5f79fd267717ae074d5456b8cbc1c377
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Jonathan Aillet [Thu, 29 Mar 2018 07:18:58 +0000 (09:18 +0200)]
Correct errors in comments
Change-Id: I1e02bdfe2473e776e35694b883f084077227853c
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>