On Wed, Dec 18, 2013 at 12:26 PM, Peter Chen <[email protected]> wrote:
> Sorry for my poor english.I mean I want to write an APP to send/receive CAN
> message.Since I use socketcan, so I wonder how to write the APP in a proper
> way.Do I need to write the HAL, JNI and service?Or I can just use the
> network programming way.

Please, do not top-post.
I'm not an Android programmer but at low level with socketcan you have
to use classical socket APIs.
No idea for upper layers HAL / JNI / ...

I'm not sure if you are interested in mainlining the code, it requires
a bit more work in cleaning but IMO it is definitely doable.
If you are interested, please submit the patches for review.

BTW, if you have the documentation for CAN, please let us have it so
Oliver can add it to the wiki.

--
Carlo Caione

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to