Not a big problem really, but I found that on my Samsung J7 with Android 7 the number returned from the function in object may be much higher. I measured 61 almost in front of a cell and around 40/45 in normal coverage areas.
Maybe the documentation has to be updated or there is something wrong with my phone?
This is a gap in the doc, value 0 to 31 is valid up to GSM, for CDMA and LTE you can have up to 98, problem is that this is not officially documented so i cant really fix this
thanks for your answer, That's fine for me. I'll take into account a different scale for GSM and the others.