Coder Social home page Coder Social logo

ios-sdk2.0's People

Contributors

hrhwang avatar jin-neo avatar jrparklouis avatar louisjrpark avatar mrlove1 avatar mustafardestroyer avatar neolabconvergence avatar nuks2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ios-sdk2.0's Issues

Pen Not Storing Offline Data

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.

Pen Sensitivity

I am experiencing an issue where lighter strokes are clearly visible on paper but are not recognized by the SDK. Only when I press the pen down harder I get stroke data.

Is there a way to change the sensitivity using the penPressure state? What range of values does - (void)setPenStateWithPenPressure:(UInt16)penPressure; accept and what do they mean?

I was also wondering what exactly some of the other pen state properties do, especially useAccelerator and useHover. I use an F110 by the way, so the SDK is version 1.

typedef struct __attribute__((packed)){
    int32_t timezoneOffset;
    UInt64 timeTick;
    UInt32 colorState;
    unsigned char usePenTipOnOff;
    unsigned char useAccelerator;
    unsigned char useHover;
    unsigned char beepOnOff;
    UInt16 autoPwrOnTime;
    UInt16 penPressure;
    unsigned char reserved[16];
} SetPenStateStruct;

App submission to App Store

It appears that Apple requires MFi Program authorisation before I can submit my application which integrates with Neo smart pen to App Store.

The app submitted is otherwise rejected with following message

"MFi - Program Authorization

We are unable to post your app to the App Store at this time because your app has not been authorized by the accessory manufacturer to work with the MFi accessory.

Next Steps

To resolve this issue, please contact the accessory manufacturer to request your app be added to the MFi Product Plan form.

Once the accessory manufacturer confirms that your app has been added to the MFi Product Plan form, please reply to this message. When we receive your reply with this confirmation, we can proceed with the review; we do not require a new binary even though your app's status in iTunes Connect is Rejected.

If you have not yet provided the accessory's MFi Product Plan ID (PPID), please enter this information in the Notes section for your app in iTunes Connect. If you do not know the PPID, please request this information from the accessory manufacturer."

Please advise on how to required authorisation.

Thanks
Jayant

Working with dimo pen?

Will this sdk work with the dimo pen? Is there any plans to release an sdk that works with the dimo pen?

pen stroke data origin and unit

Hello,
I have just looked into the sdk. so far observed stroke data coming from pen.
What is exactly the origin of this stroke data on A4 paper? is that the left top corner of paper? or any offset?
What is the unit of stroke data, is it cm? mm?

Thank you for your reply.

Port to macOS

Great to see open SDKs for the NeoSmartpen!

I'm trying to port the SDK to macOS. For now I have simply omitted the functionality that uses UIKit - the only iOS-only dependency.
Connecting to the pen seems to work just fine, I don't get live stroke data though the callback doesn't fire at all.

Am I doing something wrong? Or maybe this isn't viable at all?
Have a look at my code here: https://github.com/StudioProcess/NeoSmartpenMac

Pen Services

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.

btStart Doesn't work

whenever I run btStart it returns

2019-12-06 17:22:53.958207-0600 n2sample[10036:2301541] Scanning started
2019-12-06 17:22:56.959846-0600 n2sample[10036:2301406] [selectRSSI] slectRSSI started....
2019-12-06 17:22:56.960465-0600 n2sample[10036:2301406] [selectRSSI] no peripherals found....
2019-12-06 17:22:56.960837-0600 n2sample[10036:2301406] [selectRSSI] already registred now trying to connect to pen....
2019-12-06 17:22:56.961095-0600 n2sample[10036:2301406] [selectRSSI] not found any eligible peripheral....

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.