[v1.7.0] Add support for IC880A Board

This commit is contained in:
BlubbFish 2019-01-29 17:09:45 +00:00
parent e54d8b6c45
commit 73efe37c61
18 changed files with 118 additions and 93 deletions

View File

@ -31,9 +31,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationManifest>app.manifest</ApplicationManifest>
</PropertyGroup>
<PropertyGroup />
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
@ -82,9 +80,6 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="app.manifest">
<SubType>Designer</SubType>
</None>
<None Include="config-example\scral.conf.example">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>

View File

@ -10,7 +10,7 @@ using System.Runtime.InteropServices;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("LoraDisplay")]
[assembly: AssemblyCopyright("Copyright © 2018 - 10.10.2018")]
[assembly: AssemblyCopyright("Copyright © 2018 - 29.01.2018")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
@ -32,8 +32,8 @@ using System.Runtime.InteropServices;
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.6.2")]
[assembly: AssemblyFileVersion("1.6.2")]
[assembly: AssemblyVersion("1.7.0")]
[assembly: AssemblyFileVersion("1.7.0")]
/*
* 1.1.0 Update Scral addresses
* 1.2.0 Run Module Events in threads so that one Module can not block others, TXTOut now appends to the logfile
@ -44,5 +44,6 @@ using System.Runtime.InteropServices;
* 1.5.1 Dependencies in debian Packet cleaned
* 1.6.0 Implement Height in LoraBot
* 1.6.1 Fixing parsing bug with linebreaks in Lora
* 1.6.2 Adding a Test for Lora Binary
* 1.6.2 Adding a test for LoraBinary
* 1.7.0 Adding IC800A Lora-Reciever
*/

View File

@ -1,76 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<!-- UAC-Manifestoptionen
Wenn Sie die Ebene der Benutzerkontensteuerung für Windows ändern möchten, ersetzen Sie den
Knoten "requestedExecutionLevel" wie folgt.
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
Durch Angabe des Elements "requestedExecutionLevel" wird die Datei- und Registrierungsvirtualisierung deaktiviert.
Entfernen Sie dieses Element, wenn diese Virtualisierung aus Gründen der Abwärtskompatibilität
für die Anwendung erforderlich ist.
-->
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- Eine Liste der Windows-Versionen, unter denen diese Anwendung getestet
und für die sie entwickelt wurde. Wenn Sie die Auskommentierung der entsprechenden Elemente aufheben,
wird von Windows automatisch die kompatibelste Umgebung ausgewählt. -->
<!-- Windows Vista -->
<!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />-->
<!-- Windows 7 -->
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />-->
<!-- Windows 8 -->
<!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />-->
<!-- Windows 8.1 -->
<!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />-->
<!-- Windows 10 -->
<!--<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />-->
</application>
</compatibility>
<!-- Gibt an, dass die Anwendung mit DPI-Werten kompatibel ist und von Windows nicht automatisch auf höhere
DPI-Werte skaliert wird. WPF-Anwendungen (Windows Presentation Foundation) sind automatisch mit DPI-Werten kompatibel und müssen sich nicht
anmelden. Für Windows Forms-Anwendungen für .NET Framework 4.6, die sich für diese Einstellung anmelden, muss
auch die Einstellung "'EnableWindowsFormsHighDpiAutoResizing" in der "app.config" auf "true" festgelegt werden. -->
<!--
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
</windowsSettings>
</application>
-->
<!-- Designs für allgemeine Windows-Steuerelemente und -Dialogfelder (Windows XP und höher) aktivieren -->
<!--
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
-->
</assembly>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -2,7 +2,57 @@
path=/var/log/lorabot.log
[lora]
type=Draginolora
pin_sspin=Pin06
pin_dio0=Pin07
pin_rst=Pin00
frequency=868100000
spreadingfactor=8
signalbandwith=125000
codingrate=6
;[lora]
;type=Ic880alora
;pin_sspin=Pin10
;pin_rst=Pin21
;spichan=Channel0
; Set Basic Frequencies
;frequency0=867500000
;frequency1=868500000
; Set Per Virtual Interface IF0-7 (Freq means the offset to the basic frequency)
;interface0enable=true
;interface0chain=1
;interface0frequency=-400000
;interface1enable=true
;interface1chain=1
;interface1frequency=-200000
;interface2enable=true
;interface2chain=1
;interface2frequency=0
;interface3enable=true
;interface3chain=0
;interface3frequency=-400000
;interface4enable=true
;interface4chain=0
;interface4frequency=-200000
;interface5enable=true
;interface5chain=0
;interface5frequency=0
;interface6enable=true
;interface6chain=0
;interface6frequency=200000
;interface7enable=true
;interface7chain=0
;interface7frequency=400000
; Virtual Interface IF8 Lora Interface
;interface8enable=false
;interface8chain=1
;interface8frequency=-200000
;lorabandwith=250000
;loraspreadingfactor=7
; Virtual Interface IF9 FSK Interface
;interface9enable=false
;interface9chain=1
;interface9frequency=300000
;fskbandwith=125000
;fskdatarate=50000

Binary file not shown.

View File

@ -2,7 +2,57 @@
path=/var/log/lorabot.log
[lora]
type=Draginolora
pin_sspin=Pin06
pin_dio0=Pin07
pin_rst=Pin00
frequency=868100000
spreadingfactor=8
signalbandwith=125000
codingrate=6
;[lora]
;type=Ic880alora
;pin_sspin=Pin10
;pin_rst=Pin21
;spichan=Channel0
; Set Basic Frequencies
;frequency0=867500000
;frequency1=868500000
; Set Per Virtual Interface IF0-7 (Freq means the offset to the basic frequency)
;interface0enable=true
;interface0chain=1
;interface0frequency=-400000
;interface1enable=true
;interface1chain=1
;interface1frequency=-200000
;interface2enable=true
;interface2chain=1
;interface2frequency=0
;interface3enable=true
;interface3chain=0
;interface3frequency=-400000
;interface4enable=true
;interface4chain=0
;interface4frequency=-200000
;interface5enable=true
;interface5chain=0
;interface5frequency=0
;interface6enable=true
;interface6chain=0
;interface6frequency=200000
;interface7enable=true
;interface7chain=0
;interface7frequency=400000
; Virtual Interface IF8 Lora Interface
;interface8enable=false
;interface8chain=1
;interface8frequency=-200000
;lorabandwith=250000
;loraspreadingfactor=7
; Virtual Interface IF9 FSK Interface
;interface9enable=false
;interface9chain=1
;interface9frequency=300000
;fskbandwith=125000
;fskdatarate=50000

View File

@ -3,7 +3,7 @@ Version: x.x-x
Section: base
Priority: optional
Architecture: any
Depends: mono-runtime (>= 5.16.0)
Depends: mono-runtime (>= 5.18), wiringpi (>= 2.46), libmono-posix4.0-cil (>= 5.18)
Maintainer: BlubbFish <dev@blubbfish.net>
Description: Lora-Bot
Lora-Bot is a Lora gateway

View File

@ -1,6 +1,6 @@
#!/bin/bash
HOMEDIR="/home/blubb"
HOMEDIR=$HOME
ROOT="$HOMEDIR/deb"
OUTPUT="../bin/Release"

View File

@ -2,7 +2,8 @@
systemctl enable lorabot
systemctl daemon-reload
if [[ $(systemctl is-active lorabot || true) == "active" ]]
then
service lorabot restart
fi
if [ -f /tmp/lorabot_service_runner ]; then
service lorabot start
rm /tmp/lorabot_service_runner
fi

View File

@ -1,3 +1,7 @@
#!/bin/bash
service lorabot stop
if [[ $(systemctl is-active lorabot || true) == "active" ]]
then
touch /tmp/lorabot_service_runner
service lorabot stop
fi