Skip to content

Commit 1ce2385

Browse files
Juha Heiskanenjuhhei01
authored andcommitted
RF PHY extension update
Added support to check RF extension support for dynamic CSMA and timing informatiuon is available Added support to read next informations: * RX time stamp and TX finished timestamp * symbols/second constant which helps to convert symbols to real time Added Support to write: * CSMA backoff time and CCA mode
1 parent 5974344 commit 1ce2385

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

nanostack/platform/arm_hal_phy.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,12 @@ typedef enum {
5858
PHY_EXTENSION_CONVERT_SIGNAL_INFO, /**< Convert signal info. */
5959
PHY_EXTENSION_ACCEPT_ANY_BEACON, /**< Set boolean true or false for accept beacon from other Pan-ID than configured. Default value should be false */
6060
PHY_EXTENSION_SET_TX_TIME, /**< Net library sets transmission time based on global time stamp. Max. 65ms from setting to TX. If TX time is set to zero, it should be ignored.*/
61-
PHY_EXTENSION_READ_RX_TIME, /**< Read the time of last reception based on global time stamp. */
61+
PHY_EXTENSION_READ_RX_TIME, /**< Read the time of last reception based on global symbol time stamp. */
62+
PHY_EXTENSION_READ_TX_FINNISH_TIME, /**< Read the time of last finished TX symbol based on global time stamp. */
63+
PHY_EXTENSION_DYNAMIC_RF_SUPPORTED, /**< Read status for support Radio driver support for set TX time, CCA and Timestamp read. Also PHY_LINK_CCA_PREPARE tx status must be supported also*/
64+
PHY_EXTENSION_GET_TIMESTAMP, /**< Read 32-bit constant monotonic time stamp in us */
65+
PHY_EXTENSION_SET_CSMA_PARAMETERS, /**< CSMA parameter's: Include 32-bit backoff time in us and CCA mode used after timeout CCA is boolean true do normal CCA and false start TX direct*/
66+
PHY_EXTENSION_GET_SYMBOLS_IN_SECOND, /**< Read Symbols per seconds which will help to convert symbol time to real time */
6267
} phy_extension_type_e;
6368

6469
/** Address types */

0 commit comments

Comments
 (0)