Nokia 7230, setalarm strange behavior

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Nokia 7230, setalarm strange behavior

Raphaël Droz
Interrogation about alarm support in Nokia 7230(-1c) [RM-598]:

# PHONE > CONFIG > ALARM
[ shows 11:30 ]

$ gnokii --phone nokia --getalarm
> Alarm: off
> Time: 11:30

$ gnokii --phone nokia --setalarm 13 37
$ gnokii --phone nokia --getalarm
Alarm: on
Time: 13:37

# PHONE > CONFIG > ALARM
[ shows 11:30 and still seems disabled ]

Even after phone reboot, --getalarm shows the new value (13:37) while the phone
still shows the old one (11:30).

What is this settings stored (or what is this command about) !?
Looking from the phone, it seems the command does not work, but looking
from the successive call to --getalarm, the command have succeeded !
Anyway, the bell does not ring.


Log from $ gnokii --setalarm 13 37
[...]

> Using channel: 14
> Getting model...
> Message sent: 0x1b / 0x0006
> 00 01 00 07 01 00                               |                
> Message received: 0x1b / 0x003a
> 01 42 00 08 00 01 58 34 00 30 56 20 31 30 2e 38 |  B    X4 0V 10.8
> 31 0a 32 38 2d 30 32 2d 31 31 0a 52 4d 2d 35 39 | 1 28-02-11 RM-59
> 38 0a 28 63 29 20 4e 6f 6b 69 61 20 20 20 20 20 | 8 (c) Nokia    
> 20 20 20 20 20 20 20 0a 4c 00                   |         L      
> Received message type 1b
> model length: 6
> Received model RM-598
> Setting alarm
> Message sent: 0x19 / 0x0013
> 00 01 00 11 00 01 01 0c 02 01 00 00 00 00 0d 25 |                %
> 00 00 00                                        |                
> Message received: 0x19 / 0x0006
> 01 3c 00 12 01 00                               |  <              
> Received message type 19
> Incoming clock!
> Alarm successfully set!
> Serial device: closing device


--
GPG id: 0xD7F62B21

_______________________________________________
gnokii-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/gnokii-users
Reply | Threaded
Open this post in threaded view
|

Re: Nokia 7230, setalarm strange behavior

Daniele Forsi-2
2014-09-22 19:02 GMT+02:00 Raphaël Droz:

> Interrogation about alarm support in Nokia 7230(-1c) [RM-598]:

as tested on my phones::
1) IIRC on phones handled by nk6100.c --setalarm and --getalarm work
as expected;
2) on Series 40 3rd they mostly work as expected except that you can't
disable the alarm from gnokii but you can disable it from phone, but I
discovered right now that alarm sound is like "beep once";
3) on Series 60 3rd the FBUS side works but the phone ignores them,
the same as in your tests on a Series 40 5th, I think

a while ago that I added to nk6510.c several subframes related to
clock/alarm, but I might have missed some and my phone is different
from yours, so the best thing that you can do is:
1) modify NK6510_Subscribe() temporarily replacing one of the
NK6510_MSG_* with NK6510_MSG_CLOCK
2) rebuild and run gnokii --monitor
3) use phone menus to set/unset/modify the alarm and see if any
unhandled frame is printed by gnokii
--
Daniele Forsi

_______________________________________________
gnokii-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/gnokii-users