fix: made BLE module less verbose by switching some of the logs to debug ones

This commit is contained in:
evilsocket 2019-04-21 14:00:43 +02:00
commit 5a62546c50
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
3 changed files with 7 additions and 6 deletions

View file

@ -332,7 +332,7 @@ func (mod *BLERecon) showServices(p gatt.Peripheral, services []*gatt.Service) {
if wantsToWrite && mod.writeUUID.Equal(ch.UUID()) {
foundToWrite = true
if isWritable {
mod.Info("writing %d bytes to characteristics %s ...", len(mod.writeData), mod.writeUUID)
mod.Debug("writing %d bytes to characteristics %s ...", len(mod.writeData), mod.writeUUID)
} else {
mod.Warning("attempt to write %d bytes to non writable characteristics %s ...", len(mod.writeData), mod.writeUUID)
}