blob: f9da8ec97f3df5a759ee19a0b91bcf0b501c348a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: BSD-3-Clause
#include <bluetooth/bluetooth.h>
int main()
{
bdaddr_t anyTmp = {{0, 0, 0, 0, 0, 0}};
bdaddr_t localTmp = {{0, 0, 0, 0xff, 0xff, 0xff}};
bacmp(&anyTmp, &localTmp);
uint32_t field0 = 1;
uint16_t field1 = 1;
field0 = htonl(field0);
field1 = htons(field1);
return 0;
}
|