aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-07-21Be able to write raw frame & encode value to sentRomain Forlot6-30/+272
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>
2017-07-21Create an auth verb to raise privilege of sessionRomain Forlot3-2/+19
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>
2017-07-21Signal isn't required so now have a default valueRomain Forlot1-1/+1
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>
2017-07-21Include HVAC and meld with Toyota examples one.Romain Forlot1-93/+321
Change-Id: Ia55dbcd7cabcd38d532a239cb00f8480a095bda2 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-07-21Use compile generated DB instead of this fileRomain Forlot1-12/+0
Change-Id: I4734103e3820a98decc44bd66c9ed682141b423c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-07-21Cleaning and renaming.Romain Forlot12-100/+74
Change-Id: I24b78e3d41124650da286a50297f1c51410c2c6a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-07-21Fix: compile error initializing afb_auth struct.Romain Forlot2-3/+2
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>
2017-07-21Implements new verbs to write on CAN busRomain Forlot9-325/+490
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>
2017-07-21Example regenerationRomain Forlot2-169/+270
Change-Id: Iab06c4aebcc4172ae831c8fda2d3986315fb94c2 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-07-21Markdown lintRomain Forlot1-0/+3
Change-Id: If93e9353fbafc7d926a2987a2e6a0c0253248de4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-07-21Default pkg dependency no pertinent.Romain Forlot1-1/+0
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>
2017-07-21Fix canmessage default frequencyYuichi Kusakabe1-2/+2
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>
2017-07-20Fix subscribe responseRomain Forlot1-1/+4
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>
2017-07-18fix link optionRonan Le Martret1-0/+4
Change-Id: Ibca245fc8c6ec7c68d24b9c6e693156974f186ef Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-07-11Fix: autobuild script errors when no DEST definiedRomain Forlot3-8/+34
Change-Id: I8b8113e6c8b36b8e9040a41e9a575856153f817f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-07-10Different errors between no file and wrong contentRomain Forlot1-5/+8
Change-Id: Ic705e09811b3479af8dc2287c53fa53fdcdff656 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-07-07Integrates latest fix from app-templates submoduleRomain Forlot1-0/+0
Change-Id: Iafa227798f3a3d8e0d4bf3d4b226a528abe4c1dc Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-07-07Update struct to follow af-binder changes.Romain Forlot1-3/+4
Added an info fields in struct. Change-Id: I93165911c1ceb62c9893fa1c4635088f0df36b3f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-07-05Fix: uninitialized variables.Romain Forlot1-2/+2
Change-Id: I1e506f225ce6f17836708c32106ce45c80150ee6 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-07-05Can't set compile FLAG using set using Yocto buildRomain Forlot1-4/+2
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>
2017-07-05Remove useless Makefile as we use CMake files.Romain Forlot4-176/+0
Change-Id: I99848f5369420a81cf1e38076d97840e4eab6ee7 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-07-04DAB RC3 Fixes follows appfw API break.Romain Forlot12-61/+61
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>
2017-06-30Update READMERomain Forlot3-65/+3
Change-Id: Idf39ee8002e4a9f08b0cba487c9b6517acb9aa7f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-29Fix: Yocto build failure.Romain Forlot1-0/+0
Change-Id: I515bc344f0ff6203eac6f43b2047aa7c5d0fc9aa Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-29Fix native build for openSUSE_TumbleweedRonan Le Martret1-2/+2
* 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>
2017-06-29Fix: autobuild scripts.Romain Forlot3-4/+4
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>
2017-06-28Merge "Update config.cmake"Romain Forlot1-22/+28
2017-06-28submodule update and autobuild script generationRomain Forlot3-0/+94
Change-Id: I9d434addc928124227f4d60599d30add4f8895b9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-28Update config.cmakeRonan Le Martret1-22/+28
Change-Id: I24e08bbb2dc735125cea9a9fee18641c21938713 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-06-28Update to the latest app-templates versionRomain Forlot1-0/+0
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>
2017-06-27Update to the latest app-templates versionRomain Forlot3-10/+8
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>
2017-06-26Enable check kernel version before buildRomain Forlot2-1/+1
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>
2017-06-22Permission about car was a test, removing it.Romain Forlot1-3/+0
target param isn't necessary because are implicit Change-Id: I1704f8d28b0d7bf8a156c9dab9c4d37cb4b63347 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-22Add some reminder...Romain Forlot1-0/+1
Change-Id: Ifb81989c39f31f73ce7dc7dcbebfc6039f6a6a47 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-22Needed feature to make binder load the bindingRomain Forlot3-1/+5
Change-Id: I5c312e082bc710f3d3f381d09be055af4950cd1a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-20Review of documentationRomain Forlot3-10/+18
Change-Id: I49763cc9264c0121db2950cfee56d69c66d0e4c7 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-20Move submodule directoryRomain Forlot2-2/+2
Change-Id: I2c603ab49bab01fd1221147cfe9c97bdacea91a9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-20Separation Generator to a dedicated repoRomain Forlot468-15886/+3
Change-Id: Id94831651c3266861435272a6e36c7884bef2c45 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-20Update doc revision and pdf cover.Sebastien Douheret3-1/+1
Change-Id: Ia566b39055a39cb14760f3a17b4240690c1a8f56 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-06-20Add .gitreviewRomain Forlot1-0/+6
Change-Id: Ie52d9470d792ce3556d3a153316fc7384cd10e64 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-20Align with AGL versionRomain Forlot7-16/+19
And unify prefix with audio binding and others bindings Change-Id: I685afd2e4c75c813ac9af8ab3281fedc04b9289e Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-14Now even generator can be built in SDK environmentRomain Forlot1-2/+1
Change-Id: I7fdcddca9002e8d1cfb21049198d798c8551319c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-12Update build and package configuration file.Romain Forlot3-3/+56
Change-Id: I9e5f596744479ed21f375e3cdd97c5d68bfa4c7a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-09Update documentation PDF metadataRomain Forlot1-2/+2
Change-Id: I64aa4cbae216d1ce4b48efaad704a158088b4494 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-09Rename submodule path to app-templates as the repoRomain Forlot5-8/+8
Change-Id: Ic4c2c5e50a19199614b7f1aaa8e1d2f9992fb3af Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-09Update git clone command in documentationRomain Forlot2-2/+2
Change-Id: I0cf5fbaed72dfd8602ce9f8e10feb97fa9a17ce4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-09Update submodule about cmake templates and configRomain Forlot3-3/+2
Change-Id: Ia4cdc62993fd585a89e214d21fdf465d0af3d59b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-09Change name and versionRomain Forlot1-2/+2
Change-Id: Ifaf6850773f94111a9501f7ded85ad4d62797f0b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-09Fix: warning at compile time after migration to v2Romain Forlot1-1/+1
Change-Id: I7bd4168d74ee0c144cea8ca85f30b5b6928d68f8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-09Update documentationRomain Forlot2-132/+107
Change-Id: Ieea8476f65433ebd41da2ca992b9984310eb6c5f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>