title: iBeacons Transmit and Receive UUID
body: <p>I'm confused.</p>
  
  <p>I created a Beacon using a CLBeaconRegion and advertising it with the CBPeripheralManager:</p>
  
  <pre><code>- (void)startTransmitting:(NSUUID*)uuid major:(NSInteger)major minor:(NSInteger)minor identifier:(NSString*)identifier {
      self.beaconRegion = [[CLBeaconRegion alloc] initWithProximityUUID:uuid
                                                                  major:major
                                                                  minor:minor
                                                             identifier:identifier];
  
      self.beaconPeripheralData = [self.beaconRegion peripheralDataWithMeasuredPower:nil];
      self.peripheralManager = [[CBPeripheralManager alloc] initWithDelegate:self
                                                                       queue:nil
                                                                     options:nil];
  }
  
  -(void)peripheralManagerDidUpdateState:(CBPeripheralManager *)peripheral {
      if (peripheral.state == CBPeripheralManagerStatePoweredOn) {
          NSLog(@"Powered On");
          [self.peripheralManager startAdvertising:self.beaconPeripheralData];
      } else if (peripheral.state == CBPeripheralManagerStatePoweredOff) {
          NSLog(@"Powered Off");
          [self.peripheralManager stopAdvertising];
      }
  }
  </code></pre>
  
  <p>And I was able to receive the iBeacon with the CBCentralManager:</p>
  
  <pre><code>self.centralManager = [[CBCentralManager alloc] initWithDelegate:self queue:nil];
  [self.centralManager scanForPeripheralsWithServices:nil options:nil];
  
  - (void)centralManager:(CBCentralManager *)central didDiscoverPeripheral:(CBPeripheral *)peripheral advertisementData:(NSDictionary *)advertisementData RSSI:(NSNumber *)RSSI {
      [self.peripherals addObject:peripheral];
      NSLog(@"New Peripheral found and added... %@", peripheral);
  }
  </code></pre>
  
  <p>This basically works. But the transmitted and the received UUID's are different - which in my opinion should be the same. </p>
  
  <p>--> What did I do wrong / understand wrong??</p>