From a93e8bbf033f6e2e1f70f4ecdf076120e3307f75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Sun, 11 Dec 2022 22:37:56 +0100 Subject: [PATCH 1/3] Adjust to new url scheme --- docs/configuration/remote-admin.mdx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/configuration/remote-admin.mdx b/docs/configuration/remote-admin.mdx index 2ba4050d..238c21c8 100644 --- a/docs/configuration/remote-admin.mdx +++ b/docs/configuration/remote-admin.mdx @@ -29,8 +29,8 @@ $ meshtastic --info Connected to radio ... Channels: - PRIMARY psk=default { "modemConfig": "Bw125Cr48Sf4096", "psk": "AQ==" } -Primary channel URL: https://www.meshtastic.org/d/#CgUYAyIBAQ + PRIMARY psk=default { "psk": "AQ==" } +Primary channel URL: https://meshtastic.org/e/#CgMSAQESCggBOANAA0gBUBs ``` So from this output you see can that this node knows about only one channel and that its PSK is set to the default value. @@ -55,10 +55,10 @@ $ meshtastic --info Connected to radio ... Channels: - PRIMARY psk=default { "modemConfig": "Bw125Cr48Sf4096", "psk": "AQ==" } - SECONDARY psk=secret { "psk": "HW7E3nMbiNbvr6MhsDonLCmj7eSAhttzjbIx/r5OQmg=", "name": "admin" } -Primary channel URL: https://www.meshtastic.org/d/#CgUYAyIBAQ -Complete URL (includes all channels): https://www.meshtastic.org/d/#CgUYAyIBAQopIiAdbsTecxuI1u-voyGwOicsKaPt5ICG23ONsjH-vk5CaCoFYWRtaW4 + PRIMARY psk=default { "psk": "AQ==" } + SECONDARY psk=secret { "psk": "YyDCitupTAOOXTcaMDxyNhDpPa3eThiQFziPFCqT0mo=", "name": "admin" } +Primary channel URL: https://meshtastic.org/e/#CgMSAQESCggBOANAA0gBUBs +Complete URL (includes all channels): https://meshtastic.org/e/#CgMSAQEKKRIgYyDCitupTAOOXTcaMDxyNhDpPa3eThiQFziPFCqT0moaBWFkbWluEgoIATgDQANIAVAb ``` Notice that now we have a new secondary channel and the `--info` option prints out TWO URLs. The `Complete URL` includes all of the channels this node understands. The URL contains the preshared keys and should be treated with caution and kept a secret. When deploying remote administration, you only need the node you want to administer and the node you are locally connected to know this new "admin" channel. All of the other nodes will forward the packets as long as they are a member of the primary channel. @@ -130,10 +130,10 @@ Set ls_secs to 301 Writing modified preferences to device Preferences: { "lsSecs": 301, "region": "TW" } Channels: - PRIMARY psk=default { "modemConfig": "Bw125Cr48Sf4096", "psk": "AQ==" } - SECONDARY psk=secret { "psk": "HW7E3nMbiNbvr6MhsDonLCmj7eSAhttzjbIx/r5OQmg=", "name": "admin" } -Primary channel URL: https://www.meshtastic.org/d/#CgUYAyIBAQ -Complete URL (includes all channels): https://www.meshtastic.org/d/#CgUYAyIBAQopIiAdbsTecxuI1u-voyGwOicsKaPt5ICG23ONsjH-vk5CaCoFYWRtaW4 + PRIMARY psk=default { "psk": "AQ==" } + SECONDARY psk=secret { "psk": "YyDCitupTAOOXTcaMDxyNhDpPa3eThiQFziPFCqT0mo=", "name": "admin" } +Primary channel URL: https://meshtastic.org/e/#CgMSAQESCggBOANAA0gBUBs +Complete URL (includes all channels): https://meshtastic.org/e/#CgMSAQEKKRIgYyDCitupTAOOXTcaMDxyNhDpPa3eThiQFziPFCqT0moaBWFkbWluEgoIATgDQANIAVAb ``` ## Admin Channel Setup is Complete From c9b2af92ae820f6e40ca8f1da38c51702468ee8e Mon Sep 17 00:00:00 2001 From: Foster Irwin Date: Mon, 12 Dec 2022 22:14:37 -0700 Subject: [PATCH 2/3] css fix for social icons on lg and smaller screens --- src/pages/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 2fa97ebf..357f09f8 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -204,7 +204,7 @@ function Home() { ))} -
+

