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... | |
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.
void PalBbTesterAdjTxTifsNs | ( | int16_t | adjNs | ) |
Adjust Tx TIFS timing value.
adjNs | Adjustment 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.
enable | If TRUE enable bypass PDU filtering, FALSE otherwise. |
Enable bypassing PDU filtering.
void PalBbTesterInvalidateNextAccAddr | ( | uint8_t | forRx | ) |
Invalidate next access address.
forRx | For Rx or Tx boolean. |
void PalBbTesterSetInvalidAccessAddress | ( | uint64_t | chanMask, |
uint32_t | invalidMask, | ||
uint8_t | shiftMask, | ||
uint8_t | forRx | ||
) |
Invalidate access address value.
chanMask | Invalidate channel mask. |
invalidMask | Enable mask for invalidating access address (0 to disable). |
shiftMask | TRUE if corrupting AA by one bit and corrupted bit location is shifted every TX/RX. |
forRx | TRUE 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.
chanMask | Invalidate channel mask. |
adjMask | Number of adjustments (0 to disable). |
forRx | TRUE 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.
hdrMask | Header mask. |
hdrValue | Match 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()