GithubHelp home page GithubHelp logo

fossa-comms's People

Contributors

bambofy avatar gipsonek avatar jgromes avatar juliantech5 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fossa-comms's Issues

[ERROR] Library returns errors when installed

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>

Compile error

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.

Restructure RESP_SYSTEM_INFO frame

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.

Complation Issues

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.