fossasystems / fossa-comms Goto Github PK
View Code? Open in Web Editor NEWReference implementation of FOSSASAT Communication Protocol
Reference implementation of FOSSASAT Communication Protocol
In file included from .../Arduino/libraries/FOSSA-Comms/examples/PingPong/PingPong.ino:2:0:
.../Arduino/libraries/FOSSA-Comms/src/FOSSA-Comms.h:5:10: fatal error: AESLib.h: No such file or directory
#include <AESLib.h>
I would expect it to be defined in FOSSA-Comms.h
I get this error when trying to compile the code for Arduino Uno:
Arduino: 1.8.10 (Windows 7), Board: "Arduino/Genuino Uno"
.....................
C:\Program Files (x86)\Arduino\libraries\FOSSA-Comms\src\FOSSA-Comms.cpp: In function 'int16_t FCP_Get_OptData_Length(char*, uint8_t*, uint8_t, const uint8_t*, const char*)':
C:\Program Files (x86)\Arduino\libraries\FOSSA-Comms\src\FOSSA-Comms.cpp:57:20: error: aggregate 'FCP_Get_OptData_Length(char*, uint8_t*, uint8_t, const uint8_t*, const char*)::AES_ctx ctx' has incomplete type and cannot be defined
struct AES_ctx ctx;
^
C:\Program Files (x86)\Arduino\libraries\FOSSA-Comms\src\FOSSA-Comms.cpp:58:27: error: 'AES_init_ctx' was not declared in this scope
AES_init_ctx(&ctx, key);
^
C:\Program Files (x86)\Arduino\libraries\FOSSA-Comms\src\FOSSA-Comms.cpp:61:50: error: 'AES_ECB_decrypt' was not declared in this scope
AES_ECB_decrypt(&ctx, encSection + (i * 16));
^
C:\Program Files (x86)\Arduino\libraries\FOSSA-Comms\src\FOSSA-Comms.cpp: In function 'int16_t FCP_Get_OptData(char*, uint8_t*, uint8_t, uint8_t*, const uint8_t*, const char*)':
C:\Program Files (x86)\Arduino\libraries\FOSSA-Comms\src\FOSSA-Comms.cpp:146:20: error: aggregate 'FCP_Get_OptData(char*, uint8_t*, uint8_t, uint8_t*, const uint8_t*, const char*)::AES_ctx ctx' has incomplete type and cannot be defined
struct AES_ctx ctx;
^
C:\Program Files (x86)\Arduino\libraries\FOSSA-Comms\src\FOSSA-Comms.cpp:147:27: error: 'AES_init_ctx' was not declared in this scope
AES_init_ctx(&ctx, key);
^
C:\Program Files (x86)\Arduino\libraries\FOSSA-Comms\src\FOSSA-Comms.cpp:150:50: error: 'AES_ECB_decrypt' was not declared in this scope
AES_ECB_decrypt(&ctx, encSection + (i * 16));
^
C:\Program Files (x86)\Arduino\libraries\FOSSA-Comms\src\FOSSA-Comms.cpp: In function 'int16_t FCP_Encode(uint8_t*, char*, uint8_t, uint8_t, uint8_t*, const uint8_t*, const char*)':
C:\Program Files (x86)\Arduino\libraries\FOSSA-Comms\src\FOSSA-Comms.cpp:255:20: error: aggregate 'FCP_Encode(uint8_t*, char*, uint8_t, uint8_t, uint8_t*, const uint8_t*, const char*)::AES_ctx ctx' has incomplete type and cannot be defined
struct AES_ctx ctx;
^
C:\Program Files (x86)\Arduino\libraries\FOSSA-Comms\src\FOSSA-Comms.cpp:256:27: error: 'AES_init_ctx' was not declared in this scope
AES_init_ctx(&ctx, key);
^
C:\Program Files (x86)\Arduino\libraries\FOSSA-Comms\src\FOSSA-Comms.cpp:259:50: error: 'AES_ECB_encrypt' was not declared in this scope
AES_ECB_encrypt(&ctx, encSection + (i * 16));
^
Multiple libraries were found for "SPI.h"
Used: C:\Program
Multiple libraries were found for "SoftwareSerial.h"
Used: C:\Program
Multiple libraries were found for "FOSSA-Comms.h"
Used: C:\Program
Multiple libraries were found for "aes.h"
Used: C:\Program
Multiple libraries were found for "RadioLib.h"
Used: C:\Program
Using library FOSSA-Comms at version 1.0.0 in folder: C:\Program Files
Using library AESLib in folder: C:\Program Files
Using library RadioLib at version 1.8.0 in folder: C:\Program Files
Using library SPI at version 1.0 in folder: C:\Program Files
Using library SoftwareSerial at version 1.0 in folder: C:\Program Files
exit status 1
Error compiling for board Arduino/Genuino Uno.
Current entries in RESP_SYSTEM_INFO do not reflect exactly the priority of information. For example, power configuration word is the last entry sent. This is not an issue whne sending the frame over packet radio (LoRa or FSK), but it can be an issue for RTTY decoding.
RESP_SYSTEM_INFO should be restructured to take information priority into account.
Currently the callsign in all programs is set to FOSSASAT-1. Will it change to FOSSASAT-1B when the new satellite is deployed?
I have looked to use this code on the stated UNO platform with SX1278. Ideally but just does not compile .I wanted to use on ESP 32 Heltec V2 Board as has display does not complie in that enviroment as well and get issues with AESLib on both. See below, when trying to compile In Arduino IDE and In both cases get the same issues. Are these known issues ?.
Also is there a forum for discussion on the issues and no dobt others as there will be I suspect be a lot once Fossa Sat1 Launches in the next few days.
Simon G8HAM
Multiple libraries were found for "FOSSA-Comms.h"
In file included from C:\Users\User\Documents\Arduino\libraries\AESLib-master\aes_dec-asm_faster.S:28:0:
Used: C:\Users\User\Documents\Arduino\libraries\FOSSA-Comms-master
C:\Users\User\Documents\Arduino\libraries\AESLib-master\avr-asm-macros.S:31:20: fatal error: avr/io.h: No such file or directory
Multiple libraries were found for "AESLib.h"
compilation terminated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.