View Single Post
Old 05-07-2012, 05:21 AM   #23
leonard.pitzu
Junior Member
leonard.pitzu is fluent in JavaScript as well as Klingon.leonard.pitzu is fluent in JavaScript as well as Klingon.leonard.pitzu is fluent in JavaScript as well as Klingon.leonard.pitzu is fluent in JavaScript as well as Klingon.leonard.pitzu is fluent in JavaScript as well as Klingon.leonard.pitzu is fluent in JavaScript as well as Klingon.leonard.pitzu is fluent in JavaScript as well as Klingon.leonard.pitzu is fluent in JavaScript as well as Klingon.leonard.pitzu is fluent in JavaScript as well as Klingon.leonard.pitzu is fluent in JavaScript as well as Klingon.leonard.pitzu is fluent in JavaScript as well as Klingon.
 
Posts: 9
Karma: 4788
Join Date: May 2012
Device: Kindle Touch
update?

Hello everybody. I'm new to this forum as i just got a Kindle Touch (WiFi version). I've added a bluetooth module to the kindle, jailbroaken it and written some WAF apps. now i want to do a small app to read some data from the serial port (over bluetooth or so) and display it in the UI. I'd like to do this in JS & HTML but reading the serial port requires a C++ app or a Python script. I'll do all of this (hopefully) but i need to disable first the console from inittab (i need to release the serial to use it as i want). Now... i don't have python (& pyserial) and i have no ideea how to get it. This project seems to provide everything i want so here i am asking for some help :-)
Is there a way of installing Python on a KT? How can i do that (no worries, i am not affraid of loosing my waranty as i just my KT appart and soldered a BT module inside)? I am no stranger to Linux, programming or hardware development but i haven't done much with embedded linux & KT. Probably i'd do it on my own but i have little spare time and there is no point in reinventing the wheel. Also i will share my apps & stuff as soon as it's all functional. just some hints to what i'm doing: i have developed a weather app which reads & displays data from my personal weather station - also developed by me. i currently support chrome, firefox, safari, opera, android, nokia s40 & s60 browsers (all offline apps which fetch the data from the internet when needed and store it localy) and partialy KT. for the KT i also want to add some sensors localy (temperature, pressure, humidity and accelerometer - i can o i do it, no practical reason behind :-P ) and display also local conditions in the same app.

so if anybody has some guides on how to install python & pyserial on the KT or any other hints just let me know.

Thanks,
Leo
leonard.pitzu is offline   Reply With Quote