Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Sony Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 10-01-2017, 10:27 AM   #1
JS_F
Member
JS_F can illuminate an eclipseJS_F can illuminate an eclipseJS_F can illuminate an eclipseJS_F can illuminate an eclipseJS_F can illuminate an eclipseJS_F can illuminate an eclipseJS_F can illuminate an eclipseJS_F can illuminate an eclipseJS_F can illuminate an eclipseJS_F can illuminate an eclipseJS_F can illuminate an eclipse
 
Posts: 17
Karma: 8152
Join Date: Mar 2017
Device: Amazon Kindle Paperwhite 2
A Javascript to transfer files without using Digital Paper App for Sony DPT-RP1

Here is the link: http://github.com/janten/dpt-rp1-py

Here is the original post link (in German): https://forum.golem.de/kommentare/so...ml#msg-4905878

Unfortunately, I don't know how to run the Javascript file. Anyone has tried it yet? I would be very happy if someone could kindly offer an instruction.
JS_F is offline   Reply With Quote
Advert
Old 10-05-2017, 04:02 PM   #2
ManDay
E-Reader
ManDay ought to be getting tired of karma fortunes by now.ManDay ought to be getting tired of karma fortunes by now.ManDay ought to be getting tired of karma fortunes by now.ManDay ought to be getting tired of karma fortunes by now.ManDay ought to be getting tired of karma fortunes by now.ManDay ought to be getting tired of karma fortunes by now.ManDay ought to be getting tired of karma fortunes by now.ManDay ought to be getting tired of karma fortunes by now.ManDay ought to be getting tired of karma fortunes by now.ManDay ought to be getting tired of karma fortunes by now.ManDay ought to be getting tired of karma fortunes by now.
 
Posts: 270
Karma: 1600000
Join Date: Oct 2012
Device: DPT-S1
Why does this thread not receive the crazy amount of feedback it should? This is awesome news. A REST API over a emulated network device via USB.

Everyone can use the RP1 now!

People, give this guy some karma for finding this!
ManDay is offline   Reply With Quote
Old 10-09-2017, 10:09 AM   #3
Philippe D.
Connoisseur
Philippe D. ought to be getting tired of karma fortunes by now.Philippe D. ought to be getting tired of karma fortunes by now.Philippe D. ought to be getting tired of karma fortunes by now.Philippe D. ought to be getting tired of karma fortunes by now.Philippe D. ought to be getting tired of karma fortunes by now.Philippe D. ought to be getting tired of karma fortunes by now.Philippe D. ought to be getting tired of karma fortunes by now.Philippe D. ought to be getting tired of karma fortunes by now.Philippe D. ought to be getting tired of karma fortunes by now.Philippe D. ought to be getting tired of karma fortunes by now.Philippe D. ought to be getting tired of karma fortunes by now.
 
Posts: 82
Karma: 967896
Join Date: Jun 2017
Device: Kobo Aura H2o; reMarkable
Well, I'm still waiting on some more reports on this, before I get all excited - though, indeed, it is very good news if it works well.

Besides, Sony doesn't seem to show much interest in selling lots of RP1's to people in my part of the world; I just looked at their French website, and searches for things like "digital paper" or "RP1" turned up exactly... nothing.

But, yes - as someone who would be a potential user of the RP1 if it were more friendly to my use - I'm still following this part of the forum.
Philippe D. is online now   Reply With Quote
Old 10-09-2017, 03:48 PM   #4
ManDay
E-Reader
ManDay ought to be getting tired of karma fortunes by now.ManDay ought to be getting tired of karma fortunes by now.ManDay ought to be getting tired of karma fortunes by now.ManDay ought to be getting tired of karma fortunes by now.ManDay ought to be getting tired of karma fortunes by now.ManDay ought to be getting tired of karma fortunes by now.ManDay ought to be getting tired of karma fortunes by now.ManDay ought to be getting tired of karma fortunes by now.ManDay ought to be getting tired of karma fortunes by now.ManDay ought to be getting tired of karma fortunes by now.ManDay ought to be getting tired of karma fortunes by now.
 
Posts: 270
Karma: 1600000
Join Date: Oct 2012
Device: DPT-S1
Well those reports wont just write themselves. Someone ought to try it! If I had an RP1, which I don't, I'd given it a run. Everyone just a bit too convenient to try it after they got that fantastic app of Sony's running?

Philippe, you want the RP1? They ship from Amazone and B&H, see here on Sony's intl. page. I had very good experience with B&H for deliveries to Germany, so I take it the same would apply to France.
ManDay is offline   Reply With Quote
Old 10-10-2017, 01:33 AM   #5
M4H35H
Enthusiast
M4H35H began at the beginning.
 
