celp-sdk 0.1.13

This package has been created to provide a rust SDK containing common functionality
syntax = "proto3";
package celp.protobuf.cm;
import "celp_header.proto";
option optimize_for = SPEED;

message ModemCommandResponse {
    message Output {
        // The full response received from the modem
        string modem_response = 1;

        // The groups from the regex match
        repeated string match_groups = 3;
    }

    message Response {
        enum Result {
            RESULT_OK = 0;
            RESULT_PATTERN_FAILED = 1;
            RESULT_MODEM_ERROR = 2;
        }

        // The command executed upon request
        string command = 1;

        // The textual response from the modem
        Output response = 3;

        // The result of the request
        Result result = 5;
    }

    // Base header from CELP
    celp.protobuf.Header header = 1;

    // The response to a request
    Response response = 3;
}