Get desktop application:
View/edit binary Protocol Buffers messages
`Configuration` is used for configuring a Berkanan Bluetooth service and describing it for others.
The required identifier of the configuration.
The user info of the configuration for your additional custom data.
`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`.
The required identifier of the message.
The time to live (hop limit) of the message.
The source address of the message.
The destination address of the message.
The payload type of the message.
The payload of the message.
`PBUUID` is used for efficiently representing UUIDs.
Used in:
, , ,The required 16 bytes value of the UUID in little endian order.
`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.
The identifier of the public message.
The source user of the public message.
The text content of the public message.
`User` is used for defining a user in a simple way.
Used in:
The identifier of the user.
The name of the user.