2018年12月20日 星期四

change stm32_mmdvm_hs to usb mode work for bluedv



default you buy this rf board is gpio mode for raspberry,for now you can change to
usb mode for win7 /ubuntu work with blue dv or mmdvmhost +mmdvm .ini file

upgrade usb fw need raspberry and login in ssh mode in pi-star system
working for USB mode :

sudo service mmdvmhost stop
sudo pkill MMDVMHost
cd /tmp
sudo rm gpio.bin
sudo wget http://www.taozhengbo.com/usb.bin
sudo chmod 664 usb.bin
sleep 2
sudo pkill MMDVMHost
sudo pkill mmdvmhost.service
sudo stm32flash -v -w usb.bin -g 0x0 -R -i 20,-21,21:-20,21 /dev/ttyAMA0
echo "Rebooting Pi"
sleep 30
sudo reboot
working for GPIO mode :

sudo service mmdvmhost stop
sudo pkill MMDVMHost
cd /tmp
sudo rm gpio.bin
sudo wget http://www.taozhengbo.com/gpio.bin
sudo chmod 664 gpio.bin
sleep 2
sudo pkill MMDVMHost
sudo pkill mmdvmhost.service
sudo stm32flash -v -w gpio.bin -g 0x0 -R -i 20,-21,21:-20,21 /dev/ttyAMA0
echo "Rebooting Pi"
sleep 30
sudo reboot


2018年10月9日 星期二

MMDVM Main Board LAN To WAN wifi to AP Mode

default is ETH RJ45 is LAN Mode,Change it To WAN mode is More Stable ,ping is <10ms,wifi ping >20 ms.

wifi Change to AP Mode To Manage
Default SSID is MMDVM no passwork


nano /etc/config/network

---------------------------------------------
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'

config globals 'globals'
option ula_prefix 'fd2e:2f55:5a3f::/48'

config interface 'lan'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.85.1'
option netmask '255.255.255.0'
option ip6assign '60'
option ifname 'radio0'

config device 'lan_dev'
option name 'eth0'
option macaddr '40:d6:3c:03:17:3b'

config switch
option name 'switch0'
option reset '1'
option enable_vlan '0'

config interface 'wwan'
option proto 'dhcp'
option ifname 'eth0'

option hostname 'mmdvmwan'
-----------------------------------------------

nano /etc/config/wireless
------------------------------------------------

config wifi-device 'radio0'
option type 'mac80211'
option hwmode '11g'
option path 'platform/10300000.wmac'
option country '00'
option legacy_rates '1'
option disabled '0'
option channel '7'
option htmode 'HT40'

config wifi-iface
option network 'lan'
option device 'radio0'
option mode 'ap'
option key '13902982913'
option wmm '0'
option ssid 'MMDVM'
option encryption 'none'

------------------------------------------
OPTION  Enable ACCESS WAN web config
nano /etc/config/firewall
--------------------------------------------
config zone
option name 'wan'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'
option input 'ACCEPT'

option network 'wan wan6 wwan'


2018年9月13日 星期四

JumboSPOT Quick Start Setup List

1.Power your JumboSPOT wait 3-4 minutes
2.Connect JumboSPOT 's AutoAP wifi
3.Login and Set wifi Configure input your home ssid and pass
3.setting according List below

4.Set DMR Radio Channel and ID CC FREQ
5.Open Your need MODE P25/YSF/DSTAR/NXDN and set server

MMDVM Main Restore Default Update System File


if you click MMDVM mainboard restore
you need update system file or you can't find set Menu
first you must set wifi connect your home ssid



pi-star 3.4.16 mmdmv.ini file

[General]
Callsign=BGXXX
Id=4600555
Timeout=240
Duplex=0
RFModeHang=300
NetModeHang=300
Display=OLED
Daemon=1

[Info]
RXFrequency=439600000
TXFrequency=439600000
Power=1
Latitude=50.00
Longitude=-3.00
Height=0
Location="Town, L0C4T0R"
Description="Country"
URL=http://www.mw0mwz.co.uk/pi-star/

[Log]
DisplayLevel=0
FileLevel=2
FilePath=/var/log/pi-star
FileRoot=MMDVM

[CW Id]
Enable=0
Time=10

[DMR Id Lookup]
File=/usr/local/etc/DMRIds.dat
Time=24

[NXDN Id Lookup]
File=/usr/local/etc/NXDN.csv
Time=24

