• 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
Re: First received advertisment data doesn't contain local name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: First received advertisment data doesn't contain local name


  • Subject: Re: First received advertisment data doesn't contain local name
  • From: Andras Kovi <email@hidden>
  • Date: Mon, 05 Nov 2012 00:59:01 +0100

What does  "Before I can attempt to connect to it" mean? Do you try to connect to the peripheral in a separate thread or you start the connection asynchronously? Could you clarify?

On 2012.11.04., at 23:56, Rick Mann <email@hidden> wrote:

> 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


 _______________________________________________
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: Rick Mann <email@hidden>
References: 
 >First received advertisment data doesn't contain local name (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: Making a peripheral app
  • Next by Date: Re: First received advertisment data doesn't contain local name
  • Previous by thread: First received advertisment data doesn't contain local name
  • Next by thread: Re: First received advertisment data doesn't contain local name
  • Index(es):
    • Date
    • Thread