demonstrate reading/writing a characteristic

This commit is contained in:
2026-02-01 16:45:53 +00:00
parent f25a539084
commit 6c4d64ce0e
3 changed files with 30 additions and 1 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ struct WifiProvisioningService {
#[characteristic(uuid = "76be25c2-0802-44fc-a97c-bcb56c69c926", read, notify, value = 0)]
max_network_index: u8,
#[characteristic(uuid = "76be25c2-0803-44fc-a97c-bcb56c69c926", write, value = 0)]
#[characteristic(uuid = "76be25c2-0803-44fc-a97c-bcb56c69c926", read, write, value = 0)]
current_network_index: u8,
// for arrays > 32 we must supply a default value : see