International Sensor Development Project: This project is a voting system that uses a raspberry pi server and multiple voting devices. The system is easy, secure, scalable, and supports anonymous and registered voting. This repository focuses on the Raspberry Pi server.
This method, implemented as a class function, facilitates the transmission of all necessary information required to resynchronize an ESP to a specified MQTT topic. It constructs a JSON string encapsulating vote details.
JSON string
{
"VoteTitle":"title of vote",
"VoteType":"private/public",
"VoteStatus":"started/ended"
}
Arguments
Topic Address String: Specifies the address of the topic to which the resynchronization information will be sent.
Returns
JSON object: containing all vote related information.
ESP Resynchronization Method
Goal
This method, implemented as a class function, facilitates the transmission of all necessary information required to resynchronize an ESP to a specified MQTT topic. It constructs a JSON string encapsulating vote details.
JSON string
Arguments
Topic Address String: Specifies the address of the topic to which the resynchronization information will be sent.
Returns
JSON object: containing all vote related information.
Function Name:
resynchronizeESP