I need to change the state of sensor from pre-operational to operational, and for this we need to send 0100 to node ID 000, but how to send this programatically. I created a can message of type ICanMessage.
ICanMessage canMsg1 = (ICanMessage)factory.CreateMsg(typeof(ICanMessage));
canMsg1.TimeStamp = 0;
canMsg1.Identifier = 0x000;
canMsg1.FrameType = CanMsgFrameType.Data;
canMsg1.DataLength = 2;
canMsg1.SelfReceptionRequest = true;
and have set the above parameters as well.
I need to send 01 00 on checking if the data received is 7F. how do i send this value to node ID 000 ? Can anyone help?