geeksville 27dfe10689 Fix BLE logging on nrf52 (#4244)
* allow ble logrecords to be fetched either by NOTIFY or INDICATE ble types

This allows 'lossless' log reading.  If client has requested INDICATE
(rather than NOTIFY) each log record emitted via log() will have to fetched
by the client device before the meshtastic node can continue.

* Fix serious problem with nrf52 BLE logging.
When doing notifies of LogRecords it is important to use the
binary write routines - writing using the 'string' write won't work.
Because protobufs can contain \0 nuls inside of them which if being
parsed as a string will cause only a portion of the protobuf to be sent.
I noticed this because some log messages were not getting through.

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-07-07 06:50:47 -05:00
2024-06-16 20:41:23 +02:00
2024-06-22 08:49:55 -05:00
2024-07-05 09:03:45 -05:00
2024-07-03 18:02:20 -05:00
2021-10-09 17:15:12 +11:00
2024-07-07 06:50:47 -05:00
2023-01-21 21:23:24 +01:00
2024-03-06 16:23:04 -06:00
2022-11-26 16:03:17 +01:00
2022-11-20 16:14:32 +01:00
2023-01-21 21:23:24 +01:00
2023-10-09 22:30:02 +10:00

Meshtastic Firmware

GitHub release downloads CI CLA assistant Fiscal Contributors Vercel

Overview

This repository contains the device firmware for the Meshtastic project.

Stats

Alt

Languages
C++ 67.2%
C 30.9%
Python 1.1%
Shell 0.3%
Batchfile 0.3%
Other 0.1%