From bad2fdf69f9962948c688093e2b1eb4111e00072 Mon Sep 17 00:00:00 2001 From: Marshall Pierce Date: Thu, 13 Jul 2023 12:46:51 -0600 Subject: [PATCH] Add a space after RSSI The other data elements have a space, so I'm guessing that RSSI is intended to as well. Perhaps there's some subtle reason why it should have a space, though, in which case feel free to close this. Output now looks like this: ``` >>> 58:D3:49:E7:40:DA/P [PUBLIC]: RSSI: -67 [Flags]: LE General,BR/EDR C,BR/EDR H [TX Power Level]: 4 [Manufacturer Specific Data]: company=Apple, Inc., data=0f08c00af4392b00040c10020f04 ``` --- examples/run_scanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/run_scanner.py b/examples/run_scanner.py index bdd7fba4..4a094b9f 100644 --- a/examples/run_scanner.py +++ b/examples/run_scanner.py @@ -62,7 +62,7 @@ def _(advertisement): print( f'>>> {color(advertisement.address, address_color)} ' f'[{color(address_type_string, type_color)}]' - f'{address_qualifier}:{separator}RSSI:{advertisement.rssi}' + f'{address_qualifier}:{separator}RSSI: {advertisement.rssi}' f'{separator}' f'{advertisement.data.to_string(separator)}' )