connair progress
This commit is contained in:
parent
2cf2a5b7a3
commit
5681fd48e5
1 changed files with 3 additions and 1 deletions
|
@ -1,8 +1,10 @@
|
||||||
|
#!/usr/bin/env python2.7
|
||||||
|
|
||||||
import socket
|
import socket
|
||||||
|
|
||||||
UDP_IP = "0.0.0.0"
|
UDP_IP = "0.0.0.0"
|
||||||
UDP_PORT = 49880
|
UDP_PORT = 49880
|
||||||
HELLO_MESSAGE = "HCGW:VC:Seegel Systeme;MC:RaspyRFM;FW:1.00;IP:192.168.2.125;;"
|
HELLO_MESSAGE = "HCGW:VC:Seegel Systeme;MC:RaspyRFM;FW:1.00;IP:192.168.2.124;;"
|
||||||
|
|
||||||
sock = socket.socket(socket.AF_INET, # Internet
|
sock = socket.socket(socket.AF_INET, # Internet
|
||||||
socket.SOCK_DGRAM) # UDP
|
socket.SOCK_DGRAM) # UDP
|
||||||
|
|
Loading…
Reference in a new issue