Commit Graph

57 Commits

Author SHA1 Message Date
Kevin Hester
6da04f7a15 Merge branch 'pr-bletweak' into pr-powermon
# Conflicts:
#	.vscode/launch.json
2024-06-30 13:03:33 -07:00
Ian McEwen
4f1ea5b7da Merge pull request #616 from meshtastic/ble-logging
Adds support for ble logging characteristic
2024-06-30 09:33:05 -07:00
Kevin Hester
a04b3498b3 make specifying an argument to --seriallog optional
thanks @ianmcorvidae for telling me about the cool nargs='?' option!
2024-06-30 06:54:29 -07:00
Kevin Hester
5c2851db85 nargs='?' is awesome! get rid of ble_dest. 2024-06-30 06:46:39 -07:00
Kevin Hester
13ca8fd681 debug launch configs 2024-06-30 06:31:09 -07:00
Kevin Hester
42236f2de8 Merge branch 'ble-logging' into pr-powermon
# Conflicts:
#	poetry.lock
#	pyproject.toml
2024-06-29 15:59:03 -07:00
Kevin Hester
898018ebf3 yay Bleak works again on Linux! 2024-06-29 13:52:46 -07:00
Kevin Hester
dc50a60b01 BLE debugging 2024-06-29 09:35:42 -07:00
Kevin Hester
6df89f54a7 fix BLE scan with latest Bleak 2024-06-29 09:10:20 -07:00
Kevin Hester
119be81000 PowerStress WIP 2024-06-27 16:37:58 -07:00
Kevin Hester
231bc25255 PPK2 based power measurements seem to approximately work 2024-06-25 15:19:21 -07:00
Kevin Hester
ff20ad5d05 group power options in --help. add --power-wait to support some boards 2024-06-25 13:48:14 -07:00
Kevin Hester
8d94458e55 flake8 has different settings than trunk, don't confict in vscode 2024-06-25 11:02:58 -07:00
Kevin Hester
9cdfde47ec store slogs in correct default directory (OS dependent) 2024-06-25 10:27:35 -07:00
Kevin Hester
7ce7d73e89 Switch from pandas to apache arrow for live data logging (better streaming) 2024-06-25 10:26:45 -07:00
Kevin Hester
43e1f65a75 "python" is deprecated vscode now wants "pydebug" 2024-06-25 10:26:45 -07:00
Kevin Hester
26a672ed58 ppk2 tweaks 2024-06-25 10:26:45 -07:00
Kevin Hester
ea18057c1f Add support for NRF PPK2 power testing board. 2024-06-25 10:26:44 -07:00
Kevin Hester
6c0e978470 debugging config tweaks 2024-06-25 10:25:58 -07:00
Kevin Hester
0e45637f2c generalize the powermon stuff to become structured logging 2024-06-25 10:21:11 -07:00
Kevin Hester
cc60f3ebc0 begin support for multiple power meter types 2024-06-25 10:21:11 -07:00
Kevin Hester
62f16d34d4 fix BLE scan and connect to work with latest bleak 2024-06-23 11:56:44 -07:00
Kevin Hester
b41cb7d8df Merge branch 'pr-poetry' into powermon 2024-06-22 10:49:42 -07:00
Ben Meadors
a1ffb459f8 Added command to listen to protobuf stream 2024-03-08 14:16:02 -06:00
Wolfgang Nagele
0a8a193081 BLE Support 2024-01-15 21:33:53 +01:00
Ben Meadors
bde5db9c51 Fixed ch-set command in setPref 2022-08-27 08:14:48 -05:00
Ben Meadors
4965ec7f1d Missed some spots 2022-08-15 20:54:11 -05:00
Ben Meadors
b548700c0b Only write single config 2022-08-11 12:43:41 -05:00
Ben Meadors
ff94ad968c 100ms delays to prevent overloading the serial 2022-07-02 14:41:09 -05:00
Ben Meadors
06b5b8fa83 It works, I think 2022-06-29 20:01:48 -05:00
Ben Meadors
4b95b0ff30 Module config progress 2022-06-29 18:35:06 -05:00
Ben Meadors
032072d2f3 Started on set 2022-06-19 09:55:09 -05:00
Ben Meadors
ce7b1d9916 Get preferences now working 2022-06-19 08:17:28 -05:00
iz1kga
a69a8b460e nodeDB Update, SNR, Hoplimit, LastHeard and added lastReceived 2021-05-12 08:54:36 +02:00
Kevin Hester
fb31da48a9 add support for creating admin channels 2021-03-12 20:19:50 +08:00
Kevin Hester
26c4715ac9 more remote node support 2021-03-11 11:11:27 +08:00
Kevin Hester
af94824bca fix #65 missing padding on seturl 2021-03-10 11:01:07 +08:00
Kevin Hester
954963cf23 fix #63: show help menu by default 2021-03-10 10:49:31 +08:00
Kevin Hester
9c1232be79 1.1.33 Improve channel/device settings support
Allow setting to arbitrary byte arrays by preceding the string with 0x
for things like

meshtastic --setchan psk 0x1a1a1a1a2b2b2b2b1a1a1a1a2b2b2b2b1a1a1a1a2b2b2b2b1a1a1a1a2b2b2b2b --info
2021-01-29 09:51:56 +08:00
Kevin Hester
8c4d48b956 add beginnings of tunnel code #35 2020-12-23 12:05:08 +08:00
Kevin Hester
3645cff97e fix problems found in sanity test 2020-12-09 09:41:49 +08:00
Kevin Hester
1f91f541ef add sanity prerelease tests 2020-12-09 09:21:41 +08:00
Kevin Hester
b63da8dd61 send positions using the new API 2020-12-06 09:27:14 +08:00
geeksville
dd45429576 fix #20 - allow setting binary arrays (i.e. psk) with strings of hex digits 2020-09-18 10:05:49 -07:00
geeksville
be8c654eea 1.0.5 fix #14, let users set bool,float or string params.
Example usage:

Or to configure an ESP32 based board to join a wifi network as a station (wifi support in the device code is coming soon):

```
meshtastic --set wifi_ap_mode false --setstr wifi_ssid mywifissid --setstr wifi_password mywifipsw
```

Or to configure an ESP32 to run as a Wifi access point:

```
meshtastic --set wifi_ap_mode true --setstr wifi_ssid mywifissid --setstr wifi_password mywifipsw
```
2020-09-15 09:28:54 -07:00
geeksville
32f3c504d9 0.7.9 add sendPosition(lat, lng, alt) method also...
Use this method for the --settime command line flag - which sets the device
time to be the same as the local computers time (in UTC)

    def sendPosition(self, latitude=0.0, longitude=0.0, altitude=0, timeSec=0, destinationId=BROADCAST_ADDR, wantAck=False, wantResponse=False):
        """
        Send a position packet to some other node (normally a broadcast)

        Also, the device software will notice this packet and use it to automatically set its notion of
        the local position.

        If timeSec is not specified (recommended), we will use the local machine time.
        """
2020-07-05 12:01:35 -07:00
geeksville
8fe323f7fe allow passing multiple --setpref args in a single run 2020-06-26 15:42:48 -07:00
geeksville
33aa9425af debugging improvements 2020-06-17 17:16:25 -07:00
geeksville
79bf22c925 show debug output when running tests 2020-05-25 14:09:38 -07:00
geeksville
94175874f0 0.5.4 optionally add want_response to text message sends (see example):
meshtastic --debug --sendtext hello

attn @claesg
2020-05-22 10:57:54 -07:00