Commit graph

80 commits

Author SHA1 Message Date
Kevin Hester
98356b9205 fix autobug crash when primary channel is null 2021-03-17 15:37:09 +08:00
Kevin Hester
483bd878ab untested change to use new hwmodel 2021-03-14 11:42:04 +08:00
Kevin Hester
bd1885aaf2 region setting from android now kinda works 2021-03-04 10:28:56 +08:00
Kevin Hester
81e76bfc51 fix bugs found via simulator 2021-03-04 09:08:29 +08:00
Kevin Hester
e27a3d937d show alert for old firmware 2021-03-02 15:12:57 +08:00
Kevin Hester
1eaabfc216 fix java paths for protos 2021-02-27 13:43:55 +08:00
Kevin Hester
bd796524b9 channelset wip 2021-02-27 12:04:44 +08:00
Kevin Hester
0743feadc4 wip adding channelset 2021-02-27 11:44:05 +08:00
Kevin Hester
85a0ea7286 1.2 wip 2021-02-27 10:18:00 +08:00
Kevin Hester
3ec0c5fd32 fix lint warnings 2021-02-21 12:07:53 +08:00
Vadim Furman
2f7ce57015 Formatting 2021-02-13 22:02:24 -08:00
Vadim Furman
8a065c5b88 Per-channel minimum broadcast period enforcement 2021-02-12 19:07:14 -08:00
Vadim Furman
a8d095d1d7 Fixed swapped short <-> medium channel names 2021-02-12 17:40:47 -08:00
Vadim Furman
5ef6baef7a Merge 2021-02-06 22:08:49 -08:00
Vadim Furman
2d81acbee5 Added settings 2021-02-05 21:29:28 -08:00
Kevin Hester
7d846461e4 mock interface now pretty completely simulates a real device 2021-02-01 11:53:22 +08:00
Kevin Hester
6fbe63c0b7 use upper case for base of URL in QR code to simplify the image 2021-01-05 13:29:04 +08:00
Kevin Hester
6c85a4f12b fix #213 also use correct suffix for the new channel system 2021-01-05 12:35:41 +08:00
Kevin Hester
0f63835a7f get ready for the new short channelsettings 2020-12-14 21:30:00 +08:00
Kevin Hester
88b1ad5443 remove support for 0.8 version URLs (found while investigating #188) 2020-11-17 19:54:48 +08:00
geeksville
7c93d9b540 Fix unit test for the empty name case 2020-09-27 14:05:10 -07:00
Kevin Hester
36e96e1811
Merge branch 'master' into message-db 2020-09-27 13:05:33 -07:00
Gunter Tim
bd18a3aadd Always keep first character of long name when making short name from one word long names 2020-09-26 22:21:39 -07:00
Ludovic Goix
6ec16073c1 Added a debug panel
final
2020-09-26 21:56:52 -04:00
geeksville
c1cbf1e916 add trim to #162 so " " behavior stays same. 2020-09-17 12:03:27 -07:00
Gunter Tim
f413bea618 Make 3 character short names from long name when long name is only one word 2020-09-17 00:37:51 -07:00
geeksville
2fbd0a7a5e show url prefix for debugging 2020-09-08 12:05:19 -07:00
Ludovic Goix
0768ba086b Show network range setting when locked #138 2020-09-04 07:59:07 -04:00
geeksville
d2273b8d5b fix an autobug. Someone with a galaxy tab is trying to open the old
version of the URL.

Caused by java.net.MalformedURLException: Not a meshtastic URL
       at com.geeksville.mesh.model.Channel$Companion.urlToSettings(Channel.java:43)
       at com.geeksville.mesh.model.Channel$Companion.access$urlToSettings(Channel.java:19)
       at com.geeksville.mesh.model.Channel.<init>(Channel.java:50)
       at com.geeksville.mesh.MainActivity.perhapsChangeChannel(MainActivity.java:631)
       at com.geeksville.mesh.MainActivity.handleIntent(MainActivity.java:467)
       at com.geeksville.mesh.MainActivity.onNewIntent(MainActivity.java:447)
       at android.app.Activity.performNewIntent(Activity.java:7971)
       at android.app.Instrumentation.callActivityOnNewIntent(Instrumentation.java:1407)
       at android.app.Instrumentation.callActivityOnNewIntent(Instrumentation.java:1420)
       at android.app.ActivityThread.deliverNewIntents(ActivityThread.java:3838)
       at android.app.ActivityThread.handleNewIntent(ActivityThread.java:3850)
       at android.app.servertransaction.NewIntentItem.execute(NewIntentItem.java:53)
       at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
       at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2261)
       at android.os.Handler.dispatchMessage(Handler.java:107)
       at android.os.Looper.loop(Looper.java:237)
       at android.app.ActivityThread.main(ActivityThread.java:8107)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)