[Modem]
Port=/dev/ttyAMA0
TXInvert=1
RXInvert=0
PTTInvert=0
TXDelay=100
RXOffset=550
TXOffset=550
DMRDelay=0
RXLevel=50
TXLevel=50
RXDCOffset=0
TXDCOffset=0
RFLevel=100
CWIdTXLevel=50
D-StarTXLevel=50
DMRTXLevel=50
YSFTXLevel=50
P25TXLevel=50
NXDNTXLevel=50
POCSAGTXLevel=50
RSSIMappingFile=/usr/local/etc/RSSI.dat
Trace=0
Debug=0

[Transparent Data]
Enable=0
RemoteAddress=127.0.0.1
RemotePort=40094
LocalPort=40095

[UMP]
Enable=0
Port=/dev/ttyACM1

[D-Star]
Enable=1
Module=B
SelfOnly=1
AckReply=1
AckTime=750
ErrorReply=1
RemoteGateway=0
ModeHang=20

[DMR]
Enable=0
Beacons=0
BeaconInterval=60
BeaconDuration=3
ColorCode=1
SelfOnly=1
EmbeddedLCOnly=0
DumpTAData=1
CallHang=3
TXHang=4
ModeHang=20

[System Fusion]
Enable=1
LowDeviation=0
SelfOnly=1
TXHang=4
RemoteGateway=0
ModeHang=20

[P25]
Enable=0
NAC=293
SelfOnly=1
OverrideUIDCheck=0
RemoteGateway=0
ModeHang=20

[NXDN]
Enable=0
RAN=1
RemoteGateway=0
SelfOnly=1
ModeHang=20

[POCSAG]
Enable=0
Frequency=439987500

[D-Star Network]
Enable=1
GatewayAddress=127.0.0.1
GatewayPort=20010
LocalPort=20011
Debug=0
ModeHang=20

[DMR Network]
Enable=0
Address=87.117.229.173
Port=62031
Local=62032
Jitter=360
Password=passw1rd
Slot1=0
Slot2=1
Debug=0
ModeHang=20

[System Fusion Network]
Enable=1
LocalAddress=127.0.0.1
LocalPort=3200
GatewayAddress=127.0.0.1
GatewayPort=4200
Debug=0
ModeHang=20

[P25 Network]
Enable=0
GatewayAddress=127.0.0.1
GatewayPort=42020
LocalPort=32010
Debug=0
ModeHang=20

[NXDN Network]
Enable=0
LocalAddress=127.0.0.1
LocalPort=14021
GatewayAddress=127.0.0.1
GatewayPort=14020
Debug=0
ModeHang=20

[POCSAG Network]
Enable=0
LocalAddress=127.0.0.1
LocalPort=3800
GatewayAddress=127.0.0.1
GatewayPort=4800
ModeHang=5
Debug=0

[TFT Serial]
Port=/dev/ttyAMA0
Brightness=50

[HD44780]
Rows=2
Columns=16
Pins=11,10,0,1,2,3
I2CAddress=0x20
PWM=0
PWMPin=21
PWMBright=100
PWMDim=16
DisplayClock=1
UTC=0

[Nextion]
Port=/dev/ttyAMA0
Brightness=50
DisplayClock=1
UTC=0
ScreenLayout=0
IdleBrightness=20

[OLED]
Type=3
Brightness=0
Invert=0
Scroll=0

[LCDproc]
Address=localhost
Port=13666
DimOnIdle=0
DisplayClock=1
UTC=0

What is Auto AP and how do I use it? only support 3.4.16 and newer

Auto AP mode is designed to provide a setup wifi for you to connect to, if your Pi-Star device is not already on a network.

If Pi-Star does not detect a known wifi network within approximately the first 2 minutes of booting up, it will create its own wifi called Pistar-Setup. 

Using your computer/phone, you can then connect to the Pistar-Setup wifi. The password for this network is: raspberry

Once you have connected to the Pistar-Setup wifi, you will be able to pull up the dashboard. Make your wifi configuration changes. Save them, and reboot Pi-Star. It will not access the new network until you reboot.



how to update rtq hs hostpot duplex firmware from pi-star ssh


for RTQ STM32_DVM HS
sudo pistar-mmdvmhshatflash hs_hat

for DUPLEX_HS
sudo pistar-mmdvmhshatflash hs_dual_hat