Skip to content

Commit

Permalink
added SPM
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhanushka Adrian committed Aug 14, 2024
1 parent 6994ad3 commit 1e20fc5
Show file tree
Hide file tree
Showing 120 changed files with 5,904 additions and 4 deletions.
5 changes: 5 additions & 0 deletions Zebra123RFIDsdkSPM/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ import PackageDescription

let package = Package(
name: "Zebra123RFIDsdkSPM",

platforms: [
.iOS(.v14)

],
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
Expand Down
44 changes: 44 additions & 0 deletions Zebra123RFIDsdkSPM/ZebraRfidSdkFramework.xcframework/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AvailableLibraries</key>
<array>
<dict>
<key>BinaryPath</key>
<string>ZebraRfidSdkFramework.framework/ZebraRfidSdkFramework</string>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>ZebraRfidSdkFramework.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>ZebraRfidSdkFramework.framework/ZebraRfidSdkFramework</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>ZebraRfidSdkFramework.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
<string>XFWK</string>
<key>XCFrameworkFormatVersion</key>
<string>1.0</string>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/******************************************************************************
*
* Copyright Zebra Technologies, Inc. 2014 - 2015
*
* The copyright notice above does not evidence any
* actual or intended publication of such source code.
* The code contains Zebra Technologies
* Confidential Proprietary Information.
*
*
* Description: AccessOperationCode.h
*
* Notes:
*
******************************************************************************/

#import <Foundation/Foundation.h>
#import "RfidSdkDefs.h"

@interface srfidAccessOperationCode : NSObject
{
NSString *m_Name;
SRFID_ACCESSOPERATIONCODE m_Ordinal;
}

- (id)initAccessOperationCode:(NSString*)name aOrdinal:(SRFID_ACCESSOPERATIONCODE)ordinal;

+ (srfidAccessOperationCode*)getAccessOperationCodeValue:(SRFID_ACCESSOPERATIONCODE)value;
+ (srfidAccessOperationCode*)getAccessOperationCodeValueFromString:(NSString*)str;

- (NSString*)getName;
- (SRFID_ACCESSOPERATIONCODE)getOrdinal;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/******************************************************************************
*
* Copyright Zebra Technologies, Inc. 2014 - 2015
*
* The copyright notice above does not evidence any
* actual or intended publication of such source code.
* The code contains Zebra Technologies
* Confidential Proprietary Information.
*
*
* Description: RfidAccessConfig.h
*
* Notes:
*
******************************************************************************/

#import <Foundation/Foundation.h>

@interface srfidAccessConfig : NSObject
{
BOOL m_DoSelect;
short m_Power;
}

- (BOOL)getDoSelect;
- (void)setDoSelect:(BOOL)val;
- (short)getPower;
- (void)setPower:(short)val;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/******************************************************************************
*
* Copyright Zebra Technologies, Inc. 2014 - 2015
*
* The copyright notice above does not evidence any
* actual or intended publication of such source code.
* The code contains Zebra Technologies
* Confidential Proprietary Information.
*
*
* Description: RfidAccessCriteria.h
*
* Notes:
*
******************************************************************************/

#import <Foundation/Foundation.h>
#import "RfidTagFilter.h"

@interface srfidAccessCriteria : NSObject

@property (atomic, retain) srfidTagFilter* tagFilter1;
@property (atomic, retain) srfidTagFilter* tagFilter2;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
//
// RfidAccessParameters.h
// RFIDDemoApp
//
// Created by Neeraj Seshadri on 02/02/16.
// Copyright © 2016 Motorola Solutions. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "RfidSdkDefs.h"

@interface srfidAccessParameters : NSObject

@property (nonatomic, assign) SRFID_ACCESSOPERATIONCODE accessOperationCode;
@property (nonatomic, assign) SRFID_MEMORYBANK memoryBank;
@property (nonatomic, assign) short offset;
@property (nonatomic, assign) short length;
@property (nonatomic, assign) long password;
@property (nonatomic, assign) BOOL doBlockWrite;
@property (nonatomic, assign) BOOL doLock;
@property (nonatomic, assign) short blockPtr;
@property (nonatomic, assign) short blockRange;
@property (nonatomic, strong) NSString *blockMask;
@property (nonatomic, strong) NSString *dataToWrite;
@property (nonatomic, assign) SRFID_ACCESSPERMISSION accessPermissions;


@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
//
// RfidAddProfileConfig.h
// RFIDDemoApp
//
// Created by Madesan Venkatraman on 07/03/24.
// Copyright © 2024 Zebra Technologies Corp. and/or its affiliates. All rights reserved. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface sRfidAddProfileConfig : NSObject
{
NSString *SSID;
NSString *protocol;
NSString *EAP;
NSString *CA_Certificate;
NSString *identity;
NSString *anonimous_Identity;
NSString *private_Key;
NSString *password;
NSString *private_Password;
NSString *client_Certificate;
}
- (NSString*)getSSID;
- (void)setSSID:(NSString*)val;
- (NSString*)getProtocol;
- (void)setProtocol:(NSString*)val;
- (NSString*)getEAP;
- (void)setEAP:(NSString*)val;
- (NSString*)getCa_Certificate;
- (void)setCa_Certificate:(NSString*)val;
- (NSString*)getIdentity;
- (void)setIdentity:(NSString*)val;
- (NSString*)getAnonyIdentity;
- (void)setAnonyIdentity:(NSString*)val;
- (NSString*)getPrivateKey;
- (void)setPrivateKey:(NSString*)val;
- (NSString*)getPrivatePassword;
- (NSString*)getPassword;
- (void)setPassword:(NSString*)val;
- (void)setPrivatePassword:(NSString*)val;
- (NSString*)getClientCertificate;
- (void)setClientCertificate:(NSString*)val;
@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/******************************************************************************
*
* Copyright Zebra Technologies, Inc. 2015
*
* The copyright notice above does not evidence any
* actual or intended publication of such source code.
* The code contains Zebra Technologies
* Confidential Proprietary Information.
*
*
* Description: RfidAntennaConfiguration.h
*
* Notes:
*
******************************************************************************/

#import <Foundation/Foundation.h>
#import "RfidSdkDefs.h"

@interface srfidAntennaConfiguration : NSObject
{
short m_Power;
short m_LinkProfileIdx;
int m_Tari;
BOOL m_DoSelect;
}

- (short)getPower;
- (void)setPower:(short)val;
- (short)getLinkProfileIdx;
- (void)setLinkProfileIdx:(short)val;
- (int)getTari;
- (void)setTari:(int)val;
- (BOOL)getDoSelect;
- (void)setDoSelect:(BOOL)val;

@end

Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
//
// RfidAttribute.h
// RFIDDemoApp
//
// Created by Neeraj Seshadri on 04/09/15.
// Copyright (c) 2015 Motorola Solutions. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface srfidAttribute : NSObject
{
NSMutableString *m_AttrType;
int m_AttrNum;
NSMutableString *m_AttrVal;
int m_Offset;
int m_PropertyVal;
int m_Length;
}

- (int)getAttrNum;
- (void)setAttrNum:(int)val;
- (NSString*)getAttrVal;
- (void)setAttrVal:(NSString*)val;
- (int)getOffset;
- (void)setOffset:(int)val;
- (NSString*)getAttrType;
- (void)setAttrType:(NSString*)val;
- (int)getPropertyVal;
- (void)setPropertyVal:(int)val;
- (int)getLength;
- (void)setLength:(int)val;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/******************************************************************************
*
* Copyright Zebra Technologies, Inc. 2015
*
* The copyright notice above does not evidence any
* actual or intended publication of such source code.
* The code contains Zebra Technologies
* Confidential Proprietary Information.
*
*
* Description: RfidBatteryEvent.h
*
* Notes:
*
******************************************************************************/

#import <Foundation/Foundation.h>
#import "RfidSdkDefs.h"


@interface srfidBatteryEvent : NSObject
{
int m_PowerLevel;
BOOL m_IsCharging;
NSMutableString *m_EventCause;
}

- (int)getPowerLevel;
- (void)setPowerLevel:(int)val;
- (BOOL)getIsCharging;
- (void)setIsCharging:(BOOL)val;
- (NSString*)getEventCause;
- (void)setEventCause:(NSString*)val;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
//
// RfidBatteryStatusInformation.h
// symbolrfid-sdk
//
// Created by Dhanushka Adrian on 2022-11-03.
// Copyright © 2022 Motorola Solutions. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "RfidSdkDefs.h"

//NS_ASSUME_NONNULL_BEGIN

/// Responsible for battery status information
@interface srfidRfidBatteryStatusInformation : NSObject
{
NSMutableString *batteryStatusTittle;
NSMutableString *batterStatusValue;
}

- (NSString*)getBatteryStatusTittle;
- (void)setBatteryStatusTittle:(NSString*)val;
- (NSString*)getBatterStatusValue;
- (void)setBatteryStatusValue:(NSString*)val;
@end

//NS_ASSUME_NONNULL_END
Loading

0 comments on commit 1e20fc5

Please sign in to comment.