-
Notifications
You must be signed in to change notification settings - Fork 2
/
swdr007-src.slcp
164 lines (163 loc) · 5.57 KB
/
swdr007-src.slcp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
# Silicon Labs Project Configuration Tools: slcp, v0, Component selection file.
project_name: swdr007-src
label: swdr007-src
description: The Hello Neighbor sample application leverages the Amazon Sidewalk protocol
to connect to the cloud using a either of the 3 radio layer, depending on board
and configuration. The application connects to AWS and send or receive messages
on button push.
category: Example|AWS IoT
filter:
- name: Device Type
value: [SoC]
- name: Ecosystem
value: [Amazon]
- name: Project Difficulty
value: [Beginner]
- name: Wireless Technology
value: [Bluetooth, Sidewalk]
package: amazon_bluetooth
quality: production
readme:
- {path: readme.md}
source:
- {path: main.c}
- {path: app_init.c}
- {path: app_process.c}
- {path: app_cli.c}
tag: ['hardware:rf:band:2400|915', 'hardware:device:sdid:215']
include:
- path: ''
file_list:
- {path: app_init.h}
- {path: app_process.h}
sdk: {id: gecko_sdk, version: 4.4.3}
toolchain_settings: []
component:
- {from: sidewalk, id: app_button_press}
- {from: sidewalk, id: app_log}
- {from: sidewalk, id: sidewalk_ble_subghz}
- {from: sidewalk, id: sidewalk_common}
- {id: EFR32MG24B220F1536IM48}
- {id: app_assert}
- {id: brd4002a}
- {id: brd4187c}
- instance: [inst]
id: cli
- {id: device_init}
- {id: device_init_dpll}
- {id: freertos}
- {id: freertos_heap_4}
- {id: iostream_recommended_stream}
- {id: iostream_retarget_stdio}
- {id: iostream_rtt}
- {id: iostream_stdlib_config}
- {id: printf}
- {id: psa_crypto}
- {id: psa_crypto_ccm}
- {id: psa_crypto_cipher_ctr}
- {id: psa_crypto_cmac}
- {id: psa_crypto_ecc}
- {id: psa_crypto_ecc_curve25519}
- {id: psa_crypto_ecc_edwards25519}
- {id: psa_crypto_ecc_secp256r1}
- {id: psa_crypto_ecdh}
- {id: psa_crypto_ecdsa}
- {id: psa_crypto_eddsa}
- {id: psa_crypto_gcm}
- {id: psa_crypto_hmac}
- {id: psa_crypto_sha256}
- {id: psa_crypto_sha512}
- {id: psa_its}
- {id: rail_lib_multiprotocol}
- instance: [btn0, btn1]
id: simple_button
- {id: sl_system}
- {id: sleeptimer}
- instance: [exp]
id: spidrv
- {id: udelay}
config_file:
- {path: config/sidewalk/CF_minimal_sidewalk.json, directory: sidewalk}
- {path: config/sidewalk/sidewalk.asconf, directory: sidewalk}
- {path: config/sidewalk/mfg.runconf, directory: sidewalk}
template_contribution:
- name: bluetooth_on_event
priority: 0
value: {include: ble_adapter.h, function: sl_ble_adapter_on_event}
- name: event_handler
priority: 0
value: {event: kernel_start, include: ble_adapter.h, handler: sl_ble_adapter_on_kernel_start}
- name: cli_command
priority: 0
value: {name: send, handler: cli_send, help: Updates counter value and sends it
to the cloud}
- name: cli_command
priority: 0
value: {name: reset, handler: cli_reset, help: Returns to factory settings}
- name: cli_command
priority: 0
value: {name: get_time, handler: cli_get_time, help: Gets current time}
- name: cli_command
priority: 0
value: {name: get_mtu, handler: cli_get_mtu, help: Gets current MTU}
- name: cli_command
priority: 0
value: {name: switch_link, handler: cli_link_switch, help: Switch between BLE/FSK/CSS
depending on available radio links}
requires:
- condition: [device_supports_bluetooth]
name: bluetooth_stack
- condition: [device_supports_bluetooth]
name: bluetooth_feature_dynamic_gattdb
- condition: [device_supports_bluetooth]
name: bluetooth_feature_gatt_server
- condition: [device_supports_bluetooth]
name: bluetooth_feature_gatt
- condition: [device_supports_bluetooth]
name: bluetooth_feature_system
- condition: [device_supports_bluetooth]
name: bluetooth_feature_connection
- condition: [device_supports_bluetooth]
name: bluetooth_feature_legacy_advertiser
- condition: [device_supports_bluetooth]
name: bluetooth_feature_sm
- condition: [device_supports_bluetooth]
name: bluetooth_on_demand_start
configuration:
- {name: SL_SIDEWALK_COMMON_DEFAULT_LINK_TYPE, value: SL_SIDEWALK_LINK_BLE}
- {name: SL_SIDEWALK_COMMON_DEFAULT_LINK_CONNECTION_POLICY, value: SID_LINK_CONNECTION_POLICY_MULTI_LINK_MANAGER}
- {name: SL_SIDEWALK_COMMON_DEFAULT_MULTI_LINK_POLICY, value: SID_LINK_MULTI_LINK_POLICY_RELIABILITY}
- {name: SL_SPIDRV_EXP_CS_CONTROL, value: spidrvCsControlApplication}
- {name: SL_SPIDRV_EXP_BITRATE, value: '8000000'}
- {name: SL_SLEEPTIMER_PERIPHERAL, value: SL_SLEEPTIMER_PERIPHERAL_DEFAULT}
- {name: SL_BOARD_ENABLE_VCOM, value: '0'}
- condition: [iostream_usart]
name: SL_IOSTREAM_USART_VCOM_RESTRICT_ENERGY_MODE_TO_ALLOW_RECEPTION
value: '0'
- condition: [iostream_uart]
name: SL_IOSTREAM_UART_VCOM_RESTRICT_ENERGY_MODE_TO_ALLOW_RECEPTION
value: '0'
- {name: configMINIMAL_STACK_SIZE, value: '2048'}
- {name: configTOTAL_HEAP_SIZE, value: '20480'}
- {name: SL_STACK_SIZE, value: '4096'}
- {name: SL_HEAP_SIZE, value: '15360'}
- {name: NVM3_DEFAULT_NVM_SIZE, value: '24576'}
- {name: SL_BT_RTOS_LINK_LAYER_TASK_STACK_SIZE, value: '2000'}
- {name: SL_BT_RTOS_HOST_STACK_TASK_STACK_SIZE, value: '4000'}
- {name: SL_BT_RTOS_EVENT_HANDLER_STACK_SIZE, value: '4000'}
- {name: SL_BT_CONFIG_BUFFER_SIZE, value: '6300'}
- {name: configTIMER_TASK_STACK_DEPTH, value: '1024'}
- {name: APP_LOG_AUTO_NL, value: '1'}
- {name: SL_BT_CONFIG_MIN_TX_POWER, value: (-260)}
- {name: SL_BT_CONFIG_MAX_TX_POWER, value: (100)}
- {name: APP_LOG_LEVEL_DEBUG_PREFIX, value: '"<debug>"'}
- {name: APP_LOG_LEVEL_INFO_PREFIX, value: '"<info>"'}
- {name: APP_LOG_LEVEL_WARNING_PREFIX, value: '"<warning>"'}
- {name: APP_LOG_LEVEL_ERROR_PREFIX, value: '"<error>"'}
- {name: APP_LOG_LEVEL_CRITICAL_PREFIX, value: '"<critical>"'}
ui_hints:
highlight:
- {path: readme.md, focus: true}
- {path: config/sidewalk/sidewalk.asconf}
sdk_extension:
- {id: sidewalk, version: 2.0.1}