-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathasGlobalFunc.cpp
More file actions
43 lines (36 loc) · 870 Bytes
/
asGlobalFunc.cpp
File metadata and controls
43 lines (36 loc) · 870 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#include "common.h"
#include "app_config.h"
#include "asGlobalFunc.h"
#include <QtWidgets>
QTreeWidgetItem *pmasterItem;
QTreeWidgetItem *pslaveItem[BLE_SCAN_DEVICE_MAX];
bool masterHaveAdded;
bool slaveHaveAdded[BLE_SCAN_DEVICE_MAX];
QStringList masterInfoLists = getmasterInfoList();
QStringList slaveInfoLists = getslaveInfoList();
QList <QStringList> allSlaveInfoLists;
int slaveNum;
int slaveCounter;
int childCount;
bool connectSuccessOrNotFlag[BLE_CONNECTION_MAX];
void Init()
{
}
QTreeWidgetItem* addmasterInfoList(QTreeWidget *masterparent, QStringList masterInfoList)
{
return NULL;
}
QTreeWidgetItem* addslaveInfoList(QTreeWidgetItem *slaveparent, QStringList slaveInfoList, int index)
{
return NULL;
}
QTreeWidgetItem* deleteslaveInfoList(int index)
{
return NULL;
}
QStringList getmasterInfoList()
{
}
QStringList getslaveInfoList()
{
}