The phonetic in spanish changed, for example, Mike in spanish are best "Maik"
search this lines to see how modify:
else if (c == 'M'){
strcat(voice," Maik ");
I put all operations in RAMDISK to no write or read on SD card, create a simple bash to execute before MMDVMHost to create a small ramdisk of 120K (or minor)
#!/bin/bash
sudo mkdir -p /ram
sudo mount -t tmpfs -o size=120k tmpfs /ram
sudo touch /ram/mm_voice.sh
sudo chmod 777 /ram/mm_voice.sh
Now Nextion Screen is more complex, all development are made and tested into a Raspberry Pi and use some routines of this hardware. It's possible that only work in Rpi and not in Orange Pi or similar
@ -38,10 +82,12 @@ At this time displays:
Some extra information:: Locator, City and Frequency.
Real IP number at startup od Pi, etho or wlan detects. Temperature of Raspberry Pi. Real time Smeter for MMDVM Modems that outs RSSI information (MMDVM modes with radios as Motorola,for example) Fake Smeters for the rests of types (DVMEGA,HS_HAT,etc) Change of colors in sequence Idle/RX/TX of Hotspot. Talker Alias display of information send by master. Decode of TG number and display of picture associated to this TG. Now TG's are the EA most used. Decode of Callsign Prefix and display of picture associated to this Prefix.Now are the EA,EB & EC prefix Decode of 9990 and 4000 commands also displaying pictures Decode of own callsign and display of own picture. Remote Reboot and Shutdown of Pi eligible by sysop via DMR
Real IP number at startup of Pi, etho or wlan detects. Temperature of Raspberry Pi. Real time Smeter for MMDVM Modems that outs RSSI information (MMDVM modes with radios as Motorola,for example) Fake Smeters for the rests of types (DVMEGA,HS_HAT,etc) Change of colors in sequence Idle/RX/TX of Hotspot. Talker Alias display of information send by master. Decode of TG number and display of picture associated to this TG. Now TG's are the EA most used. Decode of Callsign Prefix and display of picture associated to this Prefix.Now are the EA,EB & EC prefix Decode of 9990 and 4000 commands also displaying pictures Decode of own callsign and display of own picture. Remote Reboot and Shutdown of Pi eligible by sysop via DMR
Install & Run:
For Nextion Displays:
New entry in MMDVM.ini for path to config files in Nextion section: FilesConfig=/home/pi/MMDVMHost/etc/
You have now 6 config files (work in progress to put in only one), don't comment or delete any line, the code are simple and need to end with a C/R line to EOF
@ -76,42 +122,18 @@ Remember that any change in tg.ini are needed to change in the Nextion Screen an
You control if the remote is active when 1 or deactivate when 0 into ctrl.ini
99998 are Shutdown TG to transmit to shutdown the Pi 99999 are Reboot TG to transmit to reboot the Pi TG number to change mode to dmrplus network TG number to change mode to DmrGateway mode TG number to change mode to BrandMeister network
99998 are Shutdown TG to transmit to shutdown the Pi
99999 are Reboot TG to transmit to reboot the Pi
99997 Send mm_plus command to start a new MMDDVMHost in dmrplus mode (mm_plus is an script file)
99996 Send mm_gate command to start a new MMDDVMHost in DMRGateway mode (mm_gate is an script file)
99995 Send mm_BM command to start a new MMDDVMHost in BrandMeister mode (mm_BM is an script file)
99990 Wifi OFF
99991 Wifi ON
Only the Owner callsign are allowed to TX into those TG to activate functions.
New TTS (Text To Speech) callsigns via Festival
Installation in Raspberry Pi:
sudo apt-get install festival
Default voices are english, if you want spanish voices install packages for Guadalinex: https://github.com/guadalinex-archive/hispavoces
@ -121,7 +143,7 @@ If Duplex are = 0 the Layout are change to HotSpot mode
The mods are made with a personal HotSpot in mind. DVMega, MMDVM_HS, low cost or ZumSpot are best candidates.
This code works with DMR SlotTime 2 only, all Slot 1 info are pulled out.
This code works with DMR SlotTime 2 only, all Slot 1 info are pulled out when are in simplex.
The Talker Alias, IP number and Temperature for Raspberry Pi are added. In Orange Pi the code for temperature works with small changes.
If no temperature file are read, Temp don't display.
@ -132,54 +154,18 @@ All TG codes are easy to change into OLED.cpp
Example TG codes:
4000 display a broken chains logo, 9990 display a parrot logo, 9 or 8 displays a DmrPlus logo into tx/rx screen, 6 displays a XLX logo any other TG display a BrandMeister Logo.
4000 display a broken chains logo
9990 display a parrot logo
9 or 8 displays a DmrPlus logo into tx/rx screen
6 displays a XLX logo
any other TG display a BrandMeister Logo.
Code also have a small remote command to shutdown,reboot and change modes of operation, simply when TX into a determined TG number:
9999 Reboot Raspberry
9998 Shutdown Raspberry
9997 Send mm_plus command to start a new MMDDVMHost in dmrplus mode (mm_plus is an script file)
9996 Send mm_gate command to start a new MMDDVMHost in DMRGateway mode (mm_gate is an script file)
9995 Send mm_BM command to start a new MMDDVMHost in BrandMeister mode (mm_BM is an script file)
9990 Put Wifi OFF
9991 Put Wifi ON
New TTS (Text To Speech) callsigns via Festival
Installation in Raspberry Pi:
sudo apt-get install festival
Default voices are english, if you want spanish voices install packages for Guadalinex: