Skip to content

Commit

Permalink
removed the notarization issuance from the status command (#51)
Browse files Browse the repository at this point in the history
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
  • Loading branch information
eckelj committed Dec 7, 2023
1 parent 84e341d commit c1a14a9
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions tasmota/tasmota_support/support_command.ino
Original file line number Diff line number Diff line change
Expand Up @@ -1272,20 +1272,7 @@ void CmndStatus(void)
else
Response_P(PSTR("{\"" D_CMND_STATUS D_STATUS10_SENSOR "\":"));

#ifdef USE_DRV_RDDL_NETWORK
if( claimNotarizationMutex() )
{
int start_position = ResponseLength();
MqttShowSensor(f_show_sensors);
int current_position = ResponseLength();
size_t data_length = (size_t)(current_position - start_position);
const char* data_str = TasmotaGlobal.mqtt_data.c_str() + start_position;
runRDDLSDKNotarizationWorkflow(data_str, data_length);
releaseNotarizationMutex();
}
#else
MqttShowSensor(f_show_sensors);
#endif // USE_DRV_RDDL_NETWORK

ResponseJsonEnd();
CmndStatusResponse((8 == payload) ? 8 : 10);
Expand Down

0 comments on commit c1a14a9

Please sign in to comment.