debugs removidos - ligacao em pares ok
Dependencies: EthernetInterface NTPClient mbed-rtos mbed
Fork of header_main by
Revision 6:9695697dea4b, committed 2014-09-12
- Comitter:
- klauss
- Date:
- Fri Sep 12 18:22:57 2014 +0000
- Parent:
- 5:53a196c31b6b
- Commit message:
- hills config
Changed in this revision
diff -r 53a196c31b6b -r 9695697dea4b sip.h --- a/sip.h Thu Sep 11 14:42:53 2014 +0000 +++ b/sip.h Fri Sep 12 18:22:57 2014 +0000 @@ -18,10 +18,10 @@ #define SIP_ALLOW "Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER" /* #define SIP_ALLOW "Allow: ACK, BYE, CANCEL, INVITE, OPTIONS" */ -#define __SEVER_IP__ "192.168.120.120" -//#define __SEVER_IP__ "192.168.30.25" -#define __SERVER_PORT__ 5075 -//#define __SERVER_PORT__ 5060 +//#define __SEVER_IP__ "192.168.120.120" +#define __SEVER_IP__ "192.168.30.25" +//#define __SERVER_PORT__ 5075 +#define __SERVER_PORT__ 5060 #define __MY_PORT__ 5062 #define __MY_EXT__ 820 #define __PEER_EXT__ 913
diff -r 53a196c31b6b -r 9695697dea4b utils.cpp --- a/utils.cpp Thu Sep 11 14:42:53 2014 +0000 +++ b/utils.cpp Fri Sep 12 18:22:57 2014 +0000 @@ -42,7 +42,8 @@ } void __init_eth__( EthernetInterface * eth ){ - eth->init( __MY_IP__, "255.255.255.0", "192.168.120.1" ); + //eth->init( __MY_IP__, "255.255.255.0", "192.168.120.1" ); + eth->init( __MY_IP__, "255.255.255.0", "192.168.2.254" ); eth->connect(); // pensar em o que acontece e como sinalizar que nao consegui conectar na web // aparente so da time out, so que algo vai travar quando eu tentar usar a conexao
diff -r 53a196c31b6b -r 9695697dea4b vz_protocol.h --- a/vz_protocol.h Thu Sep 11 14:42:53 2014 +0000 +++ b/vz_protocol.h Fri Sep 12 18:22:57 2014 +0000 @@ -36,7 +36,8 @@ #define __DO_NOTHING__ 0x99 -#define __MY_IP__ "192.168.120.169" +//#define __MY_IP__ "192.168.120.169" +#define __MY_IP__ "192.168.2.200" uint16_t __checksum__( uint8_t * buffer, size_t length );