• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
First received advertisment data doesn't contain local name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

First received advertisment data doesn't contain local name


  • Subject: First received advertisment data doesn't contain local name
  • From: Rick Mann <email@hidden>
  • Date: Sun, 04 Nov 2012 14:56:11 -0800

Every time I scan for peripherals, the first peripheral discovered (my only peripheral) doesn't have the local name in it. Before I can attempt to connect to it, a second advertising packet comes in, and that one contains the local name.

On the peripheral side, I'm only making the advertising call once, with a complete name and UUID packet:

	CBUUID* serviceUUID = [CBUUID UUIDWithString: kTestServiceUUID];
	NSDictionary* dict = @{ CBAdvertisementDataServiceUUIDsKey : @[ serviceUUID ],
							CBAdvertisementDataLocalNameKey : @"Test Peripheral" };
	[self.pm startAdvertising: dict];

But, without fail, when I run the central, the first discovery lacks the name.

--
Rick




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: First received advertisment data doesn't contain local name
      • From: Andras Kovi <email@hidden>
  • Prev by Date: Re: Making a peripheral app
  • Next by Date: Re: Making a peripheral app
  • Previous by thread: Re: Can't connect
  • Next by thread: Re: First received advertisment data doesn't contain local name
  • Index(es):
    • Date
    • Thread