• 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
RSSI is deprecated since iOS 8...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RSSI is deprecated since iOS 8...


  • Subject: RSSI is deprecated since iOS 8...
  • From: "Eric E. Dolecki" <email@hidden>
  • Date: Thu, 10 Dec 2015 20:20:26 +0000

I have BLE source code that now displays warnings. I don’t know much about
BLE. I offer the code below. I tried replacing with readRSSI but tells me I
can’t compare an Int with Void. How do I get an Int value for readRSSI?
Basically I’d like to rewrite this one method so it’s compliant.

- (void)peripheralDidUpdateRSSI:(CBPeripheral *)peripheral error:(NSError
*)error
{
    if (!isConnected)
        return;
    if (rssi != peripheral.*RSSI*.intValue)
    {
        rssi = peripheral.*RSSI*.intValue;
        [[self delegate] bleDidUpdateRSSI:activePeripheral.*RSSI*];
    }
}
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: RSSI is deprecated since iOS 8...
      • From: Quincey Morris <email@hidden>
  • Prev by Date: XCTest Reference to View Controller not Assessable via RootViewController
  • Next by Date: Re: RSSI is deprecated since iOS 8...
  • Previous by thread: XCTest Reference to View Controller not Assessable via RootViewController
  • Next by thread: Re: RSSI is deprecated since iOS 8...
  • Index(es):
    • Date
    • Thread