mirror of
https://github.com/HERDAC/SmartLightBLE.git
synced 2024-11-24 18:43:28 +00:00
17 lines
360 B
C
17 lines
360 B
C
|
#ifndef RESEAU_H_INCLUDED
|
||
|
#define RESEAU_H_INCLUDED
|
||
|
#define ID 18
|
||
|
//de 0 à 255
|
||
|
#define SERVEUR_MQTT 192,168,8,100
|
||
|
#define PORT 1883
|
||
|
|
||
|
boolean setup_reseau ();
|
||
|
boolean loop_reseau();
|
||
|
|
||
|
boolean publish(String topic, String msg);
|
||
|
void AddParametre (String topic, int defaut = 0);
|
||
|
int ReadParametre (String topic);
|
||
|
void ResetValues ();
|
||
|
|
||
|
#endif
|