Find My Device

Comments

1 comment

  • Official comment
    Avatar
    VSN Mobil Support

    These 2 lines

    NSData *data = [[NSData alloc] initWithBytes:(Byte[]){chirpAndBlink} length:1];

    [peripheral writeValue:data forCharacteristic:aChar type:CBCharacteristicWriteWithResponse];

     

    Should be

     

    NSData *data = [[NSData alloc] initWithBytes:&chirpAndBlink length:1];

    [peripheral writeValue:data forCharacteristic:aChar type:CBCharacteristicWriteWithoutResponse];

    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk