mirror of
https://github.com/bettercap/bettercap
synced 2025-07-14 17:13:39 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
87b667c1dc
commit
ff8fd9c62d
1 changed files with 1 additions and 0 deletions
|
@ -185,6 +185,7 @@ func parseProperties(ch *gatt.Characteristic) (props []string, isReadable bool,
|
|||
if (mask&gatt.CharWriteNR) != 0 || (mask&gatt.CharWrite) != 0 {
|
||||
props = append(props, tui.Bold("WRITE"))
|
||||
isWritable = true
|
||||
isReadable = true
|
||||
withResponse = (mask & gatt.CharWriteNR) == 0
|
||||
}
|
||||
if (mask & gatt.CharNotify) != 0 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue