kopia lustrzana https://github.com/meshtastic/protobufs
Add client notification fromradio message
rodzic
d7ce4f30fa
commit
66a6d11f7f
|
@ -46,6 +46,8 @@
|
|||
|
||||
*FileInfo.file_name max_size:228
|
||||
|
||||
*ClientNotification.message max_size:400
|
||||
|
||||
# MyMessage.name max_size:40
|
||||
# or fixed_length or fixed_count, or max_count
|
||||
|
||||
|
|
|
@ -1540,9 +1540,41 @@ message FromRadio {
|
|||
* File system manifest messages
|
||||
*/
|
||||
FileInfo fileInfo = 15;
|
||||
|
||||
/*
|
||||
* Notification message to the client
|
||||
*/
|
||||
ClientNotification clientNotification = 16;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* A notification message from the device to the client
|
||||
* To be used for important messages that should to be displayed to the user
|
||||
* in the form of push notifications or validation messages when saving
|
||||
* invalid configuration.
|
||||
*/
|
||||
message ClientNotification {
|
||||
/*
|
||||
* The id of the packet we're notifying in response to
|
||||
*/
|
||||
optional uint32 reply_id = 1;
|
||||
|
||||
/*
|
||||
* Seconds since 1970 - or 0 for unknown/unset
|
||||
*/
|
||||
fixed32 time = 2;
|
||||
|
||||
/*
|
||||
* The level type of notification
|
||||
*/
|
||||
LogRecord.Level level = 3;
|
||||
/*
|
||||
* The message body of the notification
|
||||
*/
|
||||
string message = 4;
|
||||
}
|
||||
|
||||
/*
|
||||
* Individual File info for the device
|
||||
*/
|
||||
|
|
Ładowanie…
Reference in New Issue