2020-08-29 19:07:29 -07:00
geeksville
8233f063ed fix hash 2020-08-13 15:24:36 -07:00
geeksville
bc5d6cf808 fix #86 the first message sent is duplicated bug 2020-08-12 12:48:43 -07:00
geeksville
93d4cd99fd show channel suffix per https://github.com/meshtastic/Meshtastic-device/issues/269 2020-08-12 12:33:04 -07:00
Kevin Hester
488c615a78
Merge pull request #127 from gkelly/channel-fragment
Put channel options into URL fragments
2020-08-11 11:28:58 -07:00
Garret Kelly
61c8d2d266 Put channel options into URL fragments
Put the channel options into the URL fragment instead of the URL path.
This ensures that the channel options (including the channel key) is
never accidentally leaked to a remote party. This URL format appears to
be backwards compatible, URLs generated in the new form are properly
parsed by the old version. URLs generated by the old version are _not_
parsed by the new version.

Closes #126.
2020-08-10 22:19:51 -04:00
Garret Kelly
5a03e0c78b Fix minor typo around default channel key 2020-08-10 21:20:55 -04:00
Ludovic Goix
4137f5e787 Fix bad connection status #84 2020-07-17 17:06:29 -04:00
Ludovic Goix
d822538c0e Display battery level of remote nodes #64 2020-07-01 08:28:06 -04:00
Ludovic Goix
45273f5a7d Make Channel options available 2020-06-14 00:11:08 -04:00
geeksville
6195874982 If user changes back to default channel, use the standard key 2020-06-12 20:38:43 -07:00
geeksville
aa3a8bf089 Add back AES256 key assignment (from TODO list) 2020-06-12 20:26:10 -07:00
geeksville
6a3a763f71 workaround a kotlin(?!) bug
// FIXME - possible kotlin bug in 1.3.72 - it seems that if we start with the (globally shared) emptyList,
// then adding items are affecting that shared list rather than a copy.   This was causing aliasing of
// recentDataPackets with messages.value in the GUI.  So if the current list is empty we are careful to make a new list
2020-06-04 08:53:37 -07:00
geeksville
9254a90774 add a min appVersion check, so devices can tell user when android app needs
update
2020-06-03 16:16:51 -07:00
geeksville
0b66d813ef message status icons approximately work - still a problem on first send though 2020-05-31 11:23:25 -07:00
geeksville
7506d712ff message status updates are coded but not yet tested. 2020-05-30 19:58:36 -07:00
geeksville
6031b5eaa0 clean up message API to/from mesh service, to allow clients to get
updates on message status
2020-05-30 15:55:47 -07:00
geeksville
38e7e8a783 oops - fix build - default channel name should never be localized 2020-05-29 14:16:16 -07:00
geeksville
05776c2593 fix warnings 2020-05-29 14:00:50 -07:00
geeksville
c1388d6bad firmware update button is kinda in 2020-05-13 17:00:23 -07:00
geeksville
34aa4cde05 if bluetooth was disabled when we started, reattempt device connect later 2020-04-20 09:56:38 -07:00
geeksville
4f24794001 wix warnings 2020-04-19 16:24:47 -07:00