Skip to content
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 Services #3

Open
amitgajjar510 opened this issue Jul 12, 2017 · 2 comments
Open

Pen Services #3

amitgajjar510 opened this issue Jul 12, 2017 · 2 comments

Comments

@amitgajjar510
Copy link

Hi,

SDK 2.0 is giving only 2 services for new pens which are as follows:
1> 19F1 - NEO_PEN2_SERVICE_UUID
2> 180A - NEO_DEVICE_INFO_SERVICE_UUID

I am not getting any other services (like, 18F3 - NEO_OFFLINE2_SERVICE_UUID) while connecting with pen via bluetooth.

Old pens are working great with new SDK 2.0, but having trouble with new pens.

I want to use offline data delegate for retrieving offline data from new pens, but its not working even in your sample app also.

Kindly give your inputs asap.

@louisjrpark
Copy link
Collaborator

Hi amitgajjar510,

Below is the procedure which should be set up for offline sync.
You can refer to "NJOfflineSyncViewController.m" from the sample app for more details.

  1. [[NJPenCommManager sharedInstance] setOfflineDataDelegate:self];

    • (BOOL) parseSDK2OfflinePenData:(NSData )penData AndOfflineDataHeader:(OffLineData2HeaderStruct )offlineDataHeader;

Additionally, the following UUIDs are being used for SDK2.0 BLE.
For BLE Connection.
NEO_PEN2_SERVICE_UUID "19F1"
NEO_PEN2_SYSTEM_SERVICE_UUID "19F0"

For BLE data communication including offline sync.
PEN2_DATA_UUID "2BA1"
PEN2_SET_DATA_UUID "2BA0"

Thanks

Best regards,
Louis Park

@amitgajjar510
Copy link
Author

Ya That's cool. I understood. Thank you. :) 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants