summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-07-09Add testssandbox/excale/wipRomain Forlot25-60/+2367
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>
2018-07-06Make Built type overwritten by cli possible.Romain Forlot1-1/+1
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>
2018-07-06Fix: correctly stop the binding.Romain Forlot2-2/+13
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>
2018-06-20Add CAN sample for the agl-vcar configurationRomain Forlot1-0/+219
Change-Id: Ib6a479f30e271ef26955ad3359eda87469f1277a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-05-25Merge "Fixing typos made in comments"flounder_5.99.1flounder/5.99.15.99.1Jan-Simon Moeller18-76/+76
2018-05-24Fixing typos made in commentsydimitrov18-76/+76
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>
2018-05-16Fix compilation warningRomain Forlot1-1/+1
Change-Id: I3ea7b3aa91d4251f90a4ccf5da83ae8de7a58db4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-05-14Fix gitreview file after repo moveydimitrov1-1/+1
After the git repo moved we need to adapt the .gitreview file. Change-Id: I316cf29f01ce5c39be024297279e9161936b03f4 Signed-off-by: ydimitrov <y.dimitrov.14@gmail.com>
2018-04-17Detect engine state and use it during diagnostic messages subscriptionsJonathan Aillet3-3/+86
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>
2018-04-17Add possibility to subscribe to a recurring request permanentlyJonathan Aillet5-14/+34
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>
2018-04-17Add saving of diagnostic messages informationJonathan Aillet9-99/+274
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>
2018-04-09Correct errors in commentsJonathan Aillet3-3/+3
Change-Id: I1e02bdfe2473e776e35694b883f084077227853c Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-03-23Fix name to fit rename of git repository.Romain Forlot3-6/+7
Bug-AGL: SPEC-1276 Change-Id: I279620c1be00db03f06f6dd882b3b579c80480c4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-03-15Change subscribed signals search to check filters as wellJonathan Aillet4-7/+15
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>
2018-03-14Delete obsolete references.Jonathan Aillet4-33/+14
Delete obsolote references such as use of acceptance filters, timers, etc. Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-03-14Correction of 'typo' in documentation.Jonathan Aillet1-1/+1
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-01-18Run by default with system low-can serviceRomain Forlot1-1/+1
Change-Id: I0f72898d764e2c3e50998e62cfa2a16ead02b74b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-01-02Make low-can use afb-genskel by defaultRomain Forlot13-64/+39
Cleaning header file inclusion Change-Id: Ic0dd9637ecd491692bd4b8b39e9602e85498c0a9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-22docs: bump version to 5.0-EEStephane Desneux4-2/+3
Change-Id: I69d573124b86429bb9b0f548542262e0538fd5f0 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-12-21Code enhancements mem leaks and uninitialized byteRomain Forlot2-0/+14
Change-Id: I40632b6212118278f5877957a480122e9383e3bc Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-07Initialize struct to avoid unexpected behaviorRomain Forlot1-2/+4
Change-Id: I8c160b427f0844e9bc6c7e65fb48cd122160bc65 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-05Fix wrong config.xml file used to build widgetRomain Forlot1-1/+1
Bug-AGL: SPEC-966 Change-Id: I39d226c6f6268ec880739e6b9230eb42ce475971 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-30Fails write request if CAN signal not writableRomain Forlot1-1/+4
Change-Id: I8d75a232ba7fad9cc95f286e521c2451a3a29061 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-30Fix permission labelRomain Forlot1-2/+2
Change-Id: I1c7299bdf9ff024f676b88860c8d31076f6806e0 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-30Correctly reconstituting entire CAN frameRomain Forlot1-5/+6
Change-Id: I39d226c6f6268ec880739e6b9230eb42ce475971 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-29Deprecate cmake variables not usefulRomain Forlot3-10/+3
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>
2017-11-17Fixed error after hard c/c ...Romain Forlot1-29/+27
Change-Id: I9dda0f1029735cab178f911d94a28b30a5c26123 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-17Wrong manipulation create those files. DeletingRomain Forlot2-272/+0
Change-Id: I2fc9ae613f243d94bcb72aefe24e777a9b1d0b98 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-17CleaningRomain Forlot2-14/+17
Change-Id: I61d47837feab0ead59be1b1c4c5e163c4a604df9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-17Handle space in project pathRomain Forlot3-33/+334
Change-Id: I9c39a4fec5469216df31eb14f535cfda3907cdc1 Bug-AGL: SPEC-1117 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-14Fix: wgt config file usage to build widgetRomain Forlot1-1/+1
Change-Id: Ia160a42163d47f2b92f246cf1159da9fa2110527 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-08Send entire CAN message rather than CAN signal.Romain Forlot1-7/+13
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>
2017-11-08Update app-templates and autobuild scriptRomain Forlot3-4/+12
Change-Id: I9ab84291aa785b87091cec4f775fb7e4cd31809c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-08Fix wrong filter condition (Thanks Parai Wang)Romain Forlot1-1/+1
Change-Id: I7d3eccc2d4b99d543b669c7b3c8d7a38670d860f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-10-19Make write permission use the same name everywhereRomain Forlot4-101/+4
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>
2017-10-19Details usage of write verb in docs.Romain Forlot1-37/+92
Formating Change-Id: I17dd96a8fa64f09272f5c30ef77c6b41a21dea7d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-09-28Add timestamp to diagnostic message event tooRomain Forlot2-1/+3
Change-Id: Id01a15efe1b6aa063ac9bb2d3989ff195035eeb0 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-09-28Use afb_genskel tools to generate api definitionRomain Forlot4-3/+161
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>
2017-09-28Handle batched subscriptions in a JSON arrayRomain Forlot1-22/+30
Change-Id: I33ade46eaf022a5c7e7cf874f8b838a4a6827f87 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-09-20Docs - autogenerate coverSebastien Douheret4-8/+31
Change-Id: Ia0a8a6b19ce7b173189d73cdc5c0bbba77b2b71f Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-09-19docs: fix cover versionStephane Desneux2-0/+0
Change-Id: I3a0e376fdb056a16c2f48e6a4fe2c6b2dd242855 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-09-19docs: fix cover versionStephane Desneux1-2/+2
Change-Id: I3008fdf2a602c03a2448d69050368fc0f69a2319 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-09-19Fix: again and again documentation revisionRomain Forlot1-1/+1
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>
2017-09-19Set docs revision to 4.99-EERC1Sebastien Douheret2-3/+3
Change-Id: I7e78e7199d2441ee4a13ba36fde7489ef6efea46 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-09-19Documents new verb: get, list and write for EELRomain Forlot3-0/+55
Change-Id: Id03f6363c5d452db43c696e045caaefad0916dc6 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-09-19Update doc: Timestamp added to returned events.Romain Forlot1-3/+3
Change-Id: I4021185bfee862ae701d7510debe31cf17dd97c9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-09-13Add timestamp val to returned json object on eventRomain Forlot3-4/+29
Change-Id: Ibfb514eb27c0378dba7e302755e5f6f95b0ca242 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-09-01Add get() and list() APIYuichi Kusakabe3-0/+114
This patch is porting AMB get() and list() API. Change-Id: Ic1d391219f1d64ab127bc1977a5b198abe0fc94b Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com>
2017-09-01Fix can write API resultYuichi Kusakabe1-2/+2
write_raw_frame() and write_signal() return results. Change-Id: I3f6d03eaf02bde9ad02fd8de912c5816d249570f Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com>
2017-09-01Fix write CAN bus nameYuichi Kusakabe1-1/+1
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>