added grpc call to allow direct control of nodes connected through wlan to be linked or not
This commit is contained in:
parent
8bae0611a4
commit
d14056393b
5 changed files with 65 additions and 6 deletions
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue