Mqtt- mosquitto basic function is not working
Asked by
Gopal
Hai friends,
i dont know what i do wrong.. am new in MQTT using mosquitto ... i need to develop client application ..but basic function is not working i compile that code means no error display and no printf including not working.pleae guide me...
#include <stdio.h>
#include <mosquitto.h>
int main(int argc, char *argv[])
{
char id[30];
int i;
char *host = "localhost";
int port = 1883;
int keepalive = 60;
bool clean_session = true;
struct mosquitto *mosq = NULL;
int rc;
rc = mosquitto_
printf(
return 0;
}
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- mosquitto Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Gopal for more information if necessary.
To post a message you must log in.