Thanks,I have check the AT commands ,they are correct . but after the commands AT+COPS=3,0;+COPS?;+COPS=3,1;+COPS?;+COPS=3,2;+COPS? the output are: +COPS: 0,0,"FFFFFFFFFFFFFFFF",2 +COPS: 0,1,"FFFFFFFFFFFFFFFF",2 +COPS: 0,2,"46001",2 obviously,the "FFFFFFFFFFFFFFFF"s are incorrect . I have try the AT command through serial port in my host ,it is the same as above. but if I use "at+cops=?",it will response the correct output.
Is there something wrong with my wireless module? -Weber On 6月9日, 下午5时56分, "bryan.c.hsu" <bryan.c....@gmail.com> wrote: > Hi, > I think u can check the parameters of the CREG or COPS. > It maybe caused by the wrong parameters from BP. > Maybe u need to modify ril implementation for these two AT commands. > Br. > > -----邮件原件----- > 发件人: android-porting@googlegroups.com > [mailto:android-port...@googlegroups.com] 代表 Weber > 发送时间: 2010年6月9日 17:06 > 收件人: android-porting > 主题: [android-porting] signal of gprs is zero > > Hi,everyone > I have ported eclair2.1 to my board. > at first ,I can dial a call and send sms(the signal are good--full or > nearly full) > but the gprs could not be used,mms can not be sent > then I found that the apns are empty ,so I modify the apns-conf.xml in > system/etc > > now I can see the G flag in the top bar,and the signal none(without > little cross)---if it is not connected there will be a little cross on > the signal flag > > here are the logs: > > 535 D/RILJ ( 781): [0027]< GPRS_REGISTRATION_STATE {2, ffffffff, > ffffffff} > 536 D/AT ( 676): > 537 D/AT ( 676): > 538 D/AT ( 676): +CREG: 2,2 > 539 D/AT ( 676): > 540 D/AT ( 676): > 541 D/AT ( 676): > 542 D/AT ( 676): OK > 543 D/AT ( 676): > 544 D/AT ( 676): AT< +CREG: 2,2 > 545 D/AT ( 676): AT< OK > 546 D/RIL ( 676): onRequest: QUERY_NETWORK_SELECTION_MODE > 547 D/AT ( 676): AT> AT+COPS? > 548 D/AT ( 676): AT+COPS? > 549 D/RILJ ( 781): [0028]< REGISTRATION_STATE {2, ffffffff, > ffffffff} > 550 W/GSM ( 781): error parsing RegistrationState: > java.lang.NumberFormatException: unable to parse 'ffffffff' as integer > > it seems that the GPRS state (fffffff) is wrong. > could you tell me what are the problems ? > Thanks > -Weber > > -- > unsubscribe: android-porting+unsubscr...@googlegroups.com > website:http://groups.google.com/group/android-porting -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting