Skip to content

peripheral null #11

@croccio

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);
  }];

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