|
@@ -142,7 +142,7 @@ void GetAllSELEntriesSorted(Webs *wp)
|
|
goto error_out;
|
|
goto error_out;
|
|
}
|
|
}
|
|
|
|
|
|
- printf("Reserve SEL, sel number %d\n", nEntries);
|
|
|
|
|
|
+ //printf("Reserve SEL, sel number %d\n", nEntries);
|
|
//Reserve SEL
|
|
//Reserve SEL
|
|
if(target_addr == 0x20)
|
|
if(target_addr == 0x20)
|
|
{
|
|
{
|
|
@@ -195,10 +195,10 @@ void GetAllSELEntriesSorted(Webs *wp)
|
|
websWrite(wp, ",");
|
|
websWrite(wp, ",");
|
|
}
|
|
}
|
|
|
|
|
|
- printf("Get sel i = %d\n", i);
|
|
|
|
|
|
+ //printf("Get sel i = %d\n", i);
|
|
if(SELEventData.hdr.Type == 0x02)
|
|
if(SELEventData.hdr.Type == 0x02)
|
|
{
|
|
{
|
|
- printf("system sel\n");
|
|
|
|
|
|
+ //printf("system sel\n");
|
|
websWrite(wp, "{\"D1\":%d,\"D2\":%d,\"D3\":%d,\"D4\":%d,\"D5\":%d,\"D6\":%d,\"D7\":%d,\"D8\":%d,\"D9\":%d,\"D10\":%d,\"D11\":%d,",
|
|
websWrite(wp, "{\"D1\":%d,\"D2\":%d,\"D3\":%d,\"D4\":%d,\"D5\":%d,\"D6\":%d,\"D7\":%d,\"D8\":%d,\"D9\":%d,\"D10\":%d,\"D11\":%d,",
|
|
SELEventData.hdr.ID, SELEventData.hdr.Type, SELEventData.hdr.TimeStamp,
|
|
SELEventData.hdr.ID, SELEventData.hdr.Type, SELEventData.hdr.TimeStamp,
|
|
SELEventData.body.sysEventRecord.GenID[0], SELEventData.body.sysEventRecord.GenID[1],
|
|
SELEventData.body.sysEventRecord.GenID[0], SELEventData.body.sysEventRecord.GenID[1],
|
|
@@ -261,7 +261,7 @@ void GetAllSELEntriesSorted(Webs *wp)
|
|
}
|
|
}
|
|
else if(SELEventData.hdr.Type == 0xC0)
|
|
else if(SELEventData.hdr.Type == 0xC0)
|
|
{
|
|
{
|
|
- printf("oem sel\n");
|
|
|
|
|
|
+ //printf("oem sel\n");
|
|
websWrite(wp, "{\"D1\":%d,\"D2\":%d,\"D3\":%d,\"D4\":%d,\"D5\":%d,\"D6\":%d,\"D7\":%d,\"D8\":%d,\"D9\":%d,\"D10\":0,\"D11\":0,\"D12\":0}",
|
|
websWrite(wp, "{\"D1\":%d,\"D2\":%d,\"D3\":%d,\"D4\":%d,\"D5\":%d,\"D6\":%d,\"D7\":%d,\"D8\":%d,\"D9\":%d,\"D10\":0,\"D11\":0,\"D12\":0}",
|
|
SELEventData.hdr.ID, SELEventData.hdr.Type, SELEventData.hdr.TimeStamp,
|
|
SELEventData.hdr.ID, SELEventData.hdr.Type, SELEventData.hdr.TimeStamp,
|
|
SELEventData.body.oemEventRecord.OEMDefined[0], SELEventData.body.oemEventRecord.OEMDefined[1],
|
|
SELEventData.body.oemEventRecord.OEMDefined[0], SELEventData.body.oemEventRecord.OEMDefined[1],
|