added grpc call to allow direct control of nodes connected through wlan to be linked or not

This commit is contained in:
Blake Harnden 2020-05-19 16:46:44 -07:00
parent 8bae0611a4
commit d14056393b
5 changed files with 65 additions and 6 deletions

View file

@ -129,6 +129,8 @@ service CoreApi {
}
rpc SetWlanConfig (wlan.SetWlanConfigRequest) returns (wlan.SetWlanConfigResponse) {
}
rpc SetWlanLink (wlan.SetWlanLinkRequest) returns (wlan.SetWlanLinkResponse) {
}
// emane rpc
rpc GetEmaneConfig (emane.GetEmaneConfigRequest) returns (emane.GetEmaneConfigResponse) {

View file

@ -34,3 +34,15 @@ message SetWlanConfigRequest {
message SetWlanConfigResponse {
bool result = 1;
}
message SetWlanLinkRequest {
int32 session_id = 1;
int32 wlan = 2;
int32 node_one = 3;
int32 node_two = 4;
bool linked = 5;
}
message SetWlanLinkResponse {
bool result = 1;
}