Skip to content

Commit

Permalink
Add tubeszb MGM24 router-only model with sw_flow
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerivec committed Nov 23, 2024
1 parent aa4acd2 commit 662c48a
Showing 1 changed file with 77 additions and 0 deletions.
77 changes: 77 additions & 0 deletions manifests/tubeszb/tubeszb-mgm24router-zigbee_router.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: TubesZB MGM24 Zigbee Router
device: MGM240PA32VNN
base_project: src/zigbee_router
filename: "{manifest_name}_{ezsp_version}_{baudrate}_{fw_variant}"
sdk: "simplicity_sdk:2024.6.2"
toolchain: "12.2.1.20221205"

gbl:
fw_type: zigbee_router
ezsp_version: dynamic
baudrate: 115200
fw_variant: sw_flow

add_components:
# BOOT
- id: simple_button
instance:
- btn1

slcp_defines:
SL_ZIGBEE_ADDRESS_TABLE_SIZE: 64
SL_ZIGBEE_MULTICAST_TABLE_SIZE: 26
SL_ZIGBEE_ROUTE_TABLE_SIZE: 16
SL_ZIGBEE_DISCOVERY_TABLE_SIZE: 16

c_defines:
SL_IOSTREAM_USART_VCOM_BAUDRATE: 115200
SL_IOSTREAM_USART_VCOM_FLOW_CONTROL_TYPE: uartFlowControlSoftware

SL_IOSTREAM_USART_VCOM_PERIPHERAL: USART0
SL_IOSTREAM_USART_VCOM_PERIPHERAL_NO: 0

SL_IOSTREAM_USART_VCOM_TX_PORT: gpioPortA
SL_IOSTREAM_USART_VCOM_TX_PIN: 6

SL_IOSTREAM_USART_VCOM_RX_PORT: gpioPortA
SL_IOSTREAM_USART_VCOM_RX_PIN: 5

SL_IOSTREAM_USART_VCOM_CTS_PORT: 0
SL_IOSTREAM_USART_VCOM_CTS_PIN: 0

SL_IOSTREAM_USART_VCOM_RTS_PORT: 0
SL_IOSTREAM_USART_VCOM_RTS_PIN: 0

SL_IOSTREAM_USART_VCOM_RX_BUFFER_SIZE: 128

SL_SIMPLE_BUTTON_BTN1_MODE: SL_SIMPLE_BUTTON_MODE_INTERRUPT
SL_SIMPLE_BUTTON_BTN1_PORT: gpioPortA
SL_SIMPLE_BUTTON_BTN1_PIN: 0

SL_CLOCK_MANAGER_HFXO_EN: 1
SL_CLOCK_MANAGER_HFXO_CTUNE: 140
SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE: SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE_HFXO

SL_ZIGBEE_APS_UNICAST_MESSAGE_COUNT: 128
SL_ZIGBEE_BROADCAST_TABLE_SIZE: 30
SL_ZIGBEE_NEIGHBOR_TABLE_SIZE: 26
SL_ZIGBEE_SOURCE_ROUTE_TABLE_SIZE: 254
SL_ZIGBEE_MAX_END_DEVICE_CHILDREN: 64
SL_ZIGBEE_BINDING_TABLE_SIZE: 32
SL_ZIGBEE_APS_DUPLICATE_REJECTION_MAX_ENTRIES: 64

SL_RAIL_UTIL_RSSI_OFFSET: 0

# all zigbee channels
SL_ZIGBEE_AF_PLUGIN_NETWORK_STEERING_CHANNEL_MASK: 0x07fff800
SL_ZIGBEE_AF_PLUGIN_NETWORK_STEERING_RADIO_TX_POWER: 19

SL_ZIGBEE_AF_PLUGIN_CONCENTRATOR_CONCENTRATOR_TYPE: HIGH_RAM_CONCENTRATOR
# <1-60>
SL_ZIGBEE_AF_PLUGIN_CONCENTRATOR_MIN_TIME_BETWEEN_BROADCASTS_SECONDS: 30
# <30-300>
SL_ZIGBEE_AF_PLUGIN_CONCENTRATOR_MAX_TIME_BETWEEN_BROADCASTS_SECONDS: 180
# <1-100>
SL_ZIGBEE_AF_PLUGIN_CONCENTRATOR_ROUTE_ERROR_THRESHOLD: 3
# <1-100>
SL_ZIGBEE_AF_PLUGIN_CONCENTRATOR_DELIVERY_FAILURE_THRESHOLD: 1

0 comments on commit 662c48a

Please sign in to comment.