Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 

21 lignes
692 B

  1. #ifndef LORANEETWORKINTERFACE_H /* Guard against multiple inclusion */
  2. #define LORANEETWORKINTERFACE_H
  3. //#define LORA_CHANNEL 0x04
  4. //#define LORA_MASTER_ADDRESS 0x05
  5. #define LORA_CHANNEL 65
  6. #define LORA_MASTER_ADDRESS 0x05
  7. #define LORA_CHALET_STATUS_POWER_RELAY_MASK 0x01
  8. #define LORA_CHALET_STATUS_CUR_SENSOR_MASK 0x02
  9. void LoraNetworkInterfaceInit();
  10. void ExecuteLoraMasterCommand(int Command, unsigned char *Data, int DataSize);
  11. void SendLoraNetworkCommand(int Command, unsigned char *Data, unsigned int DataSize);
  12. void SendLoraNetworkCommandBlocking(int Command, unsigned char *Data, unsigned int DataSize); //USE WITH CARE
  13. void TestTx();
  14. #endif /* LORANEETWORKINTERFACE_H */