Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 10-26-2013, 10:25 AM   #16
lookout
Member
lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
Posts: 14
Karma: 30000
Join Date: Oct 2013
Device: Kindle 4NT
Quote:
Originally Posted by twobob View Post
Thanks for that, I will have a play with it an see if I can come up with something.
lookout is offline   Reply With Quote
Old 11-05-2013, 05:17 AM   #17
lookout
Member
lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
Posts: 14
Karma: 30000
Join Date: Oct 2013
Device: Kindle 4NT
Twobob, thankyou for your help with this, after much hacking I have managed to get it to work.

To get it working I set up a DSN server to redirect the traffic from the kindle to IP address for my access point. The address from the address from the kindle was "dogvgb9ujhybx.cloudfront.net" which basically ends up pointing at "spectrum.s3.amazonaws.com/kindle-wifi/wifistub.html".

I then copied the wifistub.html page and had a pyton script serve it up when requested by the kindle.

it then attempted to go to amazon.com which I also redirected with the DNS server.

I didn't mention before what I am actually up to, well I am using a Raspberry Pi to broadcast the data from my GPS as a web page and am then using the Kindle as a screen to view it. The inspiration and most of the python script came from http://www.holdentechnology.com/comp...h-nook-display.


So thanks again.
lookout is offline   Reply With Quote
Advert
Old 11-05-2013, 05:18 AM   #18
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
yay reults

share the code luke...

Stretch out with your codings...
twobob is offline   Reply With Quote
Old 11-05-2013, 06:03 AM   #19
lookout
Member
lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
Posts: 14
Karma: 30000
Join Date: Oct 2013
Device: Kindle 4NT
How did you know my name was Luke? Are you my father?

Anyway...most of the web server stuff for the GPS can be downloaded from the link above, I changed the port to 80 and added some lines to feed up the wifistub.html page.

I will see if I can get something reasonable together.
lookout is offline   Reply With Quote
Old 11-05-2013, 06:13 AM   #20
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
much obliged
twobob is offline   Reply With Quote
Advert
Old 11-05-2013, 10:26 AM   #21
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by lookout View Post
How did you know my name was Luke? Are you my father?
"Let the source be with you."
With apologies to the writers of Star Wars.
knc1 is offline   Reply With Quote
Old 11-11-2013, 01:54 AM   #22
DennisH
Member
DennisH put the bomp in the bomp-a-bomp-a-bomp.DennisH put the bomp in the bomp-a-bomp-a-bomp.DennisH put the bomp in the bomp-a-bomp-a-bomp.DennisH put the bomp in the bomp-a-bomp-a-bomp.DennisH put the bomp in the bomp-a-bomp-a-bomp.DennisH put the bomp in the bomp-a-bomp-a-bomp.DennisH put the bomp in the bomp-a-bomp-a-bomp.DennisH put the bomp in the bomp-a-bomp-a-bomp.DennisH put the bomp in the bomp-a-bomp-a-bomp.DennisH put the bomp in the bomp-a-bomp-a-bomp.DennisH put the bomp in the bomp-a-bomp-a-bomp.
 
Posts: 16
Karma: 67214
Join Date: Nov 2013
Device: K4NT, PW2
lookout,

I am trying to do something similar and I am having the same problem with getting the wifi to stay connected. I have a Digital Yacht WLN10 wifi data module which takes in serial data (NMEA) and broadcasts it. I can see the WLN10 (which is based on a Wifly module) hand out a DHCP address to the K4NT and the K4NT connects for about 15 seconds before it disconnects. I can see in the K4NT that it registered the network ssid and ip address correctly. Unfortunately, I don't have the skills to sort it out.

FWIW, I am trying to make a yacht instrument display that I can read in bright sunlight. My approach is to read in NMEA data and then construct a PNG file in memory for direct display on the K4NT. The PNG part is working well with random data and updates fast enough to do what it needs to do on the yacht. If I can get the wifi input to work I should be OK. I am using Python (for the first time) and my Python skills are next to nothing. Mostly I am just copying and pasting other peoples ideas.

So I am very interested in your 'DNS server' to fool the Kindle into thinking it has a validated connection. I am really hoping that you can post some code on how your server works.
DennisH is offline   Reply With Quote
Old 11-11-2013, 02:03 AM   #23
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
yeh I hope he shoves the stuff up too.

seems like a kindle only solution is possible owing to usbnet's ability to serve http...

Just need a few more clues...
twobob is offline   Reply With Quote
Old 11-11-2013, 02:04 AM   #24
DennisH
Member
DennisH put the bomp in the bomp-a-bomp-a-bomp.DennisH put the bomp in the bomp-a-bomp-a-bomp.DennisH put the bomp in the bomp-a-bomp-a-bomp.DennisH put the bomp in the bomp-a-bomp-a-bomp.DennisH put the bomp in the bomp-a-bomp-a-bomp.DennisH put the bomp in the bomp-a-bomp-a-bomp.DennisH put the bomp in the bomp-a-bomp-a-bomp.DennisH put the bomp in the bomp-a-bomp-a-bomp.DennisH put the bomp in the bomp-a-bomp-a-bomp.DennisH put the bomp in the bomp-a-bomp-a-bomp.DennisH put the bomp in the bomp-a-bomp-a-bomp.
 
