Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Access cellular service strength?
-
Hi all,
I want to write a script that will repeatedly log my location and cell service strength so I can identify dead zones along my commute. Gaining access to location information seems simple enough, but I'm wondering if anyone can help me get access to cell strength.
Here's one article that shows how to manually access what I'm looking for, rsrp0.
Thanks for the help!
-
@kylenessen, try this, not documented API, and just returns 100 for me, could be blocked by Apple.
from objc_util import * import ctypes load_framework('CoreTelephony') CTGetSignalStrength = c.CTGetSignalStrength CTGetSignalStrength.restype = ctypes.c_int CTGetSignalStrength.argtypes = [] print(CTGetSignalStrength())
-
It's returning 100 for me as well :/
Will have to reconsider my project. Thank you for the code, though!
-
For any future readers, the app Sensorly seems to do exactly what I want. Unfortunately, development seems to have officially stopped.