Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to create out-of-tree MEI clusters #36818

Draft
wants to merge 36 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
f20f644
Ability to create out-of-tree MEI clusters
markus-becker-tridonic-com Dec 12, 2024
e6a4ff0
change for gni based builds
markus-becker-tridonic-com Dec 12, 2024
c56864a
Restyled by clang-format
restyled-commits Dec 12, 2024
4c675db
Restyled by gn
restyled-commits Dec 12, 2024
550f58c
Remove commented code (address review comment)
markus-becker-tridonic-com Jan 10, 2025
6923bb8
Rename from Mei to Manufacturer-specific
markus-becker-tridonic-com Jan 10, 2025
a37e464
zap_regen_all
markus-becker-tridonic-com Jan 10, 2025
adc269b
Some restyles
markus-becker-tridonic-com Jan 10, 2025
62a23dd
Rename kotlin files
markus-becker-tridonic-com Jan 10, 2025
140ff47
Restyled by clang-format
restyled-commits Jan 10, 2025
f1f2648
Restyled by prettier-json
restyled-commits Jan 10, 2025
864e025
Exclude generated Accessors.cpp examples/manufacturer-specific-app fr…
markus-becker-tridonic-com Jan 10, 2025
7787e44
Add an MD file including the
markus-becker-tridonic-com Jan 10, 2025
4ca33c7
Exclude Accessors.cpp also for emberAfWriteAttribute and indent ember…
markus-becker-tridonic-com Jan 10, 2025
0abdfa5
regen again
markus-becker-tridonic-com Jan 10, 2025
ac840e4
Restyled by clang-format
restyled-commits Jan 10, 2025
2822948
ktfmt
markus-becker-tridonic-com Jan 13, 2025
b7b76d7
Add manufacturer-specific-app nrfconnect build step
markus-becker-tridonic-com Jan 13, 2025
a10f99c
remove duplicated/old generated file
markus-becker-tridonic-com Jan 13, 2025
b830097
add PROJECT_APP_COMMON_INC_DIR for telink as well
markus-becker-tridonic-com Jan 13, 2025
08a2d71
correct name of external manufacturer specific cluster filename
markus-becker-tridonic-com Jan 13, 2025
d16850f
remove more commented code.
markus-becker-tridonic-com Jan 13, 2025
1e783c8
Remove duplicated ClusterCluster
markus-becker-tridonic-com Jan 13, 2025
b0d8bb0
regenerated files
markus-becker-tridonic-com Jan 13, 2025
9d9ce81
Fix some remainders of MEI
markus-becker-tridonic-com Jan 14, 2025
3661fb5
Restyled by clang-format
restyled-commits Jan 14, 2025
06f910c
Remove more commented build code
markus-becker-tridonic-com Jan 14, 2025
716d6b4
More changes for the external MS cluster.
markus-becker-tridonic-com Jan 14, 2025
a5bb7ce
zap generate for manufacturer specific sample.
markus-becker-tridonic-com Jan 14, 2025
cffa1b4
Restyled by clang-format
restyled-commits Jan 14, 2025
8d8454c
More cluster name clean-ups
markus-becker-tridonic-com Jan 15, 2025
e52bb6e
Liste External MS cluster in CommandHandlerInterfaceOnlyClusters
markus-becker-tridonic-com Jan 15, 2025
958e7aa
Successfully compiling sample for NRF
markus-becker-tridonic-com Jan 15, 2025
0e0942a
Restyled by whitespace
restyled-commits Jan 15, 2025
adc9569
Restyled by clang-format
restyled-commits Jan 15, 2025
c50376b
zap-regen-all
markus-becker-tridonic-com Jan 15, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ktfmt
  • Loading branch information
markus-becker-tridonic-com committed Jan 13, 2025
commit 2822948435be79cbfb2058d3aab2f2601d26aee5
Original file line number Diff line number Diff line change
@@ -22,7 +22,10 @@ import matter.tlv.Tag
import matter.tlv.TlvReader
import matter.tlv.TlvWriter

class SampleManufacturerSpecificClusterPingCountEventEvent(val count: UInt, val fabricIndex: UByte) {
class SampleManufacturerSpecificClusterPingCountEventEvent(
val count: UInt,
val fabricIndex: UByte
) {
override fun toString(): String = buildString {
append("SampleManufacturerSpecificClusterPingCountEventEvent {\n")
append("\tcount : $count\n")
@@ -43,7 +46,10 @@ class SampleManufacturerSpecificClusterPingCountEventEvent(val count: UInt, val
private const val TAG_COUNT = 1
private const val TAG_FABRIC_INDEX = 254

fun fromTlv(tlvTag: Tag, tlvReader: TlvReader): SampleManufacturerSpecificClusterPingCountEventEvent {
fun fromTlv(
tlvTag: Tag,
tlvReader: TlvReader
): SampleManufacturerSpecificClusterPingCountEventEvent {
tlvReader.enterStructure(tlvTag)
val count = tlvReader.getUInt(ContextSpecificTag(TAG_COUNT))
val fabricIndex = tlvReader.getUByte(ContextSpecificTag(TAG_FABRIC_INDEX))