Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update lastSentToPhone after sendTelemetry #2522

Merged
merged 1 commit into from
May 27, 2023

Conversation

GUVWAF
Copy link
Member

@GUVWAF GUVWAF commented May 27, 2023

Using a BME680, device was sending EnvironmentTelemetry every 35ms to the phone:

INFO | 16:55:07 57 Telling client we have new packets 356
INFO | 16:55:07 57 BLE notify fromNum
INFO | 16:55:07 57 getFromRadio=STATE_SEND_PACKETS
DEBUG | 16:55:07 57 phone downloaded packet (id=0x00e3a924 fr=0xd0 to=0xff, WantAck=0, HopLim=3 Ch=0x0 Portnum=67 rxtime=1685206507 priority=1)
DEBUG | 16:55:07 57 encoding toPhone packet to phone variant=2, 59 bytes
DEBUG | 16:55:07 57 [EnvironmentTelemetryModule] BME680 not updated, IAQ accuracy is 0 >= 3
INFO | 16:55:07 57 [EnvironmentTelemetryModule] (Sending): barometric_pressure=1020.400635, current=0.000000, gas_resistance=185.698456, relative_humidity=54.451454, temperature=21.815723, voltage=0.000000
INFO | 16:55:07 57 [EnvironmentTelemetryModule] Sending packet to phone
INFO | 16:55:07 57 Telling client we have new packets 357
INFO | 16:55:07 57 BLE notify fromNum
INFO | 16:55:07 57 getFromRadio=STATE_SEND_PACKETS
DEBUG | 16:55:07 57 phone downloaded packet (id=0x00e3a925 fr=0xd0 to=0xff, WantAck=0, HopLim=3 Ch=0x0 Portnum=67 rxtime=1685206507 priority=1)
DEBUG | 16:55:07 57 encoding toPhone packet to phone variant=2, 59 bytes
DEBUG | 16:55:07 57 [EnvironmentTelemetryModule] BME680 not updated, IAQ accuracy is 0 >= 3
INFO | 16:55:07 57 [EnvironmentTelemetryModule] (Sending): barometric_pressure=1020.400635, current=0.000000, gas_resistance=185.698456, relative_humidity=54.451454, temperature=21.815723, voltage=0.000000
INFO | 16:55:07 57 [EnvironmentTelemetryModule] Sending packet to phone
INFO | 16:55:07 57 Telling client we have new packets 358
INFO | 16:55:07 57 BLE notify fromNum
INFO | 16:55:07 57 getFromRadio=STATE_SEND_PACKETS
DEBUG | 16:55:07 57 phone downloaded packet (id=0x00e3a926 fr=0xd0 to=0xff, WantAck=0, HopLim=3 Ch=0x0 Portnum=67 rxtime=1685206507 priority=1)
DEBUG | 16:55:07 57 encoding toPhone packet to phone variant=2, 59 bytes
DEBUG | 16:55:07 57 [EnvironmentTelemetryModule] BME680 not updated, IAQ accuracy is 0 >= 3
INFO | 16:55:07 57 [EnvironmentTelemetryModule] (Sending): barometric_pressure=1020.400635, current=0.000000, gas_resistance=185.698456, relative_humidity=54.451454, temperature=21.815723, voltage=0.000000
INFO | 16:55:07 57 [EnvironmentTelemetryModule] Sending packet to phone
INFO | 16:55:07 57 Telling client we have new packets 359
INFO | 16:55:07 57 BLE notify fromNum
INFO | 16:55:07 57 getFromRadio=STATE_SEND_PACKETS
DEBUG | 16:55:07 57 phone downloaded packet (id=0x00e3a927 fr=0xd0 to=0xff, WantAck=0, HopLim=3 Ch=0x0 Portnum=67 rxtime=1685206507 priority=1)
DEBUG | 16:55:07 57 encoding toPhone packet to phone variant=2, 59 bytes
DEBUG | 16:55:07 57 [EnvironmentTelemetryModule] BME680 not updated, IAQ accuracy is 0 >= 3
INFO | 16:55:07 57 [EnvironmentTelemetryModule] (Sending): barometric_pressure=1020.400635, current=0.000000, gas_resistance=185.698456, relative_humidity=54.451454, temperature=21.815723, voltage=0.000000
INFO | 16:55:07 57 [EnvironmentTelemetryModule] Sending packet to phone

Using BME680, it was sending every 35ms
Copy link
Sponsor Member

@caveman99 caveman99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woopsie Daisy

@github-actions
Copy link
Contributor

🤖 Pull request artifacts

file commit
pr2522-firmware-2.1.14.fcf3b85.zip fcf3b85

thebentern added a commit to meshtastic/artifacts that referenced this pull request May 27, 2023
@thebentern thebentern merged commit 94f5c04 into meshtastic:master May 27, 2023
@GUVWAF GUVWAF deleted the BME680toPhone branch July 28, 2023 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants