Skip to content

Commit

Permalink
Initial update to EZSP12
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Jackson <[email protected]>
  • Loading branch information
cdjackson committed Oct 3, 2023
1 parent 191cfaa commit c277a3e
Show file tree
Hide file tree
Showing 4 changed files with 167 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5212,6 +5212,46 @@
<enum_value>0x0042</enum_value>
<description>The command has been filtered out by NCP.</description>
</value>
<value>
<name>EZSP_ERROR_SECURITY_KEY_ALREADY_SET</name>
<enum_value>0x0043</enum_value>
<description>EZSP Security Key is already set.</description>
</value>
<value>
<name>EZSP_ERROR_SECURITY_TYPE_INVALID</name>
<enum_value>0x0044</enum_value>
<description>EZSP Security Type is invalid.</description>
</value>
<value>
<name>EZSP_ERROR_SECURITY_PARAMETERS_INVALID</name>
<enum_value>0x0045</enum_value>
<description>EZSP Security Parameters are invalid.</description>
</value>
<value>
<name>EZSP_ERROR_SECURITY_PARAMETERS_ALREADY_SET0x46</name>
<enum_value>0x0046</enum_value>
<description>EZSP Security Parameters are already set.</description>
</value>
<value>
<name>EZSP_ERROR_SECURITY_KEY_NOT_SET</name>
<enum_value>0x0047</enum_value>
<description>EZSP Security Key is not set.</description>
</value>
<value>
<name>EZSP_ERROR_SECURITY_PARAMETERS_NOT_SET</name>
<enum_value>0x0048</enum_value>
<description>EZSP Security Parameters are not set.</description>
</value>
<value>
<name>EZSP_ERROR_UNSUPPORTED_CONTROL</name>
<enum_value>0x0049</enum_value>
<description>Received frame with unsupported control byte.</description>
</value>
<value>
<name>EZSP_ERROR_UNSECURE_FRAME</name>
<enum_value>0x004A</enum_value>
<description>Received frame is unsecure, when security is established.</description>
</value>
<value>
<name>EZSP_ASH_ERROR_VERSION</name>
<enum_value>0x0050</enum_value>
Expand Down Expand Up @@ -5362,6 +5402,11 @@
<enum_value>0x0085</enum_value>
<description>ASH RX</description>
</value>
<value>
<name>EZSP_CPC_ERROR_INIT</name>
<enum_value>0x0086</enum_value>
<description>Failed to connect to CPC daemon or failed to open CPC endpoint.</description>
</value>
<value>
<name>EZSP_NO_ERROR</name>
<enum_value>0x00FF</enum_value>
Expand Down Expand Up @@ -5692,6 +5737,21 @@
<enum_value>0x39</enum_value>
<description>Valid range of a CTUNE value is 0x0000-0x01FF. Higher order bits (0xFE00) of the 16-bit value are ignored.</description>
</value>
<value>
<name>EZSP_CONFIG_ASSUME_TC_CONCENTRATOR_TYPE</name>
<enum_value>0x40</enum_value>
<description>To configure non trust center node to assume a concentrator type of the trust center it join to, until it receive many-to-one route request from the trust center. For the trust center node, concentrator type is configured from the concentrator plugin. The stack by default assumes trust center be a low RAM concentrator that make other devices send route record to the trust center even without receiving a many-to-one route request. The default concentrator type can be changed by setting appropriate EmberAssumeTrustCenterConcentratorType config value.</description>
</value>
<value>
<name>EZSP_CONFIG_GP_PROXY_TABLE_SIZE</name>
<enum_value>0x41</enum_value>
<description>This is green power proxy table size. This value is readonly and cannot be set at runtime.</description>
</value>
<value>
<name>EZSP_CONFIG_GP_SINK_TABLE_SIZE</name>
<enum_value>0x42</enum_value>
<description>This is green power sink table size. This value is readonly and cannot be set at runtime.</description>
</value>
</values>
</enum>

