Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8487139
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T21:09:02+00:00 2026-06-10T21:09:02+00:00

if discover a new device then push notification to the user. how to start

  • 0

if discover a new device then push notification to the user.
how to start and any resources/sample code?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T21:09:04+00:00Added an answer on June 10, 2026 at 9:09 pm

    All three previous answers are incorrect. iOS5 introduced Core Bluetooth framework.

    However, this framework is BT 4.0 LE only; none-the-less Bluetooth.

    Here also is the PDF reference: http://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CoreBluetooth_Framework/CoreBluetooth_Framework.pdf

    Example

    Your class must conform to the CBCentralManagerDelegate and CBPeripheralDelegate protocols.

    CBCentralManager * btCentral = [[CBCentralManager alloc] initWithDelegate:self queue:nil];
    
    /* Create an array of services from a CBUUID to scan for */
    [btCentral scanForPeripheralsWithServices:nil options:nil];
    

    That’s basically to get you started on scanning for peripherals. You will also need to implement the CBCentralManagerDelegate methods and a few others, I suggest reading the docs:

    - (void)centralManager:(CBCentralManager *)central didConnectPeripheral:(CBPeripheral *)peripheral
    
    - (void)centralManager:(CBCentralManager *)central didDiscoverPeripheral:(CBPeripheral *)peripheral advertisementData:(NSDictionary *)advertisementData RSSI:(NSNumber *)RSSI
    
    - (void)centralManager:(CBCentralManager *)central didRetrieveConnectedPeripherals:(NSArray *)peripherals
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to just discover peripheral devices when i start my Bluetooth Device discovery,
Typically when writing new code you discover that you are missing a #include because
Recently I've begun to code in Objective-C for iOS 5 devices. My brand new
I'm learning Ruby and I like playing with irb to discover new features and
New to Objective-C iPhone/iPod touch/iPad development, but I'm starting to discover lots of power
If we discover bug in some branche we fix it (check New release on
I am having problems with my remote device discovery code for bluetooth scanning. It
I was trying to discover some of the goodies of the new C++11 standard
I'm new to servlets and JSP and I'm trying to discover forms, and how
I'm new to use of git and Aptana. Reading something about git, I discover

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.