NSData issues transferring from Peripheral to Client
NSData issues transferring from Peripheral to Client
- Subject: NSData issues transferring from Peripheral to Client
- From: Kevin McQuown <email@hidden>
- Date: Wed, 13 Nov 2013 06:40:13 -0600
Has anyone else run into this issue?
On an iOS Core Bluetooth Peripheral create a NSNumber with a value. Use NSKeyedArchiver to create an NSData representation. Let an iOS Central read the value. The NSData appears to be different after the read. Additionally, when trying to convert the NSData back to a NSNumber using NSKeyedUnarchiver, I get an error saying that the archived data is corrupt.
Kevin McQuown CPO & Co-founder Deck5 Software, Inc. 53 W. Jackson Blvd. Suite 450 Chicago, IL 60604
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden