Skip to content

Commit

Permalink
[iec][fuji] wifi status.
Browse files Browse the repository at this point in the history
  • Loading branch information
tschak909 committed Jul 1, 2023
1 parent 2a4cb53 commit 08ceab6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/device/iec/fuji.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ void iecFuji::net_get_wifi_status()
if (payload[0] == FUJICMD_GET_WIFISTATUS)
{
response.clear();
response[0] = wifiStatus;
response = string((const char *)&wifiStatus,1);
return;
}
else
Expand Down Expand Up @@ -1520,6 +1520,13 @@ device_state_t iecFuji::process()

if (commanddata.primary == IEC_TALK && commanddata.secondary == IEC_REOPEN)
{
for (int i=0;i<response.size();i++)
{
Debug_printf("%02X ",response[i]);
}

Debug_printf("\n");

while (!IEC.sendBytes(response))
;
}
Expand Down

0 comments on commit 08ceab6

Please sign in to comment.