Question: Is there an easy howto on writing C++ app for Samsung Smart TV that should be able to run in background (so not an HTML/JS applet) and access /dev/ttyUSBx device plugged in the TV?

Do they have some API to access /dev/ttyUSBx or it will be a simple Linux app? Do they allow to load such apps? Is there a toolchain to compile such apps?

Answer: 
At least according to Samsung, "No."

> 
> 
> > 
> > 
> > > 
> > > Q: Do you support C++ in the SDK?
> > > 
> > > 
> > > A: No, Samsung platform only supports web technologies based apps (JS, CSS, HTML, FLASH)
> > > 
> > > 
> > > 
> > 
> > 
> > 
> 
> 
> 

<http://www.samsungdforum.com/Support/FAQList?page=1&faqCateID=2>
In the SDK 4.5 will include Native Client technology, NaCl, Currently supported languages ​​are C and C + +. For more information: <http://www.samsungdforum.com/Guide/d17/index.html>