|  08-10-2016, 02:10 AM | #1 | 
| Connoisseur            Posts: 59 Karma: 596608 Join Date: Oct 2008 Device: Cybook Gen3, Kindle PaperWhite, iPad | 
				
				Accessing Serial port via wifi telnet sesssion
			 
			
			Hi Guys I have been playing around with Kobos for quite a while and currently have one running xcsoar (a gliding program) which connects to a GPS / Barometer via a bluetooth module I installed on the internal serial port. I achieved this by setting up the BT module via a TTL / USB cable on my laptop then soldered it into the Kobo. Whilst this has been working fine a firmware change in the GPS device means I need to at least re-pair the module and I am trying to find ways to reprogram it while still in the reader. I have telnet via the wifi interface to the system and need to access the serial port to send the AT commandes. I think it should be possible to Code: echo 'at-command' /dev/ttymcx0 Is there a way to run a command line serial port program to do this from within the telnet session? TIA | 
|   |   | 
|  08-10-2016, 05:40 AM | #2 | 
| Linux User            Posts: 2,282 Karma: 6123806 Join Date: Sep 2010 Location: Heidelberg, Germany Device: none | 
			
			Grab either of these: https://www.busybox.net/downloads/bi...busybox-armv5l https://www.busybox.net/downloads/bi...busybox-armv7l Put it in one of the bin dirs, chmod +x, then busybox-armv7l microcom <someoption?> /dev/ttymcx0 Can't test it myself since I don't have anything hooked to the serial lines. | 
|   |   | 
| Advert | |
|  | 
|  08-10-2016, 04:52 PM | #3 | 
| Connoisseur            Posts: 59 Karma: 596608 Join Date: Oct 2008 Device: Cybook Gen3, Kindle PaperWhite, iPad |   
			
			Thanks. Just what I needed. The version of busybox I already had didn't have the microcom commandlet.  All i had to do was create a txt file with the AT commands in it and invoke it thus: Code: /bin/busybox-armv71 microcom -t 3000 -s 9600 -X /dev/ttymxc0 <AT-cmd.txt | 
|   |   | 
|  08-19-2016, 04:05 PM | #4 | 
| Pain in the arse            Posts: 758 Karma: 77856 Join Date: Apr 2013 Device: Kobo Aura One, Kindle 4 | 
			
			Where do you soldered the module?
		 | 
|   |   | 
|  | 
| Thread Tools | Search this Thread | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Serial port debrick | Fridolf | Kindle Developer's Corner | 9 | 05-19-2015 05:14 AM | 
| PW1 lost PADs for serial port, but found signals near USB port | uniqdom | Kindle Developer's Corner | 1 | 04-29-2015 08:45 AM | 
| How To Jailbreak By Serial Port | P_Chang | Kindle Developer's Corner | 10 | 01-03-2015 04:17 PM | 
| Telnet over Wifi | nixlos | Kindle Developer's Corner | 8 | 03-13-2014 09:05 PM | 
| K3 using serial port problem | BusterBrown | Kindle Developer's Corner | 42 | 06-05-2012 06:11 PM |