Mistake on this page?
Report an issue in GitHub or email us
Functions
pal_bb_ble_tester.h File Reference

BLE Baseband tester interface file. More...

#include "pal_types.h"

Go to the source code of this file.

Functions

void PalBbTesterEnablePduFilterBypass (uint8_t enable)
 Enable bypassing PDU filtering. More...
 
void PalBbTesterInvalidateNextAccAddr (uint8_t forRx)
 Invalidate next access address. More...
 
void PalBbTesterSetInvalidAccessAddress (uint64_t chanMask, uint32_t invalidMask, uint8_t shiftMask, uint8_t forRx)
 Invalidate access address value. More...
 
void PalBbTesterSetInvalidCrcInit (uint64_t chanMask, uint32_t adjMask, uint8_t forRx)
 Invalidate CRC initialization value. More...
 
void PalBbTesterSetModifyTxPktTrigger (uint16_t hdrMask, uint16_t hdrValue)
 Trigger channel modifications on matching Tx packet header. More...
 
void PalBbTesterAdjTxTifsNs (int16_t adjNs)
 Adjust Tx TIFS timing value. More...
 

Detailed Description

BLE Baseband tester interface file.

Copyright (c) 2018 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 pal_bb_ble_tester.h.

Function Documentation

void PalBbTesterAdjTxTifsNs ( int16_t  adjNs)

Adjust Tx TIFS timing value.

Parameters
adjNsAdjustment value in nanoseconds.

Adjust the TIFS timing of transmit by the given signed value of timer ticks. If adjustment value is out of range, maximum allowed value is used.

void PalBbTesterEnablePduFilterBypass ( uint8_t  enable)

Enable bypassing PDU filtering.

Parameters
enableIf TRUE enable bypass PDU filtering, FALSE otherwise.

Enable bypassing PDU filtering.

void PalBbTesterInvalidateNextAccAddr ( uint8_t  forRx)

Invalidate next access address.

Parameters
forRxFor Rx or Tx boolean.
void PalBbTesterSetInvalidAccessAddress ( uint64_t  chanMask,
uint32_t  invalidMask,
uint8_t  shiftMask,
uint8_t  forRx 
)

Invalidate access address value.

Parameters
chanMaskInvalidate channel mask.
invalidMaskEnable mask for invalidating access address (0 to disable).
shiftMaskTRUE if corrupting AA by one bit and corrupted bit location is shifted every TX/RX.
forRxTRUE for Rx, FALSE for Tx.

Force the receiver to receive a miss a packet if the receive channel is in chanMask while stepping through the invalid pattern in invalidMask.

void PalBbTesterSetInvalidCrcInit ( uint64_t  chanMask,
uint32_t  adjMask,
uint8_t  forRx 
)

Invalidate CRC initialization value.

Parameters
chanMaskInvalidate channel mask.
adjMaskNumber of adjustments (0 to disable).
forRxTRUE for Rx, FALSE for Tx.

Force the receiver to receive a packet with CRC error if the receive channel is in chanMask while stepping through the invalid pattern in invalidMask.

void PalBbTesterSetModifyTxPktTrigger ( uint16_t  hdrMask,
uint16_t  hdrValue 
)

Trigger channel modifications on matching Tx packet header.

Parameters
hdrMaskHeader mask.
hdrValueMatch value.

Modify the transmit channel parameters of a packet only when the Tx packet header matches the given parameters. This applies to the modification parameter provided by the following routines:

- \ref PalBbTesterSetInvalidCrcInit()
- \ref PalBbTesterSetInvalidAccessAddress()
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.