I have written code as below.I am using arduino Uno board
I have made it work with 2 things
1) send request from PC and get response request<SMCB1,1>
2)Send request from PC of specified length<SMCB1,1,100> and get the specified response
Pending
3) Send request from PC <SMCB1,1,delaytime,ON> or <<SMCB1,1,delaytime,OFF> This function has to override request. Is timer is on get data continuously for specified delaytime and if timer is off get back to normal
Serial communication request command
I have made it work with 2 things
1) send request from PC and get response request<SMCB1,1>
2)Send request from PC of specified length<SMCB1,1,100> and get the specified response
Pending
3) Send request from PC <SMCB1,1,delaytime,ON> or <<SMCB1,1,delaytime,OFF> This function has to override request. Is timer is on get data continuously for specified delaytime and if timer is off get back to normal
Code:
...