View Single Post
Old 10-10-2017, 08: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