Token trace decode header file. More...
Go to the source code of this file.
Macros | |
#define | WSF_DETOKEN_VS_SET_EVENT_MASK_OPCODE HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3E1) |
Vendor specific event mask opcode. More... | |
#define | WSF_DETOKEN_ENABLE_BIT (1<<1) |
Event mask bits. More... | |
#define | WSF_DETOKEN_VS_EVT_TOKEN 0xFFF0 |
Vendor specific token event. More... | |
Platform identifiers | |
#define | WSF_DETOKEN_TRACE_NORDIC 1 |
Parameter mask bits | |
#define | WSF_DETOKEN_PARAM_VARIABLE 0 |
#define | WSF_DETOKEN_PARAM_STRING 1 |
Functions | |
void | WsfDetokenInit (void) |
Initialize detoken trace. More... | |
void | WsfDetokenEnable (bool_t enable) |
Enable/disable detoken trace. More... | |
bool_t | WsfDetokenProcessHciEvent (uint16_t len, uint8_t *pBuffer) |
Process vendor specific HCI events and decode token trace events from the LL. More... | |
Token trace decode header file.
Copyright (c) 2018-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 wsf_detoken.h.
#define WSF_DETOKEN_ENABLE_BIT (1<<1) |
Event mask bits.
Definition at line 40 of file wsf_detoken.h.
#define WSF_DETOKEN_VS_EVT_TOKEN 0xFFF0 |
Vendor specific token event.
Definition at line 43 of file wsf_detoken.h.
#define WSF_DETOKEN_VS_SET_EVENT_MASK_OPCODE HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3E1) |
Vendor specific event mask opcode.
Definition at line 37 of file wsf_detoken.h.
void WsfDetokenEnable | ( | bool_t | enable | ) |
Enable/disable detoken trace.
enable | TRUE to enable, FALSE to disable. |
void WsfDetokenInit | ( | void | ) |
Initialize detoken trace.
bool_t WsfDetokenProcessHciEvent | ( | uint16_t | len, |
uint8_t * | pBuffer | ||
) |
Process vendor specific HCI events and decode token trace events from the LL.
len | Length of pBuffer in bytes. |
pBuffer | Buffer containing HCI event. |