This shows you the differences between two versions of the page.
|
hardware:cflink:on-board-rs232-port-protocol [2015/07/02 05:05] jarrod |
hardware:cflink:on-board-rs232-port-protocol [2015/07/02 05:09] (current) jarrod [SPR - Serial Port Read] |
||
|---|---|---|---|
| Line 177: | Line 177: | ||
| === Data === | === Data === | ||
| <sxh cflink; light: true> | <sxh cflink; light: true> | ||
| - | < [F2]<ID>[F3]R<DEVICE>SPR[F4]<DATA>[F5][F5] | + | < [F2]<ID>[F3]R<DEVICE>SPR[F4]<PORT>:<DATA>[F5][F5] |
| </sxh> | </sxh> | ||
| + | |||
| + | * **<PORT>** = Only present if the device has more than one on-board RS232 port, such as the [[hardware:solo|Solo]]. | ||
| + | * **<DATA>** = The data that was received. | ||
| === Example === | === Example === | ||
| Line 187: | Line 190: | ||
| < [F2][04][F3]RMINSPR[F4]Hello World!\x0D[F5][F5] | < [F2][04][F3]RMINSPR[F4]Hello World!\x0D[F5][F5] | ||
| < [F2][07][F3]RMINSPR[F4]Hello World!\x0D[F5][F5] | < [F2][07][F3]RMINSPR[F4]Hello World!\x0D[F5][F5] | ||
| + | |||
| + | // An incoming message "Hello World!" followed by a carriage return is received on the first on-board serial port of a Solo on CFLink ID [03]. | ||
| + | // The Solo is configured to send incoming RS232 data to all CFLink ID's. | ||
| + | < [F2][FF][F3]RSOLSPR[F4]P01:Hello World!\x0D[F5][F5] | ||
| </sxh> | </sxh> | ||