Bluetooth: add helper to separate BT name and address

And restructure the existing "isBtAddress()" function in the process.
Also add more tests.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2018-09-27 06:21:04 -07:00
parent 7512a6e915
commit c8fec97695
4 changed files with 49 additions and 1 deletions

View file

@ -10,6 +10,7 @@ class TestHelper : public QObject {
private slots:
void initTestCase();
void recognizeBtAddress();
void parseNameAddress();
};
#endif