You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Adding "Device Name" RPC for version 2.4
* Minor spelling fix
* Changes from review related to character encoding
* Changes from review
* Clarify authorization requirement for set hostname and set device name
* Clarifications for wifi scanning auth type
* Changes to device info spec from review
* Fix to ordering of arguments from review
* Apply suggestion from @balloob
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Copy file name to clipboardExpand all lines: src/ble.md
+43-6Lines changed: 43 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,13 +30,16 @@ The client is able to send an `identify` to the Improv service if it is in the s
30
30
31
31
The client is able to send a `device info` to the Improv service if it is in the states "Require Authorization" and "Authorized". When received, and supported, the gadget will return the device information in the RPC response characteristic.
32
32
33
+
All strings are assumed to be UTF-8 encoded.
34
+
33
35
## Revision history
34
36
35
37
- 1.0 - Initial release
36
38
- 2.0 - Added Service Data `4677`
37
39
- 2.1 - Added Device Info RPC command
38
40
- 2.2 - Added Scan Wifi RPC command
39
41
- 2.3 - Added Hostname RPC command
42
+
- 2.4 - Added Device Name RPC command
40
43
41
44
## GATT Services
42
45
@@ -160,9 +163,12 @@ Should only be sent if the capability characteristic indicates that device info
160
163
161
164
This command will generate an RPC result. There will be at least 4 entries in the list response.
162
165
163
-
Order of strings: Firmware name, firmware version, hardware chip/variant, device name.
166
+
Order of strings: Firmware name, firmware version, hardware chip/variant, device name. Optionally, the OS name and OS
167
+
version can be appended if applicable and different from the firmware name/version.
168
+
169
+
Example without OS Name: `ESPHome`, `2021.11.0`, `esp32-s3-devkitc-1/esp32-s3`, `Temperature Monitor`.
0 commit comments