Skip to content

Commit

Permalink
Merge pull request #1031 from Favot/fix/build-warning
Browse files Browse the repository at this point in the history
fix(BleManager): type warning
  • Loading branch information
marcosinigaglia authored Jun 23, 2023
2 parents 38a917a + 40b2f98 commit 62c87bb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ios/BleManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ - (void)peripheral:(CBPeripheral *)peripheral didUpdateNotificationStateForChara



- (NSString *) centralManagerStateToString: (int)state
- (NSString *) centralManagerStateToString: (CBManagerState)state
{
switch (state) {
case CBManagerStateUnknown:
Expand Down Expand Up @@ -972,7 +972,6 @@ - (void)peripheral:(CBPeripheral *)peripheral didDiscoverCharacteristicsForServi
}
NSLog(@"Characteristics For Service Discover");

NSString *peripheralUUIDString = [peripheral uuidAsString];
NSMutableSet *characteristicsForService = [NSMutableSet new];
[characteristicsForService addObjectsFromArray:service.characteristics];
[retrieveServicesLatches setObject:characteristicsForService forKey:service.UUID.UUIDString];
Expand Down

0 comments on commit 62c87bb

Please sign in to comment.