{"schema":"libjg2-1",
"vpath":"/git/",
"avatar":"/git/avatar/",
"alang":"",
"gen_ut":1745909805,
"reponame":"libwebsockets",
"desc":"libwebsockets lightweight C networking library",
"owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://libwebsockets.org/repo/libwebsockets",
"f":3,
"items": [
{ "schema":"libjg2-1",
"oid":{ "oid": "d2b87efb0a7b47071751f7aceb6dae52b6794382", "alias": []},"tree": [
{ "name": "CMakeLists.txt","mode": "33188", "size":671},
{ "name": "README.md","mode": "33188", "size":1237},
{ "name": "minimal-mqtt-client.c","mode": "33188", "size":8799},
{ "name": "mosq-ca.crt","mode": "33188", "size":1294},
{ "name": "mosq-server.crt","mode": "33188", "size":1172},
{ "name": "mosq-server.key","mode": "33188", "size":1679}],"s":{"c":1745909805,"u": 820}}
,{"schema":"libjg2-1",
"cid":"2aaefe1be0a94d10da326cdc9dfb7cdd",
"oid":{ "oid": "d2b87efb0a7b47071751f7aceb6dae52b6794382", "alias": []},"blobname": "minimal-examples/mqtt-client/minimal-mqtt-client/README.md", "blob": "# lws minimal MQTT client\n\nThe application connects to a broker at localhost 1883 (unencrypted) or\n8883 (tls)\n\n## build\n\n```\n $ cmake . \u0026\u0026 make\n```\n\n## usage\n\nCommandline option|Meaning\n---|---\n-d \u003cloglevel\u003e|Debug verbosity in decimal, eg, -d15\n-s| Use tls and connect to port 8883 instead of 1883\n\nStart mosquitto server locally\n\n```\n$ mosquitto\n```\n\nRun the example\n\n```\n[2020/01/31 10:40:23:7789] U: LWS minimal MQTT client unencrypted [-d\u003cverbosity\u003e][-s]\n[2020/01/31 10:40:23:8539] N: lws_mqtt_generate_id: User space provided a client ID 'lwsMqttClient'\n[2020/01/31 10:40:23:9893] N: _lws_mqtt_rx_parser: migrated nwsi 0x50febd0 to sid 1 0x5106820\n[2020/01/31 10:40:23:9899] U: callback_mqtt: MQTT_CLIENT_ESTABLISHED\n[2020/01/31 10:40:23:9967] U: callback_mqtt: WRITEABLE: Subscribing\n[2020/01/31 10:40:24:0068] U: callback_mqtt: MQTT_SUBSCRIBED\n```\n\nSend something to the test client\n\n\n```\nmosquitto_pub -h 127.0.0.1 -p 1883 -t test/topic0 -m \u0022hello\u0022\n```\n\nObserve it received at the test client\n\n```\n[2020/01/31 10:40:27:1845] U: callback_mqtt: MQTT_CLIENT_RX\n[2020/01/31 10:40:27:1870] N: \n[2020/01/31 10:40:27:1945] N: 0000: 74 65 73 74 2F 74 6F 70 69 63 30 test/topic0 \n[2020/01/31 10:40:27:1952] N: \n\n```\n","s":{"c":1745909805,"u": 215}}
],"g": 1830,"chitpc": 0,"ehitpc": 0,"indexed":0
,
"ab": 1, "si": 0, "db":0, "di":1, "sat":0, "lfc": "0000"}