Summary:
UUID Composition:
UUID Query/Set: AT+UUID
Command Description |
---|
Format: AT+UUID={param1, param2, param3} • param1: service UUID • param2: notify UUID • param3: write UUID Response: +UUID=param1, param2, param3 Description: When the master device is connected, it will search for the slave device's UUID. The slave device must register its UUID before the connection. By default, the slave device registers the following UUIDs: FFF0, FFF1, FFF2. |
Example 1: Query |
C → S: AT+UUID C ← S: +UUID=FFF0, FFF1, FFF2 C ← S: OK |
Example 2: Set UUID for Slave Device as Service FFF0, Notify FFF1, Write FFF2, Register as Follows (Effective After Restart) |
C → S: AT+UUID=FFF0, FFF1, FFF2 C ← S: OK |