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...


 Sniffer enabled for controller. More...
 Maximum number of buffer. More...
 Max packet size for a sniffer packet. More...


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


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


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


Sniffer enabled for controller.

Definition at line 36 of file bb_ble_sniffer_api.h.


Maximum number of buffer.

Definition at line 47 of file bb_ble_sniffer_api.h.


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.


Output over HCI through tokens.


Total output methods.


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).


Transmit packets.


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.