Posts: 26
Karma: 10
Join Date: May 2015
Device: Sony PRS-950, Hanvon E920, Onyx Boox M92
Quote:
Originally Posted by JS_F View Post
I would be very happy if someone could kindly offer an instruction.
I imagine you need to install Python on your PC to run the script.
M4H35H is offline   Reply With Quote
Old 10-10-2017, 09:24 AM   #6
janten
Junior Member
janten doesn't litterjanten doesn't litter
 
Posts: 1
Karma: 118
Join Date: Oct 2017
Device: DPT-RP1
Hi everyone,

someone just tipped me that you guys discovered my Python (not JavaScript) script which I use do upload documents to my DPT-RP1. I realize that it is not very user friendly, it's just something I hacked together over the course of some days. The important findings are:
  • All interactions between the DPT-RP1 and the Digital Paper App use a REST interface that runs on the reader. When connected via WiFi, Bluetooth, or USB, the reader is available as digitalpaper.local.
  • The initial certificate generation and registration uses an unsecured interface at http://digitalpaper.local:8080, documents are transferred over a secured interface at https://digitalpaper.local:8443. You can either extract the certificates for the secure connection from the Digital Paper application or simply ignore the certificate validation.
  • When connected via USB, the reader presents itself as a network adapter. This is only required for the initial configuration. Once the reader has been set up, everything works via WiFi.
  • You can do the initial pairing using the Digital Paper application in a virtual machine running Windows on a Linux host. Simply pass the USB network device to the VM.
janten is offline   Reply With Quote
Old 10-10-2017, 11:20 PM   #7
JS_F
Member
JS_F can illuminate an eclipseJS_F can illuminate an eclipseJS_F can illuminate an eclipseJS_F can illuminate an eclipseJS_F can illuminate an eclipseJS_F can illuminate an eclipseJS_F can illuminate an eclipseJS_F can illuminate an eclipseJS_F can illuminate an eclipseJS_F can illuminate an eclipseJS_F can illuminate an eclipse
 
Posts: 17
Karma: 8152
Join Date: Mar 2017
Device: Amazon Kindle Paperwhite 2
Could anyone kindly write an instruction for end-users? The process seems really complicated and confusing for me at least.
JS_F is offline   Reply With Quote
Old 10-11-2017, 03:59 PM   #8
Philippe D.
Connoisseur
Philippe D. ought to be getting tired of karma fortunes by now.Philippe D. ought to be getting tired of karma fortunes by now.Philippe D. ought to be getting tired of karma fortunes by now.Philippe D. ought to be getting tired of karma fortunes by now.Philippe D. ought to be getting tired of karma fortunes by now.Philippe D. ought to be getting tired of karma fortunes by now.Philippe D. ought to be getting tired of karma fortunes by now.Philippe D. ought to be getting tired of karma fortunes by now.Philippe D. ought to be getting tired of karma fortunes by now.Philippe D. ought to be getting tired of karma fortunes by now.Philippe D. ought to be getting tired of karma fortunes by now.
 
Posts: 82
Karma: 967896
Join Date: Jun 2017
Device: Kobo Aura H2o; reMarkable
Quote:
Originally Posted by ManDay View Post
Philippe, you want the RP1? They ship from Amazone and B&H, see here on Sony's intl. page. I had very good experience with B&H for deliveries to Germany, so I take it the same would apply to France.
Actually, I decided to order the Remarkable - the smaller display should be fine for my use cases, it's more easily portable, and I'm curious about the writing experience. I'll only go back to the Sony if the Remarkable turns out to be difficult to use (which I hope it won't - the end cost of buying both would be pretty steep).

But, I'm still following this, just in case
Philippe D. is online now   Reply With Quote
Old 10-12-2017, 03:14 AM   #9
ManDay
E-Reader
ManDay ought to be getting tired of karma fortunes by now.ManDay ought to be getting tired of karma fortunes by now.ManDay ought to be getting tired of karma fortunes by now.ManDay ought to be getting tired of karma fortunes by now.ManDay ought to be getting tired of karma fortunes by now.ManDay ought to be getting tired of karma fortunes by now.ManDay ought to be getting tired of karma fortunes by now.ManDay ought to be getting tired of karma fortunes by now.ManDay ought to be getting tired of karma fortunes by now.ManDay ought to be getting tired of karma fortunes by now.ManDay ought to be getting tired of karma fortunes by now.
 
Posts: 270
Karma: 1600000
Join Date: Oct 2012
Device: DPT-S1
Quote:
Originally Posted by Philippe D. View Post
Actually, I decided to order the Remarkable - the smaller display should be fine for my use cases, it's more easily portable, and I'm curious about the writing experience. I'll only go back to the Sony if the Remarkable turns out to be difficult to use (which I hope it won't - the end cost of buying both would be pretty steep).

