Text this: A low-cost indoor localization system based on received signal strength indicator by modifying trilateration for harsh environments