Open jayfar opened 2 years ago
Hi, Jayfar!
When parsing the data of the ring, call:+[MRApi parseMonitorData: completion:] and
+[MRApi parseBPData: time: caliSBP: caliDBP: block:] The method also needs to verify the AppKey and AppID (that is, the bound BundleId) through the network, otherwise an error will occur when parsing data.
1. Please check whether the AppKey, AppId and BundleID of your running project are correct or whether the network is normal when collecting data
If you don't have an AppKey..., please send me your BundleID or email: caifei@megahealth.cn , I will send you the AppKey and AppId.
As follows: Our------ // BundleId:com.megahealth.MegaRingBLE [MRApi setUpWithAppId:@"D4CE5DD515F81247" appKey:@"uedQ2MgVEFlsGIWSgofHYHNdZSyHmmJ5" completion:^(BOOL isValid, NSError *error) { //isValid == 1 --- valid; 0 --- invalid
NSLog(@"isValid-----------%d-------error-------%ld",isValid,(long)error.code);
}];
Best wishes~
When I call parseBPData, I am getting the following error:
I only see this error in my code and not in your sample code. I must be missing something or setting something up incorrectly. I carefully compared your sample code here with my code and the input parameters are very similar.
Here is my code with a few additional NSLog statements:
Here is my code output:
Can you help me identify what the NSMRSDkErrorDomain error 2 means?