But, I'm still following this, just in case
Wrong thread to make this into a discussion, but I sure will be interested to read your opinion about the re-markable. The review I've seen so far has been rather off-putting concerning the feature (or lack thereof) and bug richness of the software. But I'm also wondering whether my next purchase should be the Sony or the re-markable.
ManDay is offline   Reply With Quote
Old 10-23-2017, 01:15 AM   #10
YasBean
Member
YasBean began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Apr 2017
Device: Sony RP1
I, too, hope to see more development to make this option more available for non-programmer users.
YasBean is offline   Reply With Quote
Old 11-07-2017, 10:06 AM   #11
cb125
Junior Member
cb125 doesn't littercb125 doesn't litter
 
Posts: 1
Karma: 100
Join Date: Nov 2017
Device: dpt rp1
So I've been working with the python script, and am reporting on my initial progress.

First: it's wonderful to have the beginnings of a way to get stuff on and off the reader under Linux!

The code is available by visiting the github site mentioned above, https://github.com/janten/dpt-rp1-py

This is far from ready for non-programmers to use.

The README.md gives clear, simple instructions on how to extract a client id and a key from the device. These two pieces of information are needed to authenticate. The key needs to be placed in a file that the python code can find, and the client id needs to replace the client id that is currently embedded in the python code.

Getting the python code to run is not trivial. It depends on formatted strings, which are new to python 3.6. Don't try to get python 3.6 running on any Ubuntu earlier than 7.10 (artful), it's not worth the hassle! (It shouldn't be too difficult to get the code to run on python 3.5.)

In order to connect to the reader, I needed to put the reader's wifi ip address into my /etc/hosts file (e.g., I put this on a new line: 198.168.1.201 digitalpaper.local).

The user interface to the python program is to... edit the code. I got the reader to deliver a screenshot over wifi by adding the line "dp.get_screenshot()" under the authentication command in the "main" block, very exiting! Still unclear what commands to use in order to get files on or off the reader---I have not yet even figured out what the directory names are on the reader. But this seems solvable with some investigation and experimentation.

As the author comments, the Sony code that runs the digital app is clean and neat. Wouldn't it be nice to get that code running under Linux?

Many thanks to Jan-Gerd Tenberge for making his python hack available!
cb125 is offline   Reply With Quote
Old 11-07-2017, 11:26 PM   #12
sartrism
Junior Member
sartrism began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2017
Device: Kindle Voyage, Boyue T62+, Sony DPT-RP1
Quote:
Originally Posted by cb125 View Post
So I've been working with the python script, and am reporting on my initial progress.

First: it's wonderful to have the beginnings of a way to get stuff on and off the reader under Linux!

The code is available by visiting the github site mentioned above, https://github.com/janten/dpt-rp1-py

This is far from ready for non-programmers to use.

The README.md gives clear, simple instructions on how to extract a client id and a key from the device. These two pieces of information are needed to authenticate. The key needs to be placed in a file that the python code can find, and the client id needs to replace the client id that is currently embedded in the python code.

Getting the python code to run is not trivial. It depends on formatted strings, which are new to python 3.6. Don't try to get python 3.6 running on any Ubuntu earlier than 7.10 (artful), it's not worth the hassle! (It shouldn't be too difficult to get the code to run on python 3.5.)

In order to connect to the reader, I needed to put the reader's wifi ip address into my /etc/hosts file (e.g., I put this on a new line: 198.168.1.201 digitalpaper.local).

The user interface to the python program is to... edit the code. I got the reader to deliver a screenshot over wifi by adding the line "dp.get_screenshot()" under the authentication command in the "main" block, very exiting! Still unclear what commands to use in order to get files on or off the reader---I have not yet even figured out what the directory names are on the reader. But this seems solvable with some investigation and experimentation.

As the author comments, the Sony code that runs the digital app is clean and neat. Wouldn't it be nice to get that code running under Linux?

Many thanks to Jan-Gerd Tenberge for making his python hack available!
We have the full list of files/directories on the reader. I doubt if you have an access to other directories using this method though.
sartrism is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sony Digital Paper DPT-S1 Owner's Thread Avenger Sony Reader 709 09-27-2017 04:39 AM
DPT-RP1 - device not pairing with Digital Paper App Eksalis Sony Reader 9 08-31-2017 09:09 PM
DPT RP1 Digital Paper App fails to connect wifi JS_F Sony Reader 2 08-25-2017 10:46 AM
DPT-RP1: The successor to Sony's DPT-S1 davester News 0 04-10-2017 05:08 PM
Sony Digital Paper (DPT-S1) Note taking Capabilities The Inktelligent Sony Reader 6 08-10-2016 01:57 PM


All times are GMT -4. The time now is 05:27 AM.


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