Hi.
I have a question related to the autogenerated code after setting up my .ldf file using the SDK.
When I finished setting everything up, I noticed that the array that keeps track of the LIN signal values is initialized according to the configuration. However, bytes which belong to a message but do not have a signal assigned (empty message bytes) or bits within a byte that also don't have a signal assigned are given a "set" default value. For example, empty bytes are given 0xFF as default values and empty bits are set to be 1.
In the screenshot, signals values within the blue circle are examples of unwanted set bits or empty positions set as 0xFF
Is there a configuration that I could change to make this reset instead of set? (zeroes instead of ones) Or do I have to manually set those values?
解決済! 解決策の投稿を見る。
Hi,
Unfortunately, the SDK Linstack doesn't support the feature which you mention. But because these data do not belong any signal, I think that we don't need to care about it. So you will need to do it manually.
Best regards,
Hung
Hi,
Unfortunately, the SDK Linstack doesn't support the feature which you mention. But because these data do not belong any signal, I think that we don't need to care about it. So you will need to do it manually.
Best regards,
Hung