You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
236 B
25 lines
236 B
5 years ago
|
|
||
|
|
||
|
|
||
|
|
||
|
#include <LoRa.h>
|
||
|
|
||
|
#define LORA_SOCKET_IP "2.2.2.1"
|
||
|
|
||
|
#include "lora-socket.h"
|
||
|
|
||
|
|
||
|
LoRaSocket socket;
|
||
|
|
||
|
void setup(){
|
||
|
|
||
|
socket.ini();
|
||
|
socket.tcp("lalalla", "10.2.3.1");
|
||
|
socket.udp("ll");
|
||
|
}
|
||
|
|
||
|
|
||
|
void loop(){
|
||
|
|
||
|
socket.core();
|
||
|
}
|