Expand Down Expand Up @@ -7533,7 +7593,12 @@
<value>
<name>EZSP_VALUE_TRANSIENT_DEVICE_TIMEOUT</name>
<enum_value>0x43</enum_value>
<description>Timeout in milliseconds to store entries in the transient device table. If the devices are not authenticated before the timeout, the entry shall be purged</description>
<description>Timeout in milliseconds to store entries in the transient device table. If the devices are not authenticated before the timeout, the entry shall be purged.</description>
</value>
<value>
<name>EZSP_VALUE_KEY_STORAGE_VERSION</name>
<enum_value>0x44</enum_value>
<description>Return information about the key storage on an NCP. Returns 0 if keys are in classic key storage, and 1 if they are located in PSA key storage. Read only.</description>
</value>
</values>
</enum>
Expand Down Expand Up @@ -7828,6 +7893,32 @@
</value>
</values>
</enum>
<enum>
<name>EmberConfigTxPowerMode</name>
<description></description>
<values>
<value>
<name>EMBER_TX_POWER_MODE_DEFAULT</name>
<enum_value>0x00</enum_value>
<description>Normal power mode and bi-directional RF transmitter output.</description>
</value>
<value>
<name>EMBER_TX_POWER_MODE_BOOST</name>
<enum_value>0x01</enum_value>
<description>Enable boost power mode. This is a high-performance radio mode which offers increased receive sensitivity and transmit power at the cost of an increase in power consumption.</description>
</value>
<value>
<name>EMBER_TX_POWER_MODE_ALTERNATE</name>
<enum_value>0x02</enum_value>
<description>Enable the alternate transmitter output. This allows for simplified connection to an external power amplifier via the RF_TX_ALT_P and RF_TX_ALT_N pins.</description>
</value>
<value>
<name>EMBER_TX_POWER_MODE_BOOST_AND_ALTERNATE</name>
<enum_value>0x03</enum_value>
<description>Enable both boost mode and the alternate transmitter output.</description>
</value>
</values>
</enum>


<!-- Note that this definition is not defined by Silabs, but is added here for convenience -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,28 @@ public enum EzspConfigId {
* Valid range of a CTUNE value is 0x0000-0x01FF. Higher order bits (0xFE00) of the 16-bit value
* are ignored.
*/
EZSP_CONFIG_CTUNE_VALUE(0x0039);
EZSP_CONFIG_CTUNE_VALUE(0x0039),

/**
* To configure non trust center node to assume a concentrator type of the trust center it join
* to, until it receive many-to-one route request from the trust center. For the trust center
* node, concentrator type is configured from the concentrator plugin. The stack by default
* assumes trust center be a low RAM concentrator that make other devices send route record to
* the trust center even without receiving a many-to-one route request. The default
* concentrator type can be changed by setting appropriate
* EmberAssumeTrustCenterConcentratorType config value.
*/
EZSP_CONFIG_ASSUME_TC_CONCENTRATOR_TYPE(0x0040),

/**
* This is green power proxy table size. This value is readonly and cannot be set at runtime.
*/
EZSP_CONFIG_GP_PROXY_TABLE_SIZE(0x0041),

/**
* This is green power sink table size. This value is readonly and cannot be set at runtime.
*/
EZSP_CONFIG_GP_SINK_TABLE_SIZE(0x0042);

/**
* A mapping between the integer code and its corresponding type to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,46 @@ public enum EzspStatus {
*/
EZSP_ERROR_COMMAND_FILTERED(0x0042),

/**
* EZSP Security Key is already set.
*/
EZSP_ERROR_SECURITY_KEY_ALREADY_SET(0x0043),

/**
* EZSP Security Type is invalid.
*/
EZSP_ERROR_SECURITY_TYPE_INVALID(0x0044),

/**
* EZSP Security Parameters are invalid.
*/
EZSP_ERROR_SECURITY_PARAMETERS_INVALID(0x0045),

/**
* EZSP Security Parameters are already set.
*/
EZSP_ERROR_SECURITY_PARAMETERS_ALREADY_SET0x46(0x0046),

/**
* EZSP Security Key is not set.
*/
EZSP_ERROR_SECURITY_KEY_NOT_SET(0x0047),

/**
* EZSP Security Parameters are not set.
*/
EZSP_ERROR_SECURITY_PARAMETERS_NOT_SET(0x0048),

/**
* Received frame with unsupported control byte.
*/
EZSP_ERROR_UNSUPPORTED_CONTROL(0x0049),

/**
* Received frame is unsecure, when security is established.
*/
EZSP_ERROR_UNSECURE_FRAME(0x004A),

/**
* Incompatible ASH version
*/
Expand Down Expand Up @@ -370,6 +410,11 @@ public enum EzspStatus {
*/
EZSP_ASH_RX(0x0085),

/**
* Failed to connect to CPC daemon or failed to open CPC endpoint.
*/
EZSP_CPC_ERROR_INIT(0x0086),

/**
* No reset or error
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,9 +307,15 @@ public enum EzspValueId {

/**
* Timeout in milliseconds to store entries in the transient device table. If the devices are
* not authenticated before the timeout, the entry shall be purged
* not authenticated before the timeout, the entry shall be purged.
*/
EZSP_VALUE_TRANSIENT_DEVICE_TIMEOUT(0x0043);
EZSP_VALUE_TRANSIENT_DEVICE_TIMEOUT(0x0043),

/**
* Return information about the key storage on an NCP. Returns 0 if keys are in classic key
* storage, and 1 if they are located in PSA key storage. Read only.
*/
EZSP_VALUE_KEY_STORAGE_VERSION(0x0044);

/**
* A mapping between the integer code and its corresponding type to
Expand Down

0 comments on commit c277a3e

Please sign in to comment.