|
|
@ -2,6 +2,7 @@ |
|
|
|
#include "zport.h" |
|
|
|
|
|
|
|
#include <lwip/sockets.h> |
|
|
|
#include "config.h" |
|
|
|
|
|
|
|
#define at_processer_rx_buf_size 128 |
|
|
|
#define at_processer_tx_buf_size 128 |
|
|
@ -72,8 +73,7 @@ AT_STATUS at_cmd_ip(unsigned char *p, unsigned char len) |
|
|
|
printf("int_addr:%d\r\n", int_addr.addr); |
|
|
|
if (*p == '?') |
|
|
|
{ |
|
|
|
|
|
|
|
printf("AT+OK BLE-NAME\r\n"); |
|
|
|
printf("config ip address:%s\r\n", inet_ntoa(config_get()->ip)); |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|