Cell ID (CID) and Location Area (LAC)

Post your questions and help other users.

Moderator: Martin

Post Reply
luksaiyan
Posts: 2
Joined: 21 Oct 2014 13:50

Cell ID (CID) and Location Area (LAC)

Post by luksaiyan » 22 Oct 2014 15:05

Hello,
I'd like to save in a file, automatically, the Cell ID (CID) and Location Area (LAC) relate to the GSM cells that my smartphone uses.

I am not able to understand how initialize CID and LAC variables: how can I get these information? I tried to save them into a file, but the value is NULL.

Thank you,
Luca

PS: Automagic is fantastic!!! :-)

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Cell ID (CID) and Location Area (LAC)

Post by Martin » 22 Oct 2014 17:19

Hi,

You can use a condition Phone Cell GSM: Connected to * to fill the currently connected cell info into the variables lac and cid. An action Write to File: {lac} - {cid} should write the cells to a file (press enter to add a newline).
Automagic has no trigger that executes a flow whenever a new cell is detected. You could use a trigger Periodic Timer to execute the flow repeatedly but you might miss a few cells when the phone switches cells too fast.

Regards,
Martin

Post Reply