Mistake on this page?
Report an issue in GitHub or email us
Data Structures | Macros | Typedefs | Enumerations
bb_ble_sniffer_api.h File Reference

Packet sniffer interface file. More...

#include "wsf_types.h"
#include "bb_api.h"
#include "pal_bb_ble.h"
#include "ll_defs.h"
#include "bb_ble_api.h"

Go to the source code of this file.

Data Structures

struct  BbBleSnifferMeta_t
 Sniffer packet metadata. More...
 
struct  BbBleDataSniffPkt_t
 Sniffer data packet. More...
 
struct  BbBleAdvSniffPkt_t
 Sniffer advertisement packet. More...
 
struct  BbBleSnifferPkt_t
 Sniffer generic packet. More...
 
struct  BbBleSnifferHciCtx_t
 HCI output context. More...
 
struct  bbSnifferCtx_t
 Sniffer context. More...
 

Macros

#define BB_SNIFFER_ENABLED   FALSE
 Sniffer enabled for controller. More...
 
#define BB_SNIFFER_MAX_NUM_BUF   20
 Maximum number of buffer. More...
 
#define BB_SNIFFER_MAX_PKT_SIZE   28
 Max packet size for a sniffer packet. More...
 

Typedefs

typedef void(* bbSnifferFn_t) (BbBleSnifferPkt_t *pPkt)
 Sniffer output call signature. More...
 
typedef BbBleSnifferPkt_t *(* bbSnifferGetPktFn_t) (void)
 Sniffer get packet call signature. More...
 

Enumerations

Detailed Description

Packet sniffer interface file.

Copyright (c) 2019 Arm Ltd. All Rights Reserved.

Copyright (c) 2019-2020 Packetcraft, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file bb_ble_sniffer_api.h.

Macro Definition Documentation

#define BB_SNIFFER_ENABLED   FALSE

Sniffer enabled for controller.

Definition at line 36 of file bb_ble_sniffer_api.h.

#define BB_SNIFFER_MAX_NUM_BUF   20

Maximum number of buffer.

Definition at line 47 of file bb_ble_sniffer_api.h.

#define BB_SNIFFER_MAX_PKT_SIZE   28

Max packet size for a sniffer packet.

Definition at line 50 of file bb_ble_sniffer_api.h.

Typedef Documentation

typedef void(* bbSnifferFn_t) (BbBleSnifferPkt_t *pPkt)

Sniffer output call signature.

Definition at line 109 of file bb_ble_sniffer_api.h.

typedef BbBleSnifferPkt_t*(* bbSnifferGetPktFn_t) (void)

Sniffer get packet call signature.

Definition at line 112 of file bb_ble_sniffer_api.h.

Enumeration Type Documentation

anonymous enum

Output methods of sniffer.

Enumerator
BB_SNIFFER_OUTPUT_HCI_TOKEN 

Output over HCI through tokens.

BB_SNIFFER_OUTPUT_TOTAL_METHODS 

Total output methods.

BB_SNIFFER_OUTPUT_NULL_METHOD 

Null output method.

Definition at line 53 of file bb_ble_sniffer_api.h.

anonymous enum

Sniffer Packet types (Used to parse packet for sniffer).

Enumerator
BB_SNIFF_PKT_TYPE_TX 

Transmit packets.

BB_SNIFF_PKT_TYPE_RX 

Receive packets.

Definition at line 66 of file bb_ble_sniffer_api.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.