Files
nearby/proto/mediums/nfc_frames.proto
T
Alexey Polyudov a4ef9ee564 Roll forward to cl/318180324
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
Change-Id: I71bb49fe74104964088d392b12775ec2a253b1c9
2020-06-24 18:15:07 -07:00

30 lines
813 B
Protocol Buffer

syntax = "proto2";
package location.nearby.mediums;
option optimize_for = LITE_RUNTIME;
option java_outer_classname = "NfcFramesProto";
option java_package = "com.google.location.nearby.mediums.proto";
// The data to be sent to scanning devices from advertising devices during
// adveritising.
message AdvertisementData {
// The tag in the advertisement.
optional bytes tag = 1;
// A public key associated with the advertisement.
optional bytes public_key = 2;
}
// The data to be sent to advertisers from scanning device during discovery.
message AdvertisementRequest {
// Service id of the scanning device.
optional string service_id = 1;
// Endpoint id of the scanning device.
optional string endpoint_id = 2;
// Public key from the scanning device.
optional bytes public_key = 3;
}