-
-
Notifications
You must be signed in to change notification settings - Fork 33
Closed
Labels
awaiting for feedbackMore details or tests neededMore details or tests neededenhancementNew feature or requestNew feature or request
Description
I am currently testing a new node-to-node communication form, LORA direct. (no WAN)
@TD-er
I am suggesting the following data structures:
struct Lora_SysInfoStruct
{
byte header = 255;
byte ID = 1;
byte sourcelUnit;
byte mac[6];
word build;
char Name[25];
byte nodeType;
};
struct Lora_SensorInfoStruct
{
byte header = 255;
byte ID = 3;
byte sourcelUnit;
byte destUnit;
byte destTaskIndex;
byte sensorType;
char taskName[26];
char ValueNames[VARS_PER_TASK][26];
};
struct Lora_SensorDataStruct
{
byte header = 255;
byte ID = 5;
byte sourcelUnit;
byte destUnit;
byte destTaskIndex;
float Values[VARS_PER_TASK];
};
struct Lora_CommandDataStruct
{
byte header = 255;
byte ID = 7;
byte sourcelUnit;
byte destUnit;
char commandline[64];
};
I've written a test-sketch for my BsFrance LoRa32u4 module based on the old ArduinoEasy code which i will publish soon. (this device has 2k ram + 32k flash)
The RPI is able to receive packages without problem, Duty cycle is handled at the sender side, in this case by the LoRa32u4, the RPI is a bridge-like device in the setup.
Referenced to:
#75
Metadata
Metadata
Assignees
Labels
awaiting for feedbackMore details or tests neededMore details or tests neededenhancementNew feature or requestNew feature or request
