Active Topics

 



Notices


Reply
Thread Tools
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#1
to automatically accept an inbound call after N rings, you can do:
start xterm
Code:
pnatd
at
ats0=1
close xterm (for N = 1 above, not tested for other N like ats0=5 etc)

to unset the "feature" use N:0 I.E. ats0=0

/j
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N
 

The Following 10 Users Say Thank You to joerg_rw For This Useful Post:
pusak gaoq's Avatar
Posts: 723 | Thanked: 519 times | Joined on Nov 2010 @ Kuching:Malaysia
#2
is this one time hacked or do we have to set it every time we restart/reboot our device???
__________________
My Phone Evolution : Nokia 3650-Nokia 6600-Nokia 6630-Motorola Rizr-Sony P1i-Nokia E63-Nokia X3-Samsung E980-Iphone 2G-Sony W595-Nokia E71-Nokia 5800-Nokia N900-HTC Hero-Xperia Mini Pro
 
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#3
another similar hack, same scheme as above:

AT+CNUM delivers your own number (if it's available on your SIM)
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N
 
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#4
Originally Posted by pusak gaoq View Post
is this one time hacked or do we have to set it every time we restart/reboot our device???
I think this gets reset on reboots
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N
 
travla's Avatar
Posts: 397 | Thanked: 241 times | Joined on Mar 2010 @ Melbourne, Australia
#5
Hey guys, Nicolai has already added this functionality in to ProfilesX:

http://maemo.org/downloads/product/Maemo5/profilesx/

And the beauty of it is it can be set to a Car profile (for example).
 

The Following 3 Users Say Thank You to travla For This Useful Post:
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#6
to query Local-Area-Code and Cell-Identifier of your base station:
at+creg? (watch first digit, for later restoring)
at+creg=2
at+creg?
>> n, stat, lac, ci
Code:
<n>:
0 disable network registration unsolicited result code
1 enable network registration unsolicited result code +CREG: <stat>
2 enable network registration and location information unsolicited result code +CREG:
<stat>[,<lac>,<ci>]
<stat>:
0 not registered, ME is not currently searching a new operator to register to
1 registered, home network
2 not registered, but ME is currently searching a new operator to register to
3 registration denied
4 unknown
5 registered, roaming
<lac>: string type; two byte location area code in hexadecimal format (e.g. "00C3" equals 195 in decimal)
<ci>: string type; two byte cell ID in hexadecimal format
restore to original state (much recommended):
at+creg=0 (if your state <n> been 0 in your first at+creg?)
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N
 

The Following User Says Thank You to joerg_rw For This Useful Post:
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#7
This could make for an interesting script...


Is your tinfoil hat starting to feel the burn? Are you forever aware that the global new world order single government police state are intercepting your phone calls?

Simple, force your phone to 3G only mode (2G encryption has been compromised) and set your n900 to record the locations you are in (GPS) and a list of station IDs. Once you have 'learned' the cell IDs you normally connect to (you always travel around roughly the same area) you set the device to check your database of station IDs against location as you migrate through the network.

A rogue station ID has appeared? MITM ATTACK! They are closing in! Burn your clothes! Acid your fingerprints off! Run for the border!
__________________
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.
 

The Following 3 Users Say Thank You to vi_ For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#8
Huh, I see joerg_rw started to play with at_commands. I've worked with them for years, so for the first time, probably, I know his discoveries for quite a long time. Damn, never though that day will happen

Seriously though, I agree that it's very nice to document it here - it's true that at commands are not very popular in scripts. Thinking about that, I have no idea why - for me (and anyone, who played with GSM modems and phones acting as modems for other, strange purposes) they're quite natural.

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following User Says Thank You to Estel For This Useful Post:
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#9
ATTENTION!
unconfirmed observation: setting S0=0 did not restore modem behaviour to default for me! I got a call that got auto-accepted while I was not even noticing it ;-P.
Anyway going offline_mode for a moment obviously reset the modem for me, so everything back to normal after that
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N
 

The Following 2 Users Say Thank You to joerg_rw For This Useful Post:
nicholes's Avatar
Posts: 1,103 | Thanked: 368 times | Joined on Oct 2010 @ india, indore
#10
is there anyway i can play an audio file for a caller after an auto answer (like a voice msg) or can you make anything possible from this thread?
__________________
N900 gave me a reason to live in this cruel world

get your smooth live wallpaper today
My YouTube videos
 
Reply

Tags
autoanswer, doc's hacks


 
Forum Jump


All times are GMT. The time now is 02:09.