On Wed, Apr 15, 2015 at 2:12 PM, Eastwood, Jeffery < [email protected]> wrote:
> Thanks a lot; that worked. I assume then for any property that is not a > known, standard W3C property, > then this default name for vehicle.set should be used? > > Correct > I'll be trying out AMB 14 soon, but wanted to see if I could get > vehicle.set with 13 going, since that is what's in the current Tizen > release. > > Thanks again, > > On 15 April 2015 at 13:59, Rees, Kevron <[email protected]> wrote: > >> >> >> On Wed, Apr 15, 2015 at 1:14 PM, Eastwood, Jeffery < >> [email protected]> wrote: >> >>> The example in >>> https://rawgit.com/w3c/automotive-bg/master/snapshots/vehicle_spec_snapshot_latest.html >>> , >>> section 13, shows a typical use of the .set method: >>> >>> var zone = Zone >>> vehicle.door.set({"lock" : true}, zone.driver).then(resolve, reject); >>> >>> My question is: for a given AMB property that is not a W3C standard >>> property, what to use for >>> the tag? For example, If I have a property ABCDE, I would set it via >>> >>> var zone = Zone >>> vehicle.aBCDE.set({"???" : true}, zone.driver).then(resolve, reject); >>> >>> What do I use in place of the ??? I have tried "value"; but that is not >>> working; How dou you determine the correct names to use here? >>> >>> >> By default, AMB just duplicates the property name as the value name. So >> "???" would be "ABCDE". In 0.14 you can create custom DBus interfaces with >> better naming. >> >> See: >> https://github.com/otcshare/automotive-message-broker/blob/0.14/plugins/gpsnmea/gpsnmea.cpp#L57 >> and >> >> https://github.com/otcshare/automotive-message-broker/blob/0.14/plugins/gpsnmea/gpsnmea.cpp#L588 >> >> For a usage example. This can be done from within your source plugin or >> via a bluemonkey script: >> >> >> https://github.com/otcshare/automotive-message-broker/blob/0.14/plugins/bluemonkey/config.js#L26 >> >> >>> >>> Thank you, >>> >>> >>> -- >>> *Jeff Eastwood* >>> Software Engineer >>> >>> *T: *+1.971.256.9736 x1036 | *M:* +1.503.936.2895 >>> *Email:* [email protected] <[email protected]> >>> >>> >>> Jaguar Land Rover North America, LLC >>> 1419 NW 14th Ave, Portland, OR 97209 >>> *JaguarUSA.com | LandRoverUSA.com <http://www.jaguarusa.com/index.html>* >>> >>> >>> _______________________________________________ >>> IVI mailing list >>> [email protected] >>> https://lists.tizen.org/listinfo/ivi >>> >>> >> > > > -- > *Jeff Eastwood* > Software Engineer > > *T: *+1.971.256.9736 x1036 | *M:* +1.503.936.2895 > *Email:* [email protected] <[email protected]> > > > Jaguar Land Rover North America, LLC > 1419 NW 14th Ave, Portland, OR 97209 > *JaguarUSA.com | LandRoverUSA.com <http://www.jaguarusa.com/index.html>* > >
_______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
