[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnokii-users
Subject:    Re: nokia 7230: getnetworkinfo: unhandled frame
From:       Daniele Forsi <dforsi () gmail ! com>
Date:       2014-09-07 20:02:20
Message-ID: CAN_we7NBU0vCZ4XywsfGpZkhSZmAYb5Wv84gEJ4g+U0CHthyEQ () mail ! gmail ! com
[Download RAW message or body]

2014-09-07 21:22 GMT+02:00 Raphaƫl:

>> Getting network info ...
>> Message sent: 0x0a / 0x0005
>> 00 01 00 00 00                                  |
>> Message received: 0x0a / 0x000a
>> 01 97 00 f0 01 00 00 00 00 00                   |
>> Received message type 0a
>> Unknown subtype of type 0x0a (240)
>> UNHANDLED FRAME RECEIVED
>> request: 0x0a / 0x0005
>> 00 01 00 00 00                                  |
>> reply: 0x0a / 0x000a
>> 01 97 00 f0 01 00 00 00 00 00                   |
>> Please read Docs/Bugs and send a bug report!
>> Error: The current frame isn't handled by the incoming function.
>> Serial device: closing device
>
>
> I don't see in this trace any fact that the device would *not* support
> that, but I don't understand why it failed.

the fact is hidden in the firmware, only the phone knows why it
doesn't support that, that 0xf0 (decimal 240) in 01 97 00 f0 01 00 00
00 00 00 means "not supported" or something like that, it's a generic
erorr code

>> Manufacturer : Nokia
>> Model        : RM-598
>> Product name : RM-598

> Any hint ?

as always we must start adding to misc.c that 7230-1c is a RM-598 (may
I add your full name to the ChangeLog?), then if someone finds out if
your phone supports the get nework info command with a different frame
we can add a special case for it

what you can do is running gnokii --monitor and from you phone's menu
activate and deactivate flight mode to see if any unhandled frame is
received, if nothing is printed then you should modify
NK6510_Subscribe() and guess the number to use instead of
NK6510_MSG_NETSTATUS which is 0x0a (and that's why the error message
refers to 0x0a "Unknown subtype of type 0x0a (240)") this is somewhat
safer than sending random data as I've done in the past all the
numbers known so far are in include/phones/nk6510.h see NK6510_MSG_*

-- 
Daniele Forsi

_______________________________________________
gnokii-users mailing list
gnokii-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/gnokii-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic