NordicSemiconductor / nRF-Sniffer-for-802.15.4

nRF-based 802.15.4 sniffer (firmware and software)
Other
221 stars 64 forks source link

Raise exception when sniffer did not reply on serial commands #53

Closed totyz closed 2 years ago

totyz commented 2 years ago

fix: Raise exception instead of error log when sniffer did not reply properly to setup commands

When sniffer did not reply properly to setup commands, it's useless. Thus, is better to inform finish work instead of keeping it running. The exception is in serial_reader thread so, additional method is_running has been implemented to give user ability to confirm that sniffer is up and running after startup.

Signed-off-by: Tomasz Tyzenhauz tomasz.tyzenhauz@nordicsemi.no

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.