Commit Graph

64 Commits

Author SHA1 Message Date
geeksville
cc01bc8f72 generate a clear error message if someone sends before we have nodedb 2020-09-11 12:35:43 -07:00
geeksville
2896073982 fix example code 2020-09-11 12:08:06 -07:00
geeksville
6942677b85 1.0.2 update example and handle serial disconnection gracefully 2020-09-11 11:08:16 -07:00
geeksville
cb6f7097c2 fix #12 "meshtastic --sendtext fish --dest '!2462abf84098'" now works 2020-09-08 09:58:23 -07:00
Jm Casler
69eac1a6d0 Update __main__.py 2020-08-31 21:10:34 -07:00
geeksville
331b83a95d fix #8 - set packet IDs 2020-08-18 15:25:43 -07:00
geeksville
0c9c8bca57 Fix #7: Properly decode OPAQUE binary packets...
and add binary sending to the integration tests
2020-08-11 18:16:57 -07:00
geeksville
9da57e2d12 0.9.1 make it possible to see seriallog while sending text commands
for https://github.com/meshtastic/Meshtastic-python/issues/5
2020-08-02 13:20:17 -07:00
geeksville
2800366319 update to latest protos 2020-07-05 22:10:02 -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
2c82e5f420 remove elipsis 2020-06-26 15:58:02 -07:00
geeksville
995f1fdce0 don't complain about nodes with no user 2020-06-26 15:50:10 -07:00
geeksville
8fe323f7fe allow passing multiple --setpref args in a single run 2020-06-26 15:42:48 -07:00
geeksville
cb4ec62662 oops sorry @nicetechguy, fix #2. in scripting languages without static
validation, gotta check all execution paths before checking in ;-)
2020-06-17 19:34:53 -07:00
geeksville
8ff5fc0e4c Fix #2 - update nodedb when we receive user or permission 2020-06-17 17:16:55 -07:00
geeksville
5908902e46 send wakeup chars to wake sleeping devices before talking to them
per https://github.com/meshtastic/Meshtastic-device/issues/115
2020-06-10 15:37:23 -07:00
geeksville
e2a037ef1e add --noproto option for not using the protocol at all 2020-06-09 18:19:37 -07:00
geeksville
747328c8f7 Updates to work with 32 bit nodenums 2020-06-06 13:12:40 -07:00
geeksville
830338b20b allow devices to veto this app if we are too old 2020-06-06 11:53:19 -07:00
geeksville
31b52d26c3 update protobufs 2020-06-06 10:12:44 -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
geeksville
8a195430b9 don't accidentally open segger jlink devices 2020-05-21 21:29:38 -07:00
geeksville
f73dea44b6 cope with nodes that don't have positions 2020-05-21 21:15:19 -07:00
geeksville
1be79f1d63 add note saying BLE is not ready for prime time. 2020-05-20 17:18:00 -07:00
geeksville
97017c3a99 defalt to reliable msgs 2020-05-20 17:03:49 -07:00
geeksville
54a64d18c5 stress testing new reliable messaging 2020-05-19 15:50:37 -07:00
geeksville
7307a3c716 auto decode text payloads 2020-05-19 15:23:52 -07:00
geeksville
6d3c34878b fix db updates 2020-05-12 18:16:35 -07:00
geeksville
0f6f791d14 fix --info 2020-05-12 17:38:56 -07:00
geeksville
39872ee86b put BLE experiment on back burner 2020-05-12 17:20:12 -07:00
geeksville
8af99477bb begin BLE support 2020-05-12 13:54:11 -07:00
geeksville
bfa2d97e43 support new protobufs 2020-05-12 11:00:11 -07:00
geeksville
53e9fae39f update protos 2020-05-04 21:26:35 -07:00
geeksville
5617d7f808 make --sendtext command work 2020-05-03 20:32:54 -07:00
geeksville
dbbf14c4bf add commandline option for setting radio configs 2020-05-03 20:14:11 -07:00
geeksville
8254a2b481 add -info option that prints device information about the node 2020-05-03 19:35:26 -07:00
geeksville
06a00e317b stop wrapping messages in DotMap, some users might not want that 2020-05-03 18:36:24 -07:00
geeksville
56bf66c926 allow even longer for busy networks 2020-05-02 20:11:59 -07:00
geeksville
ae9bac9f1a stress test updates 2020-05-02 18:56:47 -07:00
geeksville
948196c38f provide interface as an optional parameter on publishes 2020-05-02 18:56:36 -07:00
geeksville
9fe09a4159 if a test fails exit the entire framework 2020-05-02 08:58:37 -07:00
geeksville
f4bdc07c22 use thread for testing 2020-05-01 22:48:33 -07:00
geeksville
6df00038bc basic stress tester 2020-05-01 19:28:01 -07:00
geeksville
74d134d96a update protobufs 2020-04-30 22:15:05 -07:00
geeksville
9f453d69d2 doc fix 2020-04-28 19:13:14 -07:00
geeksville
b6f05ea940 detect when device reboots 2020-04-28 17:44:26 -07:00
geeksville
d9afd1e750 fix examples 2020-04-28 17:14:28 -07:00
geeksville
219838ffd0 link to pypi repo 2020-04-28 17:02:02 -07:00
geeksville
e0ad07a891 docs update 2020-04-28 15:10:31 -07:00
geeksville
bbbd33e292 add first cut at docs 2020-04-28 14:51:39 -07:00