Add contact admin message

This commit is contained in:
Ben Meadors 2025-05-12 19:27:32 -05:00
parent 078ac8dfbe
commit d266887bb2

View file

@ -397,6 +397,11 @@ message AdminMessage {
*/
bool commit_edit_settings = 65;
/*
* Add a contact (User) to the nodedb
*/
Contact add_contact = 66;
/*
* Tell the node to factory reset config everything; all device state and configuration will be returned to factory defaults and BLE bonds will be cleared.
*/
@ -472,3 +477,15 @@ message NodeRemoteHardwarePinsResponse {
*/
repeated NodeRemoteHardwarePin node_remote_hardware_pins = 1;
}
message Contact {
/*
* The node number of the contact
*/
uint32 node_num = 1;
/*
* The User of the contact
*/
User user = 2;
}