send UART based on key value
I'd like to send over UART the value stored in a key. Is this possible?
As a simple example, would this work for
- command: define sensorID "Nick\r\n"
- uartcmd: uart UART0
send: sensorID
timeoutms: 5000
When I do this it treats sensorID not as a reference to a key, but rather the string "sensorID"
Could this be achieved with an EVAL command?
Ultimately, I'd like to send a value unique to the tester, like the PPC ID
- uartcmd: uart UART0
send: ppc_id
timeoutms: 5000
Please sign in to leave a comment.
Comments
2 comments