Quantcast
Channel: Wireless Connectivity
Viewing all articles
Browse latest Browse all 116964

Forum Post: What service UUID lets a SensorTag get scanned in iOS?

$
0
0

In iOS, the call [CBCentralManager scanForPeripheralWithServices:options:] lets you specify a service UUID to select a BLE peripheral. What service UUID can I use to discover a SensorTag?

Here's a code example:

- (void)startScan {     NSDictionary *options = @{ CBCentralManagerScanOptionAllowDuplicatesKey: @YES };     // TODO: Don't know what service UUIDs are required to work with TI SensorTag.     // This UUID doesn't work.     NSArray *services = @[[CBUUID UUIDWithString:@"F000AA00-0451-4000-B000-000000000000"]];      [self scanForPeripheralsWithServices:services options:options]; } 

Viewing all articles
Browse latest Browse all 116964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>