Closed bokolob closed 3 years ago
My fix for SMS.list() is broken 8(
By now everything is ok :)
I added cellular.SMS(timeout)
and cellular.SMS.get_storage_size()
based on what is here. I also added the atomic section macro but I am wondering if there is any practical matter why you defined it?
I did not touch the rest yet. It would be much better if you make small PRs addressing specific points.
About atomic section. I’m planning to add interrups support, and then e.g. schedule method might be called inside himself. By now I can’t say for sure, but it makes code seems more reliable for different kind of usages.
I see some valuable additions, thank you. I'll need more time to merge everything. Btw, there is an abandoned
sms_from_raw
which might be of your interest.