Blob: friend.h
Blob id: 644ad1b9b42f3ed6deb61fa976728aeae9b72aa6
Size: 1.2 KB
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 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ /* * * BlueZ - Bluetooth protocol stack for Linux * * Copyright (C) 2018 Intel Corporation. All rights reserved. * * */ #define OP_FRND_REQUEST 0x8040 #define OP_FRND_INQUIRY 0x8041 #define OP_FRND_CONFIRM 0x8042 #define OP_FRND_SUB_LIST_ADD 0x8043 #define OP_FRND_SUB_LIST_CONFIRM 0x8044 #define OP_FRND_SUB_LIST_REMOVE 0x8045 #define OP_FRND_NEGOTIATE 0x8046 #define OP_FRND_CLEAR 0x8047 void friend_poll(struct mesh_net *net, uint16_t src, bool seq, struct mesh_friend *frnd); void friend_request(struct mesh_net *net, uint16_t net_idx, uint16_t src, uint8_t minReq, uint8_t delay, uint32_t timeout, uint16_t prev, uint8_t num_elements, uint16_t cntr, int8_t rssi); void friend_clear_confirm(struct mesh_net *net, uint16_t src, uint16_t lpn, uint16_t lpnCounter); void friend_clear(struct mesh_net *net, uint16_t src, uint16_t lpn, uint16_t lpnCounter, struct mesh_friend *frnd); void friend_sub_add(struct mesh_net *net, struct mesh_friend *frnd, const uint8_t *pkt, uint8_t len); void friend_sub_del(struct mesh_net *net, struct mesh_friend *frnd, const uint8_t *pkt, uint8_t len); |