itm / testbed-runtime

WISEBED Wireless Sensor Network Testbed Infrastructure Software
https://github.com/itm/testbed-runtime/wiki
15 stars 11 forks source link

Timestamps for requests and responses faulty #403

Closed danbim closed 9 years ago

danbim commented 9 years ago

When issuing a request (e.g. flash, reset) or sending a response no timestamps are made as they're not part of the message format, e.g.:

message SingleNodeResponse {
    optional string reservationId = 1;
    required int64  requestId     = 2;
    required string nodeUrn       = 3;
    optional bytes  response      = 4;
    optional int32  statusCode    = 5;
    optional string errorMessage  = 6;
}

Solution: add timestamp field in "outer message type" or simplify message format #366

danbim commented 9 years ago

Will be done with #366