Request to send to a sensor.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=REQUEST_NAME_LEN), | public | :: | name | = | ' ' |
Request name ( |
|
character(len=TIME_LEN), | public | :: | timestamp | = | ' ' |
ISO 8601 time stamp. |
|
character(len=REQUEST_REQUEST_LEN), | public | :: | request | = | ' ' |
Raw request command (printable). |
|
character(len=REQUEST_RESPONSE_LEN), | public | :: | response | = | ' ' |
Raw response (printable). |
|
character(len=REQUEST_DELIMITER_LEN), | public | :: | delimiter | = | ' ' |
Response delimiter (printable). |
|
character(len=REQUEST_PATTERN_LEN), | public | :: | pattern | = | ' ' |
Regular expression pattern. |
|
integer, | public | :: | delay | = | 0 |
Delay in [msec] (optional). |
|
integer, | public | :: | error | = | E_NONE |
Error code. |
|
integer, | public | :: | mode | = | REQUEST_MODE_NONE |
Request mode (optional). |
|
integer, | public | :: | retries | = | 0 |
Number of executed retries. |
|
integer, | public | :: | state | = | REQUEST_STATE_NONE |
Request state (optional). |
|
integer, | public | :: | timeout | = | 0 |
Timeout in [msec] (optional). |
|
integer, | public | :: | nresponses | = | 0 |
Number of responses. |
|
type(response_type), | public | :: | responses(REQUEST_MAX_NRESPONSES) |
Responses array. |