Closed davisouzaluna closed 1 week ago
The client communicates with an MQTT server and sends SUBSCRIBE, PUBLISH, ping and UNSUBSCRIBE packets. Last commit that made the changes: 4bfa27e354376ddade5b40b41a8fe179b0bfebd7.
The manipulation of receiving packets has already been done (initial version), by creating a buffer that receives the packets, which, when reading the first bytes, according to the type of packet, performs a given action after deserializing
Handling of PUBLISH packets in commit: 08c6cfe9607532251e95a13ba94c7e7ceaf2037a
closing the issue, as the condition was satisfied
Language: English(US)
Implement/improve what you already have, a function of receiving and understanding the data that the server sends.
Observations:
The type of data that the client will receive will be in bytes
You have to think about a guarantee that the server data was actually interpreted by the client
The customer can send some data to confirm that he understood what was received
If he receives the same thing again, then he will delete this message
Linguagem: Portugues(PT/BR)
Implementar/melhorar o que ja tem, uma funcao de receber e entender os dados que o servidor envia.
Observacoes:
O tipo dos dados que o cliente vai receber vai ser em byte
Tem que se pensar numa garantia de que os dados do servidor realmente foram interpretados pelo cliente
O cliente pode enviar algum dado para confirmar que ele entendeu o que foi recebido
Caso ele receba a mesma coisa novamente, entao ele vai apagar essa mensagem