Connect with us.

{SocialCards.map((card, index) => ( From 0017c36ec44fb24a2195958d25fa037c62305c5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Wed, 14 Dec 2022 09:03:27 +0100 Subject: [PATCH 3/3] Update docs on audio module. Still WIP, so YMMV --- docs/configuration/module-config/audio.mdx | 48 ++++++++++++++-------- 1 file changed, 31 insertions(+), 17 deletions(-) diff --git a/docs/configuration/module-config/audio.mdx b/docs/configuration/module-config/audio.mdx index f77cbbc4..16ca2184 100644 --- a/docs/configuration/module-config/audio.mdx +++ b/docs/configuration/module-config/audio.mdx @@ -8,9 +8,9 @@ sidebar_label: Audio import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; -The audio module config options are: Codec2 Enabled, Microphone ADC Channel, Speaker PWM GPIO, PTT GPIO, Audio Bitrate/Codec Mode. Audio Module config uses an admin message sending a `ConfigModule.Audio` protobuf. +The audio module config options are: Codec2 Enabled, PTT GPIO, Audio Bitrate/Codec Mode, I2S Word Select, I2S Data IN, I2S Data OUT and I2S Clock. Audio Module config uses an admin message sending a `ConfigModule.Audio` protobuf. -With this **experimental** module, you can add a microphone and speaker to any ESP32 device that has a SX128x radio and operates on the 2.4 GHz ISM Band. The Sub-1GHz bands are not wide enough to support continuous audio packets on the mesh, even in the Short and Fast modes. Right now, the only device supported is the LilyGo TLora 2.1-1.8 board. +With this **experimental** module, you can add a digital I2S microphone and speaker to any ESP32 device that has a SX128x radio and operates on the 2.4 GHz ISM Band. The Sub-1GHz bands are not wide enough to support continuous audio packets on the mesh, even in the Short and Fast modes. Right now, the only device supported is the LilyGo TLora 2.1-1.8 board. ## Audio Module Config Values @@ -18,14 +18,6 @@ With this **experimental** module, you can add a microphone and speaker to any E Enables the audio module. -### Microphone ADC Channel - -The ADC channel to use for the microphone. The default is 6 which maps to GPIO 34 on the ESP32. - -### Speaker PWM GPIO - -The GPIO to use for the speaker. The default is GPIO 14 on the ESP32. - ### PTT GPIO The GPIO to use for the Push-To-Talk button. The default is GPIO 39 on the ESP32. @@ -44,6 +36,26 @@ The bitrate to use for audio. The default is `CODEC2_700B`. The available option * CODEC2_700B * CODEC2_700 +### I2S Word Select + +The GPIO to use for the WS signal in the I2S interface. + +### I2S Data IN + +The GPIO to use for the SD signal in the I2S interface. + +### I2S Data OUT + +The GPIO to use for the DIN signal in the I2S interface. + +### I2S Clock + +The GPIO to use for the SCK signal in the I2S interface. + +:::info What is this? +These Pins comprise an I2S digital audio interface. Meshtastic uses it in monoaural mode. The software will use the logical 'LEFT' Stereo channel for the microphone and the logical 'RIGHT' Stereo channel for the speaker, so configure your breakouts accordingly. Audio is Half-Duplex, so we can re-use part of the pins for a bi-directional configuration. There's __no__ default pin assigment, setting these is mandatory. +::: + ## Audio Module Config Client Availability