Create forbidden list (FPMLN)

Hi, I want to include a provider to the FPLMN list and am a bit confused as to how.


at+cops=?

+COPS: (1,"COSMOTE",,"20201",9),(0,"WIND GR","WIND","20210",9),(0,"vodafone GR","voda GR","20205",9),,(0-3),(0-2)

I want to include vodafone (20205). What would the AT+CRSM command look like?

AT+CRSM=214,28539,0,0,12,โ€œ??โ€

thanks

Not sure if this helps

Iโ€™ve seen that post but couldnโ€™t decode the providers.

How did you test it???

I tested it the way that post suggests, but I donโ€™t know how to convert like they are doing here:

From the response of CSRM command: the FPLMNS are
043508 -> 405803 -> Airtel
040528 - > 405820 -> uninor
044530 -> 405034 -> unknown
04F444 -> 40444 -> Spice telecomm

The number I want to use is 20205 (vodafone) and that would be on the right side of this table. The left side is what is being used in the CRSM command. The first three lines make sense but the last one (04f444), I cannot get how itโ€™s derived.

just skip the โ€œFโ€ then
You can find the mmc-mnc list here:

I am not getting itโ€ฆ

Can you give me the correct command to include vodafone in the fplmn list?

From the response of CSRM command: the FPLMNS are
043508 โ†’ 405803 โ†’ Airtel
040528 - > 405820 โ†’ uninor
044530 โ†’ 405034 โ†’ unknown
04F444 โ†’ 40444 โ†’ Spice telecomm
?? ?? ?? โ†’ 20205 โ†’ vodafone

thanks

have you tried โ€œ02F250โ€?

1 Like

I have.

AT+CRSM=214,28539,0,0,12,"02F250"
+CRSM: 144,0

at+crsm=176,28539,0,0,12
+CRSM: 144,0,"02F250FFFFFFFFFFFFFFFFFF"

at+cops=?
+COPS: (1,"GR COSMOTE","C-OTE","20201",9),(0,"vodafone GR","voda GR","20205",9),(0,"WIND GR","WIND","20210",9),,(0-3),(0-2)

here vodafone should have a 3 instead of a 0

Did you do a reset???

1 Like

โ€ฆ it worked after a reset. thanks

So how did you get 02F250 out of 20205?

I get it from your example, it is quite straightforward

Airtel โ†’ 405803 โ†’ 043508
i.e. abcdef โ†’ bafced

This would make a lot more sense if it was just a matter of Endianness.

MCC โ†’ ABC

MNC โ†’ DEF

Blanks are โ€˜Fโ€™

ABCDEF is saved in format BADCFE

So for Greece Vodafone (MCC 202 - MNC 05) there is a blank (F) starting the MNC since it is only 2 digits.

AB CD EF โ†’ 20 2F 05

This is saved in the format

BA DC FE โ†’ 02 F2 50

Hopefully someone with a 3 digit MNC can verify this?

It should be abcdef โ†’ bafced