Age | Commit message (Collapse) | Author | Files | Lines |
|
Adjust "encoder" signature to fit cpp usage like for the decoder functions.
Change-Id: I5872c5e32fd69356124fefbc82fd1f77ab8acbf4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: Icfb7cdb53deba8d82b91f884c6b815adf0f17adf
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: Iacc55ff5e0b9723897db190db3e5cd73cab8e7b9
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
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>
|
|
Remove app-template in .gitmodules
Remove .gitmodules
Change-Id: I41808c8135cfb24baaaaba526781fc149fd918fe
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
|
|
Bug-AGL SPEC-1682
Change-Id: I9f8e4f8bb2c7a020e41215022d2528ea9c26afe1
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I0bcccb15200064bd7d83edbf06c1e7202069189a
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
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>
|
|
Change the project name to be consistent with other AGL services project.
Change-Id: I2dbd53f59673217c8796bc23c208ed55c1b1716f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
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>
|
|
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>
|
|
- 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>
|
|
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>
|
|
Change-Id: I2e8d89b09982c9f3770a5a3e10d281e0ad87651c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I03b12b6edd04eae51efba509e6d92be3a91702de
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
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>
|
|
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>
|
|
Change-Id: I510914c895cafedba5c407fe6ea9e23414eae076
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
- 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>
|
|
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>
|
|
Change-Id: Ic3f1c572fccacb1c78e38c6a94aafcd0f9740aff
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
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>
|
|
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>
|
|
Change-Id: I9b80a713f5696e36e4acbe815dc3422281b6e0d3
Signed-off-by: 8000ff <clementmallejac@gmail.com>
|
|
- 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>
|
|
Change-Id: I270b26f79548a784840a7466bd77a6df46741530
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: Ib6a479f30e271ef26955ad3359eda87469f1277a
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
|
|
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>
|
|
Change-Id: I3ea7b3aa91d4251f90a4ccf5da83ae8de7a58db4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
After the git repo moved we need to adapt the .gitreview file.
Change-Id: I316cf29f01ce5c39be024297279e9161936b03f4
Signed-off-by: ydimitrov <y.dimitrov.14@gmail.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: I1e02bdfe2473e776e35694b883f084077227853c
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Bug-AGL: SPEC-1276
Change-Id: I279620c1be00db03f06f6dd882b3b579c80480c4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
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>
|
|
Delete obsolote references such as use of acceptance filters,
timers, etc.
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Change-Id: I0f72898d764e2c3e50998e62cfa2a16ead02b74b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Cleaning header file inclusion
Change-Id: Ic0dd9637ecd491692bd4b8b39e9602e85498c0a9
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I69d573124b86429bb9b0f548542262e0538fd5f0
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|
|
Change-Id: I40632b6212118278f5877957a480122e9383e3bc
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I8c160b427f0844e9bc6c7e65fb48cd122160bc65
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Bug-AGL: SPEC-966
Change-Id: I39d226c6f6268ec880739e6b9230eb42ce475971
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I8d75a232ba7fad9cc95f286e521c2451a3a29061
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I1c7299bdf9ff024f676b88860c8d31076f6806e0
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|