[HELP] How to get current LTE signal strength into a variable?
The context "variable set %CELLSIG" works great for getting 3G signal strength, but not for LTE signals. Is there an intent which supplies this same functionality for LTE? Any ideas would be greatly appreciated. Thanks, Reddit!
EDIT: I do not want to root.
Posted Aug 19, 2015, 3:43 PM UTC · edited
This should work for Android 4.2 and new, but it will only get it within a task not helpful for a profile to trigger a task:
Cell Strength LTE (146) A1: Java Function [ Return:cssl Class Or Object:CellSignalStrengthLte Function:new {CellSignalStrengthLte} () ] A2: Java Function [ Return:%asu Class Or Object:cssl Function:getAsuLevel {int} () ] A3: Java Function [ Return:%dbm Class Or Object:cssl Function:getDbm {int} () ] A4: Java Function [ Return:%level Class Or Object:cssl Function:getLevel {int} () ] A5: Java Function [ Return:%timing Class Or Object:cssl Function:getTimingAdvance {int} () ]The above old one won't work, but this one will, still requiring 4.2 (API 17) or newer:
Nice, I'll try this! Still need a trigger, though...
Yeah I used the first one with the 5 Actions and came back with some strange results. Can you post XML for this?
XML
Works great!! Nice.
Were you getting the dBm and level as 2147483647? I think it's some sort of error value.
Yup. I was like hmmm..