Batch details
Repository: ir, Batch ID: -92
Batch header
Batch ID | IP Address | Date | Comments | -92 | 70.128.47.209 | 2011-06-19 03:57:18 | TRAC Ticket #1119 - IMON Ultrabay (Pad and Panel) |
Batch details
PK | Tablename | New | Deleted | Modified | bathdr_orig | bathdr_auth | bathdr_unauth | 866 | InfraredGroup | 1 | 0 | 0 | 468 | 0 | -92 |
867 | InfraredGroup_Command | 89 | 0 | 0 | 468 | 0 | -92 |
Batch contents
Table InfraredGroup
select * from InfraredGroup where psc_batch=-92
Table history InfraredGroup
select * from InfraredGroup_pschist where psc_batch=-92
PK_InfraredGroup | FK_DeviceCategory | FK_Manufacturer | Description | FK_CommMethod | psc_id | psc_batch | psc_user | psc_frozen | psc_mod | psc_toc | psc_restrict | | 103 | 133 | Kenwood Sovereign RS232 protocol | 2 | 6104 | -92 | 39176 | | 2011-06-19 03:57:18 | 0 | |
Table InfraredGroup_Command
select * from InfraredGroup_Command where psc_batch=-92
Table history InfraredGroup_Command
select * from InfraredGroup_Command_pschist where psc_batch=-92
PK_InfraredGroup_Command | FK_InfraredGroup | FK_Command | FK_DeviceTemplate | IRData | OriginalKey | psc_id | psc_batch | psc_user | psc_frozen | psc_mod | psc_toc | psc_restrict | | 6056 | 373 | | def SendUserCommand(command)
log("Sending Command Prefix and Command ID to STB.")
conn_.Send("\xFA\xA5")
reply = conn_.Recv(1,65)
if( !reply.nil? && reply[0] = "\xF0")
log("STB reply: Command Acknowledged.")
# Got Command Acknowledge from STB
log("Sending Command '" + command[0].to_s + "' to STB")
conn_.Send("\x00\x01" + command)
conn_.Recv(1,64) # if \xF2 then STB received correct number of parameters
log("STB reply: Received the correct number of parameters.")
conn_.Recv(1,64) # if \xF4 then command completed successfully
log("STB reply: Service command completed successfully.")
else
return
end
end
def log(word)
logTime = Time.now
timeStr = logTime.strftime("%d-%m-%Y %H:%M:%S ")
$logFile.print( timeStr + word + "\n" )
$logFile.flush()
print(word + "\n")
end | | 169404 | -92 | 39176 | | 2011-06-19 03:57:19 | 0 | |