Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mathis Schmieder (DB9MAT)
STM32_Pager
Commits
5d530a14
Commit
5d530a14
authored
Nov 28, 2016
by
Mathis Schmieder
Browse files
Added copyright notice
parent
78e6f029
Changes
6
Hide whitespace changes
Inline
Side-by-side
.settings/language.settings.xml
View file @
5d530a14
...
...
@@ -6,7 +6,7 @@
<provider-reference
id=
"org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider"
ref=
"shared-provider"
/>
<provider-reference
id=
"org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider"
ref=
"shared-provider"
/>
<provider
copy-of=
"extension"
id=
"org.eclipse.cdt.managedbuilder.core.GCCBuildCommandParser"
/>
<provider
class=
"fr.ac6.mcu.ide.build.CrossBuiltinSpecsDetector"
console=
"false"
env-hash=
"
339855486435093458
"
id=
"fr.ac6.mcu.ide.build.CrossBuiltinSpecsDetector"
keep-relative-paths=
"false"
name=
"Ac6 SW4 STM32 MCU Built-in Compiler Settings"
parameter=
"${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}""
prefer-non-shared=
"true"
>
<provider
class=
"fr.ac6.mcu.ide.build.CrossBuiltinSpecsDetector"
console=
"false"
env-hash=
"
135598145826999221
"
id=
"fr.ac6.mcu.ide.build.CrossBuiltinSpecsDetector"
keep-relative-paths=
"false"
name=
"Ac6 SW4 STM32 MCU Built-in Compiler Settings"
parameter=
"${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}""
prefer-non-shared=
"true"
>
<language-scope
id=
"org.eclipse.cdt.core.gcc"
/>
<language-scope
id=
"org.eclipse.cdt.core.g++"
/>
</provider>
...
...
Inc/pocsag.h
View file @
5d530a14
...
...
@@ -2,7 +2,15 @@
* pocsag.h
*
* Created on: Nov 27, 2016
* Author: mathis
* Author: Mathis Schmieder (DB9MAT), db9mat@giev.de
*
* This library is heavily based upon the POCSAG library by ON1ARF
* https://github.com/on1arf/pocsag
* and on the SDRPager project by Ralf Wilke, DH3WR, et al.
* https://github.com/rwth-afu/SDRPager
*
* This library can be used in any non-commercial amateur radio project as long
* as the original authors and the source is distributed.
*/
#ifndef POCSAG_H_
...
...
Inc/rfm69.h
View file @
5d530a14
...
...
@@ -2,7 +2,15 @@
* rfm69.h
*
* Created on: Nov 26, 2016
* Author: mathis
* Author: Mathis Schmieder (DB9MAT), db9mat@giev.de
*
* This library is heavily based upon the RFM69-STM32 library by André Heßling
* https://github.com/ahessling/RFM69-STM32
* Parts were also borrowed from LowPowerLab's RFM69 library for Arduino
* https://github.com/LowPowerLab/RFM69
*
* This library can be used in any non-commercial amateur radio project as long
* as the original authors and the source is distributed.
*/
#ifndef RFM69_H_
...
...
Src/main.c
View file @
5d530a14
...
...
@@ -177,7 +177,7 @@ void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart){
if
(
huart
->
Instance
==
USART2
)
{
if
(
UART2_Data
!=
'\
r
'
)
if
(
UART2_Data
!=
'\
n
'
)
{
UART_Buffer
[
UART_i
]
=
UART2_Data
;
UART_i
++
;
...
...
Src/pocsag.c
View file @
5d530a14
...
...
@@ -2,7 +2,15 @@
* pocsag.c
*
* Created on: Nov 27, 2016
* Author: mathis
* Author: Mathis Schmieder (DB9MAT), db9mat@giev.de
*
* This library is heavily based upon the POCSAG library by ON1ARF
* https://github.com/on1arf/pocsag
* and on the SDRPager project by Ralf Wilke, DH3WR, et al.
* https://github.com/rwth-afu/SDRPager
*
* This library can be used in any non-commercial amateur radio project as long
* as the original authors and the source is distributed.
*/
...
...
@@ -202,7 +210,7 @@ uint32_t pocsag_crc(uint32_t cw) {
for
(
m
=
0x80000000
;
(
m
&
0x400
)
==
0
;
m
>>=
1
)
{
// m ist Bitmaske mit nur einer 1, die vom MSB bis vor den Anfang
// des (CRC+Praitt) bereichs luft, d.h. bis Bit 11 einschl.
// des (CRC+Prait
�
t) bereichs l
�
uft, d.h. bis Bit 11 einschl.
if
((
crc
&
m
)
!=
0
)
crc
^=
d
;
...
...
Src/rfm69.c
View file @
5d530a14
...
...
@@ -2,7 +2,15 @@
* rfm69.c
*
* Created on: Nov 26, 2016
* Author: mathis
* Author: Mathis Schmieder (DB9MAT), db9mat@giev.de
*
* This library is heavily based upon the RFM69-STM32 library by André Heßling
* https://github.com/ahessling/RFM69-STM32
* Parts were also borrowed from LowPowerLab's RFM69 library for Arduino
* https://github.com/LowPowerLab/RFM69
*
* This library can be used in any non-commercial amateur radio project as long
* as the original authors and the source is distributed.
*/
#include "rfm69.h"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment