-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pen Not Storing Offline Data #4
Comments
Additionally: When using live strokes through the sample app, they work perfectly, so the pattern and the pen itself are fine, it just seems to not be storing strokes at all while disconnected from bluetooth |
Additional update: For iOS, the sample app included with the v2.0 SDK and the sample app in the separate repo (v1) do not see these offline files. |
Dear INKWRXJamie, To be honest with you, I will not be able to provide a proper feedback on your questions because there is no log which shows what happened in your test. Can you please provide me with a log from when you connect your pen with the sample app right after you write in the offline mode?
Thanks |
Please see attached below the logs from the sample application. This covers the whole process from connecting the pen, and then opening the offline data file list. At this point in the app, the data list is empty. I have tested this pen on the Android SDK and on the Android SDK the pen reveals 2 offline data notes, however the sample application on iOS does not show anything.
|
I have also tested this in my code, with breakpoints. I successfully connect to the pen, then when I receive the confirmation that the connection was successful, I set the delegate. At this point, you say I should receive a call-back (after a delay) on This function has a call-back on it, and it is never being called. I then also tested the same functions in the sample app, and got the same results. The delegate is being set, but |
Thank you for the log. The log you provided includes the following lines which mean that the request command for offline file list was sent and the response from your pen was received. 2017-09-18 17:30:03.481254+0100 n2sample[4306:5509480] requestOfflineFileList successful 2017-09-18 17:30:03.795028+0100 n2sample[4306:5509480] Received: offline File list However, the normal log should be as follows. The below first two lines are same as yours and after that, the rest of lines are different from yours. I attempted to guess the reason why your log is different from the normal one. The one possibility I can guess is that (void) offlineDataDidReceiveNoteList:(NSDictionary *)noteListDic is not called if the note count attribute of offline data transmitted from your pen is zero. I have three more requests.
Also, for your information, the Bluetooth applied for Android is SPP protocol same as Windows. Thanks |
Hi,
|
For the new owner id and note id, they should be registered to 'note_support_list.plist'. Thanks |
Ok, I was able to do this by just adding the section and owner ids to the plist file, and leaving the noteIds array empty. This seems to have allowed any note Id. Will our section or owner ids ever change, or will all of our notes require the same? Also, can you explain why this is necessary for iOS, yet Android and Windows SDKs appear to allow all ids? I understand they use different bluetooth interfaces but I can't see how that would affect which notes would be visible. |
My answers are below. Will our section or owner ids ever change, or will all of our notes require the same? Thanks |
Hi,
Pen model NWP-F110 is not storing offline data. I have disconnected the pen from the phone, and stopped the app from running. Neither my implementation of the SDK nor the sample app see the strokes. The pen memory says 0, as if it's not saving it.
Is there some way for me to turn on offline sync mode on the pen? The documentation says it's turned on when the pen is first connected but it doesn't appear to be.
The text was updated successfully, but these errors were encountered: