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

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

Detailed Description

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.

Macro Definition Documentation

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

Function Documentation

void WsfDetokenEnable ( bool_t  enable)

Enable/disable detoken trace.

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

Parameters
lenLength of pBuffer in bytes.
pBufferBuffer containing HCI event.
Returns
TRUE if VS HCI message is a token, else FALSE.
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.