Skip to content

Commit

Permalink
Merge pull request #14 from cslrfid/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ksclam authored Oct 25, 2023
2 parents c7f0d4e + b3e4f6d commit c1dab95
Show file tree
Hide file tree
Showing 12 changed files with 674 additions and 283 deletions.
4 changes: 2 additions & 2 deletions CS710iOSClient.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 0.8;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.csl.CS710SiOSClient;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -617,7 +617,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 0.8;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.csl.CS710SiOSClient;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
2 changes: 1 addition & 1 deletion CS710iOSClient/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>170</string>
<string>250</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSBluetoothAlwaysUsageDescription</key>
Expand Down
1 change: 1 addition & 0 deletions CS710iOSClient/ViewControllers/CSLDeviceTV.m
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
[[CSLRfidAppEngine sharedAppEngine].reader stopTriggerKeyAutoReporting];
[CSLReaderConfigurations setReaderRegionAndFrequencies];
[CSLReaderConfigurations setAntennaPortsAndPowerForTags:true];
[CSLReaderConfigurations setConfigurationsForClearAllSelectionsAndMultibanks];
[CSLReaderConfigurations setConfigurationsForTags];

[self->actSpinner stopAnimating];
Expand Down
6 changes: 3 additions & 3 deletions CS710iOSClient/ViewControllers/CSLHomeVC.m
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ - (IBAction)btnAboutPressed:(id)sender {
- (IBAction)btnTagAccessPressed:(id)sender {

//if no device is connected, the settings page will not be loaded
if ([CSLRfidAppEngine sharedAppEngine].reader.connectStatus==NOT_CONNECTED || [CSLRfidAppEngine sharedAppEngine].reader.connectStatus==SCANNING || [CSLRfidAppEngine sharedAppEngine].reader.readerModelNumber == CS710) {
if ([CSLRfidAppEngine sharedAppEngine].reader.connectStatus==NOT_CONNECTED || [CSLRfidAppEngine sharedAppEngine].reader.connectStatus==SCANNING) {

UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"Reader NOT connected" message:@"Please connect to reader first." preferredStyle:UIAlertControllerStyleAlert];

Expand All @@ -268,7 +268,7 @@ - (IBAction)btnTagAccessPressed:(id)sender {
- (IBAction)btnTagSearchPressed:(id)sender {

//if no device is connected, the settings page will not be loaded
if ([CSLRfidAppEngine sharedAppEngine].reader.connectStatus==NOT_CONNECTED || [CSLRfidAppEngine sharedAppEngine].reader.connectStatus==SCANNING || [CSLRfidAppEngine sharedAppEngine].reader.readerModelNumber == CS710) {
if ([CSLRfidAppEngine sharedAppEngine].reader.connectStatus==NOT_CONNECTED || [CSLRfidAppEngine sharedAppEngine].reader.connectStatus==SCANNING) {

UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"Reader NOT connected" message:@"Please connect to reader first." preferredStyle:UIAlertControllerStyleAlert];

Expand Down Expand Up @@ -314,7 +314,7 @@ - (IBAction)btnFunctionsPressed:(id)sender {
- (IBAction)btnReadTemperaturePressed:(id)sender {

//if no device is connected, the settings page will not be loaded
if ([CSLRfidAppEngine sharedAppEngine].reader.connectStatus==NOT_CONNECTED || [CSLRfidAppEngine sharedAppEngine].reader.connectStatus==SCANNING || [CSLRfidAppEngine sharedAppEngine].reader.readerModelNumber == CS710) {
if ([CSLRfidAppEngine sharedAppEngine].reader.connectStatus==NOT_CONNECTED || [CSLRfidAppEngine sharedAppEngine].reader.connectStatus==SCANNING) {

UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"Reader NOT connected" message:@"Please connect to reader first." preferredStyle:UIAlertControllerStyleAlert];

Expand Down
4 changes: 1 addition & 3 deletions CS710iOSClient/ViewControllers/CSLInventoryVC.m
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ - (void)viewWillAppear:(BOOL)animated {

// Do any additional setup after loading the view.
[CSLReaderConfigurations setAntennaPortsAndPowerForTags:false];
[CSLReaderConfigurations setConfigurationsForClearAllSelectionsAndMultibanks];
[CSLReaderConfigurations setConfigurationsForTags];
}

Expand Down Expand Up @@ -318,9 +319,6 @@ - (IBAction)btnInventoryPressed:(id)sender {
{
[[CSLRfidAppEngine sharedAppEngine] soundAlert:1033];
btnInventory.enabled=false;

// Do any additional setup after loading the view.
//[((CSLTabVC*)self.tabBarController) setConfigurationsForTags];

//start inventory
[CSLRfidAppEngine sharedAppEngine].reader.readerTagRate = 0;
Expand Down
1 change: 1 addition & 0 deletions CS710iOSClient/ViewControllers/CSLSettingsVC.m
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,7 @@ - (IBAction)btnSaveConfigPressed:(id)sender {

[CSLReaderConfigurations setReaderRegionAndFrequencies];
[CSLReaderConfigurations setAntennaPortsAndPowerForTags:true];
[CSLReaderConfigurations setConfigurationsForClearAllSelectionsAndMultibanks];
[CSLReaderConfigurations setConfigurationsForTags];

[self.actSettingSpinner stopAnimating];
Expand Down
Loading

0 comments on commit c1dab95

Please sign in to comment.