Open mhamidjamil opened 9 months ago
@mhamidjamil I don't think it's a good approach, although this issue must be resolved as soon as possible as you said you accidentally subscribed other message package, so we need to ignore these company messages but OTP like messages must forwarded, but the approach should be updated, I think we should not just update at the bootup time we should do these changing in the SPIFFS so TTGO can be independent of orange pi in this scenario too. So I'm also creating task in TTGO which will now deal with the strings too after that task you should just write down company messages in a txt file orange pi just read these numbers as TTGO to update its SPIFFS and after confirming this update orange pi update its txt file, hope you under stand, feel free to ping me if you have any query regarding this case.
I got a better idea, we are not using message of index 1 so, my idea is to save company numbers there and don't delete that message by doing this we can easily fetch company numbers and also can updated from anywhere by sending message with special tag what do you think @wasey-rao?
As per current functionality we have hard coded company numbers, so the TTGO TCall auto delete these messages after forwarding them to user but we don't need to always update that row by updating code of TTGO TCall so we need to update these numbers using orange pi, what I planned is we should append company messages numbers like we are doing with authentic mobile numbers.