• 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
Parsing Advertisement data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Parsing Advertisement data


  • Subject: Parsing Advertisement data
  • From: email@hidden
  • Date: Fri, 19 Apr 2013 09:32:37 -0700 (PDT)


I am struggling with parsing the advertisement data from a peripheral.
The peripheral has specified a service and attribute (value) which I can see if I print the whole advertisement thru NSlog.

In didDiscoverPeripheral method I have:

    NSLog(@"AdvertisementData: %@\n", advertisementData);

which shows me all the relevant data and the specific service and value that I am interested in.

However I need to get a handle to the specific service and value. How do I parse the advertisement? Any suggestions appreciated.

Rgds,
-BPa
 _______________________________________________
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: Parsing Advertisement data
      • From: Joakim Fernstad <email@hidden>
  • Prev by Date: Re: Any better solutions to BLE caching?
  • Next by Date: RE: Parsing Advertisement data
  • Previous by thread: Reading RSSI value when the app is on background
  • Next by thread: RE: Parsing Advertisement data
  • Index(es):
    • Date
    • Thread