Posts: 16
Karma: 67214
Join Date: Nov 2013
Device: K4NT, PW2
twobob,

FYI I am using KUAL to launch my application and that part seems to be working well.
DennisH is offline   Reply With Quote
Old 11-11-2013, 02:15 AM   #25
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
cool beans. hope it works out for you.
twobob is offline   Reply With Quote
Old 11-11-2013, 09:14 AM   #26
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by DennisH View Post
FWIW, I am trying to make a yacht instrument display that I can read in bright sunlight. My approach is to read in NMEA data and then construct a PNG file in memory for direct display on the K4NT. The PNG part is working well with random data and updates fast enough to do what it needs to do on the yacht. If I can get the wifi input to work I should be OK. I am using Python (for the first time) and my Python skills are next to nothing. Mostly I am just copying and pasting other peoples ideas.
Have you considered adding speaker independent, voice recognition, control?

In 1991 I assisted the owner of the 110 foot "boat" (anything over 100 feet is actually called a "ship") Alpha Centauri with such a system.

Twenty years ago it required specialized computer equipment, provided by Voice Control Systems of Dallas, Texas.

Today, it can be done with a Kindle touch.
Attached Thumbnails
Click image for larger version

Name:	DaddyRayBoat.png
Views:	173
Size:	641.7 KB
ID:	115021  
knc1 is offline   Reply With Quote
Old 11-12-2013, 05:22 AM   #27
lookout
Member
lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
Posts: 14
Karma: 30000
Join Date: Oct 2013
Device: Kindle 4NT
Quote:
Originally Posted by DennisH View Post
lookout,

I am trying to do something similar and I am having the same problem with getting the wifi to stay connected. I have a Digital Yacht WLN10 wifi data module which takes in serial data (NMEA) and broadcasts it. I can see the WLN10 (which is based on a Wifly module) hand out a DHCP address to the K4NT and the K4NT connects for about 15 seconds before it disconnects. I can see in the K4NT that it registered the network ssid and ip address correctly. Unfortunately, I don't have the skills to sort it out.

FWIW, I am trying to make a yacht instrument display that I can read in bright sunlight. My approach is to read in NMEA data and then construct a PNG file in memory for direct display on the K4NT. The PNG part is working well with random data and updates fast enough to do what it needs to do on the yacht. If I can get the wifi input to work I should be OK. I am using Python (for the first time) and my Python skills are next to nothing. Mostly I am just copying and pasting other peoples ideas.

So I am very interested in your 'DNS server' to fool the Kindle into thinking it has a validated connection. I am really hoping that you can post some code on how your server works.
I still have a bit more hacking to do, I can get it working for about 15 to 20 min then the WIFI drops out so I haven't captured everything yet, I will post my workings to date when I get a chance, I didn't take very good notes so it should be fun..... It is good to see that I am not the only one wanting to do something like this.
lookout is offline   Reply With Quote
Old 11-12-2013, 05:26 AM   #28
lookout
Member
lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
Posts: 14
Karma: 30000
Join Date: Oct 2013
Device: Kindle 4NT
Quote:
Originally Posted by lookout View Post
I have rerun the list for files with WIFI in them Twobob as you had a number of directories that I do no, I suspect you have some other stuff loaded.

I have sorted them in excel by the file which makes it easier to read through, file attached.

I have had a good look through and have not found anything that is obvious to me, although I probably do not really know what I am looking for, any pointers?

Twobob, you mentioned in your original reply that "I vaguely recall that it retrieves the same construct from the same location every time." do you have any more info on this, maybe I can do something at the AP to emulate the Amazon service.
Well I managed to get a text search going previously and output the file I attached, but I just cannot seem to do it again, I am obviously doing something stupid. Every time I try the kindle just hangs and I need to restart it again. The following is a cut and past from the terminal window:

[root@[192_168_15_244] root]# cd /
[root@[192_168_15_244] /]# ls
bin cust dev etc lib mnt opt proc sbin sys tmp usr var
[root@[192_168_15_244] /]# find . -print0 | xargs -0 grep -i -n "wifi"
lookout is offline   Reply With Quote
Old 11-12-2013, 05:41 AM   #29
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
its proc. you are getting lost in there - or sys - remove from search.

some of those device declarations in proc (or was it sys?) are infinitely recursive.
twobob is offline   Reply With Quote
Old 11-12-2013, 06:52 AM   #30
lookout
Member
lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.lookout can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
Posts: 14
Karma: 30000
Join Date: Oct 2013
Device: Kindle 4NT
Quote:
Originally Posted by twobob View Post
its proc. you are getting lost in there - or sys - remove from search.

some of those device declarations in proc (or was it sys?) are infinitely recursive.
Thanks for that.
lookout is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Queries about K4NT geekyworld Kindle Developer's Corner 5 10-11-2013 07:22 AM
myts & kite not working on K4NT pepijndevos Kindle Developer's Corner 17 01-16-2013 01:58 PM
Working Term for K4NT? CaelThunderwing Kindle Developer's Corner 2 12-18-2012 03:23 PM
about the K4NT 4.1.0 update arslonga Amazon Kindle 22 10-22-2012 08:18 AM
Help with my K4NT MemorableCactus Kindle Developer's Corner 7 06-11-2012 01:02 AM


All times are GMT -4. The time now is 03:53 PM.


MobileRead.com is a privately owned, operated and funded community.