Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Home › Forums › Ask the Flomies › Crashes when upgrading to SDK 2.3
Tagged: sdk2.3 crash
Hi,
I’m trying to upgrade our SDK from 2.2 to 2.3 (because we’ve ordered new readers that are HW-version 1.17 instead of 1.16), with no success so far.
The problem I have is that it simply crashes as soon as the reader starts. See below screenshots for more details.
To eliminate all sources of error I simply removed everything in my controller and added the following sample code from the docs:
// in YourViewController.m, add this to viewDidLoad
- (void)viewDidLoad {
FmConfiguration *defaultConfiguration = [[FmConfiguration alloc] init];
defaultConfiguration.deviceType = kFloBlePlus;
defaultConfiguration.transmitPower = kHighPower;
defaultConfiguration.scanSound = @YES;
defaultConfiguration.scanPeriod = @1000;
defaultConfiguration.powerOperation = kAutoPollingControl; //, kBluetoothConnectionControl for low power usage
defaultConfiguration.transmitPower = kHighPower;
defaultConfiguration.allowMultiConnect = @NO;
defaultConfiguration.specificDeviceUuid = nil; //@"RR330-000120";
flomioMW = [[FmSessionManager flomioMW] initWithConfiguration:defaultConfiguration];
flomioMW.delegate = self;
}
Could someone assist me with this?
Hi,
You will also need to add the new delegate methods of the session manager. I can see that didGetDeviceInfoWith… is being triggered. Can you also make sure that you have cleaned the project (Shift ⇧ + Command ⌘ + K).
Scott
You must be logged in to reply to this topic.