Skip to content

peripheral null #11

Description

@croccio

pheripheral is null
how can i get it?? i'm on iOS 8.1

NSDictionary * opts = nil;
  if ([[UIDevice currentDevice].systemVersion floatValue]>=7.0)
  {
    //DebugLog(@"%f",[[UIDevice currentDevice].systemVersion floatValue]);
    opts = @{CBCentralManagerOptionShowPowerAlertKey:@YES};
  }
  central = [[RKCentralManager alloc] initWithQueue:nil options:opts];

  [central scanForPeripheralsWithServices:nil options:@{CBCentralManagerScanOptionAllowDuplicatesKey:@NO} onUpdated:^(RKPeripheral *peripheral) {
    NSLog(@"%@", peripheral);
  }];

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions