Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ android {
applicationId "com.csl.cs108ademoapp"
minSdkVersion 19
targetSdkVersion 26
versionCode 19
versionName "1.14.0"
versionCode 20
versionName "1.15.0"
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
Expand Down
Binary file removed app/libs/cs108library4a-debug.aar
Binary file not shown.
Binary file removed app/libs/cs108library4a-release.aar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion app/release/output.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":19,"versionName":"1.14.0","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}]
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":20,"versionName":"1.15.0","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}]
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ public void onActivityCreated(Bundle savedInstanceState) {
buttonCSLServer.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
String serverLocation = "https://" + "www.convergence.com.hk:" + "29090/WebServiceRESTs/1.0/req/" + "create-update-delete/update-entity/" + "tagdata";
String serverLocation = "https://" + "democloud.convergence.com.hk:" + "29090/WebServiceRESTs/1.0/req/" + "create-update-delete/update-entity/" + "tagdata";
//String serverLocation = "https://" + "www.convergence.com.hk:" + "29090/WebServiceRESTs/1.0/req/" + "create-update-delete/update-entity/" + "tagdata";
//String serverLocation = "http://ptsv2.com/t/10i1t-1519143332/post";
editTextServer.setText(serverLocation);
}
Expand Down
4 changes: 2 additions & 2 deletions cs108library4a/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ android {
defaultConfig {
minSdkVersion 19
targetSdkVersion 26
versionCode 19
versionName "1.14.0"
versionCode 20
versionName "1.15.0"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4339,7 +4339,7 @@ void mRx000UplinkHandler() {
while (mRfidToReadingOffset > startIndex) {
int packageLengthRead = 0;
if (mRfidToReadingOffset - startIndex >= 8) {
packageLengthRead = mRfidToReading[startIndex + 5] * 256 + mRfidToReading[startIndex + 4];
packageLengthRead = (mRfidToReading[startIndex + 5] & 0xFF) * 256 + (mRfidToReading[startIndex + 4] & 0xFF);
}
int expectedLength = 8 + packageLengthRead * 4;
if (mRfidToReading[startIndex + 0] == 0x04) expectedLength = 8 + packageLengthRead;
Expand Down