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 03-29-2016, 02: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
Old 03-29-2016, 04:01 PM   #2
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 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
Advert
Old 03-29-2016, 10: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,422
Karma: 85397180
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 10:08 PM.
eschwartz is offline   Reply With Quote
Old 03-30-2016, 12: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


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 12:46 AM
Auto toggle Airplane mode on Kindle Paperwhite Inman Amazon Kindle 5 12-21-2012 05:38 PM
Airplane Mode Keeps Enabling Itself aglick enTourage eDGe 15 04-26-2012 12:34 PM
Request Airplane mode - Battery Booster Crash? Erminio Mostacci enTourage eDGe 1 08-08-2011 08:04 PM
Airplane mode on 3g+wireless and battery life ynot Barnes & Noble NOOK 1 04-06-2011 12:22 PM


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


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