chore: mqtt impl, fix more wiznet bugs
This commit is contained in:
@@ -19,8 +19,6 @@ typedef struct {
|
||||
|
||||
extern volatile int ip_assigned;
|
||||
|
||||
void handle_ip_assigned(void);
|
||||
|
||||
// Initializes the W5500 chip
|
||||
void configure_network(void);
|
||||
|
||||
@@ -29,17 +27,6 @@ void dhcp_init(void);
|
||||
void dhcp_process(void);
|
||||
|
||||
// resolves a domain name
|
||||
void resolve_domain_name(const char* domain_name);
|
||||
|
||||
// init and connect the MQTT client
|
||||
int setup_mqtt_client(Network* network, ch32_mqtt_options_t* opts,
|
||||
MQTTClient* client);
|
||||
|
||||
int subscribe_to_topic(MQTTClient* client, const char* topic, enum QoS qos,
|
||||
messageHandler message_callback);
|
||||
|
||||
// publish a message to a topic
|
||||
void publish_message(MQTTClient* client, const char* payload,
|
||||
const char* topic);
|
||||
// void resolve_domain_name(const char* domain_name);
|
||||
|
||||
#endif // W5500_H
|
||||
|
||||
Reference in New Issue
Block a user