Skip to content

Passing hex data rather than ASCII #177

Answered by armadsen
denisdowney asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Denis,

ORSSerialPort is not configured for ASCII by default. It deals with raw binary data, as represented by instances of NSData (Data in Swift). There are some convenience APIs in a couple places to make sending and receiving strings easier, but they're optional to use and all have (NS)Data-based counterparts. What exactly are you running into trouble with?

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by armadsen
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants