123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- #ifndef MAC_PIB_H
- #define MAC_PIB_H
- #include "mac_api.h"
- #include "mac_high_level.h"
- typedef struct
- {
- uint8 ackWaitDuration;
- bool associationPermit;
- bool autoRequest;
- bool battLifeExt;
- uint8 battLifeExtPeriods;
- uint8 *pBeaconPayload;
- uint8 beaconPayloadLength;
- uint8 beaconOrder;
- uint32 beaconTxTime;
- uint8 bsn;
- sAddr_t coordExtendedAddress;
- uint16 coordShortAddress;
- uint8 dsn;
- bool gtsPermit;
- uint8 maxCsmaBackoffs;
- uint8 minBe;
- uint16 panId;
- bool promiscuousMode;
- bool rxOnWhenIdle;
- uint16 shortAddress;
- uint8 superframeOrder;
- uint16 transactionPersistenceTime;
- bool associatedPanCoord;
- uint8 maxBe;
- uint16 maxFrameTotalWaitTime;
- uint8 maxFrameRetries;
- uint8 responseWaitTime;
- uint8 syncSymbolOffset;
- bool timeStampSupported;
- bool securityEnabled;
-
- uint8 phyTransmitPower;
- uint8 logicalChannel;
- sAddr_t extendedAddress;
- uint8 altBe;
- uint8 deviceBeaconOrder;
- } macPib_t;
- extern macPib_t macPib;
- MAC_INTERNAL_API void macPibReset(void);
- #endif
|