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 (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com