Thread: wired network?
View Single Post
Old 07-06-2012, 02:23 PM   #6
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 2,986
Karma: 18343081
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
Quote:
Originally Posted by mclien View Post
Fro proof of concept it's perhaps wiser to to the WiFi way for testing first.
Yes, I agree with this strategy very much. You have a fair bit of work even without getting network access via USB. You'll need to install cron, and some streamed music player, and build some program to display a clock. Keep in mind that the reader is binary compatible with the Debian Lenny armel distribution. You can copy binary files from the latter to the former, and even do development in Debian. You can run Lenny under qemu on a Linux system. It's slow, but works. The clock will need to link with the Inkview library to run the display, so that you can build that using the PocketBook SDK.

Note also that you can start and stop networking via the Inkview SDK. So, you can leave it off most of the time, and just turn it on when you need it (like when you want to stream the music, or when you want to sync via ntp). That will greatly save on battery usage and reduce WiFi emissions from the reader.

Edit: Note that you can also write your C/C++ program to sleep most of the time and do it's stuff at some time, so you don't strictly need cron. Without cron, you also don't need root privileges to install and run your program.

Last edited by rkomar; 07-06-2012 at 02:29 PM.
rkomar is online now   Reply With Quote