Default package

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message Configuration

Configuration.proto:14

`Configuration` is used for configuring a Berkanan Bluetooth service and describing it for others.

message Message

Message.proto:29

`Message` is used for sending a message to a Berkanan Bluetooth service. Berkanan SDK uses a flooding algorithm to deliver the message. It uses the required `identifier` and the optional `time_to_live` fields to reduce the number of duplicate messages. If a received message is missing the `identifier` field then it's ignored and discarded. When using the convenience initializers, the value of `time_to_live` is set to 15, meaning that the message will be discarded by the 15th node receiving it. Both `source_address` and `destination_address` fields are optional. The latter could be used to check if the `payload` of the message is for your app. If it is then it can process the `payload`, if it knows how to do that by looking at `payload_type`.

message PBUUID

PBUUID.proto:11

`PBUUID` is used for efficiently representing UUIDs.

Used in: Configuration, Message, PublicMessage, User

message PublicMessage

PublicMessage.proto:17

`PublicMessage` is used as a message payload, whose `text` field is intended for everyone's eyes. To use it, set its `serializedData()` as the `payload` and `.publicMessage` for `payload_type` of a `Message` instance.

message User

User.proto:13

`User` is used for defining a user in a simple way.

Used in: PublicMessage