1 /*! *********************************************************************************
2 * \defgroup PhyMessages PHY Messages
3 * @{
4 ********************************************************************************** */
5 /*! *********************************************************************************
6 * Copyright (c) 2015, Freescale Semiconductor, Inc.
7 * Copyright 2016-2017, 2024 NXP
8 * All rights reserved.
9 *
10 * \file
11 *
12 * SPDX-License-Identifier: BSD-3-Clause
13 ********************************************************************************** */
14 
15 #ifndef _PHY_MESSAGES_H
16 #define _PHY_MESSAGES_H
17 
18 /************************************************************************************
19 *************************************************************************************
20 * Public type definitions
21 *************************************************************************************
22 ************************************************************************************/
23 
24 /*! 802.15.4-2006 standard PHY PD and PLME API messages */
25 typedef enum
26 {
27     gPdDataReq_c,           /*!< Data Request */
28     gPdDataCnf_c,           /*!< Data Confirm */
29     gPdDataInd_c,           /*!< Data Indication */
30 
31     gPdIndQueueInsertReq_c, /*!< Insert checksum into indirect table */
32     gPdIndQueueInsertCnf_c, /*!< Unused */
33     gPdIndQueueRemoveReq_c, /*!< Remove checksum from indirect table */
34 
35     gPlmeCcaReq_c,          /*!< Clear Channel Assessment request */
36     gPlmeCcaCnf_c,          /*!< Clear Channel Assessment confirm */
37 
38     gPlmeEdReq_c,           /*!< Channel Energy Detect request */
39     gPlmeEdCnf_c,           /*!< Channel Energy Detect Confirm */
40 
41     gPlmeSetTRxStateReq_c,  /*!< Set Transceiver State request */
42     gPlmeSetTRxStateCnf_c,  /*!< Set Transceiver State confirm */
43 
44     gPlmeSetReq_c,          /*!< Set PHY PIB request */
45     gPlmeSetCnf_c,          /*!< Unused */
46 
47     gPlmeGetReq_c,          /*!< Get PHY PIB request */
48     gPlmeGetCnf_c,          /*!< Unused */
49 
50     gPlmeTimeoutInd_c,      /*!< PHY sequence time-out indication */
51 
52     gPlme_StartEventInd_c,  /*!< PHY sequence start indication */
53     gPlme_SyncLossInd_c,    /*!< PHY synchronisation lost indication */
54     gPlme_RxSfdDetectInd_c, /*!< Receiver SFD indication */
55     gPlme_FilterFailInd_c,  /*!< Receiver Filtering Fail indication */
56     gPlme_UnexpectedRadioResetInd_c, /*!< XCVR reset */
57 
58     gPlmeAbortInd_c,      /*!< PHY sequence Abort indication */
59 
60     gPlmeSetSAMState_c,
61     gPlmeAddToSapTable_c,
62     gPlmeRemoveFromSAMTable_c,
63 
64     gPlmeCslEnable_c,
65     gPlmeCslSetSampleTime_c,
66 
67     gPlmeConfigureAckIeData_c,
68 
69     gPlmeSetMacKey_c,
70     gPlmeEnableEncryption_c,
71     gPlmeSetMacFrameCounter_c,
72     gPlmeSetMacFrameCounterIfLarger_c,
73 
74     gPlmeEfpSet_c,  /*!< Enable/Disable Enhanced Frame Pending feature */
75 
76     gPlmeNeighbourTblSet_c,         /* Enable/Disable NBT, OFF by default */
77     gPlmeNeighbourTblAdd_c,         /* Add entry to neighbour table */
78     gPlmeNeighbourTblRemove_c,       /* Remove entry from neighbour table */
79 
80     gPlmeAddVisibleExtAddr_c,          /* Add ieee 64bits address in visible array */
81     gPlmeAddInvisibleLocalAddr_c,      /* Add short address in invisible array     */
82     gPlmeRemoveInvisibleLocalAddr_c,   /* Remove short address in invisible array  */
83     gPlmeClearVisibleFilters_c,        /* Clear all filters                        */
84     gPlmeSetBeaconFiltering_c,         /* Filter beacon frame                      */
85     gPlmeUpdateLocalWithExtAddr_c,     /* Link short address with ieee 64b address */
86 
87 } phyMessageId_t;
88 
89 #endif  /* _PHY_MESSAGES_H */
90 /*! *********************************************************************************
91 * @}
92 ********************************************************************************** */
93