s

Committer:
yezhong
Date:
Fri Jun 24 01:32:19 2022 +0000
Revision:
3:ff4d7f4f379c
Parent:
2:a327e877a94c
1

Who changed what in which revision?

UserRevisionLine numberNew contents of line
TaylorGy 0:cbe8a0553d45 1 #ifndef WIFI_EXAMPLE_H_H
TaylorGy 0:cbe8a0553d45 2 #define WIFI_EXAMPLE_H_H
TaylorGy 0:cbe8a0553d45 3
TaylorGy 0:cbe8a0553d45 4 #include "mbed.h"
TaylorGy 0:cbe8a0553d45 5 #include "cJSON.h"
yezhong 3:ff4d7f4f379c 6 #include "esp8266.h"
TaylorGy 0:cbe8a0553d45 7
TaylorGy 0:cbe8a0553d45 8 #include <time.h>
TaylorGy 0:cbe8a0553d45 9 #include <stdio.h>
TaylorGy 0:cbe8a0553d45 10 #include <stdlib.h>
TaylorGy 0:cbe8a0553d45 11 #include <string.h>
TaylorGy 0:cbe8a0553d45 12
TaylorGy 0:cbe8a0553d45 13
yezhong 2:a327e877a94c 14 #define APNAME "prc1"
yezhong 2:a327e877a94c 15 #define APPASSWD "Prc123456"
yezhong 2:a327e877a94c 16 #define TCPNUM 4
yezhong 2:a327e877a94c 17 #define TCPADD "127.0.0.1"
yezhong 2:a327e877a94c 18 #define TCPPORT 8585
TaylorGy 0:cbe8a0553d45 19
yezhong 2:a327e877a94c 20
yezhong 2:a327e877a94c 21
yezhong 2:a327e877a94c 22 extern void connectInit(void);
yezhong 2:a327e877a94c 23
yezhong 3:ff4d7f4f379c 24
yezhong 3:ff4d7f4f379c 25
yezhong 3:ff4d7f4f379c 26 extern Serial wifi;
TaylorGy 0:cbe8a0553d45 27
TaylorGy 0:cbe8a0553d45 28
TaylorGy 0:cbe8a0553d45 29 #endif
TaylorGy 0:cbe8a0553d45 30