title: Peripheral name doesn't comply to NameKey
body: <p>I have an app that simulates heart rate monitor peripheral (The peripheral app). 
  I also have an app that receives the data and present it (The central app).</p>
  
  <p>The central app decided to connect to the discovered peripheral based on its name. </p>
  
  <p>The problem is that both app work perfectly good, except that the name is always <code>"iPhone"</code>. </p>
  
  <p>The advertising is done this way: </p>
  
  <pre><code>- (IBAction)switchChanged:(id)sender
  {
      if (self.advertisingSwitch.on) {
          NSDictionary *advData =
          @{CBAdvertisementDataLocalNameKey:@"Custom Name",
            CBAdvertisementDataServiceUUIDsKey:@[[CBUUID UUIDWithString:@"180D"]]};
         [self.peripheralManager startAdvertising:advData];
          NSLog(@"Advertising");
      }
  
      else {
          [self.peripheralManager stopAdvertising];
          [[self timerInterval] invalidate];
          NSLog(@"Stopped advertising");       
      }      
  }
  </code></pre>
  
  <p>But on the central side, inside </p>
  
  <p><code>- (void) centralManager:(CBCentralManager *)central didDiscoverPeripheral:(CBPeripheral *)aPeripheral advertisementData:(NSDictionary *)advertisementData RSSI:(NSNumber *)RSSI</code></p>
  
  <p>The name property never changed. </p>
  
  <p>Is there anything that should be done? </p>