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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 03-29-2016, 03:51 PM   #1
Yourcat
Groupie
Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.
 
Posts: 175
Karma: 54048
Join Date: Mar 2016
Device: PW3 5.6.5-usbnet
Commands to switch airplane mode?

Hello!
I'm looking for commands to enable and disable the airplane mode from a script / shell. I prefer to keep WLAN off but sometimes I need it to fetch some data, eg for a KUAL ext. Turning it on and off interactively is not what I'm looking for.
TIA
Yourcat is offline   Reply With Quote
Advert
Old 03-29-2016, 05:01 PM   #2
knc1
Analog Forever!
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: 15,620
Karma: 17105751
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by Yourcat View Post
Hello!
I'm looking for commands to enable and disable the airplane mode from a script / shell. I prefer to keep WLAN off but sometimes I need it to fetch some data, eg for a KUAL ext. Turning it on and off interactively is not what I'm looking for.
TIA
There should be lipc commands for that.
Start by searching (or reading) the scripts in /usr/bin

# 9800
knc1 is offline   Reply With Quote
Old 03-29-2016, 11:03 PM   #3
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,228
Karma: 83049275
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
lipc command for controlling wireless as used in Aeris' Native Menu (which includes its own button for controlling the WiFi using nativeBridge for javascript ==> lipc):

Code:
#!/bin/sh

wifi-enable() {lipc-set-prop com.lab126.cmd wirelessEnable 1}
wifi-disable() {lipc-set-prop com.lab126.cmd wirelessEnable 0}

Last edited by eschwartz; 03-29-2016 at 11:08 PM.
eschwartz is offline   Reply With Quote
Old 03-30-2016, 01:16 PM   #4
Yourcat
Groupie
Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.
 
Posts: 175
Karma: 54048
Join Date: Mar 2016
Device: PW3 5.6.5-usbnet
Thanks a lot, this is exactly what I was looking for.
Yourcat is offline   Reply With Quote
Reply

Tags
airplane mode, pw3, wifi, wlan

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Updates from BB with Airplane Mode On? pghaworth Amazon Kindle 26 10-30-2014 01:46 AM
Auto toggle Airplane mode on Kindle Paperwhite Inman Amazon Kindle 5 12-21-2012 06:38 PM
Airplane Mode Keeps Enabling Itself aglick enTourage eDGe 15 04-26-2012 01:34 PM
Request Airplane mode - Battery Booster Crash? Erminio Mostacci enTourage eDGe 1 08-08-2011 09:04 PM
Airplane mode on 3g+wireless and battery life ynot Barnes & Noble NOOK 1 04-06-2011 01:22 PM


All times are GMT -4. The time now is 06:49 AM.


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