Skip to content

Commit e6a1024

Browse files
committed
Changes for 25Q2-Patch1
1 parent 8bf9cf4 commit e6a1024

File tree

189 files changed

+8664
-100
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

189 files changed

+8664
-100
lines changed

Jenkinsfile

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
pipeline {
2+
agent {
3+
node{
4+
label 'mac'
5+
}
6+
}
7+
environment {
8+
LANG = "en_US.UTF-8"
9+
LC_ALL = "en_US.UTF-8"
10+
MY_VAR = 'NULL'
11+
}
12+
13+
stages {
14+
stage("Install gems") {
15+
steps {
16+
sh 'bundle install'
17+
sh 'bundle update fastlane'
18+
sh 'pod install'
19+
}
20+
}
21+
22+
stage("Build app") {
23+
steps {
24+
script {
25+
// Example build step
26+
27+
def result = sh(script: 'fastlane build_app_for_simulator', returnStatus: true)
28+
if (result != 0) {
29+
currentBuild.result = 'FAILURE'
30+
error("Build failed")
31+
} else {
32+
echo 'Build generated successfully'
33+
MY_VAR = 'SUCCESS'
34+
echo "Workspace path is: ${env.WORKSPACE}"
35+
}
36+
}
37+
}
38+
}
39+
40+
stage("ipa launch"){
41+
steps{
42+
script{
43+
if(MY_VAR == 'SUCCESS'){
44+
echo 'stage APK launch'
45+
def result = sh(script: './launch_ipa.sh',returnStatus: true)
46+
if(result != 0){
47+
echo 'stage 2 failure check console output/shell output'
48+
}
49+
else{
50+
echo 'Application launched successfully'
51+
currentBuild.result = 'SUCCESS'
52+
}
53+
}
54+
}
55+
}
56+
}
57+
58+
stage('Hardware Flash'){
59+
steps{
60+
script{
61+
if(MY_VAR == 'SUCCESS'){
62+
echo 'stage hardware flash'
63+
withEnv(['PATH+EXTRA=/Users/jenkins/Desktop/SimplicityCommander-Mac/Commander-cli.app/Contents/MacOS']){
64+
def result = sh(script: './hardware_flash.sh',returnStatus: true)
65+
if(result != 0){
66+
echo 'stage 3 failure check console output/shell output'
67+
MY_VAR = 'FAIL'
68+
}
69+
else{
70+
echo 'Firmware for connected Hardware Flashed successfully'
71+
currentBuild.result = 'SUCCESS'
72+
MY_VAR = 'SUCCESS'
73+
}
74+
}
75+
}
76+
}
77+
}
78+
79+
}
80+
81+
stage('Appium Test Start'){
82+
steps{
83+
script{
84+
if(MY_VAR == 'SUCCESS'){
85+
def result = sh(script: './start_test.sh',returnStatus: true)
86+
if(result != 0){
87+
echo 'stage 4 failure check console output/shell output'
88+
MY_VAR = 'FAIL'
89+
}
90+
else{
91+
echo 'Application testing started successfully'
92+
currentBuild.result = 'SUCCESS'
93+
MY_VAR = 'SUCCESS'
94+
}
95+
}
96+
}
97+
}
98+
}
99+
}
100+
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ Simplicity Connect includes many demos to test sample apps in the Silicon Labs G
3434
- **Wi-Fi OTA Firmware Update**: The Wi-Fi OTA firmware update demo demonstrates how to update the SiWx91x user application firmware over Wi-Fi connection, by downloading the image from the mobile phone.
3535
- **Wi-Fi 917 Sensors**: The Wi-Fi 917 Sensor demo demonstrates to read and display sensor data from 917 Dev Kit.
3636
- **Wi-Fi Throughput**: Wi-Fi demo feature for measuring data throughput between SiWx91X device and the mobile phone.
37-
3837
- **Wi-Fi Provisioning**: Commission a Wi-Fi device via Access Point.
3938
- **AWS Demo**: This Demo showcases a system where sensor data is sent to AWS IoT Core using the MQTT protocol. A mobile app subscribes to specific MQTT topics to receive this sensor data in real-time. The app can also publish messages to AWS IoT Core, which are then received by the sensor device's firmware, enabling two-way communication.
4039

40+
4141
## Development Features
4242
Simplicity Connect helps developers create and troubleshoot Bluetooth applications running on Silicon Labs’ BLE hardware. Here’s a rundown of some example functionalities.
4343

SiliconLabsApp.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7757,7 +7757,7 @@
77577757
CODE_SIGN_IDENTITY = "Apple Development";
77587758
CODE_SIGN_RESOURCE_RULES_PATH = "";
77597759
CODE_SIGN_STYLE = Automatic;
7760-
CURRENT_PROJECT_VERSION = 16;
7760+
CURRENT_PROJECT_VERSION = 1;
77617761
DEFINES_MODULE = YES;
77627762
DEVELOPMENT_TEAM = 52444FG85C;
77637763
DISPLAY_NAME = "Si Connect";
@@ -7775,7 +7775,7 @@
77757775
"$(inherited)",
77767776
"@executable_path/Frameworks",
77777777
);
7778-
MARKETING_VERSION = 3.1.0;
7778+
MARKETING_VERSION = 3.1.1;
77797779
PRODUCT_BUNDLE_IDENTIFIER = com.silabs.BlueGeckoDemoApp;
77807780
PRODUCT_NAME = "$(TARGET_NAME)";
77817781
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -7799,7 +7799,7 @@
77997799
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution: Silicon Laboratories Inc (52444FG85C)";
78007800
CODE_SIGN_RESOURCE_RULES_PATH = "";
78017801
CODE_SIGN_STYLE = Manual;
7802-
CURRENT_PROJECT_VERSION = 16;
7802+
CURRENT_PROJECT_VERSION = 1;
78037803
DEFINES_MODULE = YES;
78047804
DEVELOPMENT_TEAM = "";
78057805
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 52444FG85C;
@@ -7817,7 +7817,7 @@
78177817
"$(inherited)",
78187818
"@executable_path/Frameworks",
78197819
);
7820-
MARKETING_VERSION = 3.1.0;
7820+
MARKETING_VERSION = 3.1.1;
78217821
PRODUCT_BUNDLE_IDENTIFIER = com.silabs.BlueGeckoDemoApp;
78227822
PRODUCT_NAME = "$(TARGET_NAME)";
78237823
PROVISIONING_PROFILE = "";

SiliconLabsApp/SILAppDelegate.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ class SILAppDelegate : UIResponder, UIApplicationDelegate {
4141
}
4242
private func setupLogs() {
4343
DDLog.add(DDOSLogger.sharedInstance)
44+
4445
let fileLogger: DDFileLogger = DDFileLogger() // File Logger
4546
fileLogger.rollingFrequency = 60 * 60 * 24 // 24 hours
4647
fileLogger.logFileManager.maximumNumberOfLogFiles = 30

0 commit comments

Comments
 (0)