The Meshtastic Node Map and the Where are you? Add your locations threads show that people want to connect with other people in their area. This would be easy with a public shared channel but currently we are limited to a single channel that we configure. In my opinion it would be a good idea to have a list of public channels people can join in their area to become part of a public mesh.
I think in the current stage it only makes sense for cities or areas where you have at least 3 or more nodes already on the map and the distance is close, so there is an actual chance of the nodes connecting.
This is a idee what iālike and what i was say also in the past, there should be some channel what is default for join, first for test and meet other person in him area ā¦ this bring also the project forward, if a user start with this project, maybe he can found fast some other member, and feel, yes this work ā¦ for that case its need, only two channels what is fix programming ā¦ āAreaā and āGlobalā
If you come with the device in range, you get automatic this messages in this channel ā¦ and if someone make new friendships, they will create there privat channel ā¦
And maybe in the APP will it be possible to create a channel and store and delete and small notiz for this channel ā¦ so you can qiuck join and leave and must not remember what was the privat channel.
A simple web service could keep a list of published geo centered channels.
Alternatively, if public or private channels could be identified over the radio link, the application layer could just keep a list of the public ones observed.
For example, bring up your radio for a while, and see whatās around you.
Good Idea. I did my first Meshtastic device a few days ago, and also Iām looking for public channels for example for test my device, and I found this thread. I donāt know, Iām very new with LoRa but Iām Android developer and ESP32 developer, maybe I could help to you with that, if you want.
@geeksville can you point me into a direction on how to generate the QR codes used by the app so I can generate them with another library? What is the exact format? Where can I look it up?
The rest of the string is a base64 encoding of the āChannelSettingsā protobuf bytes. For an example implementation see the code used for the --qr option in the command line python tool.
@property
def channelURL(self):
"""The sharable URL that describes the current channel
"""
bytes = self.radioConfig.channel_settings.SerializeToString()
s = base64.urlsafe_b64encode(bytes).decode('ascii')
return f"https://www.meshtastic.org/c/#{s}"
you can run it like this
meshtastic --qr
Connected to radio
Channel URL https://www.meshtastic.org/c/#GAMiAQE=
< graphical qr code here>
Does that help? (this is hopefully documented in mesh.proto but it might not be )
btw - the android version of this method is a little bit smarter. Because (apparently - I recently learned this). QR codes are more compact for uppercase encodings. So it makes the first part of the URL uppercase (the āpayloadā portion has to be mixed case of course because base64)
I wanted to bump this topic as I think it would help tremendously with testing purposes if there was a channel setting for āpublicā which would be a fixed channel url no matter what (think about channel 16 VHF). This would be great for areas like the bay area where people are living in different locations and would like to distance test (or just talk with other people without knowing what channel to be on). Could be used in variety of different applications such as backpacking where people donāt know each otherās channel codes but are trying to communicate.
I think the default channel settings could serve that purpose. In the latest versions of the android app on the channel screen there is now a button with a globe icon that says something like āSet to defaultā
Would the best practice be making the primary channel a meshtastic default unencrypted channel and then having a private/secondary encrypted channel for personal use for router nodes?
This way if anyone is roaming in an area thereās capability to communicate to all meshtastic users in an emergency?
besides encryption, other settings need to match in order to route traffic (frequency, bandwidth, etc, etc). so there is no ācapability to communicate to all meshtastic usersā by removing (or using the same) encryption alone.
also keep in mind multi-channel is still experimental.