summaryrefslogtreecommitdiffstats
path: root/binding
AgeCommit message (Collapse)AuthorFilesLines
2020-01-09binding: hvac: improve onEvent handlerMatt Ranostay1-4/+2
* remove memory leak of json_object * remove security risk of displaying event message in journal Bug-AGL: SPEC-2984 Change-Id: I6287093a79d382a895a61d83263f3f4208ed999b Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-11-13Fix CAN device configurationicefish_8.99.4icefish_8.99.3icefish_8.99.2icefish_8.99.1icefish/8.99.4icefish/8.99.3icefish/8.99.2icefish/8.99.18.99.48.99.38.99.28.99.1Scott Murray1-5/+7
Move the configuration file parsing to pre-init so that CAN device configuration will work. Bug-AGL: SPEC-2949 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I0d3fbaf5853f8e13675df6843fcab7416acf7170
2019-03-28hvac-demo-binding : Set CAN device name from hvac.jsonhalibut_8.0.2halibut_8.0.1halibut_8.0.0halibut_7.99.3halibut_7.99.2halibut_7.99.1halibut/8.0.2halibut/8.0.1halibut/8.0.0halibut/7.99.3halibut/7.99.2halibut/7.99.18.0.28.0.18.0.07.99.37.99.27.99.1Harunobu Kurokawa1-2/+14
Current CAN_DEV is set vcan0 as default and hardcoding. Sometimes hvac uses lin or other type of can device. User can set CAN device name from JSON file in /etc/hvac.json Change-Id: I2c29fb16d7d4a48364cc1d35a9f5004afbdb477b Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2018-10-08binding: hvac: upgrade to afm framework version 3Matt Ranostay1-29/+27
Bug-AGL: SPEC-1757 Change-Id: I50d0c732dbda8f11b566b76cdc2eb333efb780ec Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-10-08binding: hvac: remove unused variablesMatt Ranostay1-3/+2
Silence unused variable warnings from compiler by removing them Bug-AGL: SPEC-1757 Change-Id: Iabe7aaf2874ee18b3ef2237200cc8a378d38bff2 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-10-08binding: hvac: remove useless NULL definitionMatt Ranostay1-4/+0
Pretty sure NULL doesn't need to be defined for any modern compiler in the last 20 years. Bug-AGL: SPEC-1757 Change-Id: I3036e0db90b090a8d19527eb9244e0d9e455b332 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-10-08binding: hvac: reduce const assignment warningsMatt Ranostay1-3/+3
Fields in struct led_paths are never directly changed and are assigned from json_object_get_string() which returns const char * Bug-AGL: SPEC-1757 Change-Id: If2a6ea592f30d95f16a62cb1b5a12f5212b12163 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-10-08binding: hvac: clean up verb definitionsMatt Ranostay1-21/+8
Remove overly verbose field definitions, and removed explicit v2 references. Bug-AGL: SPEC-1757 Change-Id: I79b51ff9ab6a81b7646e91bb2842db3d84a10022 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-09-27binding: hvac: add initial bindingMatt Ranostay2-0/+833
This is the split out binding from the HVAC package. Bug-AGL: SPEC-1757 Change-Id: If8499ac811491fac204a213768f27f584dd996e1 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>