I was interested in identifying any packets (sendText messages) that get lost so I would be able to resend them but I noticed that when querying meshtastic.StreamInterface().myInfo the current_packet_id never changes (even after sending a new packet). Is there another way to get the current id of the most recent packet sent or should I increment the packet id myself? This can be valided with the script below which will query myInfo then send a new packet in a loop.
import meshtastic
import time
from pubsub import pub
hmm - the right approach is really not possible because of something I forgot to do in the python API.
Every packet has a unique packet ID, the python API should generate that ID (currently it isn’t and the device is picking one). I’ve made a bug for this and should fix it by tuesday:
Awesome. Its most appreciated. I am very impressed with this project! I tested the range with (2) TTGO V1.1 433mhz today and was able to get transfers at 0.92 mile and reliable transfers at a little less than 0.5 mile. Incredible.