Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
 into com-fsm-rebase
  • Loading branch information
msandstedt committed Feb 3, 2022
2 parents 0b10113 + 2294bcc commit 51d91dc
Show file tree
Hide file tree
Showing 275 changed files with 96,831 additions and 21,150 deletions.
1 change: 1 addition & 0 deletions .github/.wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ CYW
DAC
DAP
DataFrame
DataModelRevision
dataset
datasets
dbf
Expand Down
24 changes: 16 additions & 8 deletions .github/workflows/examples-cyw30739.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ jobs:
path: |
.environment/gn_out/.ninja_log
.environment/pigweed-venv/*.log
- name: Build example CYW30739 Lighting App
timeout-minutes: 10
- name: Build example CYW30739 Apps
timeout-minutes: 30
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py \
--target cyw30739-cyw930739m2evb_01-light \
--target-glob 'cyw30739-cyw930739m2evb_01-{light,lock,ota-requestor}' \
build \
--copy-artifacts-to out/artifacts \
"
Expand All @@ -73,12 +73,20 @@ jobs:
cyw30739 cyw930739m2evb_01 light \
out/artifacts/cyw30739-cyw930739m2evb_01-light/chip-cyw30739-lighting-example.elf \
/tmp/bloat_reports/
- name: Build example CYW30739 Lock App
timeout-minutes: 10
- name: Get lock size stats
timeout-minutes: 5
run: |
scripts/examples/gn_build_example.sh examples/lock-app/cyw30739 out/lock_app
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py cyw30739 CYW30739 lock-app \
out/lock_app/chip-cyw30739-lock-example.elf /tmp/bloat_reports/
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
cyw30739 cyw930739m2evb_01 lock \
out/artifacts/cyw30739-cyw930739m2evb_01-lock/chip-cyw30739-lock-example.elf \
/tmp/bloat_reports/
- name: Get ota-requestor size stats
timeout-minutes: 5
run: |
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
cyw30739 cyw930739m2evb_01 ota-requestor \
out/artifacts/cyw30739-cyw930739m2evb_01-ota-requestor/chip-cyw30739-ota-requestor-example.elf \
/tmp/bloat_reports/
- name: Uploading Size Reports
uses: actions/upload-artifact@v2
if: ${{ !env.ACT }}
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/python_chip_controller_building.md
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ List available commands in cluster. For example, for _Basic_ cluster:
```
chip-device-ctrl > zcl ? Basic
InteractionModelVersion
DataModelRevision
VendorName
VendorID
ProductName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ server cluster Basic = 40 {
boolean reachableNewValue = 0;
}

readonly attribute int16u interactionModelVersion = 0;
readonly attribute int16u dataModelRevision = 0;
readonly attribute char_string<32> vendorName = 1;
readonly attribute vendor_id vendorID = 2;
readonly attribute char_string<32> productName = 3;
Expand Down Expand Up @@ -344,6 +344,35 @@ server cluster BridgedActions = 37 {
}

server cluster BridgedDeviceBasic = 57 {
critical event StartUp = 0 {
INT32U softwareVersion = 0;
}

critical event ShutDown = 1 {
}

info event Leave = 2 {
}

info event ReachableChanged = 3 {
boolean reachableNewValue = 0;
}

readonly attribute char_string<32> vendorName = 1;
readonly attribute int16u vendorID = 2;
readonly attribute char_string<32> productName = 3;
attribute char_string<32> nodeLabel = 5;
readonly attribute int16u hardwareVersion = 7;
readonly attribute char_string<64> hardwareVersionString = 8;
readonly attribute int32u softwareVersion = 9;
readonly attribute char_string<64> softwareVersionString = 10;
readonly attribute char_string<16> manufacturingDate = 11;
readonly attribute char_string<32> partNumber = 12;
readonly attribute long_char_string<256> productURL = 13;
readonly attribute char_string<64> productLabel = 14;
readonly attribute char_string<32> serialNumber = 15;
readonly attribute boolean reachable = 17;
readonly attribute char_string<32> uniqueID = 18;
readonly global attribute int16u clusterRevision = 65533;
}

Expand Down Expand Up @@ -1318,7 +1347,7 @@ server cluster FlowMeasurement = 1028 {
}

server cluster GeneralCommissioning = 48 {
enum GeneralCommissioningError : ENUM8 {
enum CommissioningError : ENUM8 {
kOk = 0;
kValueOutsideRange = 1;
kInvalidAuthentication = 2;
Expand All @@ -1331,12 +1360,12 @@ server cluster GeneralCommissioning = 48 {
kIndoorOutdoor = 2;
}

struct BasicCommissioningInfoType {
INT32U failSafeExpiryLengthMs = 0;
struct BasicCommissioningInfo {
INT16U failSafeExpiryLengthSeconds = 0;
}

attribute int64u breadcrumb = 0;
readonly attribute BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
readonly attribute BasicCommissioningInfo basicCommissioningInfo = 1;
readonly attribute enum8 regulatoryConfig = 2;
readonly attribute enum8 locationCapability = 3;
readonly global attribute bitmap32 featureMap = 65532;
Expand All @@ -1356,17 +1385,17 @@ server cluster GeneralCommissioning = 48 {
}

response struct ArmFailSafeResponse {
GeneralCommissioningError errorCode = 0;
CommissioningError errorCode = 0;
CHAR_STRING debugText = 1;
}

response struct CommissioningCompleteResponse {
GeneralCommissioningError errorCode = 0;
CommissioningError errorCode = 0;
CHAR_STRING debugText = 1;
}

response struct SetRegulatoryConfigResponse {
GeneralCommissioningError errorCode = 0;
CommissioningError errorCode = 0;
CHAR_STRING debugText = 1;
}

Expand Down Expand Up @@ -1494,7 +1523,7 @@ server cluster GroupKeyManagement = 63 {
INT64U epochStartTime2 = 7;
}

readonly attribute GroupKey groupKeyMap[] = 0;
attribute GroupKey groupKeyMap[] = 0;
readonly attribute GroupInfo groupTable[] = 1;
readonly attribute int16u maxGroupsPerFabric = 2;
readonly attribute int16u maxGroupKeysPerFabric = 3;
Expand Down Expand Up @@ -1632,23 +1661,23 @@ server cluster IasZone = 1280 {
readonly attribute int8u zoneId = 17;
readonly global attribute int16u clusterRevision = 65533;

request struct ZoneEnrollRequestRequest {
request struct ZoneEnrollResponseRequest {
IasEnrollResponseCode enrollResponseCode = 0;
INT8U zoneId = 1;
}

response struct ZoneEnrollRequest {
IasZoneType zoneType = 0;
INT16U manufacturerCode = 1;
}

request struct ZoneStatusChangeNotificationRequest {
response struct ZoneStatusChangeNotification {
IasZoneStatus zoneStatus = 0;
BITMAP8 extendedStatus = 1;
INT8U zoneId = 2;
INT16U delay = 3;
}

response struct ZoneEnrollResponse {
IasEnrollResponseCode enrollResponseCode = 0;
INT8U zoneId = 1;
}

command ZoneEnrollRequest(ZoneEnrollRequestRequest): ZoneEnrollResponse = 1;
command ZoneStatusChangeNotification(ZoneStatusChangeNotificationRequest): DefaultSuccess = 0;
}
Expand Down
Loading

0 comments on commit 51d91dc

Please sign in to comment.