Closed Muzammil-iOS closed 3 years ago
I got same error Error Domain=CBATTErrorDomain Code=2 "Reading is not permitted." UserInfo={NSLocalizedDescription=Reading is not permitted.}
Have you considered that this is because the characteristic you're trying to read is not readable?
When I read values periperal.readValue(ofCharac: char, completion: { result in
I am getting this error please help.